/**
 * Theme Name: Updated GameBox (AdSense Pro Edition)
 * Version: 2.6.0
 * Description: Premium Pro Edition of GameBox optimized for Google AdSense Approval and high-traffic browser gaming.
 * Author: PlayArcade Pro
 */

:root {
    --primary: #FF5353;
    --primary-hover: #E03E3E;
    --primary-light: rgba(255, 83, 83, 0.1);
    --secondary: #2DD4BF;
    --secondary-hover: #14B8A6;
    --accent: #FBBF24;
    --dark: #0F172A;
    --dark-surface: #1E293B;
    --light-bg: #F8FAFC;
    --surface: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --text: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 22px -4px rgba(255, 83, 83, 0.35);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body, button, input, select, textarea {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Explicit Font Awesome Icon Protection */
.fa, .fas, .far, .fal, .fad, .fab, .fa-solid, .fa-regular, .fa-brands,
[class^="fa-"], [class*=" fa-"] {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    display: inline-block;
}

.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 1. Top Trust Strip */
.top-trust-bar {
    background: #0B1120;
    color: #94A3B8;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.text-warning { color: #FBBF24; }
.text-success { color: #34D399; }
.text-info { color: #38BDF8; }
.text-accent { color: #EC4899; }

/* 2. Sticky Glassmorphism Header */
header.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 83, 83, 0.35);
    transition: var(--transition);
}

.logo:hover .logo-icon-box {
    transform: rotate(-8deg) scale(1.05);
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.fav-count-badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-left: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.header-search-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    border: 1px solid var(--border);
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -6px 0 25px rgba(0,0,0,0.15);
    z-index: 2500;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

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

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

.drawer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
}

.drawer-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text);
    background: var(--light-bg);
}

.drawer-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.drawer-categories h4 {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.drawer-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.drawer-cat-grid a {
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-legal {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* 3. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #334155 100%);
    position: relative;
    padding: 4.5rem 1.25rem 3.5rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 83, 83, 0.25) 0%, rgba(45, 212, 191, 0.15) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-container {
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    padding: 6px 8px 6px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    max-width: 640px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-input-icon {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-right: 12px;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    background: transparent;
}

.hero-search-input::placeholder {
    color: #94A3B8;
}

.hero-search-submit {
    background: linear-gradient(135deg, var(--primary), #FF7373);
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.hero-search-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.hero-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-chip {
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-chip i {
    color: var(--secondary);
}

/* 4. Category Filter Pills */
.category-filter-wrapper {
    margin: -1.75rem auto 2.5rem;
    position: relative;
    z-index: 10;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 83, 83, 0.35);
    transform: translateY(-2px);
}

.filter-btn i {
    font-size: 0.95rem;
}

/* 5. Policy-Safe Ad Placements */
.ad-placement-wrapper {
    margin: 2.5rem auto;
    text-align: center;
}

.ad-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ad-box-content {
    background: white;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    display: inline-block;
    min-height: 90px;
    min-width: 300px;
    max-width: 100%;
    overflow: hidden;
}

/* 6. Portal Sections & Section Headers */
.portal-section {
    margin-bottom: 4rem;
}

.portal-section.hidden {
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtext {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* 7. Games Grid & Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 83, 83, 0.25);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #E2E8F0;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.card-play-button {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), #FF7373);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 6px 20px rgba(255, 83, 83, 0.6);
    transform: scale(0.8);
    transition: var(--transition);
}

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #EF4444;
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
}

.game-info {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.game-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.game-title a {
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-title a:hover {
    color: var(--primary);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.game-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.game-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.favorite-btn.favorited {
    background: #FEE2E2;
    color: var(--primary);
    border-color: #FCA5A5;
}

/* 8. Recently Played Section (Pre-Populated Shelf) */
.recent-shelf-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.recent-scroll-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.2rem;
    scroll-behavior: smooth;
}

.recent-scroll-track::-webkit-scrollbar {
    height: 8px;
}

.recent-scroll-track::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.recent-scroll-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.recent-item-card {
    min-width: 190px;
    max-width: 210px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.recent-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 83, 83, 0.3);
}

.recent-thumb-wrapper {
    height: 115px;
    position: relative;
    overflow: hidden;
    background: #E2E8F0;
}

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

.recent-item-card:hover .recent-thumb-wrapper img {
    transform: scale(1.08);
}

.recent-hover-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.recent-item-card:hover .recent-hover-play {
    opacity: 1;
}

.recent-mini-btn {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 3px 12px rgba(255, 83, 83, 0.5);
}

.recent-item-info {
    padding: 0.9rem;
}

.recent-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.3rem;
}

.recent-item-genre {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* 9. High-Value Editorial Section (AdSense Approval Guarantee) */
.editorial-guide-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    margin: 4rem auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.editorial-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.editorial-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.editorial-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
}

.editorial-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.editorial-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.editorial-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.editorial-card:hover {
    border-color: rgba(255, 83, 83, 0.3);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.editorial-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.editorial-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.editorial-deep-dive {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    margin-bottom: 3rem;
}

.editorial-deep-dive h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.genre-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.genre-item {
    background: var(--light-bg);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.genre-item strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.genre-item span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.performance-tips-list {
    margin-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.performance-tips-list strong {
    color: var(--dark);
}

/* 10. Interactive FAQ Accordion */
.faq-section {
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.faq-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--light-bg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(255, 83, 83, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.4rem 1.25rem;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* 11. Footer Styles */
footer.site-footer {
    background: #0B1120;
    color: #94A3B8;
    margin-top: 5rem;
}

.footer-trust-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    background: rgba(15, 23, 42, 0.6);
}

.trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.trust-badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 83, 83, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.trust-badge-text strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}

.trust-badge-text span {
    font-size: 0.8rem;
    color: #64748B;
}

.footer-main {
    padding: 4.5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.footer-bio {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #94A3B8;
    margin-bottom: 1.75rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list a {
    color: #94A3B8;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav-list a i {
    font-size: 0.75rem;
    color: var(--primary);
    transition: transform 0.2s;
}

.footer-nav-list a:hover {
    color: white;
}

.footer-nav-list a:hover i {
    transform: translateX(4px);
}

.footer-disclaimer-strip {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.disclaimer-text {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.6;
    text-align: center;
}

.footer-bottom {
    padding: 1.75rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
}

.copyright-text strong {
    color: white;
}

.footer-bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #94A3B8;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .sep {
    color: #475569;
}

/* 12. GDPR / AdSense Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    color: white;
    z-index: 3000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--accent);
}

.cookie-text {
    flex: 1;
    min-width: 260px;
}

.cookie-text strong {
    font-size: 0.98rem;
    display: block;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.84rem;
    color: #94A3B8;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-accept-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* 13. Responsive Media Queries */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .d-none-sm {
        display: none;
    }
    .hero-section {
        padding: 3.5rem 1rem 2.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-chips {
        gap: 0.5rem;
    }
    .editorial-guide-section {
        padding: 2.2rem 1.25rem;
    }
    .editorial-header h2 {
        font-size: 1.6rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }
    .game-info {
        padding: 0.85rem;
    }
    .game-title {
        font-size: 0.9rem;
    }
    .game-category {
        font-size: 0.68rem;
    }
    .recent-item-card {
        min-width: 155px;
    }
    .recent-thumb-wrapper {
        height: 95px;
    }
}
