@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* =========================
   BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #111;
    color: #fff;
    overflow-x: hidden;
}

/* =========================
   LAYOUT CONTAINER (FIXED)
   IMPORTANT: NO FLEX HERE ANYMORE
========================= */

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;

    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    width: 90%;
    max-width: 1400px;

    margin: auto;

    display: flex;
    align-items: center;

    justify-content: flex-start; /* IMPORTANT */

    gap: 2.5rem;

    height: 90px;
}

.logo img {
    height: 128px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;

    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
        font-size: 0.7rem;
font-family: "Press Start 2P", system-ui;
    position: relative;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #63d471;
}

/* underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: #63d471;
    transition: 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.nav-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn {
    display: inline-block;

    text-decoration: none;
    color: #fff;

    padding: 0.9rem 1.5rem;
    border-radius: 12px;

    font-weight: 700;
    transition: 0.3s ease;
}

/* base icon button */
.icon-btn {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.2s ease;

    backdrop-filter: blur(8px);
}

.icon-btn img {
    width: 20px;
    height: 20px;
}

/* hover effects */
.icon-btn:hover {
    transform: translateY(-2px);
}

/* platform colors */
.icon-btn.youtube:hover {
    background: rgba(196, 48, 43, 0.2);
    border-color: rgba(196, 48, 43, 0.5);
}

.icon-btn.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

.primary { background: #63d471; color: #000; }
.secondary { border: 2px solid #fff; }

.secondary:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

/* =========================
   SEASON HERO
========================= */

.season-hero {
    position: relative;
    min-height: 92vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.75)),
        url('../img/backgrounds/season-hero.jpg');

    background-size: cover;
    background-position: center;
}

.season-hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.35);
}

.season-hero .container {
    position: relative;
    z-index: 2;
}

.season-hero-content {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 1.2rem;

    background: rgba(99,212,113,0.18);
    border: 1px solid rgba(99,212,113,0.3);
    border-radius: 999px;

    color: #63d471;
    font-weight: 800;
    letter-spacing: 1px;
}

.season-hero h1 {
    font-family: "Press Start 2P", system-ui;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: #cfcfcf;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* =========================
   SECTION HEADER (FIXED)
========================= */

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-family: "Press Start 2P", system-ui;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #cfcfcf;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================
   INFO SECTIONS
========================= */

.info-section {
    padding: 7rem 0;
}

.info-section.dark {
    background: #0f0f0f;
}

.split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split.reverse {
    flex-direction: row-reverse;
}

.text,
.image {
    flex: 1;
}

.image img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   TEAMS SECTION (FIXED FLOW)
========================= */

.cards-section {
    padding: 7rem 0;
}

.cards-section h2 {
    text-align: center;
    font-size: 2.4rem;
    font-family: "Press Start 2P", system-ui;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);

    padding: 2rem;
    border-radius: 18px;

    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,212,113,0.25);
}

.card h3 {
    color: #63d471;
    margin-bottom: 0.5rem;
}

/* =========================
   RULES
========================= */

.rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.rule {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);

    padding: 1rem;
    border-radius: 14px;

    color: #d0d0d0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .split {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .rules {
        grid-template-columns: 1fr;
    }

    .season-hero h1 {
        font-size: 2.2rem;
    }
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 4rem 0 2rem;
}

/* grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* column styling */
.footer-col h3 {
    font-family: "Press Start 2P", system-ui;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #63d471;
}

/* text */
.footer-col p {
    color: #bdbdbd;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* links */
.footer-col a {
    display: block;
    color: #cfcfcf;
    text-decoration: none;

    margin-bottom: 0.6rem;

    transition: 0.2s ease;
}

.footer-col a:hover {
    color: #63d471;
}

/* small print */
.small {
    font-size: 0.85rem;
    color: #8a8a8a;
}

/* responsive */
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =========================
   GLOBAL CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   OBJECTIVE FEATURE SECTION
========================= */

.season-objective {
    padding: 8rem 0;
}

/* image upgrade */
.objective-image img {
    width: 100%;
    border-radius: 24px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 0 60px rgba(99,212,113,0.10);
}

/* text block upgrade */
.objective-text {
    padding: 1rem 0;
}

/* small badge above title */
.mini-badge {
    display: inline-block;

    padding: 6px 12px;
    margin-bottom: 1rem;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;

    color: #63d471;
    background: rgba(99,212,113,0.12);

    border: 1px solid rgba(99,212,113,0.25);
    border-radius: 999px;
}

/* main title */
.objective-text h2 {
    font-family: "Press Start 2P", system-ui;
    font-size: 2rem;

    margin-bottom: 0.8rem;
}

/* subtitle goal */
.objective-text h3 {
    color: #63d471;
    font-size: 1.3rem;

    margin-bottom: 1rem;
}

/* paragraph */
.objective-text p {
    color: #d0d0d0;
    line-height: 1.7;

    margin-bottom: 1.8rem;
}

/* modern list replacement */
.objective-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.objective-item {
    padding: 0.9rem 1rem;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    color: #d7d7d7;

    transition: 0.2s ease;
}

.objective-item:hover {
    border-color: rgba(99,212,113,0.25);
    transform: translateX(4px);
}