:root {
    --bg: #050807;
    --bg-2: #07110c;
    --card: #08140e;
    --lime: #c6ff3a;
    --lime-2: #7dff1f;
    --ink: #f4fff4;
    --muted: #b7c7b4;
    --line: rgba(150, 255, 70, 0.35);
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: Poppins, sans-serif;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(80, 255, 40, 0.16), transparent 60%),
        radial-gradient(700px 380px at 0% 20%, rgba(40, 180, 40, 0.12), transparent 55%),
        var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(4, 10, 6, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(150, 255, 70, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 22px;
}
.logo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.crown { color: #f2c14e; display: grid; }
.crown svg { width: 34px; height: 24px; fill: currentColor; stroke: none; }
.word {
    font-family: Oswald, sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.5px;
    line-height: 1;
}
.word span { color: var(--lime); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e9ffe8;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 999px;
}
.nav a svg { width: 16px; height: 16px; }
.nav a.active, .nav a:hover { color: var(--lime); }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #102016;
    color: var(--lime);
}

.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.btn svg { width: 16px; height: 16px; }
.btn-lime {
    color: #082000;
    background: linear-gradient(180deg, #e9ff7a 0%, #b6ff2a 42%, #63e000 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 8px 24px rgba(120, 255, 0, 0.35);
    padding: 12px 18px;
}
.btn-lime:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost {
    color: #efffe8;
    background: #102216;
    border: 1px solid var(--line);
    padding: 10px 16px;
}
.btn-block { width: 100%; }

.flash {
    width: min(1180px, calc(100% - 32px));
    margin: 14px auto 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #123018;
    border: 1px solid var(--line);
}
.flash-err { background: #3a1212; border-color: #ff8d8d; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 20px;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    top: -8%;
    width: 120px;
    height: 78%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 75%);
    filter: blur(6px);
    pointer-events: none;
}
.hero::before { right: 18%; transform: rotate(16deg); }
.hero::after { right: 8%; transform: rotate(8deg); opacity: 0.7; }
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 20px;
    min-height: 520px;
}
.eyebrow {
    margin: 0 0 8px;
    color: #d9ffd0;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
}
.hero h1 {
    margin: 0;
    font-family: Oswald, sans-serif;
    font-size: clamp(64px, 8vw, 108px);
    line-height: 0.86;
    letter-spacing: 1px;
}
.hero h1 span { color: var(--lime); }
.tagline {
    margin: 14px 0 8px;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
}
.subtag { margin: 0 0 22px; color: var(--muted); font-weight: 600; }
.hero-cta { padding: 14px 26px; font-size: 18px; }
.player-wrap {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: end center;
}
.player-wrap::before {
    content: "";
    position: absolute;
    inset: 8% 6% 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 50% 70%, rgba(80, 255, 40, 0.2), transparent 46%);
    filter: blur(2px);
}
.player-svg { position: relative; width: min(460px, 100%); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)); }

.section { padding: 34px 0; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.section-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Oswald, sans-serif;
    font-size: 40px;
    letter-spacing: 0.4px;
}
.section-title svg { width: 28px; height: 28px; color: var(--lime); }
.section-title em { color: var(--lime); font-style: normal; }

.match-grid, .feature-grid {
    display: grid;
    gap: 16px;
}
.match-grid { grid-template-columns: repeat(4, 1fr); }
.match-card, .panel, .feature, .leader-row, .support-card, .modal-card {
    background:
        linear-gradient(180deg, rgba(18, 42, 24, 0.95), rgba(7, 16, 11, 0.96));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow), inset 0 0 30px rgba(80, 255, 40, 0.04);
}
.match-card { padding: 18px 14px 14px; text-align: center; }
.match-format {
    margin: 0 0 12px;
    color: #d7ffe0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.team { width: 74px; }
.team strong { display: block; margin-top: 8px; font-size: 18px; }
.flag-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(170, 255, 80, 0.7);
    box-shadow: 0 0 16px rgba(80, 255, 40, 0.25);
    background: #102016;
}
.flag-wrap img { width: 100%; height: 100%; object-fit: cover; }
.vs {
    color: var(--lime);
    font-family: Oswald, sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
}
.kickoff {
    margin: 14px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: #d5e6d2;
    font-size: 14px;
}
.kickoff svg { width: 15px; height: 15px; }

