/* ===================================================================
   NEOMORPHIC GLASS DESIGN - Completely New Look
   =================================================================== */

@import "./css.css";

/* === CSS VARIABLES - NEW COLOR PALETTE === */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(30, 30, 45, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00d4ff;
    --accent-magenta: #ff006e;
    --accent-purple: #8338ec;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #8338ec 50%, #ff006e 100%);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --shadow-neon: 0 0 30px rgba(0, 212, 255, 0.15);
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
* {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

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

body {
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at 20% 20%, rgba(131, 56, 236, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 110, 0.05) 0%, transparent 70%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(255, 0, 110, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(131, 56, 236, 0.08) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* === APP CONTAINER === */
.app-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#app {
    position: relative;
}

/* === HEADER - TRANSPARENT GLASS === */
header.main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

header.main .main-section {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === MENU HOLDER - HAMBURGER === */
header.main .menuHolder {
    position: relative;
    z-index: 1001;
}

header.main .menuHolder label[for="navigationTrigger"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

header.main .menuHolder label[for="navigationTrigger"]:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

header.main .menuHolder label[for="navigationTrigger"] svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
}

header.main .menuHolder #navigationTrigger {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

header.main .menuHolder #navigationTrigger:checked ~ nav.main {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === NAVIGATION - GLASS PANEL === */
header.main .menuHolder nav.main {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

header.main .menuHolder nav.main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header.main .menuHolder nav.main ul > li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    font-weight: 500;
    font-size: 15px;
}

header.main .menuHolder nav.main ul > li a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
}

header.main .menuHolder nav.main ul > li a img {
    width: 22px;
    height: 22px;
    opacity: 0.8;
}

header.main .menuHolder nav.main ul > li a:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

/* === LOGO - NEW STYLE === */
header.main .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
}

header.main .logo svg {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    transition: var(--transition-smooth);
}

header.main .logo:hover svg {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
    transform: scale(1.02);
}

/* === LANGUAGE SELECTOR === */
header.main .language-select {
    position: relative;
    width: 50px;
    height: 40px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

header.main .language-select:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.3);
}

header.main .language-select .value {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    cursor: pointer;
}

header.main .language-select .value::after {
    content: '';
    margin-left: 6px;
    border: 4px solid transparent;
    border-top: 4px solid var(--text-secondary);
    transition: var(--transition-fast);
}

header.main .language-select:hover .value::after {
    border-top-color: var(--accent-purple);
    transform: rotate(180deg);
}

header.main .language-select select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* === CONTENT AREA === */
.content {
    background: transparent;
    padding-top: 100px;
    padding-bottom: 80px;
}

.content .main-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.content .section-best,
.content .section-new {
    padding: 20px 0;
}

.ad-container-top,
.ad-container-middle,
.ad-container-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    min-height: 100px;
    padding: 0 24px;
}

.ad-slot {
    max-width: 728px;
    width: 100%;
    min-height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* === SECTION TITLES === */
.content h2.h1,
.content h1.h1 {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: left;
    margin: 0 0 32px 0;
    color: var(--text-primary);
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.content h2.h1::before,
.content h1.h1::before {
    content: '';
    width: 50px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.content h2.h1 a,
.content h1.h1 a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.content h2.h1 a:hover,
.content h1.h1 a:hover {
    color: var(--accent-cyan);
}

.content h2.h1 img,
.content h1.h1 img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.content h2.h1 a:hover img,
.content h1.h1 a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--accent-cyan));
}

/* === GAMES GRID - CARD STYLE === */
ul.games {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

ul.games li {
    position: relative;
    padding: 0;
    width: 100%;
    float: none;
    margin: 0;
}

ul.games li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

ul.games li a:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.15);
}

ul.games li .icon {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
}

ul.games li .icon .clamp {
    position: absolute;
    height: 0;
    width: 100%;
    margin-bottom: 0;
}

ul.games li .icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

ul.games li a:hover .icon img {
    transform: scale(1.1);
}

ul.games li .name-container {
    padding: 16px;
    text-align: left;
    min-height: auto;
    height: auto;
    display: block;
}

ul.games li .name {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

/* Hover overlay effect */
ul.games li .icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 212, 255, 0.2) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

ul.games li a:hover .icon::after {
    opacity: 1;
}

/* === BUTTONS - NEON STYLE === */
.btn, .btn-primary, .btn-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2);
}

.btn-highlight {
    background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
    border: none;
    color: white;
}

.btn-highlight:hover {
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.4);
    transform: translateY(-2px);
}

/* === BUTTON CONTAINER === */
.btn-container {
    margin: 48px 0;
    text-align: center;
}

/* === FOOTER - GLASS STYLE === */
footer.main {
    margin-top: 60px;
    padding: 60px 0 40px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

footer.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

footer.main .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

footer.main .footer-content .tags {
    margin-bottom: 40px;
}

footer.main .footer-content .tags nav.main {
    background: none;
    float: none;
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0;
}

footer.main .footer-content .tags nav.main ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}

footer.main .footer-content .tags nav.main ul li {
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}

