/* =============================================
   Funz 24 Games — Deep Space Gaming Theme
   Rich purples, neon cyan/pink accents, glows
   ============================================= */

/* --- Google Font Import (Orbitron for headings) --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

/* -----------------------------------------------
   CSS VARIABLES
----------------------------------------------- */
:root {
    --bg-page:       #0d0b1e;
    --bg-section:    #120f2b;
    --bg-card:       #1a1640;
    --bg-card-hover: #211d50;
    --border-card:   rgba(120, 90, 255, 0.18);

    --accent-1: #7c3aed;   /* violet */
    --accent-2: #06b6d4;   /* cyan */
    --accent-3: #f472b6;   /* pink */
    --accent-4: #facc15;   /* gold */

    --glow-violet: rgba(124, 58, 237, 0.45);
    --glow-cyan:   rgba(6, 182, 212, 0.35);
    --glow-pink:   rgba(244, 114, 182, 0.35);

    --text-primary:   #f0eeff;
    --text-secondary: rgba(210, 200, 255, 0.65);
}

/* -----------------------------------------------
   GLOBAL
----------------------------------------------- */
body {
    background-color: var(--bg-page) !important;
    background-image:
        radial-gradient(ellipse at 20% 0%,   rgba(124,58,237,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(6,182,212,0.10) 0%, transparent 55%);
    background-attachment: fixed;
    color: var(--text-primary);
}

/* -----------------------------------------------
   SCROLLBAR
----------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d0b1e; }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

/* -----------------------------------------------
   NAVBAR
----------------------------------------------- */
.nk-navbar {
    background: rgba(13, 11, 30, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(124, 58, 237, 0.25) !important;
    box-shadow: 0 2px 30px rgba(124, 58, 237, 0.2) !important;
}

.nk-nav-logo {
    background: linear-gradient(135deg, var(--accent-4) 0%, var(--accent-3) 50%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    font-family: 'Orbitron', sans-serif;
    text-shadow: none;
}

.nk-nav > li > a {
    position: relative;
    transition: color 0.25s ease;
    color: rgba(210,200,255,0.85) !important;
}

.nk-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nk-nav > li > a:hover { color: #fff !important; }
.nk-nav > li > a:hover::after,
.nk-nav > li.active > a::after { width: 100%; }
.nk-nav > li.active > a { color: var(--accent-2) !important; }

/* Profile & lang buttons */
.profile-link-btn {
    background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.15)) !important;
    border: 1px solid rgba(124,58,237,0.4) !important;
    border-radius: 8px !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}
.profile-link-btn:hover {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2)) !important;
    border-color: var(--accent-2) !important;
    box-shadow: 0 0 16px var(--glow-cyan) !important;
    transform: translateY(-2px) !important;
}

.lang-switch-btn {
    background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(13,11,30,0.9)) !important;
    border: 1px solid rgba(124,58,237,0.35) !important;
    border-radius: 8px !important;
    color: #fff !important;
}
.lang-switch-btn:hover {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2)) !important;
    border-color: var(--accent-2) !important;
    box-shadow: 0 0 16px var(--glow-violet) !important;
    transform: translateY(-2px) !important;
}

/* -----------------------------------------------
   BANNER / HEADER
----------------------------------------------- */
.nk-header-title {
    position: relative;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-grid-animated {
    animation: heroGridDrift 24s linear infinite;
}

@keyframes heroGridDrift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

/* Animated hero background (no banner image) */
.hero-animated-header {
    background-color: rgb(2, 8, 23);
    overflow: hidden;
}

.hero-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, rgb(2, 8, 23) 0%, rgb(26, 5, 51) 50%, rgb(2, 8, 23) 100%);
}

/* Shooting gradient lines */
.hero-shoot-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shoot-line {
    position: absolute;
    left: -10%;
    height: 1px;
    border-radius: 999px;
    animation: heroShootLine 9s linear infinite;
    opacity: 0;
}

.hero-shoot-line--w60  { width: 60px; }
.hero-shoot-line--w90  { width: 90px; }
.hero-shoot-line--w120 { width: 120px; }
.hero-shoot-line--w150 { width: 150px; }

