:root {
    --bg: #000;
    --bg-1: #0a0a0a;
    --bg-2: #111;
    --bg-3: #1a1a1a;
    --border: rgba(255,255,255,0.06);
    --border-h: rgba(255,255,255,0.12);
    --orange: #F4511E;
    --orange-lo: rgba(244,81,30,0.1);
    --orange-md: rgba(244,81,30,0.25);
    --orange-hi: #FF6D00;
    --text: #f0f0f0;
    --text-2: rgba(240,240,240,0.55);
    --text-3: rgba(240,240,240,0.2);
    --green: #4ade80;
    --red: #f87171;
    --yellow: #fbbf24;
    --mono: 'Share Tech Mono', monospace;
    --sans: 'Open Sans', sans-serif;
    --heading: 'Catamaran', sans-serif;
    --r: 8px;
    --r-sm: 5px;
    --r-lg: 12px;
    --spring-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

::selection { background: var(--orange); color: #fff; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--orange); transition: color .15s; text-decoration: none; }
a:hover { color: var(--orange-hi); }
img { max-width: 100%; height: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; top: -100%; left: 8px; z-index: 9999; background: var(--orange); color: #fff; padding: 8px 16px; font-family: var(--mono); font-size: 12px; text-decoration: none; border-radius: var(--r-sm); transition: top 0.2s; }
.skip-link:focus { top: 8px; }

:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--orange); border-radius: var(--r-sm); }

h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 700; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--spring-out), transform 0.5s var(--spring-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.5s var(--spring-out), transform 0.5s var(--spring-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.entrance-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--spring-out), transform 0.4s var(--spring-out); }
.entrance-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.entrance-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.entrance-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.entrance-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.entrance-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.entrance-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    height: 72px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.7));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

nav .nav-inner {
    max-width: 1300px; margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

nav .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
    justify-self: start;
}

nav .nav-logo img { height: 36px; width: auto; }

nav .nav-logo span {
    font-family: var(--heading); font-weight: 800;
    font-size: 20px; letter-spacing: 1px; color: #fff;
}

nav .nav-links { display: flex; align-items: center; gap: 4px; }

nav .nav-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
}

nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
nav .nav-links a.active { color: #fff; }

nav .nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }

.nav-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: rgba(255,255,255,0.4);
    cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-btn:hover { color: var(--orange); border-color: var(--orange); background: var(--orange-lo); }
.nav-btn:active { transform: scale(0.92); }

.nav-toggle {
    display: none;
    flex-direction: column; gap: 4px;
    background: transparent; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: rgba(255,255,255,0.5); border-radius: 1px; transition: background 0.2s; }
.nav-toggle:hover span { background: #fff; }

@media (max-width: 768px) {
    nav { height: 60px; }
    nav .nav-inner { padding: 0 20px; }
    nav .nav-links { display: none; }
    nav .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: rgba(0,0,0,0.98); padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 4px; }
    nav .nav-links.open a { padding: 10px 14px; border-radius: var(--r); }
    .nav-toggle { display: flex; }
    nav .nav-logo span { font-size: 16px; }
    nav .nav-logo img { height: 28px; }
}

/* ── MAIN LAYOUT ── */
.main { min-height: 100vh; position: relative; animation: mainFadeIn 0.5s var(--spring-out); }
@keyframes mainFadeIn { from { opacity: 0; } to { opacity: 1; } }

.content {
    max-width: 1300px; margin: 0 auto;
    padding: 0 40px 60px;
    position: relative; z-index: 1;
}

@media (max-width: 768px) {
    .content { padding-left: 20px; padding-right: 20px; }
}

/* ── HERO ── */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    animation: fadeUp 0.6s var(--spring-out);
}

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

.hero-logo { max-width: 800px; width: 100%; margin: 0 auto 32px; display: block; }

.hero h1 {
    font-family: var(--heading); font-weight: 800;
    font-size: clamp(32px, 5vw, 52px);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 16px; color: var(--text-2);
    max-width: 500px; margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--orange); color: #fff;
    padding: 12px 28px; border-radius: 100px;
    font-family: var(--heading); font-weight: 700;
    font-size: 15px; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--orange-hi); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255,255,255,0.15); color: var(--text-2);
    padding: 12px 28px; border-radius: 100px;
    font-family: var(--heading); font-weight: 700;
    font-size: 15px; text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ── SECTION ── */
