/* ============================================
   ROYAL GMBL — Gaming & Esports News Portal v2.0
   Premium dark theme with glassmorphism
   ============================================ */

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== CSS Variables ===== */
:root {
    /* Backgrounds */
    --bg-void: #050508;
    --bg-base: #0a0a14;
    --bg-surface: #0e0e1a;
    --bg-card: rgba(20, 20, 38, 0.6);
    --bg-card-solid: #14142e;
    --bg-elevated: #1c1c38;
    --bg-glass: rgba(20, 20, 38, 0.4);

    /* Borders */
    --border: rgba(80, 80, 140, 0.15);
    --border-hover: rgba(124, 58, 237, 0.4);
    --border-glow: rgba(124, 58, 237, 0.5);

    /* Brand */
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-glow: rgba(124, 58, 237, 0.5);
    --secondary: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --accent: #ec4899;
    --accent-light: #f472b6;
    --gold: #fbbf24;
    --success: #10b981;
    --live: #ef4444;
    --warning: #f59e0b;

    /* Text */
    --text: #e8e8f0;
    --text-2: #a0a0b8;
    --text-3: #6b6b85;
    --text-white: #ffffff;

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    --grad-brand-2: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --grad-hero: linear-gradient(160deg, #0e0e1a 0%, #050508 100%);
    --grad-card: linear-gradient(145deg, rgba(124, 58, 237, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);

    /* Fonts */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --max-w: 1320px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.12);
    --shadow-glow-2: 0 0 30px rgba(6, 182, 212, 0.15);
}

/* ===== Base ===== */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 15px;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: -2;
}

