/* VKC Result — Futuristic gaming UI (glassmorphism + neon) */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Orbitron:wght@500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
    --vkc-black: #030308;
    --vkc-black-soft: #0a0612;
    --vkc-brinjal: #2e1064;
    --vkc-brinjal-deep: #1a0a3d;
    --vkc-purple: #a855f7;
    --vkc-purple-bright: #c084fc;
    --vkc-neon-violet: #8b5cf6;
    --vkc-neon-pink: #e879f9;
    --vkc-yellow: #facc15;
    --vkc-yellow-glow: #fde047;
    --vkc-red: #ef4444;
    --vkc-red-deep: #dc2626;
    --vkc-green: #22c55e;
    --vkc-green-neon: #4ade80;
    --vkc-cyan: #22d3ee;

    --primary-color: var(--vkc-purple);
    --secondary-color: var(--vkc-neon-violet);
    --accent-color: var(--vkc-cyan);
    --background-color: var(--vkc-black);
    --text-color: #f1f5f9;
    --white: rgba(12, 8, 24, 0.72);
    --light-gray: rgba(20, 12, 40, 0.65);
    --border-color: rgba(168, 85, 247, 0.28);
    --color-text-muted: #c4b5fd;
    --footer-bg: #020206;
    --footer-border: rgba(139, 92, 246, 0.22);
    --footer-heading: #faf5ff;
    --footer-link: #a78bfa;
    --footer-link-hover: var(--vkc-yellow-glow);
    --footer-note: #8b7cb8;

    --glass-bg: rgba(14, 8, 28, 0.55);
    --glass-border: rgba(196, 181, 253, 0.18);
    --glass-blur: 16px;
    --neon-purple: 0 0 24px rgba(168, 85, 247, 0.45), 0 0 48px rgba(139, 92, 246, 0.2);
    --neon-multi: 0 0 20px rgba(250, 204, 21, 0.25), 0 0 40px rgba(239, 68, 68, 0.2), 0 0 60px rgba(34, 197, 94, 0.15);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: "Orbitron", "Outfit", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--vkc-black);
    background-image:
        radial-gradient(ellipse 90% 55% at 10% -15%, rgba(168, 85, 247, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 45% at 95% 5%, rgba(239, 68, 68, 0.22), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 105%, rgba(34, 197, 94, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 35% at 80% 60%, rgba(250, 204, 21, 0.12), transparent 50%),
        radial-gradient(ellipse 45% 30% at 0% 70%, rgba(46, 16, 100, 0.5), transparent 55%),
        linear-gradient(180deg, var(--vkc-black-soft) 0%, var(--vkc-black) 45%, #05030a 100%);
    background-attachment: fixed;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

/* Ambient grid overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

h1, h2, h3, h4,
body.page-home .library-title,
body.page-home .engage-title,
body.page-game .game-page-title,
body.page-game .game-section-title,
body.page-games .games-page-intro h1 {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

/* —— Header / Nav —— */
header,
body.page-home .site-header--home {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

nav a,
body.page-home .nav-links a,
.nav-right a {
    color: #e9d5ff !important;
    font-weight: 600;
    position: relative;
    transition: color 0.25s var(--ease-out), text-shadow 0.25s var(--ease-out);
}

nav a:hover,
body.page-home .nav-links a:hover,
.nav-right a:hover {
    color: var(--vkc-yellow-glow) !important;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
}

.logo,
body.page-home .logo--home {
    color: #faf5ff !important;
}

.logo:hover .logo-icon,
body.page-home .logo--home:hover .logo-mark {
    filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.8)) drop-shadow(0 0 8px rgba(250, 204, 21, 0.4));
}

body.page-home .logo-text__small {
    color: var(--vkc-purple-bright) !important;
    letter-spacing: 0.22em;
}

body.page-home .logo-text__big {
    background: linear-gradient(95deg, var(--vkc-yellow-glow), var(--vkc-neon-pink), var(--vkc-purple-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

body.page-home .logo-text__tag {
    color: var(--vkc-cyan) !important;
}

body.page-home .btn-nav-random {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(239, 68, 68, 0.25));
    border: 1px solid rgba(232, 121, 249, 0.45);
    color: #faf5ff;
    border-radius: var(--radius-sm);
    box-shadow: var(--neon-purple);
    transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

body.page-home .btn-nav-random:hover {
    transform: translateY(-2px);
    border-color: var(--vkc-yellow);
    box-shadow: var(--neon-multi);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(250, 204, 21, 0.2));
}

/* —— Home background —— */
body.page-home {
    --background-color: var(--vkc-black);
    --text-color: #f1f5f9;
    --color-text-muted: #c4b5fd;
    --border-color: var(--glass-border);
    --footer-bg: var(--vkc-black);
}

body.page-home .home-bg {
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(139, 92, 246, 0.4), transparent 55%),
        radial-gradient(ellipse 60% 45% at 100% 20%, rgba(239, 68, 68, 0.25), transparent 50%),
        radial-gradient(ellipse 55% 40% at 50% 100%, rgba(34, 197, 94, 0.2), transparent 55%),
        radial-gradient(ellipse 40% 35% at 70% 50%, rgba(250, 204, 21, 0.15), transparent 50%),
        var(--vkc-black) !important;
}

/* —— Hero —— */
body.page-home .hero--home {
    text-align: center;
    padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 4vw, 2rem) clamp(1.8rem, 4vw, 2.5rem);
    margin: 1rem 0 2rem;
    max-width: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(46, 16, 100, 0.45), rgba(10, 6, 18, 0.85)) !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    box-shadow: var(--neon-purple), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

body.page-home .hero-eyebrow {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(239, 68, 68, 0.18), rgba(34, 197, 94, 0.15)) !important;
    border: 1px solid rgba(250, 204, 21, 0.45) !important;
    color: var(--vkc-yellow-glow) !important;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}

body.page-home .hero-line--muted {
    color: #c4b5fd !important;
}

body.page-home .hero-line--pop {
    background: linear-gradient(95deg, var(--vkc-yellow-glow), var(--vkc-red), var(--vkc-green-neon), var(--vkc-purple-bright)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.35));
}