.hero-shoot-line--cyan {
    background: linear-gradient(90deg, transparent, rgb(6, 182, 212), transparent);
}

.hero-shoot-line--purple {
    background: linear-gradient(90deg, transparent, rgb(168, 85, 247), transparent);
}

.hero-shoot-line--pink {
    background: linear-gradient(90deg, transparent, rgb(236, 72, 153), transparent);
}

@keyframes heroShootLine {
    0%   { transform: translateX(0); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateX(115vw); opacity: 0; }
}

/* Horizontal scan line */
.hero-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
    pointer-events: none;
    animation: heroScanPulse 4s ease-in-out infinite;
}

@keyframes heroScanPulse {
    0%, 100% { opacity: 0.35; }
    50%       { opacity: 0.85; }
}

/* Pulsing rings — centered behind hero copy */
.hero-rings {
    position: absolute;
    top: 32%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transform: translate(-50%, -50%);
    animation: heroRingPulse 5s ease-in-out infinite;
}

.hero-ring--1 { width: 420px; height: 420px; animation-delay: 0s; }
.hero-ring--2 { width: 540px; height: 540px; animation-delay: 0.8s; }
.hero-ring--3 { width: 660px; height: 660px; animation-delay: 1.6s; }

@keyframes heroRingPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.25; }
    50%       { transform: translate(-50%, -50%) scale(1.04); opacity: 0.55; }
}

/* Large blur orbs */
.hero-blur-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    animation: heroBlurOrbFloat 12s ease-in-out infinite alternate;
}

.hero-blur-orb--purple {
    top: 5rem;
    left: 10%;
    background: rgba(168, 85, 247, 0.25);
}

.hero-blur-orb--pink {
    bottom: 5rem;
    right: 10%;
    background: rgba(236, 72, 153, 0.2);
    animation-delay: -6s;
}

@keyframes heroBlurOrbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(12px, 8px) scale(1.06); }
}

/* Star field */
.hero-stars-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-star {
    position: absolute;
    border-radius: 50%;
    animation: heroStarDrift ease-in-out infinite alternate;
}

.hero-star--1 {
    width: 1.5px;
    height: 1.5px;
    background: rgb(6, 182, 212);
    box-shadow: 0 0 4px rgb(6, 182, 212);
}

.hero-star--2 {
    width: 2.5px;
    height: 2.5px;
    background: rgb(168, 85, 247);
    box-shadow: 0 0 4px rgb(168, 85, 247);
}

.hero-star--3 {
    width: 3.5px;
    height: 3.5px;
    background: rgb(236, 72, 153);
    box-shadow: 0 0 4px rgb(236, 72, 153);
}

@keyframes heroStarDrift {
    0%   { transform: translate(0, 0); opacity: 0.4; }
    100% { transform: translate(8px, -20px); opacity: 1; }
}

/* Center radial glow + bottom fade */
.hero-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: heroCenterGlow 6s ease-in-out infinite alternate;
}

@keyframes heroCenterGlow {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, rgb(2, 8, 23), transparent);
    pointer-events: none;
}

.hero-content-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(520px, 92vw);
    height: 220px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.18) 0%, rgba(6, 182, 212, 0.06) 45%, transparent 72%);
    pointer-events: none;
    z-index: 0;
    animation: heroContentGlowPulse 5s ease-in-out infinite alternate;
}

