
/* ---- Apex Vanguard Premium Esport Theme ---- */

/* ============================================
   APEX VANGUARD – PREMIUM MOBILE ESPORT THEME
   ============================================ */

/* VARIABLES (DARK/LIGHT MODE) */
:root {
    --bg: #0a0f1c;
    --bg2: #121826;
    --text: #e8f4ff;
    --accent: #008cff;
    --card: #0f172a;
}

.light-mode {
    --bg: #ffffff;
    --bg2: #f2f6ff;
    --text: #000000;
    --accent: #0078ff;
    --card: #ffffff;
}

/* GLOBAL */
* {
    transition: 0.25s ease;
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
}

/* RADIAL BACKGROUND */
body {
    background: radial-gradient(
        circle at 15% 20%,
        rgba(0, 81, 255, 0.664),
        rgba(0, 40, 90, 0.12),
        rgb(0, 0, 0)
    );
    background-attachment: fixed;
}

/* NOISE LAYER */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/png;base64,iVBOR....");
    opacity: 0.08;
    pointer-events: none;
}

/* ============================================
                HEADER
   ============================================ */
.header {
    background: var(--bg2);
    border-bottom: 2px solid var(--accent);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT SIDE (burger + theme toggle) */
.header-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

#mobile-menu-btn,
#theme-toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 26px;
    cursor: pointer;
}

/* LOGO */
.logo img {
    height: 75px;
}

/* NAV (DESKTOP) */
.nav-desktop {
    display: flex;
    gap: 25px;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

/* UNDERLINE EFFECT */
.nav-desktop a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    transition: 0.28s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

.nav-desktop a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

/* MOBILE NAV */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--bg2);
    padding: 10px 0;
    border-bottom: 2px solid var(--accent);
}

.nav-mobile a {
    padding: 14px 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-mobile a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
                MAIN CONTENT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 3;
}

.news-highlight {
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}

.center-image {
    width: 200px;
    display: block;
    margin: 25px auto 0 auto;
}

/* ============================================
                SIDEBAR
   ============================================ */
.sidebar {
    flex: 1;
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    height: fit-content;
}

/* ============================================
            RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }

    #mobile-menu-btn {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    .sidebar {
        order: 2;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 60px;
    }

    .news-highlight {
        padding: 15px;
    }
}

/* ============================================
                FOOTER
   ============================================ */
footer {
    background: var(--bg2);
    color: var(--text);
    text-align: center;
    padding: 25px;
    border-top: 2px solid var(--accent);
    margin-top: 50px;
}

.team-banner {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--accent);
}

.team-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.team-banner-text {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: white;
}

.team-banner-text h1 {
    font-size: 2.5rem;
    margin: 0;
}

.premium-team-grid .player-card {
    background: var(--card);
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
    cursor: pointer;
}

.premium-team-grid .player-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 35px rgba(0,150,255,0.35);
}

.player-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
}

.player-info h3 {
    margin: 8px 0;
}

.role {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-block;
    color: black;
    margin-bottom: 6px;
}

.role-entry { background: #003cff; }
.role-awp { background: #ff0095; }
.role-support { background: #ffaa00; }
.role-igl { background: #00ff99; }
.role-flex { background: #b366ff; }

.steam-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--accent);
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}

.steam-btn:hover {
    opacity: 0.8;
}
