/* ==========================================================================
   ArcadePulse - Core Stylesheet
   Author: Majid Farooq (majidfarooq295@gmail.com)
   ========================================================================== */

:root {
    --bg-dark: #080c14;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-alt: #0d1322;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);
    
    --neon-cyan: #00f0ff;
    --neon-purple: #7000ff;
    --neon-pink: #ec4899;
    --neon-yellow: #facc15;
    --neon-green: #10b981;
    --neon-red: #ef4444;

    --font-heading: 'Orbitron', 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --container-max: 1240px;
    --header-height: 70px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-dark: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-alt: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(0, 240, 255, 0.5);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

.hidden { display: none !important; }

/* Sticky Header */
.site-header {
    height: var(--header-height);
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.9);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.logo-pulse-icon {
    font-size: 24px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.logo-highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

/* Nav Menu */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.main-navigation .nav-menu li a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.main-navigation .nav-menu li a:hover,
.main-navigation .nav-menu li.current-menu-item a {
    color: var(--neon-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-action-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.btn-action-icon:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px var(--border-glow);
}

.btn-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.btn-mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Hero Showcase */
.hero-showcase-section {
    padding: 50px 0 30px;
    position: relative;
    background: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-main-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn-hero-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-hero-secondary:hover {
    border-color: var(--neon-cyan);
}

.hero-cards-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Category Quick Bar */
.genre-bar-section {
    padding: 15px 0 25px;
}

.genre-pill-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.genre-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.genre-pill:hover,
.genre-pill.active {
    background: var(--neon-cyan);
    color: #080c14;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px var(--border-glow);
    font-weight: 700;
}

/* Games Grid & Cards */
.games-section {
    padding: 40px 0;
}

.games-section.alt-bg {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.2);
}

.game-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #080c14;
    overflow: hidden;
}

.game-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.game-thumb-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(8, 12, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-thumb-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: scale(0.8);
    transition: transform 0.25s ease;
}

.game-card:hover .play-btn-circle {
    transform: scale(1);
}

.play-icon {
    color: #ffffff;
    font-size: 20px;
    margin-left: 3px;
}

.game-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: var(--neon-cyan);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.game-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.game-card .game-title {
    font-size: 16px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card .game-title a {
    color: var(--text-main);
}

.game-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--neon-yellow);
    font-weight: 700;
}

.game-plays {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Single Game Player Layout */
.single-game-main {
    padding: 30px 0 60px;
}

.game-page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.game-single-header {
    margin-bottom: 20px;
}

.game-title-hero {
    font-size: 32px;
    margin-bottom: 6px;
}

.game-header-meta {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-header-cat {
    color: var(--neon-cyan);
    font-weight: 700;
}

.game-player-section {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}

.game-frame-container {
    position: relative;
    width: 100%;
    background: #080c14;
}

.game-splash-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #111827 0%, #080c14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.splash-content {
    text-align: center;
    padding: 20px;
}

.splash-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.splash-title {
    font-size: 26px;
    margin-bottom: 18px;
    color: #ffffff;
}

.btn-play-game {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    padding: 14px 44px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.btn-play-game:hover {
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.8);
}

.splash-sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 14px;
}

#gameIframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-control-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.left-controls, .right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.ctrl-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.rating-badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--neon-yellow);
    margin-left: 8px;
}

/* Lights Off / Cinema Mode */
body.cinema-mode {
    background: #000000 !important;
}

body.cinema-mode .site-header,
body.cinema-mode .site-footer,
body.cinema-mode .game-sidebar-column,
body.cinema-mode .game-description-card,
body.cinema-mode .game-meta-details,
body.cinema-mode .game-author-section,
body.cinema-mode .comments-area {
    opacity: 0.05;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

body.cinema-mode #game-player-viewport {
    box-shadow: 0 0 80px rgba(0, 240, 255, 0.4);
    z-index: 1000;
}

/* Meta Details & Specs */
.game-description-card,
.game-meta-details,
.author-bio-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.game-meta-details .meta-section {
    margin-bottom: 20px;
}

.game-meta-details .meta-section:last-child {
    margin-bottom: 0;
}

.meta-section-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.controls-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--neon-cyan);
    font-size: 14px;
    color: var(--text-muted);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spec-label {
    color: var(--text-dim);
    font-weight: 600;
}

.spec-badge, .spec-tag {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 4px;
}

/* Author Bio Card */
.author-bio-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--bg-card) 0%, #161f36 100%);
    border-left: 4px solid var(--neon-cyan);
}

.author-avatar-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--border-glow);
}

.author-details {
    flex: 1;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.author-name {
    font-size: 20px;
    color: #ffffff;
}

.author-title-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--neon-green);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.author-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.author-contact-row {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
}

.author-email-link {
    color: var(--neon-cyan);
    font-weight: 600;
}

.author-verified {
    color: var(--neon-green);
    font-weight: 700;
}

/* Legal & Static Content Pages */
.legal-page-container {
    max-width: 900px;
    padding: 40px 20px 60px;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.page-title {
    font-size: 34px;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

.legal-text section {
    margin-bottom: 28px;
}

.legal-text h2 {
    font-size: 20px;
    color: var(--neon-cyan);
    margin-bottom: 12px;
}

.legal-text p, .legal-text li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-text ul, .legal-text ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.legal-table th, .legal-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
    font-size: 14px;
}

.legal-table th {
    background: #1e293b;
    color: var(--neon-cyan);
    font-weight: 700;
}

.dmca-agent-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 14px;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.form-card, .info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 24px;
}

.form-instruction {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group .req { color: var(--neon-red); }

.form-control {
    width: 100%;
    background: #080c14;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--border-glow);
}

.btn-submit-contact {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transition: var(--transition);
}

.btn-submit-contact:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.form-notice {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
}

.form-notice.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.form-notice.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.faq-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
}

.faq-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Breadcrumbs */
.arcadepulse-breadcrumbs {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.arcadepulse-breadcrumbs a {
    color: var(--text-muted);
}

.arcadepulse-breadcrumbs .sep {
    margin: 0 8px;
}

.arcadepulse-breadcrumbs .current {
    color: var(--neon-cyan);
}

/* AdSense Container */
.arcadepulse-ad-container {
    margin: 20px 0;
    text-align: center;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

/* Footer */
.site-footer {
    background: #05080e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.developer-credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.footer-col-title {
    font-size: 16px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--neon-cyan);
    padding-left: 4px;
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(8px);
}

.search-modal-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 650px;
    background: var(--bg-card);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.search-input-group {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #ffffff;
    outline: none;
    font-family: inherit;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-results-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
}

/* Mobile Off-Canvas */
.mobile-drawer {
    position: fixed;
    top: 0; right: -300px;
    width: 280px;
    height: 100%;
    background: #080c14;
    border-left: 1px solid var(--border-color);
    z-index: 1500;
    transition: right 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.btn-close-drawer {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-nav-menu li a {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .main-navigation { display: none; }
    .btn-mobile-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .game-page-layout { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero-main-title { font-size: 28px; }
    .hero-cards-slider { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .game-card .game-title { font-size: 14px; }
    .author-bio-box { flex-direction: column; }
}
