/* Premium Gaming Theme - Inspired by Dragon & Into the Multiverse */

:root {
    /* Primary Colors - Matching the images */
    --primary-bg: #0a0f1a;
    --secondary-bg: #151b28;
    --tertiary-bg: #1f2937;

    /* Cyan/Blue from the images */
    --cyan-primary: #00d9ff;
    --cyan-glow: #22d3ee;
    --blue-deep: #0891b2;
    --blue-electric: #06b6d4;

    /* Purple/Magenta accents */
    --purple-primary: #a855f7;
    --purple-bright: #c026d3;
    --magenta-glow: #e879f9;

    /* Gold/Orange accents */
    --gold-primary: #fbbf24;
    --gold-bright: #f59e0b;
    --orange-accent: #fb923c;

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-cyan: linear-gradient(135deg, #00d9ff 0%, #a855f7 100%);
    --gradient-portal: linear-gradient(135deg, #00d9ff 0%, #0891b2 50%, #a855f7 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Base Styles */
body {
    background: var(--primary-bg) !important;
    color: var(--text-primary) !important;
}

/* Remove the grid overlay that was making things dark */
body::before {
    display: none !important;
}

/* Hero Logo Top Right */
.hero-logo-top-right {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

.hero-logo-top-right:hover {
    transform: translateY(-2px) !important;
}

.hero-logo-top-right img {
    max-width: 120px !important;
    height: auto !important;
    display: block !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4)) !important;
}

@media screen and (max-width: 768px) {
    .hero-logo-top-right {
        top: 15px !important;
        right: 15px !important;
    }

    .hero-logo-top-right img {
        max-width: 90px !important;
    }
}

@media screen and (max-width: 480px) {
    .hero-logo-top-right {
        top: 10px !important;
        right: 10px !important;
    }

    .hero-logo-top-right img {
        max-width: 70px !important;
    }
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

/* Move play button up and to the right - into the portal */
.link-block-7 {
    position: relative !important;
    top: -70px !important;
    right: -180px !important;
}

/* Hide the hero heading by default */
.home-hero-intro .valera-heading-1 {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s ease !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translateY(-20px) !important;
    z-index: 10 !important;
    white-space: nowrap !important;
}

/* Show heading when hovering over video button with purple-blue gradient */
.link-block-7:hover ~ .home-hero-intro .valera-heading-1 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) translateY(0) !important;
}

h1 {
    background: linear-gradient(135deg, #a855f7 0%, #00d9ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.8)) drop-shadow(0 0 50px rgba(0, 217, 255, 0.6)) !important;
}

h2, h3 {
    color: var(--text-primary) !important;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3) !important;
}

h2 {
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* HOME HERO - Let the dragon shine! */
.home-hero {
    background-color: transparent !important;
    position: relative;
    overflow: hidden;
    filter: none !important;
}

/* Subtle overlay for depth */
.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Make sure content is above the overlay */
.home-hero > * {
    position: relative;
    z-index: 2;
}

/* "Play to Earn" text - gold with strong contrast */
.text-span-2 {
    color: #fbbf24 !important;
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(251, 191, 36, 0.8) !important;
}

/* Sections */
.section-normal {
    background: var(--primary-bg) !important;
}

.container-normal {
    background: transparent !important;
}

/* Game Cards - Glass effect with cyan accents */
.div-block-23 {
    background: linear-gradient(135deg,
        rgba(21, 27, 40, 0.8) 0%,
        rgba(31, 41, 55, 0.6) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* Fix white background on intro content */
.intro-content, .stacked-intro {
    background: transparent !important;
    border: none !important;
}

/* Fix white borders on game sections */
.no-right-radius, .no-left-radius {
    border: none !important;
}

/* Hide the white loading bars animation */
.background-load-top, .background-load-bottom {
    display: none !important;
}

/* Add fade-in animation to game images */
.hero-background-image {
    animation: fadeIn 0.8s ease-in-out !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Cyan shimmer effect on hover */
.div-block-23::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.6s;
}

.div-block-23:hover::before {
    left: 100%;
}

.div-block-23:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 217, 255, 0.6) !important;
    box-shadow:
        0 20px 60px rgba(0, 217, 255, 0.3),
        0 0 80px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.2) !important;
}

/* Game Tags */
.comment-mod {
    background: rgba(0, 217, 255, 0.15) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    color: var(--cyan-glow) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2) !important;
}

.comment-mod.blue {
    background: rgba(8, 145, 178, 0.15) !important;
    border-color: rgba(8, 145, 178, 0.4) !important;
    color: var(--blue-electric) !important;
}

