/* =====================================================
   Design tokens & fonts
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-void: #080a0d;
    --bg-panel: #10141a;
    --bg-panel-2: #171d25;
    --bg-panel-3: #202833;
    --brand-orange: #ff6a1a;
    --brand-gold: #ffc266;
    --teal: #4fd1c5;
    --teal-bright: #76f2e5;
    --ivory: #f7f4ed;
    --muted: #9ca5b1;
    --danger: #ef4d3d;
    --border: rgba(255,255,255,0.09);
    --shadow-lg: 0 24px 70px rgba(0,0,0,0.42);
    --shadow-glow: 0 0 40px rgba(79,209,197,0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ===== Algemene stijl ===== */
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-void);
    color: var(--ivory);
}

/* ===== Navigatiebalk ===== */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 999;
}

/* Linkerzijde: logo + menu */
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 1;
    overflow: hidden;
}

.logo img {
    height: 55px;
    width: auto;
}

/* Menu */
.main-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.main-nav li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
    white-space: nowrap;
}

.main-nav li a:hover {
    color: #ff6600;
}

/* Rechterzijde: login/register */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.auth-btn {
    color: #ff6600;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.2s;
}

.auth-btn:hover {
    color: #ffa64d;
}

/* Locked pages */
.locked {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

/* =====================================================
   Hero sectie (index.html)
===================================================== */
.hero {
    margin-top: 80px;
    min-height: 92vh;
    background:
        linear-gradient(180deg, rgba(9,11,13,0.35) 0%, rgba(9,11,13,0.55) 55%, rgba(13,15,18,0.97) 100%),
        url('../img/legendcy_biome.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 60px 20px 110px;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: heroRise 0.8s ease both;
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--teal);
    margin-bottom: 22px;
    opacity: 0.95;
}

.hero-logo {
    width: 260px;
    margin-bottom: 2px;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.hero-tagline {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.55;
    color: var(--ivory);
    margin: 18px auto 34px;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content { animation: none; }
    .status-dot { animation: none; }
}

/* ===== Buttons ===== */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
    color: #1a1206;
    box-shadow: 0 8px 24px rgba(255, 106, 26, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 106, 26, 0.5); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ivory);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}

.btn-icon { width: 18px; height: 18px; }

/* =====================================================
   Status bar — live server readout (overlaps hero)
===================================================== */
.status-bar {
    position: relative;
    z-index: 2;
    margin: -70px auto 0;
    max-width: 920px;
    width: calc(100% - 48px);
    background: rgba(23, 26, 31, 0.92);
    border: 1px solid rgba(255, 180, 84, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.status-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.status-item:last-child { border-right: none; }

.status-item.clickable { cursor: pointer; transition: background 0.15s ease; }
.status-item.clickable:hover { background: rgba(255, 255, 255, 0.05); }

.status-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--ivory);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 8px var(--teal);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.mc-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px rgba(79, 209, 197, 0.6));
}

@media (max-width: 720px) {
    .status-bar { flex-direction: column; margin-top: -46px; }
    .status-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .status-item:last-child { border-bottom: none; }
    .hero-logo { width: 200px; }
}

/* =====================================================
   Content sections (index.html)
===================================================== */
.section-eyebrow {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 14px;
}

.section-dark h2,
.section-glow h2,
.section-light h2 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 34px;
    margin: 0 0 18px;
    color: var(--ivory);
}

.lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-dark {
    background: var(--bg-void);
    padding: 120px 20px 80px;
    text-align: center;
}

.highlight-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 52px;
}

.highlight-item { max-width: 220px; }

.highlight-mark {
    width: 28px;
    height: 2px;
    background: var(--teal);
    margin: 0 auto 16px;
    display: block;
}

.highlight-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ivory);
    margin: 0 0 8px;
}

.highlight-item p {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.section-glow {
    background: var(--bg-panel);
    padding: 90px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255, 106, 26, 0.12), transparent 60%);
    pointer-events: none;
}

.feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1040px;
    margin: 48px auto 0;
    text-align: left;
}

.feature-card {
    background: var(--bg-panel-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid var(--teal);
    border-radius: 10px;
    padding: 26px 22px;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 180, 84, 0.4);
    border-top-color: var(--brand-gold);
}

.feature-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    color: var(--ivory);
    margin: 0 0 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.section-note {
    position: relative;
    margin-top: 34px;
    color: var(--muted);
    font-size: 14px;
}

.section-light {
    background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-void) 100%);
    padding: 90px 20px 110px;
    text-align: center;
}

.cta-panel {
    max-width: 620px;
    margin: 40px auto 0;
    background: var(--bg-panel-2);
    border: 1px solid rgba(255, 180, 84, 0.15);
    border-radius: 16px;
    padding: 40px 32px;
}

.cta-panel .hero-ctas { margin-top: 26px; }

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
}
/* ===== Login/Register pagina's ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #0f0f0f;
}

.auth-box {
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.3);
    text-align: center;
    width: 350px;
}

.auth-box h2 {
    color: #ff6600;
    margin-bottom: 25px;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-box input {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #1a1a1a;
    color: white;
    font-size: 15px;
}

.auth-box input::placeholder {
    color: #aaa;
}

.auth-box button {
    background: #ff6600;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.auth-box button:hover {
    background: #ffa64d;
}

.auth-switch {
    margin-top: 15px;
    font-size: 14px;
    color: #ccc;
}

.auth-switch a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.auth-switch a:hover {
    color: #ffa64d;
}
.user-container {
    margin-top: 120px;
    padding: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.user-section {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: 0 0 15px rgba(255, 100, 0, 0.2);
}

.user-section h3 {
    color: #ff6600;
    margin-bottom: 15px;
}

.player-head {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-right: 15px;
}

.link-code {
    font-size: 18px;
    background: #000;
    padding: 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}



/* =====================================================
   LEGENDCY 2026 — VISUAL UPGRADE
   Existing HTML remains compatible.
===================================================== */

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(79,209,197,0.055), transparent 28rem),
        radial-gradient(circle at 90% 12%, rgba(255,106,26,0.055), transparent 30rem),
        var(--bg-void);
}

/* ----- NAVIGATION ----- */
.topnav {
    height: 76px;
    padding: 0 clamp(18px, 4vw, 54px);
    background: rgba(8, 10, 13, 0.78);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.topnav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,209,197,.35), rgba(255,106,26,.35), transparent);
    pointer-events: none;
}

.logo img {
    height: 52px;
    transition: transform .25s ease, filter .25s ease;
}

.logo img:hover {
    transform: translateY(-1px) scale(1.025);
    filter: drop-shadow(0 0 14px rgba(79,209,197,.18));
}

.nav-left {
    gap: clamp(18px, 2.5vw, 34px);
}

.main-nav {
    gap: clamp(14px, 1.8vw, 25px);
    padding: 0;
    margin: 0;
}

.main-nav li a {
    position: relative;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    letter-spacing: .01em;
    padding: 29px 0 25px;
}

.main-nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 17px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), var(--brand-orange));
    transition: right .22s ease;
}

.main-nav li a:hover {
    color: #fff;
}

.main-nav li a:hover::after {
    right: 0;
}

.nav-right {
    gap: 12px;
}

.auth-btn {
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: rgba(255,255,255,.82);
}

.auth-btn:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
    border-color: var(--border);
}

#staff-menu-btn {
    box-shadow: 0 8px 22px rgba(79,209,197,.16);
}

/* ----- HERO ----- */
.hero {
    margin-top: 76px;
    min-height: 90vh;
    background:
        linear-gradient(180deg, rgba(4,7,10,.22), rgba(8,10,13,.56) 55%, var(--bg-void) 100%),
        radial-gradient(circle at center, transparent 20%, rgba(0,0,0,.35) 100%),
        url('../img/legendcy_biome.jpg') center/cover no-repeat;
    padding: 80px 20px 125px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(79,209,197,.035), transparent 35%, transparent 65%, rgba(255,106,26,.035)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
    opacity: .55;
    pointer-events: none;
}

