:root {
    --bg-primary: #0a1628;
    --bg-secondary: #111d2e;
    --bg-card: #152238;
    --bg-card-hover: #1a2d45;
    --bg-input: #0d1926;
    --border: #1a3a5c;
    --border-hover: #2980b9;
    --accent: #2980b9;
    --accent-light: #3498db;
    --accent-dark: #1a6fa0;
    --accent-glow: rgba(41, 128, 185, 0.3);
    --green: #27ae60;
    --green-light: #2ecc71;
    --red: #e74c3c;
    --orange: #f39c12;
    --yellow: #f1c40f;
    --text-primary: #ecf0f1;
    --text-secondary: #8fa3bf;
    --text-muted: #5a7a9a;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.4);
    --transition: 0.3s ease;
    --max-width: 1280px;
    --header-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--accent);
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 8px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(41, 128, 185, 0.15);
}

/* Search Bar */
.header-search {
    position: relative;
    flex: 0 1 280px;
}

.header-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.header-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.header-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-btn:hover { border-color: var(--accent); color: #fff; }

.lang-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; vertical-align: middle; }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1001;
}

.lang-dropdown.show { display: block; }

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.lang-dropdown a:hover { background: var(--bg-card-hover); color: #fff; }
.lang-dropdown a.active { color: var(--accent); background: rgba(41,128,185,.1); }

.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-search-toggle:hover,
.mobile-search-toggle:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.hero-search input {
    width: 100%;
    padding: 16px 24px 16px 50px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.hero-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.hero-search .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-light);
}