.comment-mod.yellow {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
    color: var(--gold-primary) !important;
}

/* Move buttons container to the right */
.dual-buttons {
    margin-left: 100px !important;
}

/* Fix button text - completely hide original and replace */
.dual-buttons .button {
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dual-buttons .button::after {
    content: 'START PLAYING' !important;
    font-size: 14px !important;
    line-height: normal !important;
    text-indent: 0 !important;
    display: inline !important;
    font-weight: 700 !important;
}

/* Buttons - Cyan gradient with gold accents */
.button {
    background: var(--gradient-portal) !important;
    border: 1px solid rgba(0, 217, 255, 0.5) !important;
    color: white !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow:
        0 4px 20px rgba(0, 217, 255, 0.4),
        0 0 40px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        0 8px 30px rgba(0, 217, 255, 0.6),
        0 0 60px rgba(0, 217, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(0, 217, 255, 0.8) !important;
}

.button-white, .outline-button {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.5) !important;
    color: var(--text-primary) !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.button-white:hover, .outline-button:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%) !important;
    border-color: var(--cyan-glow) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Images with Cyan Glow */
.intro-right-image {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 217, 255, 0.3) !important;
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

.intro-right-image:hover {
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(0, 217, 255, 0.5) !important;
    border-color: rgba(0, 217, 255, 0.6) !important;
}

.hero-background-image {
    filter: brightness(1) saturate(1.1) !important;
}

/* Text */
.body-display {
    color: var(--text-secondary) !important;
    line-height: 1.8 !important;
}

/* Footer */
.footer, .section-normal.footer {
    background: var(--secondary-bg) !important;
    border-top: 1px solid rgba(0, 217, 255, 0.2) !important;
}

.footer a {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease !important;
}

.footer a:hover {
    color: var(--cyan-primary) !important;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

/* Navbar */
.navbar {
    background: rgba(21, 27, 40, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2) !important;
}

/* Social Icons */
.sidebar-icon {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    transition: all 0.3s ease !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar-icon:hover {
    background: rgba(0, 217, 255, 0.2) !important;
    border-color: rgba(0, 217, 255, 0.8) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.5) !important;
}

.sidebar-icon svg {
    color: var(--cyan-glow) !important;
    fill: currentColor !important;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8)) drop-shadow(0 0 15px rgba(0, 217, 255, 0.4));
    width: 24px !important;
    height: 24px !important;
}

.sidebar-icon:hover svg {
    color: #ffffff !important;
    filter: drop-shadow(0 0 12px rgba(0, 217, 255, 1)) drop-shadow(0 0 20px rgba(34, 211, 238, 0.8));
}

/* Video Button */
.hero-video-button-2 {
    border: 2px solid var(--cyan-primary) !important;
    box-shadow:
        0 0 40px rgba(0, 217, 255, 0.3),
        inset 0 0 30px rgba(0, 217, 255, 0.1) !important;
}

.video-hover-button-2 {
    background: var(--gradient-portal) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5) !important;
}

.video-icon {
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.8));
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-portal);
    border-radius: 6px;
    border: 2px solid var(--secondary-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Selection */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: white;
}

/* Preloader */
.preloader {
    background: var(--primary-bg) !important;
}

/* Logo glow */
.footer-logo svg, .apx-social svg {
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
}

/* Style logo badge */
.game-logo-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.5) !important;
    border-radius: 50% !important;
    padding: 15px !important;
    max-width: 180px !important;
    height: auto !important;
    box-shadow:
        0 0 30px rgba(0, 217, 255, 0.3),
        0 0 60px rgba(168, 85, 247, 0.2),
        inset 0 0 20px rgba(0, 217, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.4)) !important;
    transition: all 0.3s ease !important;
}

.game-logo-badge:hover {
    transform: scale(1.05) !important;
    box-shadow:
        0 0 40px rgba(0, 217, 255, 0.5),
        0 0 80px rgba(168, 85, 247, 0.3),
        inset 0 0 30px rgba(0, 217, 255, 0.08) !important;
    border-color: rgba(0, 217, 255, 0.7) !important;
}

/* Add glow to Choose a Game logo */
#Games .subtitle-wrapper img {
    filter: drop-shadow(0 0 25px rgba(0, 217, 255, 0.5))
            drop-shadow(0 0 50px rgba(168, 85, 247, 0.3))
            drop-shadow(0 0 75px rgba(0, 217, 255, 0.2)) !important;
    transition: filter 0.3s ease !important;
}