.hero-content {
    max-width: 980px;
}

.hero-eyebrow {
    padding: 8px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(79,209,197,.22);
    border-radius: 999px;
    background: rgba(8,10,13,.45);
    box-shadow: 0 0 25px rgba(79,209,197,.06);
    backdrop-filter: blur(10px);
}

.hero-logo {
    width: min(320px, 65vw);
    margin-bottom: 4px;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.62));
}

.hero-tagline {
    max-width: 680px;
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(247,244,237,.88);
}

.hero-ctas .btn {
    min-height: 50px;
}

/* ----- BUTTONS ----- */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    padding: 14px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.14) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .5s ease;
}

.btn:hover::before {
    transform: translateX(120%);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6a1a 0%, #ff9d45 55%, #ffc266 100%);
    box-shadow: 0 10px 28px rgba(255,106,26,.25);
}

.btn-primary:hover {
    box-shadow: 0 14px 34px rgba(255,106,26,.34);
}

.btn-secondary {
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.14);
}

/* ----- STATUS BAR ----- */
.status-bar {
    max-width: 1000px;
    width: min(1000px, calc(100% - 32px));
    margin-top: -62px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(16,20,26,.78);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.status-item {
    padding: 22px 18px;
    transition: background .2s ease;
}

.status-item:hover {
    background: rgba(255,255,255,.025);
}

.status-value {
    font-size: 14px;
}

.status-dot {
    box-shadow: 0 0 0 4px rgba(79,209,197,.08), 0 0 14px var(--teal);
}

/* ----- SECTIONS ----- */
.section-dark,
.section-glow,
.section-light {
    position: relative;
}

.section-dark {
    padding: 110px 20px 90px;
}

.section-eyebrow {
    color: var(--teal-bright);
    font-size: 11px;
    font-weight: 600;
}

.section-dark h2,
.section-glow h2,
.section-light h2 {
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -.025em;
}

.lead {
    font-size: 16px;
    color: rgba(156,165,177,.95);
}

/* subtle section divider */
.section-dark::after,
.section-glow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(760px, 75%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* ----- HIGHLIGHTS ----- */
.highlight-row {
    max-width: 900px;
    margin: 58px auto 0;
    gap: 18px;
}

.highlight-item {
    flex: 1 1 220px;
    max-width: 280px;
    padding: 26px 22px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 14px;
    background: rgba(255,255,255,.018);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    border-color: rgba(79,209,197,.22);
    background: rgba(79,209,197,.035);
}

.highlight-mark {
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), var(--brand-orange));
}

/* ----- FEATURE SECTION ----- */
.section-glow {
    background:
        radial-gradient(circle at 50% 0%, rgba(79,209,197,.045), transparent 35rem),
        var(--bg-panel);
}

.section-glow::before {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(79,209,197,.09), transparent 38%),
        radial-gradient(ellipse at 80% 20%, rgba(255,106,26,.08), transparent 38%);
}

.feature-grid {
    max-width: 1080px;
    gap: 16px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-top: 1px solid rgba(79,209,197,.35);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(32,40,51,.94), rgba(16,20,26,.94));
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -70px;
    bottom: -75px;
    border-radius: 50%;
    background: rgba(79,209,197,.08);
    filter: blur(2px);
    transition: transform .3s ease;
}

.feature-card:hover::after {
    transform: scale(1.45);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,209,197,.25);
    border-top-color: var(--teal);
    box-shadow: 0 18px 42px rgba(0,0,0,.25), 0 0 30px rgba(79,209,197,.055);
}

.feature-card h3 {
    font-size: 20px;
    letter-spacing: -.01em;
}

/* ----- CTA ----- */
.section-light {
    background:
        radial-gradient(circle at 50% 0%, rgba(255,106,26,.06), transparent 34rem),
        linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-void) 100%);
}