body.page-home .hero-lead {
    color: #ddd6fe !important;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

body.page-home .hero-trust strong {
    color: var(--vkc-cyan) !important;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

body.page-home .hero-actions {
    justify-content: center;
}

body.page-home .hero-actions .btn {
    min-width: min(220px, 100%);
}

body.page-home .hero-trust {
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
}

/* Feature row — inside hero box */
body.page-home .hero--home {
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem) !important;
    margin-bottom: 2rem !important;
}

body.page-home .hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(168, 85, 247, 0.35);
    position: relative;
}

body.page-home .hero-features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--vkc-yellow) 20%,
        var(--vkc-red) 45%,
        var(--vkc-green) 70%,
        var(--vkc-purple) 85%,
        transparent
    );
    opacity: 0.85;
}

body.page-home .hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding: 1.1rem 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(8, 4, 20, 0.55);
    border: 1px solid rgba(139, 92, 246, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

body.page-home .hero-feature:hover {
    transform: translateY(-3px);
}

body.page-home .hero-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.35rem;
    line-height: 1;
    border-radius: 12px;
    background: rgba(46, 16, 100, 0.7);
    border: 1px solid rgba(196, 181, 253, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

body.page-home .hero-feature__text h3 {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
}

body.page-home .hero-feature__text p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #c4b5fd;
}

body.page-home .hero-feature--quick {
    border-top: 3px solid var(--vkc-yellow);
}

body.page-home .hero-feature--quick .hero-feature__icon {
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

body.page-home .hero-feature--quick h3 {
    color: var(--vkc-yellow-glow);
}

body.page-home .hero-feature--quick:hover {
    border-color: rgba(250, 204, 21, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(250, 204, 21, 0.2);
}

body.page-home .hero-feature--devices {
    border-top: 3px solid var(--vkc-cyan);
}

body.page-home .hero-feature--devices .hero-feature__icon {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.22);
}

body.page-home .hero-feature--devices h3 {
    color: var(--vkc-cyan);
}

body.page-home .hero-feature--devices:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 211, 238, 0.2);
}