#Games .subtitle-wrapper img:hover {
    filter: drop-shadow(0 0 35px rgba(0, 217, 255, 0.7))
            drop-shadow(0 0 70px rgba(168, 85, 247, 0.5))
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.3)) !important;
}

/* Built by CZBLABS badge */
.built-by-badge {
    display: inline-block !important;
    background: rgba(8, 145, 178, 0.15) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    color: var(--cyan-glow) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.built-by-badge:hover {
    background: rgba(8, 145, 178, 0.25) !important;
    border-color: rgba(0, 217, 255, 0.6) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Center game tags */
.game-tags {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* Improve game description section */
.stacked-intro {
    text-align: center !important;
}

.body-display.large {
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
}

/* Center Play Now button */
.stacked-intro .button {
    margin: 0 auto !important;
    display: inline-block !important;
}

/* Improve game info section colors */
.subtitle {
    color: var(--cyan-primary) !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
}

.gameplay {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

/* Improve info wrapper */
.info-wrapper .body-display {
    color: var(--text-secondary) !important;
}

/* Style game feature icons better - premium cyan glow */
.feature-icon {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.feature-icon:hover {
    background: rgba(0, 217, 255, 0.15) !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

.game-icon svg {
    color: var(--cyan-primary) !important;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.6)) !important;
}

/* Fix white background and borders in steps-sticky-card */
.steps-sticky-card {
    background: transparent !important;
    border: none !important;
}

.steps-intro {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    backdrop-filter: blur(16px) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.div-block-59 {
    background: transparent !important;
    border: none !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

.div-block-25, .div-block-21, .div-block-26 {
    background: transparent !important;
    border: none !important;
}

.div-block-25 {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px !important;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.6) 0%, rgba(21, 27, 40, 0.4) 100%) !important;
    border: 1px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

.div-block-25:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.8) 0%, rgba(21, 27, 40, 0.6) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2) !important;
}

#Games .subtitle-wrapper {
    text-align: center !important;
    margin-bottom: 40px !important;
}

#Games .subtitle-wrapper img {
    max-width: 300px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Responsive logo sizing */
@media screen and (max-width: 768px) {
    #Games .subtitle-wrapper img {
        max-width: 220px !important;
    }
}

@media screen and (max-width: 480px) {
    #Games .subtitle-wrapper img {
        max-width: 180px !important;
    }
}

/* Add subtle particle effect to hero */
.home-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 217, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(251, 191, 36, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(0, 217, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(168, 85, 247, 0.3), transparent);
    background-size: 200% 200%;
    background-position: 50% 50%;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.6;
    }
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media screen and (max-width: 991px) {
    /* Reset play button position for mobile */
    .link-block-7 {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 20px auto !important;
        display: block !important;
        width: fit-content !important;
    }

    /* Center buttons on mobile */
    .dual-buttons {
        margin-left: 0 !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .dual-buttons .button,
    .dual-buttons .button-white {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    /* Smaller badge on mobile */
    #Games .subtitle-wrapper h1 {
        font-size: 20px !important;
        padding: 12px 24px !important;
        letter-spacing: 1px !important;
    }

    /* Stack game cards vertically */
    .div-block-23 {
        padding: 20px !important;
        margin-bottom: 20px !important;
        flex-direction: column !important;
    }

    /* Reduce padding on mobile */
    .section-normal {
        padding: 40px 20px !important;
    }

    /* Make images responsive */
    .intro-right-image {
        width: 100% !important;
        height: auto !important;
        margin-top: 20px !important;
    }

    /* Reduce glow effects on mobile for performance */
    .button, .div-block-23, .intro-right-image {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    }

    /* Disable complex animations on mobile */
    .home-hero::after {
        display: none !important;
    }

    /* Smaller social icons on very small screens */
    @media screen and (max-width: 479px) {
        .sidebar-icon {
            width: 40px !important;
            height: 40px !important;
            padding: 8px !important;
        }

        .sidebar-icon svg {
            width: 20px !important;
            height: 20px !important;
        }
    }
}

/* Tablet adjustments */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .link-block-7 {
        margin: 30px auto !important;
    }

    #Games .subtitle-wrapper h1 {
        font-size: 24px !important;
        padding: 14px 32px !important;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for animations */
.button, .div-block-23, .sidebar-icon, .intro-right-image {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .home-hero::after {
        display: none !important;
    }
}

/* ===== TOUCH INTERACTIONS ===== */

/* Better touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
    .button, .button-white, .outline-button {
        min-height: 48px !important;
        padding: 16px 24px !important;
    }

    .sidebar-icon {
        min-width: 48px !important;
        min-height: 48px !important;
    }

    /* Remove hover effects on touch devices */
    .button:hover::before,
    .div-block-23:hover::before {
        display: none !important;
    }

    /* Use active states instead */
    .button:active {
        transform: scale(0.98) !important;
    }

    .div-block-23:active {
        transform: translateY(-4px) !important;
    }
}