.section {
    margin-bottom: 40px;
    animation: fadeUp 0.5s var(--spring-out) both;
}

.section-header {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 24px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.section-num {
    font-family: var(--mono); font-size: 10px;
    letter-spacing: 1px; color: var(--orange);
    opacity: 0.5;
}

.section-title {
    font-family: var(--heading); font-weight: 700;
    font-size: 22px; color: #fff;
}

/* ── CARD ── */
.card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-h); }

/* ── SERVER CARDS ── */
.servers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.server-card {
    background: linear-gradient(145deg, var(--bg-1) 0%, #0d0d0d 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: border-color 0.3s ease, transform 0.25s var(--spring-out), box-shadow 0.3s ease;
}

.server-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% -20px, rgba(244,81,30,0.03) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.server-card:hover {
    border-color: rgba(244,81,30,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(244,81,30,0.08);
}

.server-card:hover::before {
    opacity: 1;
}

.server-bar {
    height: 3px;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: background 0.5s ease, opacity 0.4s ease;
}

.server-card.loading .server-bar { opacity: 0; }
.server-card.online .server-bar {
    opacity: 1;
    background: linear-gradient(90deg, var(--green), rgba(74,222,128,0.3));
}
.server-card.offline .server-bar {
    opacity: 1;
    background: linear-gradient(90deg, var(--red), rgba(248,113,113,0.2));
}

.server-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-season {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 2px 0;
}

.server-status-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Ping bars ── */
.ping-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}
.ping-bar {
    width: 3px;
    border-radius: 2px;
    transition: background 0.3s, height 0.3s, opacity 0.3s;
}
.ping-bars .ping-bar:nth-child(1) { height: 4px; }
.ping-bars .ping-bar:nth-child(2) { height: 7px; }
.ping-bars .ping-bar:nth-child(3) { height: 10px; }
.ping-bars .ping-bar:nth-child(4) { height: 13px; }
.ping-bars .ping-bar:nth-child(5) { height: 14px; }

.ping-bars.excellent .ping-bar {
    background: var(--green);
    box-shadow: 0 0 4px rgba(74,222,128,0.3);
}
.ping-bars.fair .ping-bar {
    background: var(--yellow);
}
.ping-bars.fair .ping-bar:nth-child(4),
.ping-bars.fair .ping-bar:nth-child(5) {
    background: var(--green);
}
.ping-bars.poor .ping-bar:nth-child(1),
.ping-bars.poor .ping-bar:nth-child(2) {
    background: var(--yellow);
}
.ping-bars.poor .ping-bar:nth-child(3),
.ping-bars.poor .ping-bar:nth-child(4),
.ping-bars.poor .ping-bar:nth-child(5) {
    background: var(--red);
}
.ping-bars.offline .ping-bar {
    background: var(--red);
    opacity: 0.4;
}
.ping-bars.loading .ping-bar {
    background: var(--border-h);
    animation: bar-loading 1.2s ease-in-out infinite;
}
.ping-bars.loading .ping-bar:nth-child(2) { animation-delay: 0.1s; }
.ping-bars.loading .ping-bar:nth-child(3) { animation-delay: 0.2s; }
.ping-bars.loading .ping-bar:nth-child(4) { animation-delay: 0.3s; }
.ping-bars.loading .ping-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bar-loading {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 0.8; }
}