body.page-home .hero-feature--free {
    border-top: 3px solid var(--vkc-green-neon);
}

body.page-home .hero-feature--free .hero-feature__icon {
    border-color: rgba(74, 222, 128, 0.45);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.22);
}

body.page-home .hero-feature--free h3 {
    color: var(--vkc-green-neon);
}

body.page-home .hero-feature--free:hover {
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 197, 94, 0.2);
}

body.page-home .library-head {
    text-align: center;
    padding: 1.1rem 1rem 0.35rem;
}

body.page-home .library-head__text {
    text-align: center;
    width: 100%;
}

body.page-home .filter-chips {
    justify-content: center;
    width: 100%;
}

/* —— Buttons —— */
body.page-home .btn,
body.page-game .game-control,
.button {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm) !important;
    transition: transform 0.2s var(--ease-out), box-shadow 0.3s var(--ease-out), filter 0.25s;
}

body.page-home .btn-primary,
body.page-game .game-control,
.button {
    background: linear-gradient(135deg, var(--vkc-yellow) 0%, var(--vkc-red) 38%, var(--vkc-green) 72%, var(--vkc-purple) 100%) !important;
    color: #0a0612 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.4), 0 0 32px rgba(250, 204, 21, 0.2) !important;
}

body.page-home .btn-primary:hover,
body.page-game .game-control:hover,
.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--neon-multi) !important;
    filter: brightness(1.08);
}

body.page-home .btn-secondary {
    background: rgba(46, 16, 100, 0.5) !important;
    color: #e9d5ff !important;
    border: 1px solid rgba(139, 92, 246, 0.5) !important;
    backdrop-filter: blur(8px);
}

body.page-home .btn-secondary:hover {
    border-color: var(--vkc-cyan) !important;
    color: var(--vkc-cyan) !important;
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

/* —— Panels —— */
body.page-home .engage-panel,
body.page-home .library-head {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

body.page-home .engage-title {
    color: #faf5ff !important;
}

body.page-home .engage-meter__fill {
    background: linear-gradient(90deg, var(--vkc-purple), var(--vkc-red), var(--vkc-yellow), var(--vkc-green)) !important;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}

body.page-home .library-title {
    background: linear-gradient(90deg, var(--vkc-yellow-glow), var(--vkc-neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

body.page-home .chip {
    background: rgba(46, 16, 100, 0.5);
    border-color: rgba(139, 92, 246, 0.4);
    color: #e9d5ff;
    transition: all 0.25s var(--ease-out);
}

body.page-home .chip:hover {
    border-color: var(--vkc-cyan);
    color: var(--vkc-cyan);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}

body.page-home .chip--active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(239, 68, 68, 0.25)) !important;
    border-color: var(--vkc-yellow) !important;
    color: var(--vkc-yellow-glow) !important;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.25);
}

/* —— Game cards (home) —— */
body.page-home .game-card {
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(10px);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 1) {
    --home-card-accent: linear-gradient(90deg, var(--vkc-red), var(--vkc-neon-pink));
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: linear-gradient(155deg, rgba(127, 29, 29, 0.55), rgba(46, 16, 100, 0.5), rgba(8, 4, 16, 0.95)) !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 1):hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(239, 68, 68, 0.35) !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 2) {
    --home-card-accent: linear-gradient(90deg, var(--vkc-yellow), var(--vkc-purple));
    border-color: rgba(250, 204, 21, 0.38) !important;
    background: linear-gradient(155deg, rgba(113, 63, 18, 0.5), rgba(46, 16, 100, 0.48), rgba(8, 4, 16, 0.95)) !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 2):hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 204, 21, 0.3) !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 3) {
    --home-card-accent: linear-gradient(90deg, var(--vkc-green), var(--vkc-cyan));
    border-color: rgba(34, 197, 94, 0.38) !important;
    background: linear-gradient(155deg, rgba(20, 83, 45, 0.5), rgba(46, 16, 100, 0.45), rgba(8, 4, 16, 0.95)) !important;
}

