:root {
    --primary: #84cc16;
    --primary-dark: #65a30d;
    --primary-glow: rgba(132, 204, 22, 0.3);
    --primary-muted: rgba(132, 204, 22, 0.1);
    --secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --bg-card-hover: #253044;
    --border-color: #334155;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --success: #22c55e;
    --error: #ef4444;
    --discord: #5865f2;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: 200ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
}

/* === CONTAINER === */
.container { width: 100%; margin: 0 auto; padding: 0 20px; }

/* === HEADER / NAV === */
.header {
    position: sticky;
    top: 4px;
    z-index: 100;
    margin: 4px 12px 0;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 0.6rem 1.25rem;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-number { color: var(--primary); }

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
}

.nav-link:hover, .nav-link.selected {
    color: var(--primary);
    background: var(--primary-muted);
}

.nav-link i { width: 18px; height: 18px; }

.download-btn { color: var(--primary); }

/* === AUTH === */
.auth-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-username {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* === BUTTONS === */
.btn {
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #0f172a;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover { background: var(--bg-card); }

.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.btn-discord {
    background: var(--discord);
    color: #fff;
    border: 1px solid var(--discord);
}

.btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
}

.btn-step {
    background: linear-gradient(135deg, var(--primary), #4ade80);
    border: none;
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    color: #020617;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-step:active { transform: translateY(0); }

.btn-step:disabled {
    background: #555;
    transform: none;
    box-shadow: none;
    cursor: default;
}

/* === HERO SECTION === */
.hero {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), #4ade80, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === OFFSET DISPLAY === */
.offset-display { padding: 3rem 0; }

.offset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.offset-header h2 { font-size: 1.5rem; }

.game-version {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.version-badge {
    background: var(--primary);
    color: #0f172a;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.code-container {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.code-block {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    color: #f8f8f2;
    background: #282c34;
}

/* === FEATURES === */
.features { padding: 3rem 0; }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #4ade80);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #4ade80);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p { color: var(--text-secondary); }

/* === GLASS CARD (generic) === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-text { color: var(--text-secondary); }

.social-links { display: flex; gap: 1rem; }

.social-link {
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-muted);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.825rem;
    text-align: center;
}

/* === FORMS === */
.form-page {
    display: flex;
    justify-content: center;
    padding: 120px 20px;
}

.form-container {
    width: 100%;
    max-width: 380px;
}

.form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

.form-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.icon-input { position: relative; }

.icon-input i,
.icon-input svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.form-input {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    outline: none;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.form-input:focus { border-color: var(--primary); }

.form-input:disabled { opacity: 0.5; cursor: not-allowed; }

.form-error {
    color: var(--error);
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.2em;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.form-submit {
    cursor: pointer;
    display: block;
    width: 100%;
    background: var(--primary);
    padding: 0.75rem;
    text-align: center;
    color: #0f172a;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
}

.form-submit:hover { background: var(--primary-dark); }

.form-submit:active { opacity: 0.8; }

.form-submit:disabled { background: #555; cursor: not-allowed; }

.form-footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover { text-decoration: underline; }

/* === DIALOG === */
dialog {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 0;
    width: 360px;
    max-width: 90vw;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    outline: none;
    margin: auto;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

dialog[open] { animation: fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.dialog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 16px;
}

.dialog-header i { color: var(--primary); }

.dialog-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.options-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
}

.option-btn i { width: 20px; height: 20px; }

.option-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.option-btn.hscl-btn {
    background: linear-gradient(135deg, var(--primary), #4ade80);
    border: none;
    color: #020617;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.option-btn.hscl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.exit-btn {
    margin-top: 8px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.exit-btn:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

/* === SEARCH === */
.search-section { margin-bottom: 2rem; }

.search-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.search-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px 10px 10px 40px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition);
    min-width: 180px;
}

.search-input:focus { border-color: var(--primary); }

.search-table-wrap {
    max-width: 90%;
    margin: 0 auto;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table thead th {
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table th > div {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.data-table thead th i { width: 16px; height: 16px; }

.data-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.data-table tbody tr:hover { background: rgba(132, 204, 22, 0.05); }

.data-table tbody tr:last-child td { border-bottom: none; }

.search-empty {
    text-align: center;
    color: var(--text-muted);
    display: none;
    padding: 2rem;
}

/* === API DOCS === */
.docs-section { padding: 2rem 0; }

.docs-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.docs-content h1 {
    font-size: 1.8rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), #22c55e);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.docs-content p { color: var(--text-secondary); margin-bottom: 1rem; }

.api-endpoint {
    border: 1px solid var(--success);
    background: rgba(34, 197, 94, 0.08);
    margin: 0;
    padding: 8px 12px;
    display: flex;
    cursor: pointer;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    align-items: center;
    gap: 12px;
}

.api-endpoint.get {
    border-color: #61affe;
    background: rgba(97, 175, 254, 0.08);
}

.method-badge {
    background: var(--success);
    min-width: 70px;
    padding: 5px 0;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-align: center;
    color: #020617;
}

.method-badge.get { background: #61affe; color: #fff; }

.api-endpoint span:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.api-body {
    border: 1px solid var(--success);
    border-top: none;
    background: rgba(34, 197, 94, 0.04);
    padding: 1rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.api-body.get {
    border-color: #61affe;
    background: rgba(97, 175, 254, 0.04);
}

details[open] .api-endpoint { border-radius: var(--radius-md) var(--radius-md) 0 0; }

.api-body p { margin-bottom: 0.5rem; }

.api-body p:last-child { margin-bottom: 0; }

details { margin-bottom: 16px; }

/* === PRIVACY / TOS === */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 20px 4rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ol {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content ol li { margin-bottom: 1rem; }

/* === GUIDE === */
.guide-layout { display: flex; min-height: calc(100vh - 80px); }

.guide-sidebar {
    width: 240px;
    flex-shrink: 0;
    padding: 1rem 0.75rem;
    background: var(--bg-dark);
    border-right: 1px solid var(--border-color);
}

.guide-sidebar details { margin-bottom: 0.5rem; }

.guide-sidebar summary {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.guide-sidebar summary:hover { color: var(--primary); }

.guide-sidebar a {
    display: block;
    padding: 0.4rem 0.75rem 0.4rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.guide-sidebar a.selected {
    color: var(--primary);
    background: var(--primary-muted);
}

.guide-content {
    flex: 1;
    min-width: 0;
    padding-bottom: 2rem;
}

.guide-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

.guide-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.guide-nav a {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 12px 28px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.guide-nav a:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.guide-nav a.active {
    background: linear-gradient(135deg, var(--primary), #4ade80);
    border-color: transparent;
    color: #020617;
    font-weight: 600;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.guide-body h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
}

.guide-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.guide-body ol {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.guide-body ol li { margin-bottom: 0.5rem; }

.guide-body ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.guide-body ul li { margin-bottom: 0.5rem; }

.guide-body a { color: var(--primary); }

/* === CODE TABS === */
.code-tab-bar {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.code-tab-btn {
    cursor: pointer;
    border: none;
    color: var(--text-muted);
    background: #181c24;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
}

.code-tab-btn:hover {
    color: var(--text-primary);
    background: #222834;
}

.code-tab-btn.active {
    cursor: default;
    color: var(--primary);
    background: #1e1e2e;
    border-bottom-color: var(--primary);
}

/* === STEPS / PROGRESS === */
.steps-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.step-dot {
    border-radius: 999px;
    border: 2px solid var(--border-color);
    width: 80px;
    height: 8px;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* === PANEL (register) === */
.panel {
    width: min(360px, 95%);
    margin: 2rem auto;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.panel .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.panel .panel-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.panel .pn-button {
    background: linear-gradient(135deg, var(--primary), #4ade80);
    box-shadow: 0 4px 15px var(--primary-glow);
    border: none;
    border-radius: var(--radius-lg);
    padding: 10px 24px;
    color: #020617;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.panel .pn-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.panel .pn-button:disabled {
    background: #555;
    transform: none;
    box-shadow: none;
    cursor: default;
}

/* === UTILITY === */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* === UTILITY CLASSES === */
.hidden { display: none !important; }
.text-warning { color: var(--error); }
.text-muted { color: var(--text-muted); }
.author-byline { font-size: 0.95rem; }
.btn-centered { margin: 1rem auto 0; display: block; }
.code-pre-wrap { word-wrap: break-word; white-space: pre-wrap; }
.list-inset { margin-left: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-4 { margin-bottom: 100px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header { margin: 4px 8px 0; }
    .hero { padding: 3rem 0; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .guide-sidebar { display: none; }
    .guide-body { padding: 0 1rem 2rem; }
    .legal-content { padding: 1.5rem 1rem 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .docs-content { padding: 0 1rem; }
    .search-table-wrap { max-width: 100%; }
    .search-input { min-width: 140px; }
    .form-page { padding: 100px 16px; }
}