.hero-stat .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-badge i {
    color: var(--green);
    font-size: 18px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 50px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-left: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-link {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-link:hover { color: #fff; gap: 10px; }

/* ========== CARDS GRID ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.cards-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* Game Card */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.game-card-image {
    height: 160px;
    background: var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-card-image img { transform: scale(1.05); }

.game-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-featured { background: var(--accent); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-updated { background: var(--orange); color: #fff; }

.game-card-body {
    padding: 16px;
}

.game-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.game-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.game-card-platform {
    display: flex;
    gap: 6px;
}

.platform-tag {
    padding: 3px 8px;
    background: rgba(41,128,185,.15);
    border-radius: 4px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 600;
}

/* Cheat Card */
.cheat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.cheat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.cheat-card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.cheat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(41,128,185,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 20px;
    flex-shrink: 0;
}

.cheat-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cheat-card-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.cheat-card-game {
    font-size: 12px;
    color: var(--text-muted);
}

.cheat-card-body {
    padding: 16px;
}

.cheat-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cheat-card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.cheat-stat {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cheat-stat i { color: var(--accent-light); }

.cheat-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.status-undetected { background: rgba(39,174,96,.15); color: var(--green-light); }
.status-detected { background: rgba(231,76,60,.15); color: var(--red); }
.status-outdated { background: rgba(243,156,18,.15); color: var(--orange); }

.cheat-card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, var(--green), #1e8449);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,174,96,.3);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========== BLOG CARDS ========== */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.blog-card-image {
    height: 180px;
    background: var(--bg-card-hover);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body {
    padding: 16px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== DETAIL PAGES ========== */
.detail-hero {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 30px 0;
}

.detail-main { min-width: 0; }

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* Download Box */
.download-box {
    background: var(--bg-card);
    border: 2px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.download-box h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.download-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.download-info-row .label { color: var(--text-muted); }
.download-info-row .value { color: #fff; font-weight: 600; }

.download-security {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(39,174,96,.1);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--green-light);
}

.download-security i { font-size: 16px; }

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-input);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--green);
    font-size: 14px;
    flex-shrink: 0;
}

/* Content area */
.content-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.content-block h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 16px;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumb-item { color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-secondary); }
.breadcrumb-item a:hover { color: var(--accent-light); }
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin-right: 6px;
    color: var(--text-muted);
}

.breadcrumb-item.active { color: var(--text-primary); }

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover { border-color: var(--accent); color: #fff; }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pagination-dots { border: none; background: none; color: var(--text-muted); cursor: default; padding: 10px 4px; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-light); padding-left: 6px; }

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== SEARCH PAGE ========== */
.search-page { padding: 30px 0 50px; }

.search-form-large {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-form-large input {
    width: 100%;
    padding: 16px 24px 16px 50px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.search-form-large input:focus {
    border-color: var(--accent);
}

/* ========== 404 PAGE ========== */
.page-404 {
    text-align: center;
    padding: 80px 0;
}

.page-404 h1 {
    font-size: 100px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-404 p {
    font-size: 18px;
    color: var(--text-muted);
    margin: 16px 0 30px;
}

/* ========== DOWNLOAD PAGE ========== */
.download-page {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.download-page .download-box {
    margin-bottom: 20px;
}

.download-timer {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-light);
    margin: 20px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0; bottom: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }

    .main-nav.active { display: flex; }

    .main-nav a {
        padding: 14px 20px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .mobile-toggle { display: flex; }

    .mobile-search-toggle { display: flex; }

    .header-search {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        padding: 10px 20px;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        z-index: 100;
    }

    .header-search.mobile-active,
    .header-search.active {
        display: block;
        flex: none;
    }

    .header-search input { width: 100%; }

    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero-stats { gap: 20px; }

    .section-title { font-size: 20px; }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats { flex-direction: column; gap: 12px; }
    .trust-badges { flex-direction: column; align-items: center; gap: 12px; }
}

/* ========== LIVE SEARCH ========== */
.header-search, .hero-search { position: relative; }

.live-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.live-search-results.active { display: block; }

.ls-loading {
    padding: 20px;
    text-align: center;
    color: var(--accent);
    font-size: 18px;
}

.ls-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ls-group { padding: 4px 0; }

.ls-group-title {
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ls-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.ls-item:hover, .ls-item.ls-focused {
    background: rgba(41, 128, 185, 0.1);
    border-left-color: var(--accent);
}

.ls-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ls-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.ls-item-info { flex: 1; min-width: 0; }

.ls-item-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ls-item-name mark {
    background: rgba(255, 255, 0, 0.25);
    color: #ff0;
    padding: 0 2px;
    border-radius: 2px;
}

.ls-item-game {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.ls-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.ls-badge-game {
    background: rgba(41, 128, 185, 0.2);
    color: var(--accent-light);
}

.ls-badge-cheat {
    background: rgba(39, 174, 96, 0.2);
    color: var(--green);
}

.ls-item-arrow {
    color: var(--text-muted);
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.ls-item:hover .ls-item-arrow,
.ls-item.ls-focused .ls-item-arrow { opacity: 1; }

.ls-group + .ls-group { border-top: 1px solid var(--border); }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.5s ease forwards; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* RTL support */
[dir="rtl"] .section-title { padding-left: 0; padding-right: 16px; }
[dir="rtl"] .section-title::before { left: auto; right: 0; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 6px; }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { content: '‹'; margin-right: 0; margin-left: 6px; }

/* ========== CHEAT DETAIL ENHANCEMENTS ========== */
.cheat-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(15,22,40,0.9), rgba(10,22,40,0.7));
    padding: 14px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.feature-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.feature-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px currentColor;
    margin-bottom: 2px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 13px;
}

@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; }
    50% { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor; }
}

.feature-card:hover .feature-title {
    animation: neonPulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== SEO KEYWORD TAGS ========== */
.game-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 16px 10px;
}
.game-card-tag {
    font-size: 10px;
    padding: 2px 7px;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    color: var(--text-muted);
    opacity: .6;
    transition: var(--transition);
}
.game-card-tag:hover {
    opacity: 1;
    color: var(--text-secondary);
}
.seo-tags-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255,255,255,.03);
    margin-top: 8px;
}
.seo-tags-footer a {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    opacity: .4;
    transition: opacity .2s;
}
.seo-tags-footer a:hover {
    opacity: .75;
}
.seo-tags-footer a::before {
    content: "# ";
    opacity: .5;
}

/* ========== RESPONSIVE 1200px ========== */
@media (max-width: 1200px) {
    .detail-layout { grid-template-columns: 1fr 280px; gap: 20px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ========== RESPONSIVE 992px ========== */
@media (max-width: 992px) {
    .detail-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero-stats { gap: 20px; }
}

/* ========== DOWNLOAD PAGE MOBILE ========== */
@media (max-width: 768px) {
    .download-page { padding: 20px 0; }
    .download-box { padding: 20px; }
    .page-404 h1 { font-size: 60px; }
    .search-form-large { width: 100%; }
    .search-form-large input { font-size: 14px; padding: 12px 16px; }
}

/* ========== FOCUS & ACCESSIBILITY ========== */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible,
.lang-btn:focus-visible,
.mobile-toggle:focus-visible,
.pagination a:focus-visible,
.footer-social a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .site-header, .site-footer, .mobile-toggle,
    .lang-switcher, .header-search, .mobile-search-toggle,
    .hero, .footer-social, #cookieConsent, .btn,
    .pagination, .live-search-results { display: none !important; }

    body { background: #fff; color: #000; }
    .container { max-width: 100%; }
    .detail-layout { grid-template-columns: 1fr; }
    a { color: #000; text-decoration: underline; }
    img { max-width: 100%; }
}