body.page-home .games-grid--home .game-card:nth-child(3n + 3):hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.32) !important;
}

body.page-home .game-card h3 {
    color: #faf5ff !important;
}

body.page-home .game-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
}

body.page-home .game-icon {
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
    transition: transform 0.35s var(--ease-out);
}

body.page-home .game-card:hover .game-icon {
    transform: scale(1.12) rotate(-3deg);
}

/* —— Games listing page —— */
body.page-games {
    background: transparent;
}

body.page-games .games-page-intro {
    margin-top: 1rem;
    padding: clamp(1.5rem, 4vw, 2.2rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--radius-lg);
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    box-shadow: var(--neon-purple) !important;
}

body.page-games .games-page-intro h1 {
    background: linear-gradient(100deg, var(--vkc-yellow-glow), var(--vkc-red), var(--vkc-green-neon), var(--vkc-purple-bright)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

body.page-games .games-page-intro p {
    color: #ddd6fe !important;
}

body.page-games .games-board-filter {
    border-radius: var(--radius-sm) !important;
    background: rgba(46, 16, 100, 0.65) !important;
    border: 1px solid rgba(139, 92, 246, 0.45) !important;
    color: #f5f3ff !important;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.25s, border-color 0.25s;
}

body.page-games .games-board-filter:focus-visible {
    border-color: var(--vkc-cyan) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3), 0 0 24px rgba(34, 211, 238, 0.2) !important;
}

body.page-games .games-board__card {
    border-radius: var(--radius-md) !important;
    background: linear-gradient(160deg, rgba(46, 16, 100, 0.55), rgba(10, 6, 18, 0.92)) !important;
    border: 1px solid rgba(168, 85, 247, 0.28) !important;
    backdrop-filter: blur(10px);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s !important;
}

body.page-games .games-board .games-board__card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(250, 204, 21, 0.45) !important;
    box-shadow: var(--neon-multi) !important;
}

body.page-games .games-board__card h2 {
    color: var(--vkc-yellow-glow) !important;
    font-family: var(--font-display);
}

body.page-games .games-board__card p {
    color: #c4b5fd !important;
}

body.page-games .games-board .games-board__card:nth-child(4n + 1):hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(239, 68, 68, 0.35) !important;
}

body.page-games .games-board .games-board__card:nth-child(4n + 2):hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(250, 204, 21, 0.3) !important;
}

body.page-games .games-board .games-board__card:nth-child(4n + 3):hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(34, 197, 94, 0.32) !important;
}

body.page-games .games-board .games-board__card:nth-child(4n + 4):hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(168, 85, 247, 0.4) !important;
}

/* —— Game play pages —— */
body.page-game .game-page-title {
    background: linear-gradient(100deg, var(--vkc-yellow-glow), var(--vkc-neon-pink), var(--vkc-purple-bright), var(--vkc-cyan)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.3));
}

body.page-game .game-play {
    background: linear-gradient(165deg, rgba(46, 16, 100, 0.75) 0%, rgba(26, 10, 61, 0.9) 45%, rgba(8, 4, 16, 0.98) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--neon-purple), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px);
}

body.page-game .game-panel {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
}

body.page-game .game-section-title {
    color: var(--vkc-yellow-glow);
}

body.page-game .game-more-grid a {
    background: rgba(46, 16, 100, 0.45);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease-out);
}