/* ===== SAFARI-SPECIFIC FIXES ===== */

/* Fix for Safari gradient rendering */
@supports (-webkit-appearance: none) {
    h1 {
        background: -webkit-linear-gradient(135deg, #a855f7 0%, #00d9ff 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    .button {
        background: -webkit-linear-gradient(135deg, #00d9ff 0%, #0891b2 50%, #a855f7 100%) !important;
    }
}

/* Fix video button border radius in Safari */
.hero-video-button-2 {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Improve font rendering on Safari */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== PERFORMANCE: Contain paint and layout ===== */
.div-block-23,
.intro-right-image,
.hero-video-button-2 {
    contain: layout style paint;
}

/* Lazy load optimization - prevent layout shift */
.hero-background-image {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

/* ===== SCROLL INDICATOR (Right sidebar) ===== */

/* Scroll indicator wrapper */
.scroll-indicator {
    background: transparent !important;
}

/* Indicator wrapper track */
.indicator-wrapper {
    background: rgba(21, 27, 40, 0.6) !important;
    border: 1px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 8px !important;
}

/* The moving indicator fill */
.indicator-fill {
    background: transparent !important;
}

/* The actual indicator that moves */
.indicator {
    background: var(--gradient-portal) !important;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5) !important;
    border-radius: 6px !important;
}

/* ===== TERMS OF SERVICE / LEGAL PAGES ===== */

/* Terms content container */
.terms {
    background: linear-gradient(135deg,
        rgba(21, 27, 40, 0.8) 0%,
        rgba(31, 41, 55, 0.6) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

/* Journal content wrapper */
.journal-content {
    background: transparent !important;
    border: none !important;
}

/* Rich text styling for legal content */
.rich-text.terms {
    color: var(--text-secondary) !important;
    line-height: 1.8 !important;
}

.rich-text.terms h3 {
    color: var(--cyan-primary) !important;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3) !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    font-size: 24px !important;
}

.rich-text.terms h4 {
    color: var(--cyan-glow) !important;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.3) !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    font-size: 20px !important;
}

.rich-text.terms p {
    color: var(--text-secondary) !important;
    margin-bottom: 20px !important;
    line-height: 1.8 !important;
}

.rich-text.terms strong {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

.rich-text.terms blockquote {
    background: rgba(0, 217, 255, 0.1) !important;
    border-left: 4px solid var(--cyan-primary) !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    border-radius: 8px !important;
    color: var(--cyan-glow) !important;
    font-style: italic !important;
}

.rich-text.terms ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
}

.rich-text.terms ul li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 12px !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
}

.rich-text.terms ul li::before {
    content: "▸" !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--cyan-primary) !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

.rich-text.terms a {
    color: var(--cyan-primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.rich-text.terms a:hover {
    color: var(--cyan-glow) !important;
    border-bottom-color: var(--cyan-glow) !important;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5) !important;
}

/* Inner page hero styling */
.inner-page-hero {
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
}

.inner-page-hero .hero-intro {
    position: relative !important;
    z-index: 2 !important;
}

.inner-page-hero .subtitle.large {
    color: var(--cyan-glow) !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

/* Hero background with overlay */
.hero-background-image.support-hero-background {
    filter: brightness(0.6) !important;
}

.overlay.dark {
    background: linear-gradient(135deg,
        rgba(10, 15, 26, 0.8) 0%,
        rgba(21, 27, 40, 0.9) 100%) !important;
}

/* Section padding adjustments for legal pages */
.section.no-top-padding {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

/* Mobile adjustments for terms page */
@media screen and (max-width: 991px) {
    .terms {
        padding: 25px !important;
        border-radius: 15px !important;
    }

    .rich-text.terms h3 {
        font-size: 20px !important;
        margin-top: 30px !important;
    }

    .rich-text.terms h4 {
        font-size: 18px !important;
        margin-top: 20px !important;
    }

    .section.no-top-padding {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }
}

/* ===== PRELOADER STYLING (Global for all pages) ===== */

/* Hide default white preloader bars */
.preloader-top, .preloader-bottom {
    display: none !important;
}

/* Style the preloader container */
.preloader {
    background: var(--primary-bg) !important;
    z-index: 9999 !important;
}

/* Style the preloader indicator */
.preloader-indicator {
    border: 3px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    position: relative !important;
}

/* Animated fill with cyan gradient */
.prloader-fill {
    background: var(--gradient-portal) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6) !important;
    animation: pulse 1.5s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== GAME PAGE SPECIFIC STYLING ===== */

/* Game iframe containers - NO overlays or z-index conflicts */
.game-page-pc-webgl,
.game-page-mobile-webgl {
    position: relative !important;
    z-index: 1 !important;
    background: var(--primary-bg) !important;
}

.game-page-pc-webgl iframe,
.game-page-mobile-webgl iframe {
    border: none !important;
    display: block !important;
    background: #000 !important;
}

/* Game floating links - HIDE THEM, they overlay the game */
.game-page-floating-links {
    display: none !important;
}

/* Style game floating buttons */
.game-page-floating-links .link {
    background: linear-gradient(135deg,
        rgba(0, 217, 255, 0.15) 0%,
        rgba(168, 85, 247, 0.15) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    color: var(--cyan-primary) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2) !important;
}

.game-page-floating-links .link:hover {
    background: linear-gradient(135deg,
        rgba(0, 217, 255, 0.25) 0%,
        rgba(168, 85, 247, 0.25) 100%) !important;
    border-color: rgba(0, 217, 255, 0.8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4) !important;
}

/* ===== CONSISTENT SPACING SYSTEM ===== */
.margin-8 { margin: 8px !important; }
.margin-16 { margin: 16px !important; }
.margin-24 { margin: 24px !important; }
.margin-32 { margin: 32px !important; }
/* margin-40 already exists in HTML */

.top-margin-8 { margin-top: 8px !important; }
.top-margin-16 { margin-top: 16px !important; }
.top-margin-24 { margin-top: 24px !important; }
.top-margin-32 { margin-top: 32px !important; }

.bottom-margin-8 { margin-bottom: 8px !important; }
.bottom-margin-16 { margin-bottom: 16px !important; }
.bottom-margin-24 { margin-bottom: 24px !important; }
.bottom-margin-32 { margin-bottom: 32px !important; }

.padding-8 { padding: 8px !important; }
.padding-16 { padding: 16px !important; }
.padding-24 { padding: 24px !important; }
.padding-32 { padding: 32px !important; }

/* Game info section below game */
.game-page {
    background: transparent !important;
}

.game-page h1 {
    background: linear-gradient(135deg, #a855f7 0%, #00d9ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.4)) !important;
}

/* Game description cards */
.steps-card {
    background: linear-gradient(135deg,
        rgba(21, 27, 40, 0.8) 0%,
        rgba(31, 41, 55, 0.6) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 217, 255, 0.1) !important;
}

/* Game tags */
.comment-mod.blue,
.comment-mod {
    background: rgba(0, 217, 255, 0.15) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    color: var(--cyan-glow) !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
}

/* Game category icons */
.feature-icon.large {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px !important;
}

.game-icon svg {
    color: var(--cyan-primary) !important;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.5)) !important;
}

/* Community buttons - Premium style */
.chat-buttons.link {
    background: linear-gradient(135deg,
        rgba(0, 217, 255, 0.15) 0%,
        rgba(168, 85, 247, 0.15) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow:
        0 4px 15px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.chat-buttons.link:hover {
    background: linear-gradient(135deg,
        rgba(0, 217, 255, 0.25) 0%,
        rgba(168, 85, 247, 0.25) 100%) !important;
    border-color: rgba(0, 217, 255, 0.8) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        0 8px 30px rgba(0, 217, 255, 0.4),
        0 0 40px rgba(0, 217, 255, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.2) !important;
}

.chat-buttons.link svg,
.chat-buttons svg {
    width: 48px !important;
    height: 48px !important;
    color: var(--cyan-primary) !important;
    fill: var(--cyan-primary) !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6)) !important;
    transition: all 0.3s ease !important;
}

.chat-buttons.link:hover svg,
.chat-buttons:hover svg {
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.9)) !important;
    transform: scale(1.1) !important;
}

/* Back to game / How to play buttons */
.more-info-button,
.back-to-game-button {
    background: var(--gradient-portal) !important;
    border: 1px solid rgba(0, 217, 255, 0.5) !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

.more-info-button:hover,
.back-to-game-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6) !important;
}

/* Hide grey/white loading bars on game page images */
.background-load-top.grey,
.background-load-bottom.grey {
    display: none !important;
}

/* Fix app cover image styling */
.app-cover {
    border-radius: 20px !important;
    overflow: hidden !important;
}

.app-cover .hero-background-image {
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 20px !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 217, 255, 0.3) !important;
}

