/* ===================================
   CASINO NIGHT RENTALS - STYLES
   Futuristic Dark Theme with Neon Accents
   =================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Dark Theme */
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-surface: #1a1a1a;
    --color-surface-light: #252525;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Neon Accent Colors - UNIFIED BRAND RED */
    --neon-red: #FF3131;
    --neon-red-glow: rgba(255, 49, 49, 0.6);
    --neon-gold: #FF3131;
    --neon-gold-glow: rgba(255, 49, 49, 0.6);
    --neon-green: #39ff14;
    --neon-green-glow: rgba(57, 255, 20, 0.5);
    --neon-purple: #bf00ff;
    --neon-purple-glow: rgba(191, 0, 255, 0.5);
    --neon-cyan: #00f5ff;
    --neon-cyan-glow: rgba(0, 245, 255, 0.5);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-red), #FF5A5A);
    --gradient-gold: linear-gradient(135deg, #FF3131, #D90000);
    --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Orbitron', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Light Mode Theme */
[data-theme="light"] {
    --color-bg: #f5f5f7;
    --color-bg-alt: #ffffff;
    --color-surface: #ffffff;
    --color-surface-light: #e8e8ed;
    --color-border: rgba(0, 0, 0, 0.1);

    /* Adjusted Neon Colors for Light Mode */
    --neon-red: #E60023;
    --neon-red-glow: rgba(230, 0, 35, 0.3);
    --neon-gold: #E60023;
    --neon-gold-glow: rgba(230, 0, 35, 0.3);
    --neon-green: #00a800;
    --neon-green-glow: rgba(0, 168, 0, 0.3);
    --neon-purple: #9500c9;
    --neon-purple-glow: rgba(149, 0, 201, 0.3);
    --neon-cyan: #00aacc;
    --neon-cyan-glow: rgba(0, 170, 204, 0.3);

    /* Text Colors */
    --text-primary: #1d1d1f;
    --text-secondary: rgba(0, 0, 0, 0.65);
    --text-muted: rgba(0, 0, 0, 0.45);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #E60023, #B3001B);
    --gradient-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));

    /* Glass Effect */
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-right: 16px;
}

.theme-toggle:hover {
    border-color: var(--neon-gold);
    background: rgba(255, 215, 0, 0.1);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: var(--transition-normal);
}

/* Dark mode - show moon, hide sun */
.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

/* Light mode - show sun, hide moon */
[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Light mode specific adjustments */
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-glow {
    opacity: 0.15;
}

[data-theme="light"] .chip {
    opacity: 0.1;
}

[data-theme="light"] .game-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-content {
    background: var(--color-surface);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .result-card {
    box-shadow: 0 0 60px rgba(201, 160, 0, 0.2);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--neon-red);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-gold);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 0;
    color: var(--text-primary);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-text .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer specific logo adjustment */
.footer-logo .logo-image {
    height: 80px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }

    .footer-logo .logo-image {
        height: 60px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--neon-gold-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
}

/* Light mode video overlay adjustment */
[data-theme="light"] .video-overlay {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.5) 100%);
}

/* Improve text readability in light mode with video bg */
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
}

[data-theme="light"] .hero-title .neon-text {
    text-shadow: none;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background:
        radial-gradient(ellipse at 20% 20%, var(--neon-red-glow) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, var(--neon-gold-glow) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, var(--neon-purple-glow) 0%, transparent 50%);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
}

.floating-chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.chip {
    position: absolute;
    font-size: 48px;
    opacity: 0.15;
    animation: floatChip 15s linear infinite;
}

.chip-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.chip-2 {
    top: 20%;
    right: 15%;
    animation-delay: -2s;
}

.chip-3 {
    top: 60%;
    left: 5%;
    animation-delay: -4s;
}

.chip-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: -6s;
}

.chip-5 {
    top: 40%;
    right: 5%;
    animation-delay: -8s;
}

.chip-6 {
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.neon-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--neon-gold-glow);
    position: relative;
}

.highlight-text {
    color: var(--neon-red);
    text-shadow: 0 0 30px var(--neon-red-glow);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--neon-gold-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-green);
    box-shadow: 0 8px 32px var(--neon-green-glow);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-gold);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ===================================
   SECTION STYLES (COMMON)
   =================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-gold);
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

/* ===================================
   GAMES & SERVICES SECTION
   =================================== */
.games {
    background: var(--color-bg-alt);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.game-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
    cursor: pointer;
}

.game-card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--neon-gold);
    filter: blur(100px);
    opacity: 0;
    transition: var(--transition-slow);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-card:hover .game-card-glow {
    opacity: 0.2;
}

.game-card[data-game="roulette"]:hover .game-card-glow {
    background: var(--neon-red);
}

.game-card[data-game="blackjack"]:hover .game-card-glow {
    background: var(--neon-cyan);
}

.game-card[data-game="poker"]:hover .game-card-glow {
    background: var(--neon-green);
}

.game-icon {
    font-size: 72px;
    margin-bottom: 24px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.game-title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-tagline {
    font-size: 14px;
    color: var(--neon-gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.game-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.game-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--neon-gold);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.game-learn-more svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.game-learn-more:hover svg {
    transform: translateX(4px);
}

/* Service Note */
.service-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: 0 auto;
}

.note-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--neon-gold);
}