body.page-game .game-more-grid a:hover {
    border-color: var(--vkc-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

/* —— Policy / info pages —— */
body.page-privacy,
body.page-faq,
body.page-contact,
body.page-about,
body.page-terms,
body.page-cookie,
body.page-disclaimer {
    background: transparent !important;
}

body.page-privacy .privacy-policy,
body.page-faq .faq-section,
body.page-about .about-section,
body.page-terms .policy-content,
body.page-cookie .policy-content,
body.page-disclaimer .policy-content,
body.page-contact .contact-simple {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--neon-purple) !important;
    color: var(--text-color);
}

body.page-faq h1,
body.page-about .about-section h1,
body.page-terms .policy-content h1,
body.page-privacy .privacy-policy h1 {
    background: linear-gradient(95deg, var(--vkc-yellow-glow), var(--vkc-purple-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    border-bottom-color: rgba(168, 85, 247, 0.35) !important;
}

body.page-about .team-member,
body.page-about .value-item {
    background: rgba(46, 16, 100, 0.4) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

body.page-about .team-member:hover,
body.page-about .value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.25);
}

body.page-about .value-item i {
    color: var(--vkc-cyan) !important;
}

body.page-contact .contact-simple a.mail-btn {
    background: linear-gradient(135deg, var(--vkc-yellow), var(--vkc-red), var(--vkc-green)) !important;
    color: #0a0612 !important;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
    transition: transform 0.2s, box-shadow 0.25s;
}

body.page-contact .contact-simple a.mail-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-multi);
}

/* —— Footer —— */
footer,
body.page-home .footer--home {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
        linear-gradient(180deg, #05030a 0%, var(--vkc-black) 100%) !important;
    border-top: 1px solid rgba(168, 85, 247, 0.25) !important;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vkc-yellow), var(--vkc-red), var(--vkc-green), var(--vkc-purple), transparent);
    opacity: 0.7;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-section a:hover {
    color: var(--vkc-yellow-glow) !important;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.footer-logo-mark {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
}

/* —— Generic cards —— */
.game-card,
.games-grid .game-card {
    background: linear-gradient(160deg, rgba(46, 16, 100, 0.5), rgba(10, 6, 18, 0.92)) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: var(--text-color);
}

.game-card h3 {
    color: #faf5ff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

/* —— Mobile-first polish —— */
/* FAQ */
body.page-faq .faq-section h1 {
    margin-bottom: 2rem;
}

body.page-faq .faq-item {
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(46, 16, 100, 0.35);
    transition: box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

body.page-faq .faq-item:last-child {
    margin-bottom: 0;
}

body.page-faq .faq-item:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    border-color: rgba(250, 204, 21, 0.35);
}

body.page-faq .faq-question {
    color: var(--vkc-yellow-glow);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

body.page-faq .faq-answer {
    color: #ddd6fe;
    line-height: 1.65;
    margin: 0;
}

/* Ad-friendly content spacing */
main {
    min-height: 50vh;
}

.adsbygoogle,
ins.adsbygoogle {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    min-height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

@media (max-width: 768px) {
    body.page-home .hero--home {
        padding: 1.75rem 1rem 1.5rem;
        margin: 0.75rem 0 1.5rem;
    }

    body.page-home .hero-features {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding-top: 1.15rem;
    }

    body.page-home .hero-feature {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 0.9rem 1rem;
    }

    body.page-home .hero-feature__icon {
        flex-shrink: 0;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    body.page-home .hero-feature__text h3 {
        font-size: 0.75rem;
    }

    body.page-home .hero-feature__text p {
        font-size: 0.78rem;
    }

    body.page-home .games-grid--home {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 0.75rem !important;
    }

    body.page-home .btn-nav-random {
        width: 100%;
    }

    body.page-games .games-board {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    body.page-home .games-grid--home {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Stagger card entrance on home */
@media (prefers-reduced-motion: no-preference) {
    body.page-home .games-grid--home .game-card {
        animation: cardIn 0.6s var(--ease-out) backwards;
    }

    body.page-home .games-grid--home .game-card:nth-child(1) { animation-delay: 0.03s; }
    body.page-home .games-grid--home .game-card:nth-child(2) { animation-delay: 0.06s; }
    body.page-home .games-grid--home .game-card:nth-child(3) { animation-delay: 0.09s; }
    body.page-home .games-grid--home .game-card:nth-child(4) { animation-delay: 0.12s; }
    body.page-home .games-grid--home .game-card:nth-child(5) { animation-delay: 0.15s; }
    body.page-home .games-grid--home .game-card:nth-child(n+6) { animation-delay: 0.18s; }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
