:root {
    --bg: #09110f;
    --bg-soft: rgba(14, 22, 19, 0.72);
    --panel: rgba(15, 24, 21, 0.86);
    --line: rgba(255, 255, 255, 0.08);
    --text: #eff6ef;
    --muted: #a3b3aa;
    --green: #7be495;
    --green-strong: #48c46a;
    --discord: #5865f2;
    --youtube: #ff0000;
    --gold: #f2d16b;
    --danger: #ff6b7a;
    --success: #3ad57d;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Oxanium", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 228, 149, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(88, 101, 242, 0.12), transparent 24%),
        linear-gradient(180deg, #09110f 0%, #0d1512 48%, #070909 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 60px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--bg-soft);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.brand-badge-fallback {
    background: linear-gradient(180deg, #7fd668 0 22%, #4d8a3f 22% 42%, #6b4b2b 42% 100%);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 3px;
}

.brand-copy strong,
.hero h1,
.section-title h2,
.status-topline h3 {
    font-family: "Rajdhani", sans-serif;
}

.brand-copy strong {
    font-size: 1.4rem;
    line-height: 1;
}

.brand-copy small,
.hero-text,
.hero-points,
.quick-link span,
.section-title p,
.player-list-head span,
.social-card span {
    color: var(--muted);
}

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

.header-link,
.header-cta,
.primary-button,
.secondary-button {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-link,
.secondary-button {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.header-cta,
.primary-button {
    color: #fff;
    background: linear-gradient(135deg, #7280ff 0%, var(--discord) 100%);
    box-shadow: 0 18px 34px rgba(88, 101, 242, 0.26);
}

.copy-ip-button {
    color: #08110f;
    border-color: rgba(255, 211, 107, 0.3);
    background: linear-gradient(135deg, #ffe27a 0%, #ffb347 52%, #ff7a59 100%);
    box-shadow: 0 18px 34px rgba(255, 179, 71, 0.28);
}

.copy-ip-button:hover {
    box-shadow: 0 22px 40px rgba(255, 122, 89, 0.32);
}

.header-link:hover,
.header-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.quick-link:hover,
.social-card:hover {
    transform: translateY(-2px);
}

.button-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.button-icon svg {
    width: 100%;
    height: 100%;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 32px;
    align-items: center;
    padding: 54px 0 24px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.92;
    max-width: 12ch;
}

.hero-text {
    margin: 18px 0 0;
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 22px 0 0;
    padding: 0;
    font-size: 0.96rem;
}

.hero-points strong {
    color: var(--text);
}

.hero-art {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.hero-art-glow {
    position: absolute;
    width: min(92%, 480px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 88, 132, 0.2), rgba(88, 101, 242, 0.14) 42%, transparent 72%);
    filter: blur(18px);
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.4));
}

.quick-links,
.status-metrics,
.social-grid {
    display: grid;
    gap: 18px;
}

.quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 6px;
}

.quick-link,
.status-card,
.social-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.quick-link {
    padding: 20px 22px;
}

.quick-link strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.06rem;
}

.quick-link.discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.24), rgba(15, 24, 21, 0.88));
}

.quick-link.store {
    background: linear-gradient(135deg, rgba(72, 196, 106, 0.2), rgba(15, 24, 21, 0.88));
}

.quick-link.vote {
    background: linear-gradient(135deg, rgba(242, 209, 107, 0.16), rgba(15, 24, 21, 0.88));
}

.social-section {
    margin-top: 54px;
}

.section-title {
    max-width: 760px;
    margin-bottom: 20px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
}

.status-card {
    padding: 28px;
}

.status-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.status-label {
    margin: 0 0 10px;
    color: var(--muted);
}

.status-topline h3 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1;
}

.status-address {
    margin: 10px 0 0;
    color: #9ee9ff;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 10px;
    background: #89918d;
    box-shadow: 0 0 0 10px rgba(137, 145, 141, 0.12);
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 0 10px rgba(58, 213, 125, 0.14);
}

.status-dot.offline {
    background: var(--danger);
    box-shadow: 0 0 0 10px rgba(255, 107, 122, 0.14);
}

.status-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0;
}

.status-metrics article {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.status-metrics span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
}

.status-metrics strong {
    font-size: 1.12rem;
}

.player-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.player-list-head h4 {
    margin: 0;
    font-size: 1.08rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(123, 228, 149, 0.08);
    border: 1px solid rgba(123, 228, 149, 0.12);
}

.tag.muted {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-card {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-card.youtube {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(15, 24, 21, 0.9));
    border-color: rgba(255, 0, 0, 0.24);
}

.social-card.instagram {
    background: linear-gradient(135deg, rgba(245, 133, 41, 0.2), rgba(221, 42, 123, 0.24), rgba(129, 52, 175, 0.18));
    border-color: rgba(221, 42, 123, 0.24);
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
}

.social-icon svg {
    width: 26px;
    height: 26px;
}

.social-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.12rem;
}

@media (max-width: 980px) {
    .site-header,
    .hero {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-art {
        min-height: 360px;
        order: -1;
    }

    .quick-links,
    .status-metrics,
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .site-header,
    .quick-link,
    .status-card,
    .social-card {
        border-radius: 20px;
    }

    .site-header,
    .status-card,
    .social-card,
    .quick-link {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header-link,
    .header-cta,
    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .hero-art {
        min-height: 280px;
    }

    .player-list-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
