/* =========================================
   GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    padding-top: 110px;
    color: #fff;
}

/* =========================================
   BACKGROUND SYSTEM
========================================= */

.site-bg {
    position: fixed;
    inset: 0;
    background: url('../assets/background.jpg') center/cover no-repeat;
    z-index: -10;
}

.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: -5;
    pointer-events: none;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}


.nav-countdown {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 4px;
    color: #E10600;
    font-weight: 600;
}


.nav-left {
    justify-self: end;
}

.nav-right {
    justify-self: start;
}

.nav-left > ul,
.nav-right > ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}


.nav-left a,
.nav-right a {
    text-decoration: none;
    color: #F5F5F5;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-left a::after,
.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #E10600;
    transition: width 0.25s ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    width: 100%;
}
.nav-event-overlay {
    position: absolute;
    left: 30px;
    top: 18px; /* align with nav content */
    text-align: center;
    z-index: 2000;
}

.nav-event-overlay img {
    height: 80px;
    display: block;
    margin: 0 auto;
}


.nav-countdown {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 4px;
    color: #E10600;
    font-weight: 600;
}

/* Center Logo */
.logo {
    text-align: center;
    padding: 0 40px;
}

.logo img {
    height: 110px;
    width: auto;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.95);
    padding: 15px 20px;
    display: none;
    border-top: 3px solid #E10600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    z-index: 999;
    text-align: center;
    padding-top: 10px;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}


.dropdown-menu li {
    list-style: none;
}

/* OverDrive logo inside dropdown */
.nav-event-logo img {
    width: 160px;
    height: auto;
    display: block;
}

/* Discord icon */
.nav-discord img {
    height: 22px;
    width: auto;
    display: block;
    transition: 0.3s ease;
}

.nav-discord:hover img {
    transform: scale(1.1);
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    padding: 12px 26px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.primary {
    background: #E10600;
    color: #fff;
}

.primary:hover {
    background: #ff1f1f;
}

.secondary {
    background: #fff;
    color: #000;
}

.secondary:hover {
    background: #ddd;
}

.outline {
    border: 2px solid #E10600;
    color: #E10600;
}

.outline:hover {
    background: #E10600;
    color: #fff;
}

.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* =========================================
   HOME HERO
========================================= */

.home-hero {
    padding: 160px 80px 140px;
}

.home-hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
    background: rgba(0,0,0,0.65);
    padding: 80px;
    border: 1px solid rgba(255,255,255,0.08);
}

.home-hero-left h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(225,6,0,0.2);
}

.home-hero-left h2 {
    font-size: 1.6rem;
    color: #ff2a2a;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.home-hero-left p {
    color: #d6d6d6;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Discord Right Alignment */
.home-hero-right {
    display: flex;
    justify-content: flex-end;
}

.discord-panel {
    width: 100%;
    max-width: 360px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* =========================================
   FEATURED SHOW
========================================= */

.featured-show {
    padding: 120px 80px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
}

.featured-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-image img {
    width: 100%;
    transition: 0.3s ease;
}

.featured-image img:hover {
    transform: scale(1.02);
}

.section-tag {
    color: #E10600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.featured-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.featured-content p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* =========================================
   CHAMPIONS
========================================= */

.champions-section {
    padding: 120px 80px;
}

.section-title {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 70px;
}

.champion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 80px;
}


.champion-card {
    text-align: center;
    border-top: 3px solid #E10600;
    padding-top: 30px;
    transition: 0.3s ease;
}

.champion-card:hover {
    transform: translateY(-6px);
}

.champion-card img {
    max-width: 240px;
    margin-bottom: 20px;
}

.reign {
    font-size: 0.85rem;
    color: #888;
}

/* =========================================
   WHY APX
========================================= */

.why-apx {
    padding: 120px 80px;
    background: rgba(0,0,0,0.55);
}

.why-grid {
    max-width: 1400px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.why-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.why-item p {
    color: #bbb;
    line-height: 1.6;
}

/* =========================================
   JOIN BANNER
========================================= */

.join-banner {
    padding: 140px 80px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.85)
    );
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #000;
    border-top: 3px solid #E10600;
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}
.site-footer img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 20px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .home-hero-inner,
    .featured-inner,
    .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero-right {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-cta {
        justify-content: center;
    }
}
@media (max-width: 1000px) {
    .champion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .champion-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   PPV PAGE
========================================= */

.ppv-hero {
    padding: 180px 40px 140px;
    text-align: center;
}

.ppv-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ppv-logo img {
    height: 120px;
    margin-bottom: 25px;
}

.ppv-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #bbb;
    margin-bottom: 60px;
}

.ppv-poster img {
    width: 100%;
    max-width: 900px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 50px rgba(0,0,0,0.7);
}

.ppv-cta {
    margin-top: 50px;
}
/* =========================================
   ROSTER PAGE
========================================= */

/* HERO */
.roster-hero {
    padding: 120px 40px 40px;
    text-align: center;
    background: rgba(0,0,0,0.55);
}

.roster-hero h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.roster-hero p {
    font-size: 1.1rem;
    color: #bbb;
}

/* SEARCH / FILTER */
.roster-controls {
    padding: 20px 40px;
    text-align: center;
}

.roster-controls input[type="text"] {
    width: 380px;
    max-width: 80%;
    padding: 12px 18px;
    border: 1px solid #444;
    background: #0B0B0B;
    color: #fff;
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.3s ease;
}

.roster-controls input[type="text"]:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 8px rgba(225,6,0,0.4);
}