@keyframes heroContentGlowPulse {
    0%   { opacity: 0.65; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-animated-header .bg-image::before {
    display: none;
}

.nk-header-title .nk-header-table {
    position: relative;
    z-index: 2;
}

.nk-header-title .bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(13,11,30,0.3) 0%,
        rgba(18,15,43,0.55) 60%,
        rgba(13,11,30,0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-content-wrapper {
    position: relative;
    z-index: 2;
}

.banner-logo {
    max-width: 220px;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 24px rgba(124,58,237,0.6))
            drop-shadow(0 0 48px rgba(6,182,212,0.3));
    transition: filter 0.4s ease;
}
.banner-logo:hover {
    filter: drop-shadow(0 0 32px rgba(124,58,237,0.9))
            drop-shadow(0 0 60px rgba(6,182,212,0.5));
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    gap: 6px;
}

.banner-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fef08a 0%, #fff 28%, #22d3ee 52%, #c084fc 78%, #f472b6 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    line-height: 1.15 !important;
    text-align: center !important;
    width: 100%;
    display: block;
}

.banner-title.hero-animate-item {
    animation: heroItemReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               heroTitleGradient 7s ease-in-out 0.95s infinite;
}

@keyframes heroTitleGradient {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.hero-title-accent {
    width: 72px;
    height: 3px;
    border-radius: 999px;
    margin: -4px auto 0;
    background: linear-gradient(90deg, transparent, rgb(6, 182, 212), rgb(168, 85, 247), rgb(236, 72, 153), transparent);
    animation: heroAccentPulse 3s ease-in-out infinite;
}

@keyframes heroAccentPulse {
    0%, 100% { opacity: 0.55; transform: scaleX(0.85); }
    50%       { opacity: 1; transform: scaleX(1); }
}

/* Staggered hero content entrance */
.hero-animate-item {
    opacity: 0;
    animation: heroItemReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate-item--1 { animation-delay: 0.1s; }
.hero-animate-item--2 { animation-delay: 0.28s; }
.hero-animate-item--3 { animation-delay: 0.46s; }

@keyframes heroItemReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: none;
    box-shadow: 0 0 20px var(--glow-violet), 0 4px 16px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: heroBtnShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroBtnShine {
    0%, 75%, 100% { transform: translateX(-120%); }
    40%            { transform: translateX(120%); }
}

/* Hero banner extras */
.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 8px;
    padding: 12px 16px 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 680px;
    flex-shrink: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-glow-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: heroOrbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 140px;
    height: 140px;
    background: rgba(124, 58, 237, 0.55);
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 100px;
    height: 100px;
    background: rgba(6, 182, 212, 0.45);
    bottom: 15%;
    right: 10%;
    animation-delay: -2.5s;
}

.hero-orb-3 {
    width: 80px;
    height: 80px;
    background: rgba(244, 114, 182, 0.4);
    top: 40%;
    right: 22%;
    animation-delay: -5s;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(12px, -18px) scale(1.08); }
}

.hero-banner > *:not(.hero-glow-orbs) {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    color: #fef08a;
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(250, 204, 21, 0.45);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.2);
    animation: heroBadgePulse 2.5s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(250, 204, 21, 0.2); }
    50%       { box-shadow: 0 0 22px rgba(250, 204, 21, 0.45); }
}

.hero-tagline {
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(230, 225, 255, 0.88);
    font-weight: 400;
    text-align: center;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn > span {
    position: relative;
    z-index: 1;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 28px var(--glow-cyan), 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #fff !important;
}

.hero-btn-secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

.hero-btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-2);
    box-shadow: 0 0 22px var(--glow-cyan);
    color: #fff !important;
}

/* Category quick links */
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    max-width: 720px;
}

.hero-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    color: rgba(240, 238, 255, 0.9) !important;
    background: rgba(13, 11, 30, 0.55);
    border: 1px solid rgba(124, 58, 237, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-cat-icon {
    font-size: 14px;
    line-height: 1;
}

.hero-cat-chip:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
}

.hero-cat-top10:hover  { border-color: rgba(250, 204, 21, 0.6); box-shadow: 0 0 16px rgba(250, 204, 21, 0.25); }
.hero-cat-action:hover { border-color: rgba(244, 114, 182, 0.6); box-shadow: 0 0 16px rgba(244, 114, 182, 0.25); }
.hero-cat-puzzle:hover { border-color: rgba(6, 182, 212, 0.6); box-shadow: 0 0 16px rgba(6, 182, 212, 0.25); }
.hero-cat-arcade:hover { border-color: rgba(124, 58, 237, 0.6); box-shadow: 0 0 16px rgba(124, 58, 237, 0.3); }

/* Featured games strip in hero */
.hero-games-block {
    width: 100%;
    padding: 12px 14px 10px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(13, 11, 30, 0.75), rgba(26, 22, 64, 0.55));
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: heroContentIn 0.8s 0.15s ease-out both;
    flex-shrink: 0;
}

.hero-animated-header .hero-games-block {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
}

.hero-games-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 4px;
}