/* Style steps description cards */
.steps-description {
    color: var(--text-secondary) !important;
}

/* Removed duplicate .steps-intro rule - kept the styled version at line 579-585 */

/* Game page headings */
.game-page h2 {
    color: var(--cyan-primary) !important;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.4) !important;
}

/* Subtitle and gameplay text */
/* Removed duplicate .subtitle rule - kept the updated version at line 550-556 */

.gameplay {
    color: var(--text-primary) !important;
}

/* ===== PREMIUM STYLING ENHANCEMENTS ===== */

/* Remove any remaining white colors */
.w-dyn-item,
.w-dyn-items,
.w-dyn-list {
    background: transparent !important;
    border: none !important;
}

/* App cover styling */
.app-cover {
    border-radius: 20px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

/* Hero background image */
.hero-background-image {
    position: relative !important;
    min-height: 300px !important;
}

/* Steps section wrapper */
.wrapper-block {
    background: transparent !important;
}

.steps-grid {
    background: transparent !important;
    gap: 32px !important;
}

/* Steps cards premium styling */
.steps-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 1px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    backdrop-filter: blur(16px) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(0, 217, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.steps-card:hover {
    border-color: rgba(0, 217, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

/* Game Overview Card */
.game-overview-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(31, 41, 55, 0.8) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 24px !important;
    padding: 48px !important;
    margin: 60px auto !important;
    max-width: 1200px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.overview-layout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 48px !important;
    align-items: center !important;
}

.overview-content {
    flex: 1 !important;
}

.overview-image {
    position: relative !important;
}

.overview-game-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.overview-game-image:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 217, 255, 0.3) !important;
}

.overview-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 0 !important;
}

