@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ==========================================================================
   OBLIVION GAMES - TACTICAL LIVE ENTERTAINMENT DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color System (Activision Slate & Premium Accents) */
    --bg-main: #070708;       /* Deep matte black/slate */
    --bg-header: rgba(7, 7, 8, 0); /* Transparent initially */
    --bg-card: #0f1115;       /* Slate/Charcoal panel */
    --bg-panel: #16191e;      /* Mid slate grey */
    --bg-input: #070708;      /* Input deep black */
    
    --border-color: #1f232b;
    --border-hover: #3f444f;   /* Clean slate hover */
    
    --accent-red: #e74c3c;    /* Modern brand red */
    --accent-red-glow: rgba(231, 76, 60, 0.05);
    --accent-blue: #5b9cd6;   /* Sleek slate blue */
    --accent-blue-glow: rgba(91, 156, 214, 0.05);
    --accent-green: #2ecc71;  /* Muted success green */
    --accent-gold: #d0a85c;   /* Premium slate gold */
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #5e6b7c;
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --font-mono: 'Inter', sans-serif; /* Overridden to Inter to remove coder/techy font vibe */
    
    --radius-sm: 2px;         /* Sharp professional edges */
    --radius-md: 4px;
    --radius-lg: 6px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Standard pointer cursor for interactive elements */
a, button, select, input, label, [role="button"], [onclick],
.btn, .user-dropdown-btn, .search-pill-button, .quicklink-chip,
.game-support-card, .kb-card, .topic-card, .topic-article-item,
.kb-search-result-item, .suggestion-item, .support-tab-btn, .support-ticket-item,
.nav-link, .logo-section, .career-card, .job-card, .dept-card, .preorder-btn {
    cursor: pointer;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
}

/* Red Spotlight Gradients for Background Atmosphere */
.red-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.04) 0%, rgba(231, 76, 60, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.top-glow-bar {
    display: none;
}

#app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR (CALL OF DUTY MINIMALIST TRANSITION STYLE)
   ========================================================================== */
.app-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: fixed;
    top: 3px;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(0px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    height: 70px;
    transition: background-color var(--transition-normal), 
                border-bottom var(--transition-normal), 
                backdrop-filter var(--transition-normal);
}

.app-header.scrolled {
    background-color: #070708;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-red);
    background-color: rgba(231, 76, 60, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: var(--font-display);
    text-shadow: 0 0 5px var(--accent-red);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
    left: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User dropdown button and content styling */
.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.user-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    min-width: 220px;
    display: none;
    flex-direction: column;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
}

.user-dropdown-content.active {
    display: flex;
}

.user-dropdown-header {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-dropdown-title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--accent-red);
    letter-spacing: 1px;
}

.user-dropdown-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-content a {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.user-dropdown-content a:hover {
    background-color: var(--bg-panel);
    color: #ffffff;
}

/* ==========================================================================
   HERO SYSTEM (TOP BANNER CINEMATIC SHOWCASE)
   ========================================================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0 6rem;
    overflow: hidden;
    background-color: #000000;
}

.hero-video-bg {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
}

/* Multi-layer gradient overlays */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(7, 7, 8, 0.7) 0%, rgba(7, 7, 8, 0.15) 35%, rgba(7, 7, 8, 0.75) 80%, #070708 100%),
                linear-gradient(to right, rgba(7, 7, 8, 0.95) 0%, rgba(7, 7, 8, 0.4) 50%, rgba(7, 7, 8, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    opacity: 0;
    transform: translateY(25px);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-btn-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-platforms {
    display: flex;
    gap: 1.75rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.hero-platform-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-hud-reticle {
    display: none;
}

.hero-hud-bounds {
    display: none;
}

/* ==========================================================================
   LAYOUT & CONTAINER WRAPPERS
   ========================================================================== */
.section-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 6rem 4rem;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* ==========================================================================
   GRIDS & TACTICAL TILES (NETFLIX STYLE INTERACTIVE CARDS)
   ========================================================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Game Card */
.game-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    padding: 2.5rem 2rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.25s ease;
    z-index: 1;
}

.game-card-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    overflow: hidden;
}

.game-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.55) contrast(1.05);
}

.game-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0) 35%, rgba(15, 17, 21, 0.85) 70%, #0f1115 100%);
    z-index: -1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    filter: brightness(1.1);
}