.hero-games-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fef08a, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-games-more {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-2) !important;
    text-decoration: none !important;
    opacity: 0.85;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.hero-games-more:hover {
    opacity: 1;
    text-shadow: 0 0 12px var(--glow-cyan);
}

.hero-games-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) rgba(13, 11, 30, 0.5);
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.hero-games-scroll::-webkit-scrollbar {
    height: 5px;
}

.hero-games-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 3px;
}

.hero-game-tile {
    flex: 0 0 auto;
    width: 92px;
    text-decoration: none !important;
    scroll-snap-align: start;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-game-tile:hover {
    transform: translateY(-6px) scale(1.04);
}

.hero-game-tile-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    background: var(--bg-card);
}

.hero-game-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.hero-game-tile:hover .hero-game-tile-media img {
    transform: scale(1.08);
}

.hero-game-tile-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: rgba(13, 11, 30, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
}

.hero-game-tile:hover .hero-game-tile-play {
    opacity: 1;
}

.hero-game-tile-name {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(230, 225, 255, 0.88);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 14px 24px;
    border-radius: 16px;
    background: rgba(13, 11, 30, 0.55);
    border: 1px solid rgba(124, 58, 237, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
}

.hero-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(210, 200, 255, 0.6);
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none !important;
    animation: heroScrollBounce 2s ease-in-out infinite;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.hero-scroll-hint:hover {
    border-color: var(--accent-2);
    background: rgba(6, 182, 212, 0.12);
}

.hero-scroll-chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg) translateY(-2px);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

.nk-header-title-lg .nk-header-table {
    min-height: 720px;
}

/* ─── Animated hero layout ─── */
.hero-animated-header.nk-header-title-lg .nk-header-table {
    min-height: 0 !important;
    padding-bottom: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box;
}

.hero-animated-header .nk-header-table-cell {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 100%;
}

.hero-animated-header .nk-header-text {
    width: 100%;
    text-align: center;
}

.hero-animated-header .nk-header-text > .container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-animated-header .hero-banner {
    width: 100%;
    padding: 16px 0 24px;
}

@media (min-width: 900px) {
    .hero-animated-header,
    .hero-animated-header.nk-header-title-lg .nk-header-table {
        height: auto;
        min-height: 420px;
        max-height: none;
    }

    .hero-animated-header .nk-header-table-cell {
        height: auto;
        min-height: calc(420px - 70px);
        overflow: visible;
    }

    .hero-animated-header .hero-banner {
        padding: 20px 0 28px;
    }

    .hero-main {
        gap: 16px;
    }

    .banner-title {
        font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
    }

    .hero-tagline {
        font-size: 1.1rem;
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .hero-animated-header,
    .hero-animated-header.nk-header-title-lg .nk-header-table {
        min-height: 360px;
    }

    .hero-animated-header .nk-header-table-cell {
        min-height: calc(360px - 60px);
    }

    .hero-banner {
        padding: 12px 0 20px;
    }

    .banner-title {
        font-size: 2rem !important;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        max-width: 90%;
    }

    .hero-btn {
        padding: 10px 22px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-animated-header,
    .hero-animated-header.nk-header-title-lg .nk-header-table {
        min-height: 340px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .hero-btn {
        width: 100%;
    }

    .banner-title {
        font-size: 1.65rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-animated-header .hero-animate-item,
    .hero-animated-header .banner-title,
    .hero-animated-header .hero-title-accent,
    .hero-animated-header .hero-btn-primary::after,
    .hero-animated-header .hero-content-glow {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

.nk-header-title .nk-header-text {
    width: 100%;
}

@media (max-width: 768px) {
    .hero-ring--1 { width: 280px; height: 280px; }
    .hero-ring--2 { width: 360px; height: 360px; }
    .hero-ring--3 { width: 440px; height: 440px; }
    .hero-blur-orb { width: 200px; height: 200px; }
    .nk-header-title.nk-header-title-lg:not(.hero-animated-header) .nk-header-table { min-height: 640px; }
}

@media (max-width: 480px) {
    .banner-logo { max-width: 190px !important; }
    .nk-header-title.nk-header-title-lg:not(.hero-animated-header) .nk-header-table { min-height: 600px; }
}

/* -----------------------------------------------
   SECTION BACKGROUND
----------------------------------------------- */
.bg-dark-1.nk-box {
    background: var(--bg-section) !important;
    background-image:
        radial-gradient(ellipse at 10% 50%, rgba(124,58,237,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(6,182,212,0.06) 0%, transparent 50%);
    position: relative;
}

/* -----------------------------------------------
   GAME SECTION HEADERS
----------------------------------------------- */
.games-section {
    margin-bottom: 8px;
}

.games-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    direction: rtl;
}

body.lang-en .games-section-header { direction: ltr; }

.games-section-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--glow-cyan));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { filter: drop-shadow(0 0 6px var(--glow-cyan)); }
    50%       { filter: drop-shadow(0 0 14px var(--glow-violet)); }
}

.games-section-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #fff 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.25));
}

.games-section-title::after { display: none !important; }

/* Per-section heading & icon colors */
#section-top10 .games-section-title {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 45%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.45));
}
#section-top10 .games-section-icon {
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.7));
    animation: iconPulseGold 3s ease-in-out infinite;
}