.note-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.steps-container {
    position: relative;
    padding: 40px 0;
}

.steps-line {
    display: none;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--neon-gold) 10%,
            var(--neon-gold) 90%,
            transparent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.3s;
}

.step:nth-child(4) {
    animation-delay: 0.4s;
}

.step:nth-child(5) {
    animation-delay: 0.5s;
}

.step-number {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    color: var(--neon-gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    font-size: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.step:hover .step-icon {
    border-color: var(--neon-gold);
    box-shadow: 0 0 30px var(--neon-gold-glow);
    transform: scale(1.1);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   EVENT TYPES SECTION
   =================================== */
.events {
    background: var(--color-bg-alt);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.event-card {
    position: relative;
    padding: 40px 24px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-normal);
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-gold);
}

.event-card:hover::before {
    opacity: 1;
}

.event-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.event-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--neon-gold);
}

.filter-btn.active {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Gallery Image & Overlay */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transform: translateY(10px);
    transition: var(--transition-normal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Fallback/Loading placeholder styles */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.gallery-placeholder span {
    font-size: 64px;
}

.gallery-placeholder p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item.hidden {
    display: none;
}

/* ===================================
   PRICING / COST ESTIMATOR
   =================================== */
.pricing {
    background: var(--color-bg-alt);
}

.estimator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.estimator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-gold);
    box-shadow: 0 0 20px var(--neon-gold-glow);
}

.form-group select option {
    background: var(--color-surface);
    color: var(--text-primary);
}

.range-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.range-container input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-gold);
    cursor: pointer;
    transition: var(--transition-fast);
}

.range-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--neon-gold-glow);
}

.range-value {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-gold);
    min-width: 40px;
    text-align: right;
}

.estimator-result {
    display: flex;
    justify-content: center;
}

.result-card {
    background: var(--glass-bg);
    border: 1px solid var(--neon-gold);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 0 60px var(--neon-gold-glow);
    width: 100%;
    max-width: 400px;
}

.result-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.result-amount {
    font-family: var(--font-accent);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.result-amount .currency {
    font-size: 18px;
    color: var(--text-secondary);
    margin-right: 4px;
}

.result-amount .min-amount,
.result-amount .max-amount {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-amount .separator {
    color: var(--text-muted);
    margin: 0 8px;
}

.result-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 40px;
}

.testimonial-card>* {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-stars {
    font-size: 24px;
    color: var(--neon-gold);
    margin-bottom: 24px;
    text-align: center;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.testimonial-btn:hover {
    border-color: var(--neon-gold);
    color: var(--neon-gold);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonials-dots .dot.active {
    background: var(--neon-gold);
    border-color: var(--neon-gold);
}

/* ===================================
   QUOTE FORM SECTION
   =================================== */
.quote-section {
    background: var(--color-bg-alt);
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.quote-info .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neon-green);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.quote-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-fast);
}

.whatsapp-link svg {
    width: 24px;
    height: 24px;
}

.whatsapp-link:hover {
    text-shadow: 0 0 20px var(--neon-green-glow);
}

.quote-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-row+.form-row,
.form-row+.form-group,
.form-group+.form-row,
.form-group+.form-group {
    margin-top: 24px;
}

.form-group .error-message {
    font-size: 12px;
    color: var(--neon-red);
    display: none;
}

.form-group.error input,
.form-group.error select {
    border-color: var(--neon-red);
}

.form-group.error .error-message {
    display: block;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Centered alignment */
    max-width: 1200px;
    margin: 0 auto;
}

/* ... existing styles ... */

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
    user-select: none;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    display: none;
    /* Hidden, using label style instead */
}

/* Hover State */
.checkbox-label:hover {
    border-color: var(--neon-gold);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Checked State using :has */
.checkbox-label:has(input:checked) {
    background: var(--neon-gold);
    border-color: var(--neon-gold);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-gold-glow);
}

/* Fallback for older browsers if :has not supported: 
   The input is inside, so we can't easily style the parent WITHOUT :has.
   But modern browsers support it. */

.quote-form button[type="submit"] {
    margin-top: 24px;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--neon-gold);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--neon-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    position: relative;
    padding: 80px 0 40px;
    background: var(--color-surface);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--neon-gold) 50%,
            transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--neon-gold);
    color: var(--neon-gold);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--neon-gold);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-column li:not(:has(a)) {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-legal {
    font-style: italic;
}

/* ===================================
   FLOATING WHATSAPP BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 999;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-surface);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===================================
   MODALS
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.modal-header h3 {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
}

.game-rules {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rule-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rule p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.rule-note {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--neon-gold);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Success Modal */
.modal-success-content {
    text-align: center;
}

.success-animation {
    margin-bottom: 24px;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark-circle {
    stroke: var(--neon-green);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkmarkCircle 0.6s ease-out forwards;
}

.checkmark-check {
    stroke: var(--neon-green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkCheck 0.3s ease-out 0.6s forwards;
}

.modal-success-content h3 {
    font-family: var(--font-accent);
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-success-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatChip {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes checkmarkCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .estimator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-info .section-header {
        text-align: center;
    }

    .quote-benefits {
        align-items: center;
    }

    .quote-contact {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 0;
        transition: var(--transition-normal);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 24px;
    }

    .testimonial-card {
        padding: 0 16px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

/* Prefers Reduced Motion */
@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: auto;
    }
}