.built-by-badge {
    padding: 6px 14px !important;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%) !important;
    border: 1px solid var(--gold-primary) !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--gold-primary) !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2) !important;
}

.game-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
}

.game-tag {
    padding: 6px 12px !important;
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--cyan-primary) !important;
    transition: all 0.3s ease !important;
}

.game-tag:hover {
    background: rgba(0, 217, 255, 0.2) !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3) !important;
}

.game-tag.thrilling {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    color: var(--purple-primary) !important;
}

.game-tag.thrilling:hover {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3) !important;
}

.game-description {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: var(--text-primary) !important;
    margin-bottom: 16px !important;
}

.game-tagline {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 32px !important;
}

.overview-cta-buttons {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

@media screen and (max-width: 1024px) {
    .overview-layout {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .overview-image {
        order: -1 !important;
    }

    .overview-game-image {
        max-width: 500px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .game-overview-card {
        padding: 32px 24px !important;
        margin: 40px 20px !important;
    }

    .overview-game-image {
        max-width: 100% !important;
    }
}

    .section-title {
        font-size: 24px !important;
    }

    .overview-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .overview-cta-buttons {
        width: 100% !important;
    }

    .overview-cta-buttons a {
        flex: 1 !important;
        text-align: center !important;
    }
}

/* Media Showcase Section */
.center-text {
    text-align: center !important;
}

.section-subtitle {
    font-size: 18px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 48px !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Media Showcase - Coming Soon */
.coming-soon-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 400px !important;
    padding: 60px 20px !important;
}

.coming-soon-content {
    text-align: center !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 24px !important;
    padding: 60px 80px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(0, 217, 255, 0.15) !important;
    max-width: 600px !important;
}

.coming-soon-icon {
    margin-bottom: 24px !important;
}

.coming-soon-icon svg {
    color: var(--cyan-primary) !important;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5)) !important;
}

.coming-soon-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 16px !important;
}

.coming-soon-text {
    font-size: 18px !important;
    color: #e2e8f0 !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .coming-soon-content {
        padding: 40px 30px !important;
    }

    .coming-soon-title {
        font-size: 24px !important;
    }

    .coming-soon-text {
        font-size: 16px !important;
    }

    .coming-soon-icon svg {
        width: 60px !important;
        height: 60px !important;
    }
}

.media-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin-top: 40px !important;
}

.media-item {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
}

.media-item.featured {
    grid-column: span 2 !important;
    aspect-ratio: 21/9 !important;
}