#section-action .games-section-title {
    background: linear-gradient(135deg, #fda4af 0%, #f472b6 40%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.45));
}
#section-action .games-section-icon {
    filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.7));
    animation: iconPulsePink 3s ease-in-out infinite;
}

#section-puzzle .games-section-title {
    background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 45%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.45));
}
#section-puzzle .games-section-icon {
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.7));
    animation: iconPulseCyan 3s ease-in-out infinite;
}

#section-arcade .games-section-title {
    background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(124, 58, 237, 0.45));
}
#section-arcade .games-section-icon {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.7));
    animation: iconPulseViolet 3s ease-in-out infinite;
}

#section-all .games-section-title {
    background: linear-gradient(135deg, #5eead4 0%, #06b6d4 40%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.4));
}
#section-all .games-section-icon {
    filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.65));
    animation: iconPulseTeal 3s ease-in-out infinite;
}

@keyframes iconPulseGold {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.5)); }
    50%       { filter: drop-shadow(0 0 16px rgba(244, 114, 182, 0.65)); }
}
@keyframes iconPulsePink {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(244, 114, 182, 0.5)); }
    50%       { filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.65)); }
}
@keyframes iconPulseCyan {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5)); }
    50%       { filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.65)); }
}
@keyframes iconPulseViolet {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.5)); }
    50%       { filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.65)); }
}
@keyframes iconPulseTeal {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.5)); }
    50%       { filter: drop-shadow(0 0 16px rgba(244, 114, 182, 0.55)); }
}

.games-section-divider {
    height: 2px;
    background: linear-gradient(90deg,
        var(--accent-1) 0%,
        var(--accent-2) 40%,
        var(--accent-3) 70%,
        transparent 100%);
    border-radius: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 8px var(--glow-violet);
}

/* Each section alternates accent color on divider */
#section-top10   .games-section-divider { background: linear-gradient(90deg, #facc15, #f472b6, transparent); box-shadow: 0 0 8px rgba(250,204,21,0.4); }
#section-action  .games-section-divider { background: linear-gradient(90deg, #f472b6, #7c3aed, transparent); box-shadow: 0 0 8px var(--glow-pink); }
#section-puzzle  .games-section-divider { background: linear-gradient(90deg, #06b6d4, #7c3aed, transparent); box-shadow: 0 0 8px var(--glow-cyan); }
#section-arcade  .games-section-divider { background: linear-gradient(90deg, #7c3aed, #06b6d4, transparent); box-shadow: 0 0 8px var(--glow-violet); }
#section-all     .games-section-divider { background: linear-gradient(90deg, #06b6d4, #f472b6, transparent); box-shadow: 0 0 8px var(--glow-cyan); }

/* -----------------------------------------------
   GAME CARDS
----------------------------------------------- */
/* Game grid — thumbnails are 512×512 (1:1) */
.games-grid {
    row-gap: 28px;
}

.games-grid > [class*="col-"] {
    padding-left: 14px;
    padding-right: 14px;
}

.games-grid .nk-image-box-3 {
    aspect-ratio: 1 / 1;
    display: block;
    position: relative;
}