.cta-panel {
    position: relative;
    overflow: hidden;
    max-width: 720px;
    border-radius: 18px;
    padding: 44px 34px;
    background: linear-gradient(145deg, rgba(32,40,51,.92), rgba(16,20,26,.94));
    border: 1px solid rgba(255,255,255,.085);
    box-shadow: var(--shadow-lg);
}

.cta-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--brand-orange), transparent);
}

/* ----- FOOTER ----- */
footer {
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    background: #07090c;
    color: #777f89;
}

footer p {
    margin: 0;
    font-size: 13px;
}

/* ----- AUTH PAGES ----- */
.auth-container {
    min-height: 100vh;
    height: auto;
    padding: 110px 20px 40px;
    background:
        radial-gradient(circle at 50% 20%, rgba(79,209,197,.08), transparent 30rem),
        radial-gradient(circle at 80% 70%, rgba(255,106,26,.055), transparent 24rem),
        var(--bg-void);
}

.auth-box {
    width: min(420px, 100%);
    padding: 38px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(16,20,26,.88);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.auth-box h2 {
    color: var(--ivory);
    font-family: 'Fraunces', serif;
    font-size: 30px;
}

.auth-box input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    background: rgba(0,0,0,.28);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-box input:focus {
    border-color: rgba(79,209,197,.55);
    box-shadow: 0 0 0 3px rgba(79,209,197,.08);
    background: rgba(0,0,0,.38);
}

.auth-box button {
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
    color: #171006;
    box-shadow: 0 8px 22px rgba(255,106,26,.2);
}

.auth-box button:hover {
    background: linear-gradient(135deg, #ff7b31, #ffd080);
    transform: translateY(-1px);
}

.auth-switch a {
    color: var(--teal);
}

.auth-switch a:hover {
    color: var(--teal-bright);
}

/* ----- USER PAGE ----- */
.user-container {
    max-width: 900px;
    padding: 130px 20px 70px;
}

.user-section {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--bg-panel-2), var(--bg-panel));
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.user-section h3 {
    color: var(--teal);
}

/* ----- POPUPS ----- */
#ip-popup-bg {
    backdrop-filter: blur(7px);
}

#ip-popup-bg > div {
    border-color: rgba(79,209,197,.18) !important;
    background: linear-gradient(145deg, #171d25, #10141a) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.6) !important;
}

/* ----- RESPONSIVE NAV ----- */
@media (max-width: 1120px) {
    .topnav {
        padding: 0 18px;
    }

    .nav-left {
        gap: 16px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav li a {
        font-size: 13px;
    }

    .nav-right {
        gap: 4px;
    }

    .auth-btn {
        padding: 8px 9px;
        font-size: 13px;
    }
}

@media (max-width: 860px) {
    .topnav {
        position: sticky;
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px;
    }

    .nav-left {
        width: 100%;
        justify-content: center;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        padding-bottom: 4px;
    }

    .main-nav {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav li a {
        padding: 8px 0;
    }

    .main-nav li a::after {
        bottom: 2px;
    }

    .hero {
        margin-top: 0;
        min-height: 82vh;
        padding-top: 70px;
    }

    .status-bar {
        margin-top: -40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-logo {
        width: min(245px, 70vw);
    }

    .hero-tagline {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero-ctas {
        width: 100%;
    }

    .hero-ctas .btn {
        width: min(330px, 100%);
        justify-content: center;
    }

    .status-bar {
        width: calc(100% - 22px);
        border-radius: 14px;
    }

    .status-item {
        padding: 18px 12px;
    }

    .section-dark,
    .section-glow,
    .section-light {
        padding-left: 16px;
        padding-right: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .cta-panel {
        padding: 32px 20px;
    }

    .auth-box {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .feature-card,
    .highlight-item,
    .logo img {
        transition: none;
    }

    .btn::before,
    .feature-card::after {
        display: none;
    }
}