footer.main .footer-content .tags nav.main ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

footer.main .footer-content .tags nav.main ul li a:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

footer.main .footer-content .tags nav.main ul li a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0.6);
    transition: var(--transition-fast);
}

footer.main .footer-content .tags nav.main ul li a:hover img {
    filter: brightness(0) invert(1);
}

footer.main .copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
}

footer.main .copyright p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

footer.main .copyright a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer.main .copyright a:hover {
    color: var(--accent-cyan);
}

/* === BACK TO TOP BUTTON === */
.backToTop {
    background: var(--accent-gradient) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4) !important;
}

.backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5) !important;
}

/* === LOADING ANIMATION === */
.AFSJx.dgmlwU {
    background: rgba(10, 10, 15, 0.9) !important;
    backdrop-filter: blur(10px);
}

.AFSJx div {
    background: var(--accent-gradient) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* === RESPONSIVE DESIGN === */
@media only screen and (max-width: 768px) {
    header.main .main-section {
        height: 70px;
        padding: 0 16px;
    }

    header.main .logo svg {
        width: 140px;
    }

    .content {
        padding-top: 90px;
    }

    .content .main-section {
        padding: 0 16px;
    }

    ul.games {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .content h2.h1,
    .content h1.h1 {
        font-size: 1.35rem;
        letter-spacing: 2px;
    }

    .content h2.h1::before,
    .content h1.h1::before {
        width: 35px;
    }

    .btn, .btn-primary, .btn-highlight {
        padding: 12px 24px;
        font-size: 13px;
    }
}

@media only screen and (max-width: 480px) {
    header.main .logo svg {
        width: 110px;
    }

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

    ul.games li .name {
        font-size: 13px;
    }

    ul.games li .name-container {
        padding: 12px;
    }
}

/* === CONSENT BOX - MODERN STYLE === */
.consent-box-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.consent-box {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 480px;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(131, 56, 236, 0.2);
    padding: 32px;
    margin: 16px;
    font-size: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.consent-box-message {
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.consent-box-message strong {
    color: var(--text-primary);
}

.consent-box-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.consent-box-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.consent-box-links {
    margin-top: 20px;
    font-size: 13px;
}

.consent-box-links a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

.consent-box-links a:hover {
    text-decoration: underline;
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

/* === UTILITIES === */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* === GAME DETAIL PAGE STYLES === */
.game {
    position: relative;
}

.game header {
    margin-bottom: 40px;
}

.game header .background {
    position: relative;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    padding: 80px 0;
    border-radius: var(--radius-lg);
    margin: 0 24px;
}

.game header .background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
    z-index: 1;
}

.game header .background .backgroundDarken {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.game header .background .backgroundDarken .main-section {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game header .icon {
    display: block;
    width: 150px;
    max-width: 100%;
    margin: 0 auto 30px;
    border: 3px solid var(--accent-cyan);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transition: var(--transition-smooth);
}

.game header .icon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.game header .icon img {
    width: 100%;
    height: auto;
    display: block;
}

.game header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.game .play-btn-container {
    position: relative;
    height: 60px;
    margin: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game .play-btn-container::before,
.game .play-btn-container::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.game .play-btn {
    display: block;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 20px;
}

.game .game-infos {
    margin: 40px 24px;
    padding: 30px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.game .game-description {
    text-align: center;
    padding: 0 20px;
}

.game .game-description p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.game .game-categories {
    margin-top: 30px;
}

.game .game-categories h3 {
    text-align: center;
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.game .game-categories ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.game .game-categories ul li {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px 16px;
    transition: var(--transition-fast);
}

.game .game-categories ul li:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
}

.game .game-categories ul li a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.game .game-categories ul li:hover a {
    color: var(--accent-cyan);
}

/* Similar Games Section */
.game .similarGames {
    margin: 60px 24px;
}

.game .similarGames h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.game .similarGames h2::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Fullscreen Game Mode */
.app-module {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000;
}

.app-module iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.app-module .setting {
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    padding: 15px;
    z-index: 10001;
}

/* Game Item (legacy style) */
.game_box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
}

.game_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.game_item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.game_item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.game_name {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* Search Panel Styles */
.gfDODf {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px;
}

.fYlIeu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.fcDjQV {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.fcDjQV:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
}

.dYqVqC {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.kZbSoa {
    text-align: center;
}

.hQIsLG {
    margin-bottom: 5px;
}

.UVa-dc {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

/* Category Menu */
.pop_menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
}

.pop_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.pop_menu ul li {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pop_menu ul li:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
}

.pop_menu ul li img {
    width: 24px;
    height: 24px;
}

/* Responsive for detail page */
@media only screen and (max-width: 768px) {
    .game header .background {
        padding: 60px 0;
        margin: 0 16px;
        border-radius: var(--radius-md);
    }

    .game header h1 {
        font-size: 1.75rem;
    }

    .game .play-btn {
        padding: 14px 32px;
        font-size: 16px;
    }

    .game .similarGames {
        margin: 40px 16px;
    }

    .game .game-infos {
        margin: 30px 16px;
        padding: 20px;
    }
}