.games-grid .nk-image-box-3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--bg-card);
    display: block;
    transition: transform 0.4s ease;
    z-index: 0;
}

.games-grid .nk-image-box-overlay,
.games-grid .nk-image-box-bottom {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.nk-image-box-3 {
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
    position: relative;
}

.nk-image-box-3::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124,58,237,0.0), rgba(6,182,212,0.0));
    transition: background 0.35s ease;
    z-index: 1;
    pointer-events: none;
}

.nk-image-box-3:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6),
                0 0 0 1px rgba(6,182,212,0.3),
                0 0 30px rgba(124,58,237,0.25);
}

.nk-image-box-3:hover::before {
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.05));
}

.games-grid .nk-image-box-3:hover img { transform: scale(1.07); }

/* Card overlay */
.nk-image-box-overlay,
.nk-image-box-bottom {
    background: linear-gradient(0deg,
        rgba(13,11,30,0.97) 0%,
        rgba(18,15,43,0.75) 50%,
        transparent 100%);
    transition: background 0.3s ease;
    position: relative;
    z-index: 2;
}

.nk-image-box-3:hover .nk-image-box-overlay,
.nk-image-box-3:hover .nk-image-box-bottom {
    background: linear-gradient(0deg,
        rgba(13,11,30,0.99) 0%,
        rgba(124,58,237,0.2) 60%,
        transparent 100%);
}

.nk-image-box-title {
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    margin-bottom: 10px !important;
    text-shadow: 0 0 12px rgba(6,182,212,0.4);
}

/* Play Now Button */
.play-now-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2)) !important;
    color: #fff !important;
    border: none !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    cursor: pointer !important;
    text-transform: uppercase;
    transition: all 0.25s ease !important;
    box-shadow: 0 0 14px var(--glow-violet),
                0 3px 10px rgba(0,0,0,0.3) !important;
    position: relative;
    overflow: hidden;
}

.play-now-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s ease;
}

.play-now-btn:hover::before { left: 100%; }
.play-now-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 24px var(--glow-cyan),
                0 5px 16px rgba(0,0,0,0.4) !important;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3)) !important;
}
.play-now-btn:active { transform: scale(0.96) !important; }

/* -----------------------------------------------
   GAME LOADER (in-game)
----------------------------------------------- */
.loader-spinner {
    border-color: rgba(124,58,237,0.2) !important;
    border-top-color: var(--accent-2) !important;
    box-shadow: 0 0 20px var(--glow-cyan);
}
.loader-text {
    color: var(--accent-2) !important;
    font-size: 15px !important;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

/* -----------------------------------------------
   SECTION HEADINGS (legacy h2.text-center)
----------------------------------------------- */
.bg-dark-1 h2.text-center {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 14px;
    width: 100%;
    background: linear-gradient(135deg, #fff 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}
.bg-dark-1 h2.text-center::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--glow-cyan);
}

/* -----------------------------------------------
   PROFILE PAGE
----------------------------------------------- */
.profile-card {
    background: linear-gradient(145deg, #1a1640, #120f2b) !important;
    border: 1px solid rgba(124,58,237,0.25) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5),
                0 0 0 1px rgba(6,182,212,0.08),
                inset 0 1px 0 rgba(255,255,255,0.04) !important;
}
.profile-card:hover {
    border-color: rgba(6,182,212,0.35) !important;
    box-shadow: 0 16px 50px rgba(0,0,0,0.6),
                0 0 30px rgba(124,58,237,0.2) !important;
}

.profile-field label {
    color: var(--accent-2) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

.profile-input {
    background: rgba(13,11,30,0.8) !important;
    border: 1.5px solid rgba(124,58,237,0.25) !important;
    border-radius: 10px !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}
.profile-input:focus {
    border-color: var(--accent-2) !important;
    background: rgba(18,15,43,0.95) !important;
    box-shadow: 0 0 0 3px rgba(6,182,212,0.15),
                0 0 16px rgba(6,182,212,0.1) !important;
    outline: none;
}

.subscribe-btn {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    border-radius: 10px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px !important;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 20px rgba(16,185,129,0.35) !important;
    transition: all 0.3s ease !important;
}
.subscribe-btn:hover {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    box-shadow: 0 0 30px rgba(16,185,129,0.55) !important;
    transform: translateY(-2px) !important;
}

.unsubscribe-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3)) !important;
    border-radius: 10px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px !important;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 20px var(--glow-pink) !important;
    transition: all 0.3s ease !important;
}
.unsubscribe-btn:hover {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1)) !important;
    box-shadow: 0 0 30px var(--glow-pink) !important;
    transform: translateY(-2px) !important;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.nk-footer {
    background: linear-gradient(180deg, #120f2b 0%, #0d0b1e 100%) !important;
    border-top: 1px solid rgba(124,58,237,0.2) !important;
    box-shadow: 0 -4px 30px rgba(124,58,237,0.1) !important;
}

.nk-footer-top-corner { opacity: 0.08; }

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 0 12px;
    text-align: center;
}