/* ── Status chip ── */
.status-chip {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.status-chip.online {
    background: rgba(74,222,128,0.12);
    color: var(--green);
    border-color: rgba(74,222,128,0.25);
    box-shadow: 0 0 12px rgba(74,222,128,0.05);
}
.status-chip.offline {
    background: rgba(248,113,113,0.1);
    color: var(--red);
    border-color: rgba(248,113,113,0.2);
}
.status-chip.loading {
    background: var(--bg-2);
    color: var(--text-3);
    border-color: var(--border);
}
.status-chip.starting,
.status-chip.restarting {
    background: rgba(251,191,36,0.1);
    color: var(--yellow);
    border-color: rgba(251,191,36,0.2);
}
.status-chip.shutting {
    background: rgba(251,191,36,0.08);
    color: var(--yellow);
    border-color: rgba(251,191,36,0.15);
}

/* ── Server header (icon + name) ── */
.server-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.server-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border: 1px solid var(--border);
    background: var(--bg-2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.server-icon:not(.hidden) {
    animation: iconFadeIn 0.35s ease both;
}

@keyframes iconFadeIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.server-card.online .server-icon {
    border-color: rgba(74,222,128,0.2);
    box-shadow: 0 0 16px rgba(74,222,128,0.08);
}

.server-name {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.server-motd {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.3;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* ── IP row ── */
.server-ip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 8px 12px;
}

.server-ip {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
    word-break: break-all;
}

.server-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(244,81,30,0.15);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.server-copy-btn:hover {
    background: rgba(244,81,30,0.1);
    border-color: rgba(244,81,30,0.3);
    color: var(--orange-hi);
}
.server-copy-btn:active {
    transform: scale(0.95);
}

/* ── Meta (players + ping) ── */
.server-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
}
.server-players {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 5px;
}
.server-players .online-count {
    font-weight: 700;
    color: var(--green);
    transition: color 0.3s ease;
}
.server-ping-ms {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.server-sep {
    color: var(--text-3);
    font-size: 10px;
}

@media (max-width: 600px) {
    .servers-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── SHOPS GRID ── */
.shops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.shop-card {
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: var(--r); padding: 24px 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 12px; text-decoration: none; color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}
.shop-card:hover { border-color: var(--orange-md); transform: translateY(-3px); }
.shop-card.disabled { opacity: 0.5; pointer-events: none; }

.shop-icon { font-size: 28px; color: var(--orange); opacity: 0.7; }
.shop-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--r) - 2px); margin-bottom: 4px; }
.shop-card h3 { font-family: var(--heading); font-weight: 700; font-size: 16px; color: #fff; }
.shop-card p { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.shop-tag {
    font-family: var(--mono); font-size: 8px; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
}
.shop-tag.open { background: rgba(74,222,128,0.1); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.shop-tag.soon { background: rgba(251,191,36,0.1); color: var(--yellow); border: 1px solid rgba(251,191,36,0.2); }

@media (max-width: 768px) { .shops-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .shops-grid { grid-template-columns: 1fr; } }

/* ── DISCORD CARD ── */
.discord-card {
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: var(--r); padding: 28px 24px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px; max-width: 400px; margin: 0 auto;
}

.discord-card .discord-icon { font-size: 32px; color: #7289da; }

.discord-card h3 {
    font-family: var(--heading); font-weight: 700;
    font-size: 18px; color: #fff;
}

.discord-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

.discord-btn {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 auto;
    background: #5865F2; color: #fff;
    padding: 10px 24px; border-radius: 100px;
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.discord-btn:hover { background: #4752C4; color: #fff; transform: translateY(-1px); }

/* ── BOTTOM ROW (President + Discord side by side) ── */
.bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 600px) { .bottom-row { grid-template-columns: 1fr; } }

.card-label {
    font-family: var(--mono); font-size: 9px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 12px;
}

.pres-card, .discord-card-custom { padding: 20px 22px; }
.discord-card-custom { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pres-icon, .discord-icon { font-size: 24px; margin-bottom: 12px; color: var(--text-2); }

.pres-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 11px; }
.pres-table th { text-align: left; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; font-size: 9px; padding: 0 0 8px; border-bottom: 1px solid var(--border); }
.pres-table td { color: var(--text-2); padding: 8px 0 0; }
.pres-current td { color: var(--orange); }
.pres-now { font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.team-card {
    background: linear-gradient(160deg, rgba(15,15,15,1) 0%, rgba(8,8,8,1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 20px 24px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
    transition: border-color 0.25s, transform 0.25s var(--spring-out), box-shadow 0.3s;
}
.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(244,81,30,0.04) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.team-card:hover {
    border-color: var(--orange-md);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(244,81,30,0.06);
}
.team-card:hover::before { opacity: 1; }

.team-head-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 2px solid var(--border);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    transition: border-color 0.25s, box-shadow 0.3s;
}
.team-card:hover .team-head-wrap {
    border-color: var(--orange-md);
    box-shadow: 0 0 20px rgba(244,81,30,0.08);
}
.team-head { width: 100%; height: 100%; image-rendering: pixelated; display: block; }

.team-name {
    font-family: var(--heading); font-weight: 800; font-size: 17px; color: #fff;
}
.team-role-primary {
    font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--orange-hi);
    padding: 4px 14px; border-radius: 100px;
    background: rgba(244,81,30,0.1); border: 1px solid rgba(244,81,30,0.25);
    font-weight: 600;
}
.team-roles { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.team-role {
    font-family: var(--mono); font-size: 8px; letter-spacing: 1.2px;
    text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
    background: var(--bg-3); color: var(--text-2); border: 1px solid var(--border-h);
    font-weight: 500;
}

/* Team Discord badge */
.team-discord {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(88,101,242,0.1);
    border: 1px solid rgba(88,101,242,0.2);
    font-family: var(--mono);
    font-size: 9px;
    color: #8ea1e1;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: default;
}
.team-discord:hover {
    background: rgba(88,101,242,0.18);
    border-color: rgba(88,101,242,0.4);
    color: #b0bff5;
}
.team-card .team-discord {
    margin-top: auto;
    padding: 6px 14px;
    font-size: 10px;
}
.about-team-card .team-discord {
    margin-top: auto;
}
.team-discord i {
    font-size: 13px;
}

@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* ── ONLINE PLAYERS WIDGET ── */
.online-players-widget {
    position: fixed; top: 80px; right: 20px;
    z-index: 50; display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}

.player-widget {
    background: rgba(10,10,10,0.95); border: 1px solid var(--border);
    border-radius: var(--r); padding: 10px 12px;
    min-width: 140px; backdrop-filter: blur(8px);
    pointer-events: auto;
}

.widget-label {
    font-family: var(--mono); font-size: 8px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-3); margin-bottom: 6px;
}

.player-list { display: flex; flex-direction: column; gap: 3px; }
.player-head { width: 18px; height: 18px; border-radius: 3px; image-rendering: pixelated; flex-shrink: 0; border: 1px solid var(--border); }
.player-name { font-family: var(--mono); font-size: 10px; color: var(--text-2); display: flex; align-items: center; gap: 5px; }

@media (max-width: 768px) { .online-players-widget { display: none; } }

/* ── USER BADGE ── */
/* ── FOOTER (majnr style) ── */
.site-footer {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1300px; margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 0;
}

.footer-col h4 {
    font-family: var(--heading); font-weight: 700;
    font-size: 15px; color: #fff;
    margin-bottom: 16px;
}
.footer-col:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-col:first-child h4 {
    margin: 0;
    line-height: 0;
    width: 85%;
}
.footer-col:first-child h4 img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-2); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }

.footer-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--text-3);
}

.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-inner { padding: 0 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 400px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── THANK YOU ── */
.thanks-section { text-align: center; padding: 48px 24px 32px; }
.thanks-section p { font-family: var(--heading); font-weight: 700; font-size: 20px; color: var(--text-2); }

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-2); border: 1px solid var(--border);
    color: var(--text-2); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, background 0.2s, border-color 0.2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--bg-3); border-color: var(--orange); color: var(--orange); }

/* ── TOAST ── */
.toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(12px); z-index: 200;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 100px; padding: 10px 20px;
    font-family: var(--mono); font-size: 11px; color: #fff;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(0,0,0,0.97);
    border-top: 1px solid var(--border);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-bottom-nav a {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; flex: 1;
    color: var(--text-3); text-decoration: none;
    font-family: var(--mono); font-size: 8px;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 0;
    transition: color 0.2s;
}

.mobile-bottom-nav a svg { width: 20px; height: 20px; }

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover { color: var(--orange); }

@media (max-width: 768px) {
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 56px; }
}