.media-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 2px dashed rgba(0, 217, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.media-placeholder:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(31, 41, 55, 0.7) 100%) !important;
}

.placeholder-icon {
    color: var(--cyan-primary) !important;
    margin-bottom: 16px !important;
    opacity: 0.7 !important;
}

.media-placeholder:hover .placeholder-icon {
    opacity: 1 !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4)) !important;
}

.placeholder-text {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

@media screen and (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .media-item.featured {
        grid-column: span 1 !important;
        aspect-ratio: 16/9 !important;
    }
}

/* Abilities & Pickups Section */
.subsection-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--cyan-primary) !important;
    margin-top: 48px !important;
    margin-bottom: 24px !important;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3) !important;
}

.abilities-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    margin-bottom: 40px !important;
}

.ability-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(16px) !important;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(0, 217, 255, 0.05) !important;
}

.ability-card:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    transform: translateY(-5px) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.ability-card.pickup {
    border-color: rgba(168, 85, 247, 0.2) !important;
}

.ability-card.pickup:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(168, 85, 247, 0.1) !important;
}

.ability-card.danger {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.ability-card.danger:hover {
    border-color: rgba(239, 68, 68, 0.6) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(239, 68, 68, 0.1) !important;
}

.ability-icon-wrapper {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 16px !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.ability-card.pickup .ability-icon-wrapper {
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2) !important;
}

.ability-card.danger .ability-icon-wrapper {
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%) !important;
}

.ability-card:hover .ability-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.4) !important;
}

.ability-card.pickup:hover .ability-icon-wrapper {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4) !important;
}

.ability-card.danger:hover .ability-icon-wrapper {
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4) !important;
}

.ability-icon-placeholder {
    font-size: 40px !important;
    line-height: 1 !important;
}

.ability-icon-img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4)) !important;
}

.ability-name {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 12px !important;
}

.ability-type {
    display: inline-block !important;
    padding: 4px 12px !important;
    background: rgba(0, 217, 255, 0.2) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--cyan-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 16px !important;
}

.ability-type.pickup-type {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
    color: var(--purple-primary) !important;
}

.ability-type.danger-type {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}

.ability-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
}

.ability-video-wrapper {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
}

.ability-video-wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

@media screen and (max-width: 768px) {
    .abilities-grid {
        grid-template-columns: 1fr !important;
    }

    .subsection-title {
        font-size: 20px !important;
        margin-top: 32px !important;
    }
}

/* Backstory Section */
.backstory-wrapper {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(31, 41, 55, 0.8) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.backstory-subtitle {
    font-size: 28px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 32px !important;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3) !important;
}

.story-image-single {
    margin: 32px 0 !important;
    text-align: center !important;
}

.story-image {
    max-width: 800px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.story-image:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 217, 255, 0.3) !important;
}

@media screen and (max-width: 768px) {
    .story-image {
        max-width: 100% !important;
    }

    .story-image-single {
        margin: 24px 0 !important;
    }
}

.story-content {
    color: var(--text-primary) !important;
    line-height: 1.8 !important;
}

.story-content p {
    font-size: 16px !important;
    margin-bottom: 20px !important;
    text-align: justify !important;
    color: #e2e8f0 !important;
}

.story-content p:first-child {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

.story-content p:first-child::first-letter {
    font-size: 48px !important;
    font-weight: 700 !important;
    float: left !important;
    line-height: 1 !important;
    margin-right: 8px !important;
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

@media screen and (max-width: 768px) {
    .backstory-wrapper {
        padding: 40px 24px !important;
    }

    .backstory-subtitle {
        font-size: 22px !important;
    }

    .story-content p {
        font-size: 15px !important;
        text-align: left !important;
    }

    .story-content p:first-child {
        font-size: 16px !important;
    }
}

/* NFT Collection Section */
.nft-collection-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(31, 41, 55, 0.8) 100%) !important;
    border: 2px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 24px !important;
    padding: 48px !important;
    margin: 0 auto !important;
    max-width: 800px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(168, 85, 247, 0.15),
        inset 0 1px 0 rgba(168, 85, 247, 0.1) !important;
    text-align: center !important;
}

.nft-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.nft-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--cyan-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 20px !important;
}

.nft-description {
    font-size: 16px !important;
    color: #e2e8f0 !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
    max-width: 600px !important;
}

.nft-features {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
}

.nft-feature {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px !important;
    background: rgba(168, 85, 247, 0.1) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

.nft-feature:hover {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3) !important;
}

.nft-feature svg {
    color: var(--purple-primary) !important;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4)) !important;
}