.footer-brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-4), var(--accent-3), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.nk-footer-links { text-align: center; padding: 6px 0; }

.nk-footer-links .terms-link {
    color: var(--text-secondary);
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    position: relative;
    padding-bottom: 2px;
}
.nk-footer-links .terms-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
}
.nk-footer-links .terms-link:hover {
    color: var(--accent-2);
    text-shadow: 0 0 10px var(--glow-cyan);
}
.nk-footer-links .terms-link:hover::after { width: 100%; }

.footer-copy {
    color: rgba(120,110,200,0.35);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* -----------------------------------------------
   LANG DROPDOWN
----------------------------------------------- */
.lang-dropdown-menu {
    background: linear-gradient(180deg, #1a1640, #120f2b) !important;
    border-color: rgba(124,58,237,0.3) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7),
                0 0 20px rgba(124,58,237,0.15) !important;
}
.lang-dropdown-menu::before {
    background: #1a1640 !important;
    border-color: rgba(124,58,237,0.3) !important;
}
.lang-dropdown-menu .lang-option:hover { color: var(--accent-2) !important; }
.lang-dropdown-menu .lang-option.active {
    background: rgba(124,58,237,0.15) !important;
    color: var(--accent-2) !important;
}

/* -----------------------------------------------
   MOBILE MENU SIDEBAR
----------------------------------------------- */
#nk-nav-mobile,
.nk-navbar-side {
    background: linear-gradient(180deg, #1a1640 0%, #0d0b1e 100%) !important;
    border-left: 1px solid rgba(124,58,237,0.2) !important;
}
.nk-navbar-side .nk-nav > li > a { color: rgba(210,200,255,0.85) !important; }
.nk-navbar-side .nk-nav > li > a:hover,
.nk-navbar-side .nk-nav > li.active > a {
    background: rgba(124,58,237,0.15) !important;
    color: var(--accent-2) !important;
}
.nk-navbar-side .nk-nav > li {
    border-bottom-color: rgba(124,58,237,0.1) !important;
}

/* -----------------------------------------------
   CLOSE GAME BUTTON
----------------------------------------------- */
.close-game-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3)) !important;
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 20px var(--glow-violet),
                0 4px 20px rgba(0,0,0,0.6) !important;
}
.close-game-btn:hover {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1)) !important;
    box-shadow: 0 0 35px var(--glow-pink),
                0 6px 25px rgba(0,0,0,0.8) !important;
    transform: scale(1.15) !important;
}

/* -----------------------------------------------
   PRELOADER ENHANCEMENTS
----------------------------------------------- */
.nk-preloader-bg { background-color: var(--bg-page) !important; }
.nk-preloader {
    background: linear-gradient(135deg, #0d0b1e 0%, #1a1640 50%, #0d0b1e 100%) !important;
}

/* -----------------------------------------------
   SECTION HEADING WRAPPER
----------------------------------------------- */
.section-heading { text-align: center; margin-bottom: 8px; }

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 768px) {
    .games-section-title     { font-size: 0.95rem !important; }
    .games-section-icon      { font-size: 1.4rem; }
    .bg-dark-1 h2.text-center { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .games-section-title     { font-size: 0.85rem !important; letter-spacing: 1px; }
    .bg-dark-1 h2.text-center { font-size: 1.2rem; }
    .play-now-btn { padding: 6px 14px !important; font-size: 11px !important; }
}