/* ── ABOUT PAGE ── */
.about-card { padding: 24px 28px; }
.about-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.about-text strong { color: var(--orange); font-weight: 600; }

.about-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-team-card {
    background: linear-gradient(160deg, rgba(15,15,15,1) 0%, rgba(8,8,8,1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
    transition: border-color 0.25s, transform 0.25s var(--spring-out), box-shadow 0.3s;
}
.about-team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(244,81,30,0.04) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.about-team-card:hover {
    border-color: var(--orange-md);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(244,81,30,0.06);
}
.about-team-card:hover::before { opacity: 1; }

.about-team-head {
    width: 72px; height: 72px;
    border-radius: 50%;
    image-rendering: pixelated;
    border: 2px solid var(--border);
    background: var(--bg-2);
    position: relative; z-index: 1;
    transition: border-color 0.25s, box-shadow 0.3s;
}
.about-team-card:hover .about-team-head {
    border-color: var(--orange-md);
    box-shadow: 0 0 20px rgba(244,81,30,0.08);
}
.about-team-name {
    font-family: var(--heading); font-size: 17px; font-weight: 800; color: #fff;
}
.about-team-role {
    font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--orange-hi);
    font-weight: 600;
    padding: 4px 14px; border-radius: 100px;
    background: rgba(244,81,30,0.1); border: 1px solid rgba(244,81,30,0.25);
}

.about-seasons { display: flex; flex-direction: column; gap: 10px; }
.about-season { display: flex; align-items: center; gap: 20px; padding: 18px 22px; }
.about-season-num { font-family: var(--mono); font-size: 28px; color: var(--text-3); line-height: 1; flex-shrink: 0; width: 40px; text-align: center; }
.about-season-num.active { color: var(--orange); }
.about-season-label { font-family: var(--heading); font-size: 15px; font-weight: 700; color: #fff; }
.about-season-current { font-family: var(--mono); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.about-season-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── TIMELINE ── */
.tl-season { margin-bottom: 24px; }
.tl-season-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); padding: 0 0 10px 12px; border-left: 2px solid var(--border); margin-bottom: 6px; }
.tl-list { display: flex; flex-direction: column; gap: 6px; padding-left: 12px; border-left: 2px solid var(--border); }
.tl-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: relative; }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex-shrink: 0; position: relative; z-index: 1; }
.tl-body { display: flex; flex-direction: column; gap: 2px; }
.tl-date { font-family: var(--mono); font-size: 8px; letter-spacing: 1px; color: var(--text-3); }
.tl-head { font-size: 13px; font-weight: 700; color: var(--text); }
.tl-body-sub { font-size: 11px; color: var(--text-3); font-style: italic; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { overflow: hidden; border-radius: var(--r); cursor: pointer; transition: transform 0.2s; }
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.gallery-caption { padding: 8px 12px 10px; font-family: var(--mono); font-size: 9px; color: var(--text-2); }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ── 404 ── */
.page-404 { text-align: center; padding: 120px 24px; }
.page-404 h1 { font-family: var(--heading); font-weight: 800; font-size: clamp(80px, 20vw, 160px); color: var(--orange); line-height: 1; margin-bottom: 16px; }
.page-404 p { font-size: 16px; color: var(--text-2); margin-bottom: 32px; }

/* ── POPUP ── */
.popup-overlay {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.popup-overlay.open { opacity: 1; pointer-events: auto; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); }
.popup-card {
    position: relative; z-index: 1;
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 12px; padding: 36px 32px 28px;
    max-width: 440px; width: 100%;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.popup-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2); border-radius: 50%; cursor: pointer; transition: background 0.2s; }
.popup-close:hover { background: rgba(248,113,113,0.2); }
.popup-sigil { width: 40px; height: 40px; color: var(--orange); margin-bottom: 20px; }
.popup-title { font-family: var(--heading); font-weight: 800; font-size: clamp(24px, 5vw, 34px); color: #fff; margin-bottom: 12px; }
.popup-msg-box { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; padding: 20px; width: 100%; margin-bottom: 20px; }
.popup-msg-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.popup-msg-body { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.popup-status-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.popup-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.4); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.popup-status-text { font-family: var(--mono); font-size: 8px; letter-spacing: 1.5px; color: var(--green); text-transform: uppercase; }