.feature-grid { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.feature { text-align: center; padding: 22px 12px; }
.feature .bubble {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--lime);
    background: radial-gradient(circle at 40% 30%, #16321c, #0b1a10);
    border: 1px solid var(--line);
}
.feature .bubble svg { width: 26px; height: 26px; }
.feature h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.why {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 18px 8px 8px;
}
.why h2 { margin: 0 0 16px; font-family: Oswald, sans-serif; font-size: 52px; line-height: 0.95; }
.why h2 em { color: var(--lime); font-style: normal; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; }
.checks svg { width: 22px; height: 22px; color: var(--lime); flex: 0 0 auto; }
.prize { position: relative; min-height: 280px; display: grid; place-items: center; }
.trophy-svg { width: min(280px, 80%); filter: drop-shadow(0 0 24px rgba(255, 200, 40, 0.35)); }
.brush {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 18px;
    text-align: center;
    transform: rotate(-7deg);
    background: linear-gradient(90deg, transparent, #b6ff2a 12%, #8dff22 88%, transparent);
    color: #fff;
    font-family: Oswald, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 1px;
    padding: 6px 10px 8px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.leader-list { display: grid; gap: 10px; }
.leader-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 16px;
}
.rank {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Oswald, sans-serif;
    font-size: 22px;
    color: #082000;
    background: linear-gradient(180deg, #e9ff7a, #69e000);
}
.leader-row strong { display: block; }
.leader-row span { color: var(--muted); font-size: 13px; }
.points { font-family: Oswald, sans-serif; font-size: 28px; color: var(--lime); }

.support-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
.support-card, .panel { padding: 22px; }
.support-card h3, .panel h3 { margin: 6px 0 8px; font-family: Oswald, sans-serif; font-size: 32px; }
.phone-link { color: var(--lime); font-size: 28px; font-weight: 800; }
.muted { color: var(--muted); }

.stack-form, .admin-form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: #d5e8d2; font-weight: 600; }
input, textarea, select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(150, 255, 70, 0.28);
    background: #07140e;
    color: white;
    padding: 12px 12px;
    outline: none;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--lime); }

.social { text-align: center; padding-bottom: 10px; }
.social h2 { margin: 0 0 18px; font-family: Oswald, sans-serif; font-size: 34px; }
.social-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.social-row a { width: 92px; color: #e9ffe8; font-size: 13px; font-weight: 600; }
.social-row .orb {
    width: 74px;
    height: 74px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(160, 255, 70, 0.45);
    background: radial-gradient(circle at 40% 30%, #1a3a22, #07140c 70%);
    box-shadow: 0 0 18px rgba(80, 255, 0, 0.18);
}
.social-row svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.orb.telegram { color: #4eb6ff; }
.orb.instagram { color: #ff4d8d; }
.orb.facebook { color: #4d8dff; }
.orb.youtube { color: #ff3b3b; }
.orb.x { color: #f2f2f2; }

.site-footer { text-align: center; padding: 10px 0 36px; }
.footer-logo { justify-content: center; }
.tag-mini { letter-spacing: 3px; color: var(--lime); font-weight: 800; font-size: 13px; margin: 8px 0; }
.fine { color: #8ea48c; font-size: 13px; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.72);
    display: grid;
    place-items: center;
    padding: 18px;
}
.modal[hidden] { display: none; }
.modal-card { width: min(460px, 100%); padding: 26px 22px 22px; position: relative; }
.modal-card h3 { margin: 0 0 8px; font-family: Oswald, sans-serif; font-size: 34px; }
.modal-copy { margin: 0 0 14px; color: var(--muted); }
.modal-x {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}
body.modal-open { overflow: hidden; }

.empty {
    padding: 28px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 16px;
}

@media (max-width: 980px) {
    .hero-grid, .why, .support-grid, .match-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid, .why, .support-grid { grid-template-columns: 1fr; }
    .player-wrap { min-height: 0; }
    .nav-toggle { display: grid; place-items: center; }
    .nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        background: #07140c;
        border-bottom: 1px solid var(--line);
        padding: 10px 16px 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .nav.open { display: flex; }
    .header-bar { position: relative; }
    .header-bar .btn-lime { padding: 10px 12px; font-size: 14px; }
    .why h2 { font-size: 40px; }
}
@media (max-width: 640px) {
    .match-grid, .feature-grid { grid-template-columns: 1fr; }
    .word { font-size: 24px; }
    .section-title { font-size: 32px; }
    .header-bar .btn-lime span, .header-bar .btn-lime { font-size: 13px; }
}