.game-card:hover .game-card-video {
    transform: scale(1.08);
}

.game-status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent-red);
    color: #ffffff;
    border-radius: var(--radius-sm);
    letter-spacing: 1.5px;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

.game-card-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.game-card-genre {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 1rem;
}

/* News Card */
.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.news-thumbnail-box {
    width: 100%;
    height: 190px;
    background-color: #12151b;
    position: relative;
    overflow: hidden;
}

.news-placeholder-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 4px;
    background: linear-gradient(135deg, #16191e 0%, #070708 100%);
    border-bottom: 1px solid var(--border-color);
}

.news-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-headline {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.news-summary {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Careers Card */
.career-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background-color: var(--text-muted);
    transition: background-color var(--transition-fast);
}

.career-card:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.career-card:hover::before {
    background-color: var(--accent-red);
}

.career-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.career-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   PLATFORM LOGOS & STORE BADGES
   ========================================================================== */
.platform-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.platform-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.platform-badge.badge-pc { border-color: rgba(0, 240, 255, 0.2); color: var(--accent-blue); }
.platform-badge.badge-playstation { border-color: rgba(47, 183, 255, 0.2); color: #2fb7ff; }
.platform-badge.badge-xbox { border-color: rgba(57, 255, 20, 0.2); color: var(--accent-green); }

/* ==========================================================================
   TACTICAL HUD BRACKETS & COMMAND SYSTEM
   ========================================================================== */
.hud-bracket {
    position: relative;
}

.hud-bracket::before, .hud-bracket::after {
    display: none !important;
}

.scanlines-overlay {
    position: relative;
}

.scanlines-overlay::after {
    display: none !important;
}

/* Biometric auth scanner */
.auth-security-notice {
    background-color: rgba(231, 76, 60, 0.03);
    border: 1px solid rgba(231, 76, 60, 0.15);
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-red);
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.biometric-scan-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    position: relative;
}

.biometric-scanner {
    width: 65px;
    height: 65px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    background-color: rgba(231, 76, 60, 0.05);
    position: relative;
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biometric-scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    animation: scanAnimation 1.5s ease-in-out infinite alternate;
}

@keyframes scanAnimation {
    0% { top: 0%; }
    100% { top: 100%; }
}

.biometric-status-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.biometric-logs-box {
    background-color: #030406;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    height: 95px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #00FF88;
    margin-bottom: 1.5rem;
    text-align: left;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
}

.biometric-log-line {
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.biometric-progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    height: 6px;
    position: relative;
    margin-bottom: 1.5rem;
}

.biometric-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
    transition: width 0.05s linear;
}

/* ==========================================================================
   OPERATIVE DASHBOARD WIDGETS
   ========================================================================== */