.nft-feature span {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

.nft-button {
    margin-top: 8px !important;
}

@media screen and (max-width: 768px) {
    .nft-collection-card {
        padding: 32px 24px !important;
    }

    .nft-features {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .nft-title {
        font-size: 24px !important;
    }

    .nft-description {
        font-size: 14px !important;
    }
}

/* Community & Support Section */
.community-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 40px !important;
}

.community-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    backdrop-filter: blur(16px) !important;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(0, 217, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.community-card:hover {
    border-color: rgba(0, 217, 255, 0.4) !important;
    transform: translateY(-5px) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(0, 217, 255, 0.1) !important;
}

.community-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 12px !important;
}

.community-description {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
}

.social-links {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.social-link {
    flex: 1 !important;
    min-width: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15) !important;
}

.social-link:hover {
    border-color: rgba(0, 217, 255, 0.5) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3) !important;
}

.social-link.twitter:hover {
    border-color: rgba(29, 155, 240, 0.5) !important;
    box-shadow: 0 0 30px rgba(29, 155, 240, 0.3) !important;
}

.social-link.discord:hover {
    border-color: rgba(88, 101, 242, 0.5) !important;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.3) !important;
}

.social-icon {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--cyan-primary) !important;
}

.social-icon svg {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4)) !important;
}

.social-link span {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.feedback-button {
    width: 100% !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%) !important;
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 12px !important;
    color: var(--text-primary) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2) !important;
}

.feedback-button:hover {
    border-color: rgba(0, 217, 255, 0.6) !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

.feedback-button svg {
    color: var(--cyan-primary) !important;
}

.czb-links {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.czb-link {
    flex: 1 !important;
    min-width: 80px !important;
    padding: 12px 20px !important;
    background: rgba(251, 191, 36, 0.1) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    border-radius: 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    color: var(--gold-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.czb-link:hover {
    background: rgba(251, 191, 36, 0.2) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3) !important;
    transform: translateY(-2px) !important;
}

@media screen and (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr !important;
    }

    .social-links {
        flex-direction: column !important;
    }

    .social-link {
        min-width: 100% !important;
    }
}

/* Footer Section */
.site-footer {
    margin-top: 80px !important;
    padding: 40px 0 !important;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border-top: 2px solid rgba(0, 217, 255, 0.2) !important;
}

.footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

.footer-logo img {
    max-width: 150px !important;
    height: auto !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3)) !important;
}

.footer-text {
    text-align: center !important;
    flex: 1 !important;
}

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

.footer-text strong {
    color: var(--gold-primary) !important;
}

.footer-copyright {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

.footer-links a {
    padding: 10px 20px !important;
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: var(--cyan-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.footer-links a:hover {
    background: rgba(0, 217, 255, 0.2) !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3) !important;
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
    }

    .footer-logo img {
        max-width: 120px !important;
    }
}

/* Steps content */
.steps-content {
    background: transparent !important;
    border: none !important;
}

.steps-description {
    background: transparent !important;
}

/* Subtitle bottom float */
.subtitle.bottom-float {
    color: var(--cyan-glow) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 11px !important;
}

/* Div block 40 for community links */
.div-block-40 {
    background: transparent !important;
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Steps tracker styling */
.steps-tracker {
    background: rgba(0, 217, 255, 0.1) !important;
}

.how-it-works-fill {
    background: var(--gradient-portal) !important;
}

/* Steps circle */
.steps-circle {
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
}

.steps-dot {
    background: var(--gradient-portal) !important;
}

.steps-circle-outline {
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
}

/* Body display text */
.body-display {
    color: var(--text-secondary) !important;
}

.body-display.white {
    color: var(--text-primary) !important;
}

/* Remove white/light backgrounds */
.grey {
    background: transparent !important;
}

/* Navbar on game page - make it transparent */
body .navbar {
    background: rgba(10, 15, 26, 0.95) !important;
}

/* GAME PAGE SCROLL FIX - The real issue: game section locked at 100vh */
/* This single fix allows normal scrolling without the section fighting back */
.section-full-width._100vh {
    height: auto !important;
    min-height: 100vh !important;
}

/* Mobile: Ensure game takes full width */
@media screen and (max-width: 991px) {
    .game-page-floating-links {
        position: static !important;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        padding: 15px !important;
    }

    .game-page-pc-webgl,
    .game-page-mobile-webgl {
        width: 100% !important;
        height: auto !important;
        min-height: 400px !important;
    }

    .steps-card {
        padding: 20px !important;
    }
}