/* GRID */
.roster-grid-section {
    padding: 40px 40px 80px;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* CARD */
.roster-card {
    position: relative;
    overflow: hidden;
    background: #111;
    padding: 20px;
    text-align: center;
    border-top: 3px solid #E10600;
    transition: 0.3s ease;
    cursor: pointer;
}

.roster-card img {
    width: 100%;
    height: 220px;          /* fixed height */
    object-fit: cover;      /* crops evenly */
    object-position: top;   /* keeps faces visible */
    border: 2px solid #222;
    transition: 0.3s ease;
}


.roster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(225,6,0,0.4);
}

.roster-card:hover img {
    border-color: #E10600;
}

.roster-card h3 {
    margin-top: 15px;
    font-size: 1.25rem;
}

.roster-card p {
    font-size: 0.9rem;
    color: #ccc;
}
.roster-card::after {
    content: "VIEW BIO";
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #E10600;
    opacity: 0;
    transition: 0.3s ease;
}

.roster-card:hover::after {
    opacity: 1;
}
/* =========================================
   ROSTER BIO MODAL
========================================= */

.bio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.bio-modal.active {
    display: flex;
}

.bio-content {
    background: #111;
    padding: 50px;
    max-width: 650px;
    width: 90%;
    border-top: 3px solid #E10600;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
    position: relative;
    animation: fadeIn 0.25s ease;
}

.bio-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.bio-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 25px;
    color: #bbb;
}

.bio-info strong {
    color: #E10600;
    font-weight: 600;
}

.bio-text {
    color: #ddd;
    line-height: 1.6;
}

.bio-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #E10600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.roster-meta {
    margin-top: 12px;
    padding-top: 8px;
    min-height: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.roster-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 4px 10px;
    background: #6b0a07;
    color: #fff;
    font-weight: 600;
}
#featuredRoster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
}
@media (max-width: 1000px) {
    #featuredRoster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #featuredRoster {
        grid-template-columns: 1fr;
    }
}
.nav-countdown span {
    font-weight: 700;
    color: #fff;
}
/* APX Header */

.apx-header {
    background: #111;
    border-bottom: 3px solid #e10600;
    padding: 15px 0;
}

.apx-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apx-logo a {
    font-size: 28px;
    font-weight: bold;
    color: #e10600;
    text-decoration: none;
}

.apx-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.apx-nav a:hover,
.apx-nav a.active {
    color: #e10600;
}
.apx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
body {
    background: #0c0c0c;
}

.apx-header {
    background: #000;
    border-bottom: 3px solid #e10600;
}
/* =========================================
   MOBILE RESPONSIVE OVERHAUL
========================================= */

/* Base Mobile Adjustments */
@media (max-width: 900px) {

    body {
        padding-top: 90px;
    }

    /* Reduce global section padding */
    .home-hero,
    .featured-show,
    .why-apx,
    .join-banner,
    .champions-section {
        padding: 80px 20px !important;
    }

    /* HERO SECTION */
    .home-hero-inner {
        padding: 40px 20px !important;
        gap: 40px !important;
    }

    .home-hero-left h1 {
        font-size: 2.8rem !important;
        letter-spacing: 2px;
    }

    .home-hero-left h2 {
        font-size: 1.2rem;
    }

    .home-hero-left p {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* FEATURED SECTION */
    .featured-inner {
        gap: 40px !important;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    /* WHY GRID */
    .why-grid {
        gap: 30px !important;
    }

    /* CHAMPIONS */
    .champion-card img {
        max-width: 180px;
    }

    /* ROSTER GRID */
    #featuredRoster {
        gap: 25px;
    }

    /* MODAL */
    .bio-content {
        padding: 30px 20px;
    }

    /* PPV PAGE */
    .ppv-hero {
        padding: 140px 20px 80px;
    }

    .ppv-logo img {
        height: 80px;
    }

    .ppv-meta {
        flex-direction: column;
        gap: 10px;
    }

}

/* Extra Small Devices */
@media (max-width: 480px) {

    .home-hero-left h1 {
        font-size: 2.2rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .home-hero-inner {
        padding: 30px 15px !important;
    }

}