.dash-header-widgets {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.dash-header-widget {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.dash-header-widget span {
    color: var(--text-secondary);
    font-weight: 700;
}

/* Emblem selector widget */
.dash-emblock {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dash-emblems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.dash-emblem-card {
    background-color: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dash-emblem-card.active {
    border-color: var(--accent-red);
    background-color: rgba(231, 76, 60, 0.05);
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.2);
}

.dash-emblem-card:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--text-muted);
}

.dash-emblem-icon {
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.dash-emblem-card.active .dash-emblem-icon {
    color: var(--accent-red);
}

.dash-emblem-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sidebar and windows overrides */
.dashboard-window {
    width: 100% !important;
    display: grid;
    grid-template-columns: 280px 1fr;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    min-height: 650px;
}

.dash-sidebar {
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.dash-content {
    padding: 2.5rem;
}

/* Mission briefs catalog */
.dash-library-item-brief {
    background-color: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.dash-lib-brief-header {
    background-color: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-lib-brief-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.dash-lib-brief-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.25rem;
    gap: 1.5rem;
}

.dash-lib-brief-cell {
    display: flex;
    flex-direction: column;
}

.dash-lib-brief-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dash-lib-brief-val {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ==========================================================================
   SUPPORT SYSTEM WORKSPACE & CHATS
   ========================================================================== */
.support-ticket-item {
    transition: var(--transition-fast);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.support-ticket-item:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.support-ticket-item.active-tkt {
    border-left: 3px solid var(--accent-red) !important;
    background-color: rgba(231, 76, 60, 0.02) !important;
}

.closed-badge {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
}

.active-tab {
    background-color: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--accent-red-glow) !important;
}

.active-emblem {
    border-color: var(--accent-red) !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.2) !important;
}

/* ==========================================================================
   UTILITY TEXTS
   ========================================================================== */
.terminal-text {
    color: #00FF88 !important;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

.warning-text {
    color: #FFA000 !important;
    text-shadow: 0 0 5px rgba(255, 160, 0, 0.3);
}

.article-banner-graphic {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    position: relative;
}

.article-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(7, 7, 8, 0) 50%, rgba(7, 7, 8, 0.9) 100%);
}

/* ==========================================================================
   BUTTONS STYLING
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
    box-shadow: 0 4px 14px var(--accent-red-glow);
}

.btn-primary:hover {
    background-color: #ff5544;
    border-color: #ff5544;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-blue {
    background-color: #5865F2; /* Discord color */
    color: #ffffff;
    border: 1px solid #5865F2;
}

.btn-blue:hover {
    background-color: #4752C4;
}

.btn-danger {
    background-color: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.15);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(7, 7, 8, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 520px;
    max-width: 95%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    font-size: 1.25rem;
    z-index: 10;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2.5rem;
}

/* ==========================================================================
   TOASTS
   ========================================================================== */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: var(--bg-card);
    border-left: 4px solid var(--accent-blue);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-width: 280px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-error {
    border-left-color: var(--accent-red);
}

.toast.toast-success {
    border-left-color: var(--accent-green);
}

@keyframes toastSlideIn {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ONBOARDING BLOCKED GATE & SETTINGS PANELS
   ========================================================================== */
#onboarding-gate-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(7, 7, 8, 0.97);
    z-index: 9000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}

#onboarding-gate-overlay.active {
    display: flex;
}

.settings-split-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-tab-btn {
    background-color: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.settings-tab-btn:hover {
    background-color: var(--bg-card);
    color: #ffffff;
}

.settings-tab-btn.active {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--accent-red);
}

.settings-content-pane {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.settings-subview {
    display: none;
}

.settings-subview.active {
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES & RESPONSIVE DESIGN
   ========================================================================== */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1.5rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Community artwork visual on homepage */
.community-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community-art-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 380px;
    background-color: rgba(255, 255, 255, 0.003);
    position: relative;
    overflow: hidden;
}

.community-art-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.community-art-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(7, 7, 8, 0.2) 0%, rgba(7, 7, 8, 0.8) 100%);
    z-index: 1;
}

.community-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.community-stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-sm);
}

.community-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1.2;
}

.community-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
    background-color: #070708;
    border-top: 1px solid var(--border-color);
    padding: 4rem 4rem 2rem 4rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   MOBILE & RESPONSIVE MEDIA QUERIES
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .games-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .community-split { grid-template-columns: 1fr; gap: 3rem; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .app-header { padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
    .nav-menu { display: none; }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }
    .mobile-menu-toggle.toggle-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.toggle-active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.toggle-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu.mobile-active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }
    .nav-menu.mobile-active li {
        margin: 0;
    }
    .nav-menu.mobile-active .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .hero-wrapper { padding: 0 2rem; }
    .hero-title { font-size: 3rem; }
    .hero-tagline { font-size: 1.2rem; }
    .games-grid, .news-grid, .careers-grid { grid-template-columns: 1fr; }
    .settings-split-container { grid-template-columns: 1fr; }
    .dashboard-window { grid-template-columns: 1fr; }
    .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border-color); }
    .footer-columns { grid-template-columns: 1fr; }
}