/* Grid overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
h4 { font-size: 1rem; }

.text-grad { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-2 { background: var(--grad-brand-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-gold { background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== Layout ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--secondary); margin-bottom: 14px;
}
.section-head .eyebrow::before {
    content: ''; width: 24px; height: 2px; border-radius: 2px;
    background: var(--grad-brand);
}
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-2); max-width: 600px; }
.section-head.center p { margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: var(--r-sm);
    font-family: var(--font-head); font-size: 0.8rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad-brand); color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); }
.btn-outline {
    background: transparent; border: 1px solid rgba(120, 120, 180, 0.3);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(124, 58, 237, 0.1); color: #fff; }
.btn-ghost { background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2); color: var(--primary-light); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.2); border-color: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.7rem; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(5, 5, 8, 0.9); box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: #fff; letter-spacing: 0.01em; }
.nav-logo .logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
    font-size: 1rem; box-shadow: 0 0 15px var(--primary-glow);
}
.nav-logo .logo-text span { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
    font-size: 0.82rem; font-weight: 500; color: var(--text-2);
    transition: color 0.3s; position: relative;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--grad-brand); transition: width 0.3s; border-radius: 2px;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-glass);
    color: var(--text-2); display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.nav-search:hover { border-color: var(--primary); color: #fff; background: rgba(124, 58, 237, 0.1); }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-glass); color: #fff; align-items: center; justify-content: center; font-size: 1rem; }

/* ===== Glass Card Base ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; padding: 110px 0 60px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
        var(--grad-hero);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    -webkit-mask: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero-content { max-width: 580px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: var(--r-full);
    background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.25);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--primary-light); margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }

.hero h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 900; margin-bottom: 20px; line-height: 1.05; }
.hero h1 span { display: block; }
.hero p { font-size: 1.05rem; color: var(--text-2); max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat .num { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-stat .lbl { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }

/* Hero featured */
.hero-featured {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-card-solid);
    box-shadow: var(--shadow-lg); transition: all 0.4s ease; min-height: 480px;
    display: flex; flex-direction: column;
}
.hero-featured:hover { border-color: var(--primary); box-shadow: var(--shadow-glow), var(--shadow-lg); transform: translateY(-3px); }
.hero-featured-img {
    width: 100%; height: 240px; object-fit: cover;
    background: linear-gradient(135deg, #1c1c38, #0e0e1a);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-featured-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(180deg, transparent, #14142e);
}
.hero-featured-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.hero-featured-body h3 { font-size: 1.3rem; margin: 16px 0 12px; color: #fff; line-height: 1.3; }
.hero-featured-body p { color: var(--text-2); font-size: 0.88rem; margin-bottom: 20px; flex: 1; }

/* ===== Tags ===== */
.tag {
    display: inline-block; padding: 4px 12px; border-radius: 4px;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.tag-esports { background: rgba(124, 58, 237, 0.15); color: var(--primary-light); border: 1px solid rgba(124, 58, 237, 0.2); }
.tag-news { background: rgba(6, 182, 212, 0.15); color: var(--secondary-light); border: 1px solid rgba(6, 182, 212, 0.2); }
.tag-review { background: rgba(236, 72, 153, 0.15); color: var(--accent-light); border: 1px solid rgba(236, 72, 153, 0.2); }
.tag-guide { background: rgba(16, 185, 129, 0.15); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-hardware { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.tag-interview { background: rgba(251, 191, 36, 0.15); color: var(--gold); border: 1px solid rgba(251, 191, 36, 0.2); }

/* ===== Article Meta ===== */
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--text-3); flex-wrap: wrap; }
.article-meta .author { color: var(--text-2); font-weight: 600; }
.article-meta .sep { opacity: 0.4; }

/* ===== Article Card ===== */
.article-card {
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.article-card-img {
    width: 100%; height: 180px; object-fit: cover; position: relative;
    background: var(--bg-elevated); display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.article-card-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(180deg, transparent, #14142e); }
.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-body h3 { font-size: 1rem; margin: 12px 0 10px; color: #fff; line-height: 1.35; font-family: var(--font-body); font-weight: 600; }
.article-card-body h3 a:hover { color: var(--primary-light); }
.article-card-body p { font-size: 0.84rem; color: var(--text-2); margin-bottom: 16px; flex: 1; line-height: 1.55; }
.article-card-body .article-meta { margin-top: auto; }

.article-featured { grid-column: span 2; }
.article-featured .article-card-img { height: 340px; }
.article-featured .article-card-body h3 { font-size: 1.45rem; font-family: var(--font-head); font-weight: 700; }
.article-featured .article-card-body p { font-size: 0.92rem; }

/* ===== Category Tabs ===== */
.category-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.category-tab {
    padding: 9px 20px; border-radius: var(--r-full);
    background: var(--bg-card-solid); border: 1px solid var(--border);
    font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-2); cursor: pointer;
    transition: all 0.3s ease;
}
.category-tab:hover, .category-tab.active {
    background: rgba(124, 58, 237, 0.12); border-color: var(--primary); color: #fff;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

/* ===== Live Ticker ===== */
.live-ticker {
    background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 12px 0; overflow: hidden;
}
.live-ticker-content { display: flex; align-items: center; gap: 16px; }
.live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 6px;
    background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.25);
    font-family: var(--font-head); font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--live); white-space: nowrap; flex-shrink: 0;
}
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.5s infinite; }
.ticker-track { display: flex; gap: 48px; animation: ticker 45s linear infinite; white-space: nowrap; }
.ticker-item { font-size: 0.82rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.ticker-item .game { color: var(--secondary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.05em; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Tournament Card ===== */
.tournament-card {
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 24px; transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.tournament-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: var(--grad-brand); opacity: 0; transition: opacity 0.3s;
}
.tournament-card:hover { border-color: var(--border-hover); background: var(--bg-elevated); box-shadow: var(--shadow-glow); }
.tournament-card:hover::before { opacity: 1; }
.tournament-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tournament-game { font-size: 0.7rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.tournament-prize { text-align: right; }
.tournament-prize .amount { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--accent-light); }
.tournament-prize .lbl { font-size: 0.6rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.tournament-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.tournament-info { display: flex; gap: 16px; margin-bottom: 14px; padding: 12px; background: var(--bg-void); border-radius: var(--r-sm); }
.tournament-info-item { display: flex; flex-direction: column; flex: 1; }
.tournament-info-item .v { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.tournament-info-item .l { font-size: 0.6rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.tournament-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.status-live { color: var(--live); } .status-upcoming { color: var(--warning); } .status-done { color: var(--text-3); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-live .status-dot { background: var(--live); animation: pulse 1.5s infinite; }
.status-upcoming .status-dot { background: var(--warning); }
.status-done .status-dot { background: var(--text-3); }

/* ===== Newsletter ===== */
.newsletter {
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 56px; text-align: center;
    position: relative; overflow: hidden;
}
.newsletter::before { content: ''; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%); }
.newsletter::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%); }
.newsletter-content { position: relative; z-index: 1; }
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { color: var(--text-2); max-width: 480px; margin: 0 auto 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
    flex: 1; padding: 14px 20px; border-radius: var(--r-sm);
    background: var(--bg-void); border: 1px solid var(--border);
    color: var(--text); font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: all 0.3s;
}
.newsletter-form input:focus { border-color: var(--primary); box-shadow: 0 0 12px rgba(124, 58, 237, 0.2); }
.newsletter-form input::placeholder { color: var(--text-3); }

/* ===== Footer ===== */
.footer { background: var(--bg-base); border-top: 1px solid var(--border); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-2); font-size: 0.85rem; max-width: 300px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--bg-card-solid); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2); transition: all 0.3s;
}
.footer-socials a:hover { background: rgba(124, 58, 237, 0.1); border-color: var(--primary); color: #fff; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.84rem; color: var(--text-2); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-3); }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links a { font-size: 0.78rem; color: var(--text-3); transition: color 0.3s; }
.footer-bottom .links a:hover { color: var(--text-2); }

/* ===== Page Header ===== */
.page-header { padding: 130px 0 50px; text-align: center; position: relative; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%); z-index: -1; }
.page-header h1 { margin-bottom: 14px; }
.page-header p { color: var(--text-2); max-width: 580px; margin: 0 auto; font-size: 1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 0.76rem; }
.breadcrumb a { color: var(--text-3); } .breadcrumb a:hover { color: var(--text-2); } .breadcrumb span { color: var(--text-3); }

/* ===== About Page ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-2); margin-bottom: 16px; font-size: 0.92rem; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0; }
.about-stat { text-align: center; padding: 32px 16px; background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all 0.3s; }
.about-stat:hover { border-color: var(--border-hover); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.about-stat .num { font-family: var(--font-head); font-size: 2.25rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat .lbl { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

.team-card { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; text-align: center; transition: all 0.4s; }
.team-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; box-shadow: 0 0 20px var(--primary-glow); }
.team-card h4 { font-size: 0.95rem; color: #fff; margin-bottom: 4px; }
.team-role { font-size: 0.7rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.team-card p { font-size: 0.82rem; color: var(--text-2); }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-card { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2); display: flex; align-items: center; justify-content: center; color: var(--primary-light); font-size: 1rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.85rem; color: #fff; margin-bottom: 3px; }
.contact-info-item p { font-size: 0.82rem; color: var(--text-2); }
.contact-form { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 18px; border-radius: var(--r-sm); background: var(--bg-void); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 0.88rem; outline: none; transition: all 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 12px rgba(124, 58, 237, 0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== Blog Layout ===== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-post { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { margin-bottom: 0; border-bottom: none; }
.sidebar-post-img { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-post-content h5 { font-size: 0.82rem; font-family: var(--font-body); font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 4px; }
.sidebar-post-content span { font-size: 0.7rem; color: var(--text-3); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 5px 14px; border-radius: var(--r-full); background: var(--bg-elevated); border: 1px solid var(--border); font-size: 0.72rem; color: var(--text-2); transition: all 0.3s; }
.tag-cloud a:hover { background: rgba(124, 58, 237, 0.1); border-color: var(--primary); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-card-solid); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--text-2); transition: all 0.3s; }
.pagination a:hover, .pagination a.active { background: rgba(124, 58, 237, 0.12); border-color: var(--primary); color: #fff; }

/* ===== Game Card (Trending) ===== */
.game-card { position: relative; overflow: hidden; }
.game-card .game-banner { height: 120px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.game-card .game-banner i { font-size: 2.5rem; opacity: 0.3; z-index: 1; }
.game-card .rank-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.rank-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-sm); background: rgba(5, 5, 8, 0.7); backdrop-filter: blur(10px); border: 1px solid var(--border); font-family: var(--font-head); font-size: 0.65rem; font-weight: 800; color: var(--gold); }
.rank-badge .num { color: var(--gold); }

/* ===== Match Score ===== */
.match-score { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-void); border-radius: var(--r-sm); margin-bottom: 8px; }
.match-team { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; }
.match-team .icon { width: 28px; height: 28px; border-radius: 6px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff; }
.match-score-val { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: rgba(5, 5, 8, 0.98); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border); flex-direction: column;
        align-items: flex-start; padding: 20px 24px; gap: 16px;
        transform: translateY(-100%); opacity: 0; pointer-events: none;
        transition: all 0.3s ease;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-toggle { display: flex; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .article-featured { grid-column: span 1; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter { padding: 36px 20px; }
    .section { padding: 56px 0; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 16px; }
    .about-stats { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
}

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::selection { background: rgba(124, 58, 237, 0.3); color: #fff; }

/* Icon gradient text helper */
.icon-grad { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
