/* ===== CSS VARIABLES ===== */
:root {
    /* Universal Brand Gradient - combines all locations */
    --primary: #a855f7;
    --primary-dark: #9333ea;
    --primary-hover: #c084fc;
    --primary-glow: rgba(168, 85, 247, 0.4);
    
    /* Multi-location gradient for brand elements */
    --brand-gradient: linear-gradient(135deg, #f59e0b 0%, #ec4899 35%, #6366f1 65%, #06b6d4 100%);
    --brand-gradient-text: linear-gradient(90deg, #fbbf24, #f472b6, #818cf8, #22d3ee);
    --brand-gradient-hover: linear-gradient(135deg, #fbbf24 0%, #f472b6 35%, #818cf8 65%, #22d3ee 100%);
    
    /* Lounge - Warm Amber */
    --lounge: #f59e0b;
    --lounge-dark: #d97706;
    --lounge-light: #fbbf24;
    --lounge-glow: rgba(245, 158, 11, 0.4);
    
    /* One - Cool Indigo */
    --purple: #6366f1;
    --purple-dark: #4f46e5;
    --purple-light: #a5b4fc;
    --purple-glow: rgba(99, 102, 241, 0.4);
    
    /* Bike - Fresh Cyan */
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-light: #67e8f9;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    
    --secondary: #3b82f6;
    --background: #000000;
    --surface: #0a0a12;
    --surface-alt: #080810;
    --surface-hover: #12121a;
    --text: #ffffff;
    --text-secondary: #9ca3af;
    --border: #1e1e2e;
    --gradient-1: linear-gradient(135deg, #a855f7, #6366f1);
    --gradient-2: linear-gradient(135deg, #f59e0b, #6366f1, #06b6d4);
    --gradient-purple: linear-gradient(135deg, #6366f1, #4f46e5);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #0891b2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(168, 85, 247, 0.3);
    --glow-purple: 0 0 20px rgba(99, 102, 241, 0.3);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    
    /* Starry Background */
    --bg-starry: linear-gradient(135deg, #0a0a14 0%, #0d0d1a 25%, #080812 50%, #0a0a16 75%, #0d0d1a 100%);
    --bg-cosmic: radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                 radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
                 radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
}

/* ===== LOCATION COLOR THEMES ===== */
.theme-lounge {
    --theme-primary: #f59e0b;
    --theme-light: #fbbf24;
    --theme-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --theme-glow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.theme-one {
    --theme-primary: #6366f1;
    --theme-light: #818cf8;
    --theme-gradient: linear-gradient(135deg, #6366f1, #4f46e5);
    --theme-glow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.theme-bike {
    --theme-primary: #06b6d4;
    --theme-light: #22d3ee;
    --theme-gradient: linear-gradient(135deg, #06b6d4, #0891b2);
    --theme-glow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== LIGHTWEIGHT SCROLL REVEAL (AOS REPLACEMENT) ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: var(--brand-gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.white-text {
    color: var(--text);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--brand-gradient);
    background-size: 200% 200%;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: gradientShift 8s ease infinite;
    will-change: background-position, transform;
    backface-visibility: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    border: 2px solid transparent;
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                var(--brand-gradient) border-box;
    color: var(--text);
}

.btn-outline:hover {
    background: linear-gradient(var(--surface-hover), var(--surface-hover)) padding-box,
                var(--brand-gradient-hover) border-box;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--brand-gradient);
    z-index: 9999;
    transition: width 0.1s;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* ===== AI ASSISTANT WIDGET ===== */
.ai-assistant {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9998;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ai-launcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-gradient);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    border: none;
}

.ai-launcher-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
}

.ai-launcher-bubble {
    width: 28px;
    height: 28px;
    fill: rgba(255, 255, 255, 0.95);
}

.ai-launcher-star {
    position: absolute;
    right: 1px;
    top: -1px;
    width: 14px;
    height: 14px;
    fill: currentColor;
    color: hsl(45, 100%, 70%);
    animation: aiStarSpin 2.4s linear infinite, aiStarGlow 3s ease-in-out infinite;
    transform-origin: center;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes aiStarGlow {
    0% { color: hsl(45, 100%, 70%); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)); }
    50% { color: hsl(200, 100%, 70%); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
    100% { color: hsl(300, 100%, 75%); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)); }
}

@keyframes aiStarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-launcher-label {
    font-size: 0.95rem;
}

.ai-panel {
    position: absolute;
    right: 0;
    bottom: 3.75rem;
    width: min(360px, 92vw);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.25s ease;
    color-scheme: light;
}

.ai-panel.ai-panel-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ai-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.ai-title {
    font-weight: 700;
}

.ai-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.ai-close {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.ai-panel-body {
    max-height: 320px;
    overflow-y: auto;
    padding: 1rem 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-quick-btn {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-quick-btn:hover {
    background: var(--surface-hover);
}

.ai-form-wrapper {
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.75rem;
    background: var(--surface-alt);
}

.ai-form-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ai-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color-scheme: light;
}

.ai-form-fields {
    display: grid;
    gap: 0.6rem;
}

.ai-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.ai-form input,
.ai-form select,
.ai-form textarea {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
}

.ai-form input[type="date"],
.ai-form input[type="time"] {
    color-scheme: light;
    background: #ffffff;
    color: #111827;
    border-color: rgba(0, 0, 0, 0.2);
}

.ai-status {
    min-height: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.ai-message {
    display: flex;
}

.ai-message-assistant {
    justify-content: flex-start;
}

.ai-message-user {
    justify-content: flex-end;
}

.ai-bubble {
    max-width: 80%;
    padding: 0.65rem 0.9rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.4;
    background: var(--surface-hover);
    color: var(--text);
}

.ai-message-user .ai-bubble {
    background: var(--brand-gradient);
    color: #fff;
}

.ai-message.ai-typing .ai-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.ai-typing-dots {
    display: inline-flex;
    gap: 0.25rem;
}

.ai-typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.5;
    animation: aiTypingDot 1s ease-in-out infinite;
}

.ai-typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.ai-typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}


@keyframes aiTypingDot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-3px);
        opacity: 0.9;
    }
}

.ai-message {
    display: flex;
}

.ai-message-assistant {
    justify-content: flex-start;
}

.ai-message-user {
    justify-content: flex-end;
}

.ai-bubble {
    max-width: 80%;
    padding: 0.65rem 0.9rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.4;
    background: var(--surface-hover);
    color: var(--text);
}

.ai-message-user .ai-bubble {
    background: var(--brand-gradient);
    color: #fff;
}

.ai-send {
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

.ai-panel-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--border);
}

.ai-panel-input input {
    flex: 1;
    background: var(--surface-alt);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.6rem 0.75rem;
    min-height: 40px;
}

@media (max-width: 600px) {
    .ai-launcher-label {
        display: none;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    perspective: 500px;
}

/* ===== LOGO CAROUSEL - 3 Locations Rotating ===== */
.logo-carousel {
    position: relative;
    width: 112px;
    height: 112px;
    perspective: 500px;
    transform-style: preserve-3d;
}

.logo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: rotateY(90deg) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.logo-slide.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    z-index: 2;
}

.logo-slide.prev {
    opacity: 0;
    transform: rotateY(-90deg) scale(0.8);
}

.logo-slide.next {
    opacity: 0;
    transform: rotateY(90deg) scale(0.8);
}

/* Theme-based glow for each logo */
.logo-slide[data-theme="lounge"] .logo-image {
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5))
            drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
    width: 56px;
    height: 56px;
    margin: 28px auto;
}

.logo-slide[data-theme="one"] .logo-image {
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5))
            drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    width: 56px;
    height: 56px;
    margin: 28px auto;
}

.logo-slide[data-theme="bike"] .logo-image {
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5))
            drop-shadow(0 0 20px rgba(6, 182, 212, 0.3));
    width: 96px;
    height: 96px;
}

/* Active state enhanced glow */
.logo-slide.active[data-theme="lounge"] .logo-image {
    width: 56px;
    height: 56px;
    margin: 28px auto;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6))
            drop-shadow(0 0 25px rgba(245, 158, 11, 0.4));
    animation: logoFloatLounge 4s ease-in-out infinite;
}

.logo-slide.active[data-theme="one"] .logo-image {
    width: 56px;
    height: 56px;
    margin: 28px auto;
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6))
            drop-shadow(0 0 25px rgba(99, 102, 241, 0.4));
    animation: logoFloatOne 4s ease-in-out infinite;
}

.logo-slide.active[data-theme="bike"] .logo-image {
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6))
            drop-shadow(0 0 25px rgba(6, 182, 212, 0.4));
    animation: logoFloatBike 4s ease-in-out infinite;
    width: 96px;
    height: 96px;
}

/* Individual floating animations with theme colors */
@keyframes logoFloatLounge {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
        filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.4));
    }
    50% {
        transform: translateY(-4px) rotateY(5deg);
        filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.8)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.5));
    }
}

@keyframes logoFloatOne {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
        filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6)) drop-shadow(0 0 25px rgba(99, 102, 241, 0.4));
    }
    50% {
        transform: translateY(-4px) rotateY(-5deg);
        filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.8)) drop-shadow(0 0 35px rgba(99, 102, 241, 0.5));
    }
}

@keyframes logoFloatBike {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
        filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6)) drop-shadow(0 0 25px rgba(6, 182, 212, 0.4));
    }
    50% {
        transform: translateY(-4px) rotateY(5deg);
        filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.8)) drop-shadow(0 0 35px rgba(6, 182, 212, 0.5));
    }
}

.logo-image {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    object-fit: contain;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    background: transparent;
}

.logo-carousel:hover .logo-slide.active .logo-image {
    transform: scale(1.1) rotateY(10deg);
}

/* Logo floating animation */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-3px) rotateY(10deg);
    }
    50% {
        transform: translateY(0) rotateY(0deg);
    }
    75% {
        transform: translateY(-3px) rotateY(-10deg);
    }
}

/* Logo glow pulse */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)) 
                drop-shadow(0 0 15px rgba(99, 102, 241, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5)) 
                drop-shadow(0 0 25px rgba(6, 182, 212, 0.3));
    }
}

/* Logo spin on hover */
@keyframes logoSpin {
    0% {
        transform: rotateY(0deg) scale(1);
    }
    50% {
        transform: rotateY(180deg) scale(1.1);
    }
    100% {
        transform: rotateY(360deg) scale(1);
    }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--brand-gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

/* ===== LOGO FLIPBOARD - Realistic Airport Split-Flap Display ===== */
.logo-flipboard {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Individual split-flap unit */
.split-flap {
    position: relative;
    width: auto;
    min-width: 55px;
    height: 28px;
    padding: 0 6px;
    perspective: 300px;
    background: linear-gradient(180deg, #0d0d18 0%, #08080f 100%);
    border-radius: 4px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.5),
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: visible;
}

/* Outer frame glow effect */
.split-flap:hover {
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.5),
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 0 0 1px rgba(168, 85, 247, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 15px rgba(168, 85, 247, 0.15);
}

/* Static flaps - top and bottom halves */
.flap-top, .flap-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.flap-top {
    top: 0;
    background: linear-gradient(180deg, 
        #22223a 0%, 
        #1a1a30 40%, 
        #16162a 100%
    );
    border-radius: 3px 3px 0 0;
    border-bottom: none;
    align-items: flex-end;
    padding-bottom: 0;
    /* Top shine effect */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.flap-top span {
    transform: translateY(50%);
    color: #22d3ee;
    text-shadow: 
        0 0 8px rgba(34, 211, 238, 0.6),
        0 1px 0 rgba(0,0,0,0.5);
    font-weight: 800;
}

.flap-bottom {
    bottom: 0;
    background: linear-gradient(180deg, 
        #12121f 0%, 
        #0e0e1a 60%, 
        #0a0a14 100%
    );
    border-radius: 0 0 3px 3px;
    border-top: none;
    align-items: flex-start;
    padding-top: 0;
}

.flap-bottom span {
    transform: translateY(-50%);
    color: #22d3ee;
    text-shadow: 
        0 0 8px rgba(34, 211, 238, 0.6),
        0 -1px 0 rgba(255,255,255,0.05);
    font-weight: 800;
}

/* Animated falling flap (top half falls forward) */
.flap-falling {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        #22223a 0%, 
        #1a1a30 40%, 
        #16162a 100%
    );
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform-origin: bottom center;
    transform: rotateX(0deg);
    backface-visibility: hidden;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.flap-falling span {
    transform: translateY(50%);
    color: #22d3ee;
    text-shadow: 
        0 0 8px rgba(34, 211, 238, 0.6),
        0 1px 0 rgba(0,0,0,0.5);
    font-weight: 800;
}

/* Animated rising flap (bottom half rises from behind) */
.flap-rising {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        #12121f 0%, 
        #0e0e1a 60%, 
        #0a0a14 100%
    );
    border-radius: 0 0 3px 3px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform-origin: top center;
    transform: rotateX(90deg);
    backface-visibility: hidden;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
}

.flap-rising span {
    transform: translateY(-50%);
    color: #22d3ee;
    text-shadow: 
        0 0 8px rgba(34, 211, 238, 0.6),
        0 -1px 0 rgba(255,255,255,0.05);
    font-weight: 800;
}

/* Center divider line */
.split-flap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0,0,0,0.8) 10%, 
        rgba(0,0,0,0.9) 50%, 
        rgba(0,0,0,0.8) 90%, 
        transparent 100%
    );
    z-index: 10;
    transform: translateY(-50%);
}

/* Highlight line below center */
.split-flap::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    top: calc(50% + 1px);
    height: 1px;
    background: rgba(255,255,255,0.04);
    z-index: 10;
}

/* Animation: Top flap falls */
.split-flap.flipping .flap-falling {
    opacity: 1;
    animation: flapFall 0.18s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flapFall {
    0% {
        transform: rotateX(0deg);
        box-shadow: 
            0 0 0 rgba(0,0,0,0),
            inset 0 -5px 10px rgba(255,255,255,0.05);
        filter: brightness(1);
    }
    30% {
        box-shadow: 
            0 3px 6px rgba(0,0,0,0.4),
            inset 0 -8px 15px rgba(0,0,0,0.2);
        filter: brightness(0.9);
    }
    70% {
        box-shadow: 
            0 6px 12px rgba(0,0,0,0.5),
            inset 0 -10px 20px rgba(0,0,0,0.4);
        filter: brightness(0.7);
    }
    100% {
        transform: rotateX(-90deg);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(0.5);
    }
}

/* Animation: Bottom flap rises */
.split-flap.flipping-in .flap-rising {
    opacity: 1;
    animation: flapRise 0.18s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flapRise {
    0% {
        transform: rotateX(90deg);
        box-shadow: 
            0 -4px 8px rgba(0,0,0,0.5),
            inset 0 8px 15px rgba(0,0,0,0.4);
        filter: brightness(0.5);
    }
    30% {
        box-shadow: 
            0 -3px 6px rgba(0,0,0,0.4),
            inset 0 5px 10px rgba(0,0,0,0.2);
        filter: brightness(0.7);
    }
    70% {
        box-shadow: 
            0 -1px 3px rgba(0,0,0,0.2),
            inset 0 2px 5px rgba(0,0,0,0.1);
        filter: brightness(0.9);
    }
    100% {
        transform: rotateX(0deg);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(1);
    }
}

/* Mechanical click effect - more pronounced */
.split-flap.clicking {
    animation: mechanicalClick 0.08s cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes mechanicalClick {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(1px) scale(0.98); }
    100% { transform: translateY(0) scale(1); }
}

/* Color variations for different words */
.split-flap:nth-child(1) .flap-top span,
.split-flap:nth-child(1) .flap-bottom span,
.split-flap:nth-child(1) .flap-falling span,
.split-flap:nth-child(1) .flap-rising span {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.split-flap:nth-child(3) .flap-top span,
.split-flap:nth-child(3) .flap-bottom span,
.split-flap:nth-child(3) .flap-falling span,
.split-flap:nth-child(3) .flap-rising span {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.6);
}

.split-flap:nth-child(5) .flap-top span,
.split-flap:nth-child(5) .flap-bottom span,
.split-flap:nth-child(5) .flap-falling span,
.split-flap:nth-child(5) .flap-rising span {
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

/* Dot separator */
.flipboard-dot {
    color: var(--primary);
    font-size: 0.7rem;
    text-shadow: 0 0 8px var(--primary-glow);
    animation: dotPulse 2s ease-in-out infinite;
    line-height: 1;
    padding: 0 0.15rem;
}

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

/* Remove old flipboard-word styles */
.flipboard-word {
    display: none;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    min-width: 200px;
    display: none;
    box-shadow: var(--shadow);
}

.lang-menu.active {
    display: block;
}

.lang-option {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-option:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
}

/* Mobile Toggle - Modern Flipboard Style */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 101;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 50%, #1a1a2e 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 2px 8px rgba(0,0,0,0.4),
        0 0 15px rgba(168, 85, 247, 0.1);
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.mobile-toggle:hover {
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 15px rgba(0,0,0,0.5),
        0 0 25px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #a78bfa, #22d3ee);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.mobile-toggle.active {
    background: linear-gradient(180deg, #1f1a2e 0%, #150f1a 50%, #1f1a2e 100%);
    border-color: var(--primary);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 20px rgba(168, 85, 247, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
}

.mobile-toggle.active span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--primary);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
}

/* Mobile Nav Close Button - removed, burger acts as close */
.mobile-nav-close {
    display: none;
}

/* Mobile Menu Extras - hidden on desktop */
.mobile-menu-extras {
    display: none;
}

/* Nav Link with icon (Policy) - icon only, tooltip on hover */
.nav-link-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
}

.nav-link-policy svg {
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.nav-link-policy span {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 25, 0.95);
    color: var(--text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 100;
}

.nav-link-policy span::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(15, 15, 25, 0.95);
}

.nav-link-policy:hover {
    background: rgba(168, 85, 247, 0.15);
    color: var(--text);
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

.nav-link-policy:hover svg {
    opacity: 1;
    color: var(--primary);
}

.nav-link-policy:hover span {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
    -webkit-text-fill-color: initial;
}

/* Mobile Language Dropdown */
.mobile-lang-dropdown {
    position: relative;
    margin-bottom: 16px;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-lang-toggle:hover {
    border-color: var(--primary);
}

.mobile-lang-current {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-lang-arrow {
    transition: transform 0.3s;
}

.mobile-lang-dropdown.open .mobile-lang-arrow {
    transform: rotate(180deg);
}

.mobile-lang-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-lang-dropdown.open .mobile-lang-menu {
    display: block;
    animation: slideUpFade 0.2s ease-out;
}

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

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-lang-option:last-child {
    border-bottom: none;
}

.mobile-lang-option:hover,
.mobile-lang-option.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
}

.mobile-lang-option span {
    font-size: 1.25rem;
}

/* Mobile Book Button */
.mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 0.75rem;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.3s;
}

.mobile-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.mobile-book-btn svg {
    stroke: #000;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #111 100%);
}

/* SVG Background Animation */
.hero-svg-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-svg-bg svg {
    width: 100%;
    height: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: url('https://images.unsplash.com/photo-1538481199705-c710c4e965fc?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
}

/* ===== MOSAIC PHOTO TILES ===== */
.hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    /* Match SVG grid exactly: 480px columns, 270px rows in 1920x1080 */
    /* That's 25% each */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    z-index: 1;
    pointer-events: none;
}

.mosaic-tile {
    position: relative;
    grid-row: calc(var(--tile-row) + 1);
    grid-column: calc(var(--tile-col) + 1);
    perspective: 1000px;
    overflow: hidden;
}

.tile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-out;
}

/* Flip IN animation - from front to back */
@keyframes tileFlipIn {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(180deg);
    }
}

/* Flip OUT animation - from back to front */
@keyframes tileFlipOut {
    0% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* Alternative X-axis flip */
@keyframes tileFlipInX {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(180deg);
    }
}

@keyframes tileFlipOutX {
    0% {
        transform: rotateX(180deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

/* Diagonal flip */
@keyframes tileFlipInDiagonal {
    0% {
        transform: rotate3d(1, 1, 0, 0deg);
    }
    100% {
        transform: rotate3d(1, 1, 0, 180deg);
    }
}

@keyframes tileFlipOutDiagonal {
    0% {
        transform: rotate3d(1, 1, 0, 180deg);
    }
    100% {
        transform: rotate3d(1, 1, 0, 0deg);
    }
}

.tile-front,
.tile-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
}

.tile-front {
    background: transparent;
}

.tile-back {
    transform: rotateY(180deg);
    overflow: hidden;
    /* Accent border from location color */
    border: 3px solid var(--accent-color, transparent);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.3),
        0 0 20px color-mix(in srgb, var(--accent-color, #f59e0b) 50%, transparent);
    border-radius: 4px;
}

.tile-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle glow on tiles when flipped */
.tile-back::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #f59e0b, #3b82f6);
    z-index: -1;
    opacity: 0;
    animation: tileGlow 12s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: blur(8px);
}

@keyframes tileGlow {
    0%, 45% {
        opacity: 0;
    }
    50%, 85% {
        opacity: 0.5;
    }
    90%, 100% {
        opacity: 0;
    }
}

/* Mobile - fewer tiles, simpler layout */
@media (max-width: 768px) {
    .hero-mosaic {
        grid-template-columns: 50% 50%;
        grid-template-rows: 50% 50%;
    }
    
    .mosaic-tile:nth-child(n+5) {
        display: none;
    }
    
    .mosaic-tile {
        grid-row: auto !important;
        grid-column: auto !important;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, transparent 30%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.7));
    z-index: 2;
}

/* Glowing orb effect */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--brand-gradient);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    animation: fadeInDown 0.8s ease-out, gradientShift 8s ease infinite;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Flipper Animation - Split-flap display style */
.hero-brand {
    display: inline-block;
}

.hero-flipper {
    display: inline-block;
    position: relative;
    min-width: 220px;
    text-align: left;
}

.flip-word {
    display: none;
    white-space: nowrap;
}

/* Color themes for each location - MUST be before background-clip */
.flip-word:nth-child(1) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.flip-word:nth-child(2) {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.flip-word:nth-child(3) {
    background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 50%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.flip-word.active {
    display: inline-block;
    animation: flipIn 0.5s ease-out;
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Description Carousel */
.hero-description-wrapper {
    position: relative;
    min-height: 80px;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-description-wrapper .hero-desc-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    margin: 0 !important;
    pointer-events: none;
    text-align: center;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.5;
}

.hero-description-wrapper .hero-desc-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Color-coded descriptions - Lounge Orange, One Deep Purple, Bike Cyan */
#heroDesc0 {
    color: #fbbf24;
}

#heroDesc1 {
    color: #818cf8;
}

#heroDesc2 {
    color: #22d3ee;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate3d(-50%, 0, 0); }
    50% { transform: translate3d(-50%, 10px, 0); }
}

/* ===== FEATURES MARQUEE ===== */
.features-marquee {
    background: var(--brand-gradient);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout style;
    position: relative;
    z-index: 6;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
    z-index: 5;
}

/* Ensure cursor stays between section background and content */
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section .container {
    position: relative;
    z-index: 6;
}

/* Subtle gradient line separator between sections */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(245, 158, 11, 0.3) 20%, 
        rgba(99, 102, 241, 0.4) 50%, 
        rgba(6, 182, 212, 0.3) 80%, 
        transparent 100%);
    z-index: 20;
}

/* ===== SECTION DECORATIONS ===== */

/* Corner Accents - Cyberpunk style corners */
.section-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-corner::before,
.section-corner::after {
    content: '';
    position: absolute;
    transition: all 0.4s ease;
}

/* Default corner style - Orange/Amber */
.section-corner::before {
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}
.section-corner::after {
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}

.section-corner-tl {
    top: 0;
    left: 0;
}
.section-corner-tl::before {
    width: 60px;
    height: 2px;
    top: 0;
    left: 0;
}
.section-corner-tl::after {
    width: 2px;
    height: 60px;
    top: 0;
    left: 0;
}

.section-corner-tr {
    top: 0;
    right: 0;
}
.section-corner-tr::before {
    width: 60px;
    height: 2px;
    top: 0;
    right: 0;
    background: linear-gradient(270deg, var(--primary) 0%, transparent 100%);
}
.section-corner-tr::after {
    width: 2px;
    height: 60px;
    top: 0;
    right: 0;
}

.section-corner-bl {
    bottom: 0;
    left: 0;
}
.section-corner-bl::before {
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
}
.section-corner-bl::after {
    width: 2px;
    height: 60px;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, var(--primary) 0%, transparent 100%);
}

.section-corner-br {
    bottom: 0;
    right: 0;
}
.section-corner-br::before {
    width: 60px;
    height: 2px;
    bottom: 0;
    right: 0;
    background: linear-gradient(270deg, var(--primary) 0%, transparent 100%);
}
.section-corner-br::after {
    width: 2px;
    height: 60px;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, var(--primary) 0%, transparent 100%);
}

/* Section-specific corner colors */
/* Events - Indigo/Purple */
.section-events .section-corner::before {
    background: linear-gradient(90deg, #6366f1 0%, transparent 100%);
}
.section-events .section-corner::after {
    background: linear-gradient(180deg, #6366f1 0%, transparent 100%);
}
.section-events .section-corner-tr::before,
.section-events .section-corner-br::before {
    background: linear-gradient(270deg, #6366f1 0%, transparent 100%);
}
.section-events .section-corner-bl::after,
.section-events .section-corner-br::after {
    background: linear-gradient(0deg, #6366f1 0%, transparent 100%);
}

/* Games - Cyan */
.section-games .section-corner::before {
    background: linear-gradient(90deg, #06b6d4 0%, transparent 100%);
}
.section-games .section-corner::after {
    background: linear-gradient(180deg, #06b6d4 0%, transparent 100%);
}
.section-games .section-corner-tr::before,
.section-games .section-corner-br::before {
    background: linear-gradient(270deg, #06b6d4 0%, transparent 100%);
}
.section-games .section-corner-bl::after,
.section-games .section-corner-br::after {
    background: linear-gradient(0deg, #06b6d4 0%, transparent 100%);
}

/* Food - Warm Orange */
.section-food .section-corner::before {
    background: linear-gradient(90deg, #f59e0b 0%, transparent 100%);
}
.section-food .section-corner::after {
    background: linear-gradient(180deg, #f59e0b 0%, transparent 100%);
}

/* Pricing - Mixed gradient */
.section-pricing .section-corner-tl::before,
.section-pricing .section-corner-tl::after {
    background: linear-gradient(135deg, #f59e0b 0%, transparent 100%);
}
.section-pricing .section-corner-tr::before {
    background: linear-gradient(225deg, #6366f1 0%, transparent 100%);
}
.section-pricing .section-corner-tr::after {
    background: linear-gradient(180deg, #6366f1 0%, transparent 100%);
}
.section-pricing .section-corner-bl::before {
    background: linear-gradient(45deg, #06b6d4 0%, transparent 100%);
}
.section-pricing .section-corner-bl::after {
    background: linear-gradient(0deg, #06b6d4 0%, transparent 100%);
}
.section-pricing .section-corner-br::before {
    background: linear-gradient(315deg, #f59e0b 0%, transparent 100%);
}
.section-pricing .section-corner-br::after {
    background: linear-gradient(0deg, #f59e0b 0%, transparent 100%);
}

/* Contact - Cyan dominant */
.section-contact .section-corner::before {
    background: linear-gradient(90deg, #06b6d4 0%, transparent 100%);
}
.section-contact .section-corner::after {
    background: linear-gradient(180deg, #06b6d4 0%, transparent 100%);
}
.section-contact .section-corner-tr::before,
.section-contact .section-corner-br::before {
    background: linear-gradient(270deg, #06b6d4 0%, transparent 100%);
}
.section-contact .section-corner-bl::after,
.section-contact .section-corner-br::after {
    background: linear-gradient(0deg, #06b6d4 0%, transparent 100%);
}

/* Floating Section Accents - GPU accelerated */
.section-accent {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.2;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
    transform: translateZ(0);
    contain: layout style;
}

.section-accent svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px currentColor);
}

/* Section hover increases accent visibility */
.section:hover .section-accent {
    opacity: 0.35;
}

/* Locations - Pin icons - Orange */
.section-accent-locations {
    width: 48px;
    height: 48px;
    top: 15%;
    right: 8%;
    color: #f59e0b;
    animation: float-slow 8s ease-in-out infinite;
}

/* Events - Trophy and Star - Indigo */
.section-accent-events {
    width: 56px;
    height: 56px;
    top: 12%;
    left: 5%;
    color: #6366f1;
    animation: float-slow 10s ease-in-out infinite;
}

/* Club King - Crown - Gold */
.section-accent-leader {
    width: 48px;
    height: 48px;
    top: 12%;
    right: 6%;
    color: #f59e0b;
    animation: float-slow 9s ease-in-out infinite;
}

.section-accent-events-2 {
    width: 32px;
    height: 32px;
    bottom: 20%;
    right: 6%;
    color: #818cf8;
    animation: float-slow 7s ease-in-out infinite reverse;
    opacity: 0.25;
}

/* Games - Controller and Pixels - Cyan */
.section-accent-games {
    width: 64px;
    height: 64px;
    top: 10%;
    right: 5%;
    color: #06b6d4;
    animation: float-slow 9s ease-in-out infinite;
}

.section-accent-games-2 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    left: 8%;
    color: #22d3ee;
    animation: float-slow 6s ease-in-out infinite reverse;
    opacity: 0.15;
}

/* Food - Coffee and Star - Orange */
.section-accent-food {
    width: 52px;
    height: 52px;
    top: 15%;
    left: 6%;
    color: #f59e0b;
    animation: float-slow 8s ease-in-out infinite;
}

.section-accent-food-2 {
    width: 28px;
    height: 28px;
    bottom: 25%;
    right: 5%;
    color: #fbbf24;
    animation: float-slow 7s ease-in-out infinite reverse;
    opacity: 0.18;
}

/* Pricing - Tag and Coin - Orange */
.section-accent-pricing {
    width: 48px;
    height: 48px;
    top: 12%;
    right: 6%;
    color: #f59e0b;
    animation: float-slow 9s ease-in-out infinite;
}

.section-accent-pricing-2 {
    width: 36px;
    height: 36px;
    bottom: 18%;
    left: 5%;
    color: #6366f1;
    animation: float-slow 7s ease-in-out infinite reverse;
    opacity: 0.25;
}

/* Contact - Message icons - Cyan */
.section-accent-contact {
    width: 52px;
    height: 52px;
    top: 10%;
    left: 5%;
    color: #06b6d4;
    animation: float-slow 8s ease-in-out infinite;
}

.section-accent-contact-2 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    right: 6%;
    color: #22d3ee;
    animation: float-slow 9s ease-in-out infinite reverse;
    opacity: 0.2;
}

/* Float animation - GPU optimized */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) rotate(0deg) translateZ(0);
    }
    25% {
        transform: translateY(-15px) rotate(2deg) translateZ(0);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg) translateZ(0);
    }
    75% {
        transform: translateY(-20px) rotate(1deg) translateZ(0);
    }
}

/* Glow pulse for corners on hover */
.section:hover .section-corner {
    opacity: 0.6;
    transform: scale(1.05);
}

.section:hover .section-corner::before,
.section:hover .section-corner::after {
    box-shadow: 0 0 20px currentColor;
}

/* Section-specific hover glow colors */
.section-locations:hover .section-corner::before,
.section-locations:hover .section-corner::after {
    box-shadow: 0 0 20px #f59e0b;
}

.section-events:hover .section-corner::before,
.section-events:hover .section-corner::after {
    box-shadow: 0 0 20px #6366f1;
}

.section-games:hover .section-corner::before,
.section-games:hover .section-corner::after {
    box-shadow: 0 0 20px #06b6d4;
}

.section-food:hover .section-corner::before,
.section-food:hover .section-corner::after {
    box-shadow: 0 0 20px #f59e0b;
}

.section-pricing:hover .section-corner::before,
.section-pricing:hover .section-corner::after {
    box-shadow: 0 0 15px var(--primary);
}

.section-contact:hover .section-corner::before,
.section-contact:hover .section-corner::after {
    box-shadow: 0 0 20px #06b6d4;
}

/* Responsive: hide decorations on mobile */
@media (max-width: 768px) {
    .section-corner {
        width: 40px;
        height: 40px;
        opacity: 0.2;
    }
    
    .section-corner::before {
        width: 30px !important;
    }
    
    .section-corner::after {
        height: 30px !important;
    }
    
    .section-accent {
        display: none;
    }
}

/* Section content needs higher z-index */
.section .container {
    position: relative;
    z-index: 6;
}

/* ===== STARRY BACKGROUND SECTIONS ===== */
.section-starry {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-starry::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-starry), var(--bg-cosmic);
    z-index: 0;
    pointer-events: none;
}

/* Stars effect - Multiple layers for depth */
.section-starry::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        /* Large bright stars */
        radial-gradient(2px 2px at 10% 15%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 25%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(2.5px 2.5px at 45% 8%, rgba(245,158,11,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 92%, rgba(99,102,241,0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 85%, rgba(6,182,212,0.5) 0%, transparent 100%),
        /* Medium stars */
        radial-gradient(1.5px 1.5px at 30% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 55% 65%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 45%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 25% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 92% 70%, rgba(255,255,255,0.45) 0%, transparent 100%),
        /* Small distant stars */
        radial-gradient(1px 1px at 5% 30%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 50%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 55%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 95%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 88%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 8% 65%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 62% 78%, rgba(255,255,255,0.2) 0%, transparent 100%),
        /* Colored accent stars */
        radial-gradient(1.5px 1.5px at 12% 42%, rgba(245,158,11,0.35) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 88% 58%, rgba(99,102,241,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 42% 82%, rgba(6,182,212,0.35) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: twinkle 8s ease-in-out infinite;
}

/* Starfield canvas should stay on the same layer as cursor rays */
canvas[data-starfield="true"] {
    z-index: 0 !important;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: translateZ(0); }
    33% { opacity: 0.85; transform: translateZ(0); }
    66% { opacity: 0.95; transform: translateZ(0); }
}

/* Decorative Lines SVG */
.section-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.section-lines svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.section-lines .line-accent {
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
    opacity: 0.15;
    stroke-dasharray: 8 12;
    animation: lineDash 20s linear infinite;
}

@keyframes lineDash {
    to { stroke-dashoffset: -200; }
}

.section-dark {
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--brand-gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.section-note {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.9;
}

/* ===== LOCATIONS ===== */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}
.location-card {
    background: linear-gradient(145deg, var(--surface), var(--background));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    will-change: transform;
    contain: layout style paint;
}

.location-card:hover {
    transform: translateY(-12px) translateZ(0) scale(1);
}

/* Themed location cards */
.location-card.theme-lounge {
    border-left: 3px solid transparent;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a0f 100%);
}
.location-card.theme-lounge:hover {
    border-color: #f59e0b;
    border-left-color: #f59e0b;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(245, 158, 11, 0.15),
        inset 0 0 60px rgba(245, 158, 11, 0.03);
}

.location-card.theme-one {
    border-left: 3px solid transparent;
    background: linear-gradient(135deg, #0f0f0f 0%, #0f0f1a 100%);
}
.location-card.theme-one:hover {
    border-color: #6366f1;
    border-left-color: #6366f1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.15),
        inset 0 0 60px rgba(99, 102, 241, 0.03);
}

.location-card.theme-bike {
    border-left: 3px solid transparent;
    background: linear-gradient(135deg, #0f0f0f 0%, #0f1a1a 100%);
}
.location-card.theme-bike:hover {
    border-color: #06b6d4;
    border-left-color: #06b6d4;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(6, 182, 212, 0.15),
        inset 0 0 60px rgba(6, 182, 212, 0.03);
}

/* Location title colors with text shadows */
.location-card.theme-lounge .location-title { 
    color: #fbbf24; 
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}
.location-card.theme-one .location-title { 
    color: #a5b4fc; 
    text-shadow: 0 0 30px rgba(165, 180, 252, 0.3);
}
.location-card.theme-bike .location-title { 
    color: #67e8f9; 
    text-shadow: 0 0 30px rgba(103, 232, 249, 0.3);
}

/* Location subtitle colors */
.location-card.theme-lounge .location-subtitle { 
    color: #d97706;
    font-weight: 500;
}
.location-card.theme-one .location-subtitle { 
    color: #6366f1;
    font-weight: 500;
}
.location-card.theme-bike .location-subtitle { 
    color: #0891b2;
    font-weight: 500;
}

.location-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

/* Squid Game emblem overlay (PitStop One card) */
.squid-emblem {
    position: absolute;
    left: 50%;
    top: calc(50% - 88px);
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.6));
    overflow: hidden;
}

.squid-emblem .squid-shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    opacity: 0.95;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.6),
        0 0 24px rgba(139, 92, 246, 0.45);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
}

.squid-emblem .squid-triangle {
    width: 38px;
    height: 38px;
    border: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 86' fill='none' stroke='%2322c55e' stroke-width='7' stroke-linejoin='round'><path d='M50 4 L96 82 L4 82 Z'/></svg>") no-repeat center/100% 100%;
    clip-path: none;
    box-shadow: none;
    filter:
        drop-shadow(0 0 6px rgba(34, 197, 94, 0.7))
        drop-shadow(0 0 14px rgba(34, 197, 94, 0.45));
    position: absolute;
    border-radius: 2px;
    --sx: 0px;
    --sy: 0px;
    z-index: 2;
}

.squid-emblem .squid-triangle::before {
    content: none;
}

.squid-emblem .squid-circle {
    border-radius: 50%;
    --sx: 0px;
    --sy: 0px;
    border-color: rgba(239, 68, 68, 0.95);
    box-shadow:
        0 0 12px rgba(239, 68, 68, 0.7),
        0 0 24px rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.08);
}

.squid-emblem .squid-square {
    border-radius: 6px;
    --sx: 0px;
    --sy: 0px;
    border-color: rgba(167, 139, 250, 0.95);
    box-shadow:
        0 0 12px rgba(167, 139, 250, 0.7),
        0 0 24px rgba(167, 139, 250, 0.45);
    background: rgba(167, 139, 250, 0.08);
}

.squid-emblem .squid-cross {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    box-shadow: none;
    --sx: 0px;
    --sy: 0px;
}

.squid-emblem .squid-cross::before,
.squid-emblem .squid-cross::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 5px;
    background: rgba(245, 158, 11, 0.95);
    box-shadow:
        0 0 12px rgba(245, 158, 11, 0.7),
        0 0 24px rgba(245, 158, 11, 0.45);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
}

.squid-emblem .squid-cross::after {
    width: 26px;
    height: 5px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.squid-emblem .squid-shape.reel-spin {
    filter: blur(0.6px);
}
}

@media (max-width: 768px) {
    .squid-emblem {
        width: 96px;
        height: 96px;
    }

    .squid-emblem .squid-shape {
        width: 26px;
        height: 26px;
    }

    .squid-emblem .squid-triangle {
        width: 32px;
        height: 32px;
    }
}

.location-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--surface), transparent);
    pointer-events: none;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.theme-bike .location-image img {
    object-fit: contain;
    transform: scale(0.9);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-card.theme-bike:hover .location-image img {
    transform: scale(0.98);
}

.location-content {
    padding: 1.5rem;
}

.location-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.location-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.location-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.location-info-item .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-info-item .info-icon svg {
    width: 18px;
    height: 18px;
}

.location-info-item .info-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-info-item.highlight {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.location-card.theme-lounge .location-info-item .info-link:hover { color: #fbbf24; }
.location-card.theme-one .location-info-item .info-link:hover { color: #a5b4fc; }
.location-card.theme-bike .location-info-item .info-link:hover { color: #67e8f9; }

/* Specs Box */
.specs-box {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 3px solid;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.45),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.specs-box > * {
    position: relative;
    z-index: 2;
}

.specs-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--specs-bg-image);
    background-size: var(--specs-bg-size, cover);
    background-repeat: var(--specs-bg-repeat, no-repeat);
    background-position: var(--specs-bg-position, center);
    opacity: var(--specs-bg-opacity, 0.35);
    filter: saturate(1.1) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

.specs-box::after {
    content: '';
    position: absolute;
    inset: -40% -10%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08), transparent 55%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 55%);
    mix-blend-mode: screen;
    animation: priceBoxGlow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Themed pricing box backgrounds by location */
.location-card.theme-lounge .specs-box {
    background-color: rgba(2, 6, 23, 0.65);
    background-image: linear-gradient(135deg, rgba(2, 6, 23, 0.45) 0%, rgba(15, 23, 42, 0.35) 40%, rgba(2, 6, 23, 0.45) 100%);
    --specs-bg-image: url('../images/computer-zone.jpg');
    --specs-bg-opacity: 0.35;
}

.location-card.theme-one .specs-box {
    background-color: rgba(2, 6, 23, 0.85);
    background-image:
        linear-gradient(135deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.6) 45%, rgba(2, 6, 23, 0.85) 100%);
    --specs-bg-image: url('../images/!!.jpg');
    --specs-bg-opacity: 0.22;
    --specs-bg-position: center;
    --specs-bg-size: cover;
    min-height: 220px;
}

.pricing-label-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.35), rgba(59, 130, 246, 0.25));
    border: 1px solid rgba(129, 140, 248, 0.65);
    color: #eef2ff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: pricingLabelPulse 3.2s ease-in-out infinite;
}

.pricing-label-hero:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 18px rgba(129, 140, 248, 0.65);
    border-color: rgba(165, 180, 252, 0.9);
}

@keyframes pricingLabelPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 18px rgba(129, 140, 248, 0.6);
        filter: brightness(1.1);
    }
}

/* Joy Rain for Pit Stop One */
.specs-box.has-joy-rain::after {
    z-index: 0;
    opacity: 0.55;
}

.specs-box.has-joy-rain .joy-rain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.joy-rain__fall {
    position: absolute;
    inset: 0;
}

.joy-rain__drop {
    position: absolute;
    width: var(--joy-size);
    height: var(--joy-size);
    transform-origin: center;
    animation: joy-fall var(--joy-duration) linear forwards;
    opacity: 0.9;
}

.joy-rain__drop svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.45));
}

.joy-rain--color-1 { color: #e2e8f0; }
.joy-rain--color-2 { color: #a5b4fc; }
.joy-rain--color-3 { color: #38bdf8; }
.joy-rain--color-4 { color: #f472b6; }
.joy-rain--color-5 { color: #fbbf24; }
.joy-rain--color-6 { color: #22d3ee; }
.joy-rain--color-7 { color: #f97316; }
.joy-rain--color-8 { color: #34d399; }
.joy-rain--color-9 { color: #60a5fa; }
.joy-rain--color-10 { color: #a78bfa; }
.joy-rain--color-11 { color: #f43f5e; }
.joy-rain--color-12 { color: #facc15; }

@keyframes joy-fall {
    0% {
        transform: translate3d(var(--joy-x), -26px, 0) rotate(var(--joy-rotate));
        opacity: 0;
    }
    12% {
        opacity: 0.95;
    }
    100% {
        transform: translate3d(calc(var(--joy-x) + var(--joy-drift)), var(--joy-fall), 0) rotate(calc(var(--joy-rotate) + 50deg));
        opacity: 0.95;
    }
}


.location-card.theme-bike .specs-box {
    background-color: rgba(2, 6, 23, 0.65);
    background-image: linear-gradient(135deg, rgba(2, 6, 23, 0.45) 0%, rgba(15, 23, 42, 0.35) 40%, rgba(2, 6, 23, 0.45) 100%);
    --specs-bg-image: url('../images/ENGWE-M20-48V26A.jpg');
    --specs-bg-opacity: 0.7;
    --specs-bg-position: center top;
    --specs-bg-size: cover;
    --specs-bg-repeat: no-repeat;
}

/* Bike pricing labels contrast */
.location-card.theme-bike .specs-box .pricing-items span {
    color: #22d3ee !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.location-card.theme-bike .specs-box .pricing-items > div:first-child,
.location-card.theme-bike .specs-box .pricing-items > div:last-child {
    color: #22d3ee !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    font-weight: 700;
}

.location-card.theme-bike .specs-box .pricing-items > div {
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: 0.5rem;
    padding: 0.5rem 0.7rem;
}

.specs-title {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

.location-card.theme-bike .specs-title {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #cffafe;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.specs-title-bike-road {
    position: relative;
    overflow: visible;
    padding-right: 0.9rem;
    gap: 0.35rem;
    width: 100%;
    justify-content: flex-end;
}

.specs-title-bike-road::before {
    content: '';
    position: absolute;
    inset: 0.15rem 0.35rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.65) 0%, rgba(2, 6, 23, 0.9) 100%);
    opacity: 0.45;
    animation: bike-road-scroll 3.2s linear infinite;
    z-index: 0;
}

.specs-title-bike-road::after {
    content: '';
    position: absolute;
    inset: 0.2rem 0.35rem;
    border-radius: 999px;
    background: transparent;
    opacity: 0.35;
    z-index: 1;
}

.specs-title-bike-road .bike-road-track {
    position: absolute;
    inset: 0.2rem 0.35rem;
    border-radius: 999px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.specs-title-bike-road .bike-road-track-inner {
    display: inline-flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: bike-road-track 14s linear infinite;
}

.specs-title-bike-road .bike-road-seq {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.specs-title-bike-road .bike-road-item {
    flex: 0 0 auto;
    height: 120%;
    width: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.65;
    filter: saturate(1.05) contrast(1.05);
}

.specs-title-bike-road .bike-road-item--a {
    background-image: url('../images/!44.webp');
}

.specs-title-bike-road .bike-road-item--b {
    background-image: url('../images/!456.webp');
}

.specs-title-bike-road .bike-road-item--c {
    background-image: url('../images/!345.webp');
    width: 170px;
    height: 130%;
}

.specs-title-bike-road .bike-road-item--d {
    background-image: url('../images/!234.webp');
    width: 190px;
    height: 140%;
    background-position: center 65%;
}

.specs-title-bike-road .specs-title-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    justify-content: flex-end;
}

.specs-title-bike-road .specs-title-text {
    display: none;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.1;
    white-space: nowrap;
}

.specs-title-bike-road .bike-rider {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0.15rem;
    align-self: flex-end;
    margin-top: 0.35rem;
}

.specs-title-bike-road .bike-rider-group {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    margin-left: auto;
}

.specs-title-bike-road .bike-flag {
    position: absolute;
    right: calc(100% - 0.1rem);
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0.3rem;
    pointer-events: none;
    --flag-length: clamp(90px, 18vw, 140px);
}

.specs-title-bike-road .bike-flag::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 48%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ecfeff;
    box-shadow: 0 0 6px rgba(6, 182, 212, 0.65);
    transform: translate(50%, -50%);
}

.specs-title-bike-road .bike-flag-rope {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(236, 254, 255, 0.9));
    box-shadow: 0 0 6px rgba(6, 182, 212, 0.45);
    animation: bike-flag-rope 2.6s ease-in-out infinite;
    animation-delay: -0.5s;
    transform-origin: right center;
    position: relative;
    z-index: 3;
    margin-left: -2px;
}

.specs-title-bike-road .bike-flag-ribbon {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: var(--flag-length);
    padding: 0.2rem 0.75rem 0.2rem 1.7rem;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 70%, 18% 50%, 0 30%);
    background:
        linear-gradient(120deg, rgba(6, 182, 212, 0.95), rgba(14, 165, 233, 0.8)),
        repeating-conic-gradient(from 20deg, rgba(236, 254, 255, 0.22) 0 10deg, rgba(6, 182, 212, 0.08) 10deg 20deg);
    background-size: 100% 100%, 18px 18px;
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
    white-space: nowrap;
    transform-origin: right center;
    animation: bike-flag-wave 2.8s ease-in-out infinite, bike-flag-flutter 1.9s ease-in-out infinite;
    overflow: visible;
    will-change: transform;
    z-index: 2;
    margin-right: -2px;
}

.specs-title-bike-road .bike-flag-ribbon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 22px;
    background: linear-gradient(150deg, rgba(6, 182, 212, 0.95), rgba(14, 165, 233, 0.75));
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    transform: translate(-70%, -50%);
    transform-origin: 100% 50%;
    animation: bike-flag-tip 1.35s ease-in-out infinite;
}

.specs-title-bike-road .bike-flag-ribbon::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 35%, rgba(236, 254, 255, 0.18), transparent 45%),
        radial-gradient(circle at 62% 55%, rgba(6, 182, 212, 0.18), transparent 52%),
        repeating-linear-gradient(150deg, rgba(236, 254, 255, 0.08) 0 8px, rgba(6, 182, 212, 0.05) 8px 16px);
    opacity: 0.35;
    animation: bike-flag-texture 4.6s linear infinite;
    pointer-events: none;
}

.specs-title-bike-road .bike-flag-ribbon::after {
    content: none;
}

.specs-title-bike-road .bike-flag-ripple {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(236, 254, 255, 0.18), transparent 65%);
    opacity: 0.18;
    mix-blend-mode: soft-light;
    animation: bike-flag-ripple 2.8s ease-in-out infinite;
    pointer-events: none;
}

.specs-title-bike-road .bike-flag-text {
    position: relative;
    z-index: 1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ecfeff;
    text-shadow: 0 1px 6px rgba(2, 6, 23, 0.45);
    animation: bike-flag-text 3.1s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
}

.specs-title-bike-road .bike-flag-letter {
    display: inline-block;
    transform-origin: center bottom;
    animation: bike-flag-letter 2.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.07s);
}


.bike-billboard {
    position: absolute;
    inset: 0.2rem 0.45rem;
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    z-index: 1;
}

.bike-billboard--inline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 182, 212, 0.18), rgba(14, 165, 233, 0.18));
    border-radius: 0.35rem;
    opacity: 0.6;
}

.bike-billboard-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: bike-billboard-scroll 7.5s linear infinite;
    position: relative;
    z-index: 1;
    padding-left: 0.6rem;
}

.bike-billboard-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ecfeff;
}

@keyframes bike-road-scroll {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: -120px 0, 0 0; }
}

@keyframes bike-flag-wave {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    35% { transform: translateY(-1px) rotate(-1.6deg); }
    70% { transform: translateY(1px) rotate(1.2deg); }
}

@keyframes bike-flag-flutter {
    0%, 100% { transform: translateY(0) rotate(0deg) skewX(0deg); }
    25% { transform: translateY(-1px) rotate(-2deg) skewX(-1.8deg); }
    55% { transform: translateY(1px) rotate(1.5deg) skewX(2deg); }
    80% { transform: translateY(-0.5px) rotate(-1deg) skewX(-1deg); }
}

@keyframes bike-flag-rope {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-4deg); }
}

@keyframes bike-flag-shimmer {
    0% { transform: translateX(-12%); opacity: 0.4; }
    50% { transform: translateX(0); opacity: 0.75; }
    100% { transform: translateX(12%); opacity: 0.5; }
}

@keyframes bike-flag-texture {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 18px -10px, -12px 16px, 24px 0; }
}

@keyframes bike-flag-ripple {
    0%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.12; }
    40% { transform: translateX(-6px) skewX(-3deg); opacity: 0.22; }
    70% { transform: translateX(4px) skewX(2deg); opacity: 0.18; }
}

@keyframes bike-flag-tip {
    0%, 100% { transform: translate(-70%, -50%) rotate(0deg) skewY(0deg); }
    25% { transform: translate(-74%, -54%) rotate(-6deg) skewY(-4deg); }
    55% { transform: translate(-66%, -48%) rotate(5deg) skewY(3deg); }
    80% { transform: translate(-72%, -52%) rotate(-3deg) skewY(-2deg); }
}

@keyframes bike-flag-text {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-1px); }
    70% { transform: translateY(1px); }
}

@keyframes bike-flag-letter {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-2px) rotate(-2deg); }
    60% { transform: translateY(1px) rotate(1.5deg); }
}

@keyframes bike-road-track {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes bike-scenery-scroll {
    0% { background-position: 0 70%; }
    100% { background-position: -180px 70%; }
}

.bike-scenery-layer {
    position: absolute;
    inset: 0.2rem 0.45rem;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.bike-scenery-track {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    width: max-content;
    transform: translateX(var(--bike-scenery-offset, 0));
    animation: bike-scenery-move var(--bike-scenery-duration, 14s) linear infinite;
}

.bike-scenery-track--back {
    opacity: 0.55;
    filter: blur(0.2px);
    bottom: 55%;
    transform: translateX(var(--bike-scenery-offset, 0));
}

.bike-scenery-track--front {
    opacity: 0.85;
    bottom: 22%;
    transform: translateX(var(--bike-scenery-offset, 0));
}

.bike-scenery-item {
    display: inline-flex;
    align-items: flex-end;
    transform: translateY(var(--scenery-y, 0)) scale(var(--scenery-scale, 1));
    margin-right: var(--scenery-gap, 16px);
    opacity: 0.75;
}

.bike-scenery-item img {
    width: var(--scenery-width, 24px);
    height: var(--scenery-height, 24px);
    display: block;
    filter: drop-shadow(0 2px 6px rgba(6, 182, 212, 0.2));
}

.bike-scenery-item--sign img {
    filter: drop-shadow(0 2px 10px rgba(6, 182, 212, 0.5));
    opacity: 1;
}

.bike-scenery-item--dark img {
    filter: drop-shadow(0 2px 6px rgba(2, 6, 23, 0.6)) brightness(0.6) contrast(1.5) saturate(1.35) hue-rotate(-8deg);
}

.bike-scenery-item--light img {
    filter: drop-shadow(0 2px 6px rgba(6, 182, 212, 0.25)) brightness(1.12) contrast(1.12) saturate(1.25) hue-rotate(6deg);
}

@supports (-webkit-touch-callout: none) {
    .specs-title-bike-road {
        flex-wrap: nowrap;
    }

    .specs-title-bike-road .specs-title-content {
        flex-wrap: nowrap;
    }

    .specs-title-bike-road .bike-rider {
        flex: 0 0 auto;
    }

    .specs-title-bike-road .bike-rider svg {
        width: 32px;
        height: 32px;
        max-width: 32px;
        max-height: 32px;
    }

    .bike-scenery-track {
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .bike-scenery-item {
        flex: 0 0 auto;
    }

    .bike-scenery-item img {
        width: var(--scenery-width, 22px);
        height: var(--scenery-height, 22px);
        max-width: var(--scenery-width, 22px);
        max-height: var(--scenery-height, 22px);
    }
}

@keyframes bike-scenery-move {
    0% { transform: translateX(var(--bike-scenery-offset, 0)); }
    100% { transform: translateX(calc(var(--bike-scenery-offset, 0) - 50%)); }
}

.bike-billboard-layer {
    position: absolute;
    inset: 0.25rem 0.55rem;
    border-radius: 999px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bike-billboard-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 182, 212, 0.12), rgba(14, 165, 233, 0.18));
    border-radius: inherit;
    opacity: 0.55;
}

.bike-billboard-track {
    display: inline-flex;
    align-items: center;
    gap: 2.6rem;
    white-space: nowrap;
    animation: bike-billboard-scroll var(--bike-billboard-duration, 8s) linear infinite;
    transform: translateX(var(--bike-billboard-offset, 0));
    position: relative;
    z-index: 1;
    padding-left: 0.8rem;
}

.bike-billboard-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ecfeff;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.55);
}

@keyframes bike-billboard-scroll {
    0% { transform: translateX(var(--bike-billboard-offset, 0)); }
    100% { transform: translateX(calc(var(--bike-billboard-offset, 0) - 50%)); }
}

@keyframes bike-billboard-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.spec-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Feature Tags */
.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.features-tags--brownian {
    position: relative;
    overflow: visible;
}

.features-tags--brownian .feature-tag {
    position: relative;
    will-change: transform;
}

.feature-tag--bounce {
    animation: featureTagBounce 0.35s ease-out;
}

@keyframes featureTagBounce {
    0% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        filter: brightness(1);
    }
    40% {
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
        filter: brightness(1.12);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        filter: brightness(1);
    }
}

.feature-tag {
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.feature-tag--highlight {
    position: relative;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    display: inline-block;
    text-align: left;
    line-height: 1.2;
    white-space: normal;
    max-width: 260px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(245, 158, 11, 0.2));
    border-color: rgba(34, 197, 94, 0.6) !important;
    color: #d1fae5 !important;
    box-shadow:
        0 0 12px rgba(34, 197, 94, 0.35),
        0 0 24px rgba(245, 158, 11, 0.2);
    animation: featureGlow 2.4s ease-in-out infinite;
    overflow: hidden;
}

.feature-tag--highlight .feature-tag-lines {
    display: block;
}

.feature-tag--highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: featureSweep 2.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes featureGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-1px) scale(1.03);
        filter: brightness(1.15);
    }
}

@keyframes featureSweep {
    0% { transform: translateX(-120%); opacity: 0; }
    40% { opacity: 0.4; }
    60% { opacity: 0.6; }
    100% { transform: translateX(120%); opacity: 0; }
}

.feature-tag:hover {
    transform: translateY(-2px);
}

/* ===== SUBSCRIPTION TEASER (LOCATION CARD) ===== */
.subscription-teaser {
    --spot-left-x: 8%;
    --spot-right-x: 92%;
    --spot-intensity: 0.5;
    --spot-opacity: 0.5;
    --spot-scale: 1;
    --spot-shift: 0px;
    --spot-blur: 1.5px;
    --gleam-opacity: 0.35;
    position: relative;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 0.6rem;
    text-align: center;
    overflow: hidden;
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.35),
        0 6px 18px rgba(0, 0, 0, 0.25);
    animation: teaserFloat 3.5s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.subscription-teaser::before {
    content: '';
    position: absolute;
    inset: -35% -20% 0;
    background:
        radial-gradient(260px 200px at var(--spot-left-x, 8%) 100%, rgba(255, 255, 255, calc(var(--spot-intensity, 0.5) * 0.38)) 0%, rgba(255, 255, 255, calc(var(--spot-intensity, 0.5) * 0.18)) 22%, transparent 62%),
        radial-gradient(260px 200px at var(--spot-right-x, 92%) 100%, rgba(255, 255, 255, calc(var(--spot-intensity, 0.5) * 0.38)) 0%, rgba(255, 255, 255, calc(var(--spot-intensity, 0.5) * 0.18)) 22%, transparent 62%),
        radial-gradient(100% 60% at 50% 110%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    opacity: var(--spot-opacity, 0.5);
    transform-origin: center bottom;
    transform: translateY(var(--spot-shift, 0px)) scale(var(--spot-scale, 1));
    filter: blur(var(--spot-blur, 1.5px));
    pointer-events: none;
}

.subscription-teaser::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.12) 48%, rgba(255, 255, 255, 0.03) 100%),
        radial-gradient(140px 90px at 20% 85%, rgba(255, 255, 255, 0.12), transparent 70%),
        radial-gradient(140px 90px at 80% 85%, rgba(255, 255, 255, 0.12), transparent 70%);
    opacity: var(--gleam-opacity, 0.35);
    pointer-events: none;
}

.subscription-teaser-text {
    position: relative;
    z-index: 1;
    z-index: 6;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow:
        0 0 14px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(255, 255, 255, 0.15);
}

.subscription-teaser-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #ef4444;
    font-weight: 900;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
    animation: badgePulse 1.6s ease-in-out infinite;
}

@keyframes teaserFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow:
            inset 0 0 18px rgba(0, 0, 0, 0.35),
            0 6px 18px rgba(0, 0, 0, 0.25);
    }
    50% {
        transform: translateY(-4px) scale(1.02);
        box-shadow:
            inset 0 0 22px rgba(0, 0, 0, 0.3),
            0 10px 24px rgba(0, 0, 0, 0.35);
    }
}

@keyframes teaserSpotlight {
    0%, 100% {
        opacity: 0.35;
        transform: translateY(2px) scale(1);
        filter: blur(1.5px);
    }
    50% {
        opacity: 0.75;
        transform: translateY(-2px) scale(1.02);
        filter: blur(0px);
    }
}

@keyframes teaserGleam {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.45; }
}

/* Location Button */
.location-btn {
    width: 100%;
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== EVENTS ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* ===== CLUB LEADER ===== */
.section-leader .leader-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(7, 10, 20, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.leader-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    isolation: isolate;
}

.leader-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15), 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 3;
    pointer-events: none;
    animation: kingFramePulse 8s ease-in-out infinite alternate;
}

.leader-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    background-image: var(--leader-image);
    background-size: cover;
    background-position: center bottom;
    transform: scaleY(-1);
    filter: blur(6px);
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
}

.leader-wires {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
}

.leader-wires::before,
.leader-wires::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.35));
}

.leader-wires::before {
    background-image: repeating-linear-gradient(
        to right,
        rgba(245, 158, 11, 0.25) 0,
        rgba(245, 158, 11, 0.25) 2px,
        transparent 2px,
        transparent 80px
    );
    animation: leaderWiresFlow 10s linear infinite;
}

.leader-wires::after {
    background-image: repeating-linear-gradient(
        120deg,
        rgba(99, 102, 241, 0.18) 0,
        rgba(99, 102, 241, 0.18) 1px,
        transparent 1px,
        transparent 90px
    );
    animation: leaderWiresFlowReverse 14s linear infinite;
}

.leader-hero img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: cover;
    animation: kingZoomSlow 18s ease-in-out infinite alternate;
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.leader-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leader-period {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leader-period-bar {
    position: relative;
    width: 220px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.leader-period-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 35%;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.9), rgba(245, 158, 11, 0.2));
    animation: leaderPeriodPulse 2.8s ease-in-out infinite;
    border-radius: inherit;
}

.leader-progress {
    position: relative;
    width: 260px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.leader-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.9));
    border-radius: inherit;
    transition: width 1.2s ease-out;
}

.leader-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.12) 100%);
    transform: translateX(-100%);
    animation: leaderProgressShimmer 2.4s ease-in-out infinite;
}

.leader-progress-crown {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -60%);
    font-size: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
    transition: left 1.2s ease-out;
}

@keyframes leaderProgressShimmer {
    0% {
        transform: translateX(-120%);
        opacity: 0.4;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translateX(120%);
        opacity: 0.4;
    }
}

@keyframes leaderPeriodPulse {
    0% {
        transform: translateX(-110%);
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(210%);
        opacity: 0.4;
    }
}

.leader-status {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.leader-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.leader-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.leader-item--top1 {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 12px 24px rgba(245, 158, 11, 0.15);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.4));
}

.leader-item--top2 {
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2), 0 12px 24px rgba(148, 163, 184, 0.12);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(0, 0, 0, 0.4));
}

.leader-item--top3 {
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.18), 0 12px 24px rgba(234, 179, 8, 0.1);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.14), rgba(0, 0, 0, 0.4));
}

.leader-item--top1 .leader-rank {
    background: rgba(245, 158, 11, 0.35);
    color: #fff7ed;
}

.leader-item--top2 .leader-rank {
    background: rgba(148, 163, 184, 0.35);
    color: #f8fafc;
}

.leader-item--top3 .leader-rank {
    background: rgba(234, 179, 8, 0.3);
    color: #fff7ed;
}

.leader-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.leader-name {
    color: var(--text);
    font-weight: 600;
}

.leader-hours {
    color: var(--text-secondary);
    font-weight: 600;
}

.leader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.leader-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.leader-badges {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.leader-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.leader-badge--veteran {
    background: rgba(245, 158, 11, 0.18);
    color: #fef3c7;
    border-color: rgba(245, 158, 11, 0.4);
}

.leader-badge--since {
    background: rgba(99, 102, 241, 0.18);
    color: #e0e7ff;
    border-color: rgba(99, 102, 241, 0.4);
}

.leader-track {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.leader-track-fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.85));
    border-radius: inherit;
    transition: width 0.8s ease-out;
}

.leader-gap {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .section-leader .leader-card {
        padding: 1.5rem;
    }

    .leader-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .leader-header {
        width: 100%;
    }

    .leader-hours {
        width: 100%;
        text-align: right;
    }

    .leader-gap {
        width: 100%;
        text-align: right;
    }
}

.event-card {
    background: linear-gradient(135deg, var(--surface), var(--background));
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    contain: layout style paint;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}

.event-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(-3deg) scale(1.02) translateZ(0);
    border-color: var(--primary);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(245, 158, 11, 0.15);
}

.event-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.event-image--contain {
    background: rgba(7, 10, 20, 0.85);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-image--contain img {
    object-fit: contain;
    object-position: center top;
    padding: 0;
    animation: kingPanSlow 22s ease-in-out infinite alternate;
    transform-origin: center;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-card:hover .event-image--contain img {
    transform: none;
}

.event-card--poster {
    transform: none;
}

.event-card--poster:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
}

.event-card--poster .event-image {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(7, 10, 20, 0.92);
}

.event-card--poster .event-image img {
    height: auto;
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    transform: none;
    animation: none;
}

@keyframes kingPanSlow {
    0% {
        transform: scale(1.08) translate3d(0, 4%, 0);
    }
    100% {
        transform: scale(1.12) translate3d(0, -4%, 0);
    }
}

@keyframes kingZoomSlow {
    0% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes kingFramePulse {
    0% {
        transform: scale(0.98);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2rem;
}

.event-location-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.event-meta {
    margin: 0;
}

.event-meta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    flex: 1;
    max-height: 5.8rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.event-prizes {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.event-prizes p {
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.event-prizes ul {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

/* ===== GAMES GALLERY ===== */
.games-marquee {
    overflow: hidden;
    padding: 2rem 0;
}

.games-scroll {
    display: flex;
    gap: 1.5rem;
    animation: scroll 60s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout style;
}

.game-card {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    contain: layout style;
}

.game-card:hover {
    transform: scale(1.1) rotateY(-5deg) translateZ(20px);
    box-shadow: 
        -10px 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(245, 158, 11, 0.2);
    z-index: 10;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.333%, 0, 0); }
}

/* ===== MOBILE GAMES SCROLL ===== */
@media (max-width: 768px) {
    .games-marquee {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 1.5rem 0;
    }

    .games-scroll {
        animation: none;
        width: max-content;
        padding: 0 1rem;
    }

    .game-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* ===== TABS ===== */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.875rem 2rem;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    will-change: background-color, border-color;
}

/* Lounge tab */
.tab-btn[data-location="lounge"]:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #fbbf24;
}

.tab-btn[data-location="lounge"].active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* One tab */
.tab-btn[data-location="one"]:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #818cf8;
}

.tab-btn[data-location="one"].active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Bike tab */
.tab-btn[data-location="bike"]:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    color: #22d3ee;
}

.tab-btn[data-location="bike"].active {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #000;
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* Default tab styles (fallback) */
.tab-btn:hover:not([data-location]) {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
    color: var(--text);
}

.tab-btn.active:not([data-location]) {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.tab-btn.active svg {
    fill: currentColor;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== FOOD MENU BOOK EFFECT ===== */
#food-drinks .tabs {
    position: relative;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(20, 18, 24, 0.96), rgba(12, 10, 16, 0.98));
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    padding: 1.35rem 8.2rem 1.15rem 1.15rem;
    overflow: hidden;
}

#food-drinks .tabs::before {
    content: '';
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 0.6rem;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(99, 102, 241, 0.18));
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
    z-index: 2;
}

#food-drinks .tabs::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, transparent 16%, transparent 100%);
}

#food-drinks .tabs-header {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 2.35rem;
    margin-bottom: 0;
    position: absolute;
    right: 1rem;
    top: 1rem;
    gap: 0.55rem;
    z-index: 3;
}

#food-drinks .tab-btn-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 128px;
    justify-content: flex-start;
}

#food-drinks .tab-btn-menu .tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    line-height: 1;
}

#food-drinks .tab-btn-menu .tab-icon-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
    transform-origin: center;
}

#food-drinks .tab-btn-menu:hover .tab-icon-svg {
    transform: translateY(-1px) scale(1.06);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.35));
}

#food-drinks .tab-btn-menu[data-tab="food"]:hover .tab-icon-svg {
    animation: menuFoodIconWobble 0.45s ease;
}

#food-drinks .tab-btn-menu[data-tab="drinks"]:hover .tab-icon-svg {
    animation: menuDrinkIconSip 0.45s ease;
    transform-origin: 55% 85%;
}

#food-drinks .tab-btn-menu.active .tab-icon-svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.45));
}

@keyframes menuFoodIconWobble {
    0% { transform: translateY(0) rotate(0deg) scale(1.02); }
    35% { transform: translateY(-1px) rotate(-7deg) scale(1.08); }
    65% { transform: translateY(-1px) rotate(6deg) scale(1.08); }
    100% { transform: translateY(-1px) rotate(0deg) scale(1.06); }
}

@keyframes menuDrinkIconSip {
    0% { transform: translateY(0) rotate(0deg) scale(1.02); }
    40% { transform: translateY(-1px) rotate(-10deg) scale(1.08); }
    100% { transform: translateY(-1px) rotate(-3deg) scale(1.06); }
}

#food-drinks .tabs-content {
    position: relative;
    perspective: 1500px;
    padding-left: 1.4rem;
    padding-right: 0.5rem;
    min-height: 520px;
}

#food-drinks .tab-content {
    transform-origin: left center;
    backface-visibility: hidden;
}

#food-drinks .tab-content.is-entering-right {
    display: block;
    animation: menuPageInRight 0.45s ease both;
}

#food-drinks .tab-content.is-entering-left {
    display: block;
    animation: menuPageInLeft 0.45s ease both;
}

#food-drinks .tab-content.is-leaving-left,
#food-drinks .tab-content.is-leaving-right {
    display: block;
    position: absolute;
    inset: 0;
    padding-left: 1.4rem;
    pointer-events: none;
}

#food-drinks .tab-content.is-leaving-left {
    animation: menuPageOutLeft 0.45s ease both;
}

#food-drinks .tab-content.is-leaving-right {
    animation: menuPageOutRight 0.45s ease both;
}

@keyframes menuPageInRight {
    0% { opacity: 0; transform: rotateY(-24deg) translateX(16px) scale(0.98); }
    100% { opacity: 1; transform: rotateY(0deg) translateX(0) scale(1); }
}

@keyframes menuPageOutLeft {
    0% { opacity: 1; transform: rotateY(0deg) translateX(0) scale(1); }
    100% { opacity: 0; transform: rotateY(26deg) translateX(-14px) scale(0.98); }
}

@keyframes menuPageInLeft {
    0% { opacity: 0; transform: rotateY(24deg) translateX(-16px) scale(0.98); }
    100% { opacity: 1; transform: rotateY(0deg) translateX(0) scale(1); }
}

@keyframes menuPageOutRight {
    0% { opacity: 1; transform: rotateY(0deg) translateX(0) scale(1); }
    100% { opacity: 0; transform: rotateY(-26deg) translateX(14px) scale(0.98); }
}

/* Food & Drinks Section - clean styles */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-category {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    contain: layout style paint;
}

.menu-category:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.menu-category h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.menu-item-name {
    font-weight: 600;
}

.menu-item-price {
    color: var(--primary);
    font-weight: 700;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

#food-drinks .menu-page {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

#food-drinks .menu-page-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#food-drinks .menu-page-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

#food-drinks .menu-page-counter {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

#food-drinks .menu-page-scroll {
    flex: 1;
    min-height: 0;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.65) rgba(255, 255, 255, 0.08);
}

#food-drinks .menu-page-scroll::-webkit-scrollbar {
    width: 7px;
}

#food-drinks .menu-page-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

#food-drinks .menu-page-scroll::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.65);
    border-radius: 999px;
}

#food-drinks .menu-page-controls {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#food-drinks .menu-page-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#food-drinks .menu-page-btn:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.55);
}

#food-drinks .menu-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

#food-drinks .menu-page-range {
    flex: 1;
    accent-color: var(--primary);
    cursor: pointer;
}

#food-drinks .menu-page-turn-next {
    animation: menuCategoryPageTurnNext 0.45s ease;
}

#food-drinks .menu-page-turn-prev {
    animation: menuCategoryPageTurnPrev 0.45s ease;
}

@keyframes menuCategoryPageTurnNext {
    0% {
        opacity: 0;
        transform: rotateY(-14deg) translateX(10px);
        transform-origin: left center;
    }
    100% {
        opacity: 1;
        transform: rotateY(0) translateX(0);
    }
}

@keyframes menuCategoryPageTurnPrev {
    0% {
        opacity: 0;
        transform: rotateY(14deg) translateX(-10px);
        transform-origin: right center;
    }
    100% {
        opacity: 1;
        transform: rotateY(0) translateX(0);
    }
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== ЖИВЫЕ PRICING КАРТОЧКИ ===== */
.pricing-card {
    --card-color: #22c55e;
    --card-glow: rgba(34, 197, 94, 0.3);
    
    background: linear-gradient(145deg, 
        rgba(20, 20, 35, 0.95) 0%, 
        rgba(10, 10, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    will-change: transform, opacity;
    animation: pricing-reveal 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.pricing-item {
    will-change: transform, opacity;
    animation: pricing-item-reveal 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
}

@keyframes pricing-reveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pricing-item-reveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Subtle animated grid texture */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.12;
    pointer-events: none;
    animation: gridDrift 12s linear infinite;
}

@keyframes gridDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 72px 72px, 72px 72px; }
}

/* Top glow header strip */
.pricing-card::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    top: -30%;
    height: 50%;
    background: radial-gradient(60% 60% at 50% 50%, var(--card-glow) 0%, transparent 72%);
    opacity: 0.28;
    pointer-events: none;
}

/* (Removed animated border to keep glow clean and smooth) */

/* Hover */
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px var(--card-glow);
}

/* Light sweep on hover */
.pricing-card:hover::after {
    opacity: 0.45;
    filter: blur(6px);
}

/* === Lounge - Оранжевая тема === */
.pricing-card.theme-lounge {
    --card-color: #f59e0b;
    --card-glow: rgba(245, 158, 11, 0.3);
}

/* === One - Фиолетовая тема === */
.pricing-card.theme-one {
    --card-color: #8b5cf6;
    --card-glow: rgba(139, 92, 246, 0.3);
}

/* === Bike - Бирюзовая тема === */
.pricing-card.theme-bike {
    --card-color: #06b6d4;
    --card-glow: rgba(6, 182, 212, 0.3);
}

/* Заголовок карточки */
.pricing-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    color: var(--card-color);
    text-shadow: 0 0 20px var(--card-glow);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--card-color), transparent 70%);
    opacity: 0.6;
}

.pricing-title .pricing-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-glow);
    border-radius: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-title .pricing-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 0.75rem;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
}

.pricing-title .pricing-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--card-color);
}

.pricing-card:hover .pricing-title .pricing-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 15px var(--card-glow);
}

/* Строки цен */
.pricing-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    padding: 2.2rem 1.6rem;
    margin: 1.4rem 0;
    min-height: 220px;
    background: radial-gradient(circle at 50% 12%, rgba(255,255,255,0.05) 0%, transparent 55%), #0b0b12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.pricing-item::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--card-color) 40%, var(--card-color) 60%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Soft glow strip for each pricing row */
.pricing-item::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--card-color) 40%, var(--card-color) 60%, transparent 100%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

/* Hover на строке */
.pricing-item:hover::before {
    opacity: 0.95;
}

.pricing-item:hover::after {
    opacity: 0.95;
}

.pricing-item:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.45),
        0 0 18px var(--card-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pricing-box-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.pricing-box-time {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-secondary);
}

.pricing-box-old {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 80, 80, 0.9);
    font-weight: 700;
}

.pricing-box-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--card-color);
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 18px color-mix(in srgb, var(--card-color) 40%, transparent);
}

.pricing-item:hover::before {
    opacity: 1;
}

.pricing-label {
    color: var(--text-secondary);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    justify-content: center;
    text-align: center;
}

.pricing-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.pricing-label-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--card-color);
}

.pricing-label-text {
    display: inline-block;
}

.pricing-badge {
    margin-left: 0.5rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.12);
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    animation: badgePulse 2.6s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
    50% { transform: translateY(-1px) scale(1.04); opacity: 1; }
}

.badge-1h {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.12));
    border-color: rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
}

.badge-3h {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(99, 102, 241, 0.12));
    border-color: rgba(99, 102, 241, 0.6);
    color: #c7d2fe;
}

.badge-5h {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.12));
    border-color: rgba(245, 158, 11, 0.6);
    color: #fde68a;
}

.badge-default {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(168, 85, 247, 0.12));
    border-color: rgba(168, 85, 247, 0.6);
    color: #e9d5ff;
}

.pricing-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--card-color) 45%, transparent 100%);
    opacity: 0.35;
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animated highlight sweep under label */
.pricing-label::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 45%, transparent 100%);
    opacity: 0;
    filter: blur(4px);
    transform: translateX(-30%);
    transition: opacity 0.3s ease;
    animation: labelSweep 2.4s ease-in-out infinite;
    animation-play-state: paused;
}

.pricing-item:hover .pricing-label {
    color: var(--text-primary);
    transform: translateX(4px) scale(1.02);
    text-shadow: 0 0 18px var(--card-glow), 0 0 30px rgba(255,255,255,0.1);
}

.pricing-item:hover .pricing-label::after {
    opacity: 0.7;
    transform: scaleX(1);
}

.pricing-item:hover .pricing-label::before {
    opacity: 0.6;
    animation-play-state: running;
}

@keyframes labelSweep {
    0% {
        transform: translateX(-35%);
    }
    50% {
        transform: translateX(35%);
    }
    100% {
        transform: translateX(-35%);
    }
}

.pricing-value {
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--card-color);
    text-shadow: 0 0 10px var(--card-glow);
    transition: transform 0.3s, text-shadow 0.3s;
}

.pricing-item:hover .pricing-value {
    transform: scale(1.08);
    text-shadow: 0 0 22px var(--card-glow), 0 0 36px rgba(255,255,255,0.15);
}

.pricing-old {
    display: inline-block;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 80, 80, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

.price-old {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 80, 80, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Price change animation (Old -> New) */
.price-old--strike {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
    letter-spacing: 0.04em;
    animation: oldPriceFadeIn 0.4s ease-out forwards;
}

.price-old--strike::after {
    content: '';
    position: absolute;
    left: -6%;
    right: -6%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(248, 113, 113, 0.9) 15%, rgba(248, 113, 113, 1) 50%, rgba(248, 113, 113, 0.9) 85%, transparent 100%);
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    animation: strikeThrough 0.6s ease-out 0.25s forwards;
}

.price-live--reveal {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    letter-spacing: 0.03em;
    animation: newPricePop 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards,
               priceBlink 1.6s ease-in-out 1.4s infinite;
    animation-fill-mode: forwards, both;
}

.price-live--reveal::before {
    content: '';
    position: absolute;
    inset: -6px -12px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
    opacity: 0;
    animation: newPriceGlow 0.9s ease-out 0.75s forwards;
    z-index: -1;
}

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

@keyframes strikeThrough {
    from { transform: translateY(-50%) scaleX(0); }
    to { transform: translateY(-50%) scaleX(1); }
}

@keyframes newPricePop {
    0% { opacity: 0; transform: translateY(8px) scale(0.95); filter: brightness(0.8); }
    60% { opacity: 1; transform: translateY(-2px) scale(1.05); filter: brightness(1.2); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); }
}

@keyframes newPriceGlow {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 0.9; transform: scale(1.05); }
}

/* Blinking highlight for live price (PitStop One) */
.price-live {
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
    text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    0 0 24px rgba(99, 102, 241, 0.55),
    0 0 44px rgba(99, 102, 241, 0.45);
}

.price-live::after {
    content: '';
    position: absolute;
    inset: -6px -10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.25) 0%, rgba(99, 102, 241, 0.12) 60%, transparent 75%);
    filter: blur(4px);
    opacity: 0.6;
    z-index: -1;
    animation: priceHalo 1.2s ease-in-out infinite;
}

.price-live--reveal::after {
    animation-delay: 1.6s;
}

/* Electric arc effect (no button look) */
.price-live--arc::before {
    content: '';
    position: absolute;
    left: -18px;
    right: -18px;
    top: 50%;
    height: 12px;
    transform: translateY(-50%);
    background:
        radial-gradient(40px 8px at 10% 50%, rgba(255,255,255,0.35), transparent 70%),
        radial-gradient(40px 8px at 50% 40%, rgba(99, 102, 241, 0.35), transparent 70%),
        radial-gradient(40px 8px at 90% 60%, rgba(255,255,255,0.35), transparent 70%);
    filter: blur(1.5px);
    opacity: 0.55;
    animation: arcFlicker 0.85s steps(2) infinite;
    z-index: -1;
}

@keyframes arcFlicker {
    0% { opacity: 0.25; transform: translateY(-50%) scaleX(0.95); }
    40% { opacity: 0.9; transform: translateY(-50%) scaleX(1.05); }
    70% { opacity: 0.35; transform: translateY(-50%) scaleX(0.98); }
    100% { opacity: 0.75; transform: translateY(-50%) scaleX(1.02); }
}

/* Themed background image for price info box */
.price-info-box {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.location-card.theme-one .price-info-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(2, 6, 23, 0.85));
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow:
        inset 0 0 40px rgba(2, 6, 23, 0.65),
        0 10px 24px rgba(0, 0, 0, 0.35);
    padding: 0.9rem 0.85rem;
    min-height: 100px;
    max-width: 85%;
    margin: 0.5rem auto 0;
}

.price-info-box::after {
    content: '';
    position: absolute;
    inset: -40% -10%;
    background:
        radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.2), transparent 45%),
        radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.2), transparent 45%);
    mix-blend-mode: screen;
    animation: priceBoxGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes priceBoxGlow {
    0%, 100% { opacity: 0.45; transform: translateY(0) scale(1); }
    50% { opacity: 0.85; transform: translateY(-4px) scale(1.02); }
}

@keyframes priceBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.3),
            0 0 22px rgba(99, 102, 241, 0.45),
            0 0 38px rgba(99, 102, 241, 0.35);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.03);
        text-shadow:
            0 0 6px rgba(255, 255, 255, 0.2),
            0 0 12px rgba(99, 102, 241, 0.25),
            0 0 20px rgba(99, 102, 241, 0.2);
    }
}

@keyframes priceHalo {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(0.92); }
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    animation: promoPulse 2.2s ease-in-out infinite;
}

.promo-badge::before {
    content: '⚡';
    font-size: 0.8rem;
}

@keyframes promoPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    }
}

/* Появление карточек с анимацией - optimized */
.pricing-card {
    animation: pricing-appear 0.5s ease-out backwards;
    contain: layout style paint;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes pricing-appear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* ===== HOLOGRAPHIC CONTACT CARDS ===== */
.contact-card {
    --card-color: #22c55e;
    --card-glow: rgba(34, 197, 94, 0.5);
    
    background: linear-gradient(135deg, 
        rgba(15, 15, 25, 0.95) 0%, 
        rgba(25, 25, 40, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Голографическая плёнка - радужный перелив */
.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            125deg,
            transparent 0%,
            rgba(255, 0, 128, 0.1) 20%,
            rgba(0, 255, 255, 0.15) 40%,
            rgba(255, 255, 0, 0.1) 60%,
            rgba(0, 128, 255, 0.15) 80%,
            transparent 100%
        );
    background-size: 200% 200%;
    animation: holographic-shift 8s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Сканирующая линия */
.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

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

/* Hover - активация голограммы */
.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--card-color);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px var(--card-glow),
        0 0 60px var(--card-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover::after {
    left: 150%;
}

/* === Lounge - Оранжевое свечение === */
.contact-card.theme-lounge {
    --card-color: #f59e0b;
    --card-glow: rgba(245, 158, 11, 0.4);
}

/* === One - Фиолетовое свечение === */
.contact-card.theme-one {
    --card-color: #8b5cf6;
    --card-glow: rgba(139, 92, 246, 0.4);
}

/* === Bike - Бирюзовое свечение === */
.contact-card.theme-bike {
    --card-color: #06b6d4;
    --card-glow: rgba(6, 182, 212, 0.4);
}

/* Контент карточки */
.contact-card .contact-card-title {
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.contact-card .contact-info-item {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.contact-card .contact-info-item .contact-link {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.contact-card:hover .contact-info-item .contact-link {
    color: var(--card-color);
}

.contact-card .contact-icon svg {
    stroke: var(--text-secondary);
    transition: stroke 0.3s;
}

.contact-card:hover .contact-icon svg {
    stroke: var(--card-color);
}

.contact-card .contact-buttons {
    position: relative;
    z-index: 2;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-info-item .contact-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.contact-info-item .contact-icon svg {
    width: 18px;
    height: 18px;
}

.contact-info-item .contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.contact-info-item.highlight {
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.contact-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Пластилиновые кнопки */
.contact-btn-primary {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        2px 2px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.contact-btn-primary:hover {
    transform: scale(0.97);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-btn-secondary {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 0.625rem;
}

/* Contact Social Buttons */
.contact-social-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.contact-social-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    flex: 1;
    min-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-icon-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-email {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-email a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email a:hover {
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-starry);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.footer .container {
    position: relative;
    z-index: 4;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #f59e0b 20%, 
        #6366f1 50%, 
        #06b6d4 80%, 
        transparent 100%);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links button {
    color: var(--text-secondary);
    transition: color 0.3s;
    text-align: left;
}

.footer-links a:hover,
.footer-links button:hover {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links button {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-bottom-links button:hover {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    will-change: transform;
    contain: layout style;
    backface-visibility: hidden;
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6), 0 0 30px rgba(99, 102, 241, 0.4);
}

.scroll-to-call {
    left: 2rem;
    right: auto;
    text-decoration: none;
}

.scroll-to-call svg {
    width: 22px;
    height: 22px;
    animation: call-shake 1.6s ease-in-out infinite;
    transform-origin: 50% 70%;
}

.scroll-to-call::after {
    content: 'Позвонить';
    position: absolute;
    left: calc(100% + 0.6rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.scroll-to-call:hover::after {
    opacity: 1;
}

@keyframes call-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    8% {
        transform: rotate(-15deg);
    }
    16% {
        transform: rotate(15deg);
    }
    24% {
        transform: rotate(-12deg);
    }
    32% {
        transform: rotate(12deg);
    }
    40% {
        transform: rotate(0deg);
    }
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: transform 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none;
    font-size: 1.25rem;
    will-change: transform;
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icon.tiktok:hover {
    background: #000;
    color: white;
}

.social-icon.telegram:hover {
    background: #0088cc;
    color: white;
}

.social-icon.whatsapp:hover {
    background: #25d366;
    color: white;
}

/* ===== GOOGLE MAPS SECTION ===== */
.contact-map-section {
    margin-top: 3rem;
    text-align: center;
}

.map-section-title {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.map-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.map-embed {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

.map-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border);
}

.map-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.map-tab:hover,
.map-tab.active {
    background: var(--surface);
    color: var(--text);
    border-color: var(--primary);
}

.map-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.map-fullscreen-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Map Modal */
.map-modal .modal-content {
    max-width: 95vw;
    width: 1200px;
    max-height: 90vh;
    padding: 1.5rem;
}

.map-modal-content {
    display: flex;
    flex-direction: column;
}

.map-modal-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.map-modal-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.map-modal-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.map-modal-tab:hover,
.map-modal-tab.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.map-modal-frame {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    flex: 1;
    min-height: 400px;
}

.map-modal-embed {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.map-modal-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.map-info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .map-embed {
        height: 280px;
    }
    
    .map-tabs {
        flex-wrap: wrap;
    }
    
    .map-modal .modal-content {
        padding: 1rem;
        max-height: 95vh;
    }
    
    .map-modal-frame {
        min-height: 300px;
    }
    
    .map-modal-embed {
        min-height: 300px;
    }
}

/* ===== COOKIE SWITCH ===== */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem;
    display: none;
    animation: slideUp 0.5s;
    will-change: transform, opacity;
    contain: layout style;
    backface-visibility: hidden;
}

.cookie-consent.visible {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--primary);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: start;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.cookie-icon {
    font-size: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-close {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.cookie-close:hover {
    color: var(--text);
}

@keyframes slideUp {
    from {
        transform: translate3d(0, 100%, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* 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;
        scroll-behavior: auto !important;
    }
    
    .cursor-dot,
    .cursor-ray {
        display: none !important;
    }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    will-change: opacity;
    contain: layout style;
    backface-visibility: hidden;
}

.modal.visible {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: auto;
    contain: layout style paint;
    will-change: transform;
}

.modal-close {
    position: sticky;
    top: 1rem;
    float: right;
    margin: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: #000;
    background: var(--primary);
    border-color: var(--primary);
}

.modal-body {
    padding: 2rem 3rem 3rem;
    clear: both;
}

.modal-body h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-body h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.king-modal .modal-content {
    border: 1px solid rgba(255, 184, 77, 0.35);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.king-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.king-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.king-modal-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.king-modal-list li {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.king-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.event-cta {
    margin-top: 1rem;
}

.btn-king-modal {
    width: 100%;
}

.tournament-pane {
    display: none;
    opacity: 0;
    transform: translateY(6px);
}

.tournament-pane.active {
    display: block;
    animation: tournamentPaneIn 0.22s ease-out forwards;
}

.tournament-modal .modal-content {
    max-width: 760px;
}

.tournament-modal .modal-body {
    max-height: min(78vh, 860px);
    overflow-y: auto;
}

.tournament-copy {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    display: grid;
    gap: 0.42rem;
}

.tournament-copy p {
    margin: 0;
}

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

@media (max-width: 640px) {
    .modal-body {
        padding: 1.5rem;
    }

    .king-modal-actions .btn {
        width: 100%;
    }
}

.modal-body ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-body a {
    color: var(--primary);
    text-decoration: underline;
}

.modal-body a:hover {
    color: var(--primary-hover);
}

.doc-text {
    white-space: pre-wrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #000 0%, #0a0a14 100%);
        flex-direction: column;
        padding: 90px 24px 32px;
        gap: 0;
        z-index: 99;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav.active {
        display: flex;
        animation: fadeInMenu 0.25s ease-out;
    }
    
    @keyframes fadeInMenu {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .nav .nav-link {
        padding: 16px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
        font-size: 1.125rem;
        font-weight: 600;
        border-radius: 0;
        margin-bottom: 0;
        transition: all 0.2s;
        color: var(--text);
    }
    
    .nav .nav-link:hover,
    .nav .nav-link:active {
        background: rgba(245, 158, 11, 0.1);
        color: var(--primary);
    }
    
    .nav .nav-link:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav .nav-link-policy {
        margin-top: 8px;
        background: rgba(99, 102, 241, 0.1);
        border-bottom: none !important;
        border-radius: 12px;
        padding: 16px 20px;
        width: 100%;
        height: auto;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    /* Show full text on mobile menu */
    .nav .nav-link-policy span {
        position: static;
        transform: none;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        font-size: 1.125rem;
        font-weight: 600;
        white-space: normal;
    }
    
    .nav .nav-link-policy span::before {
        display: none;
    }
    
    .nav .nav-link-policy:hover {
        background: rgba(99, 102, 241, 0.2);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hide desktop header actions on mobile */
    .header-actions {
        display: none;
    }
    
    /* Show mobile extras in menu */
    .mobile-menu-extras {
        display: block;
        width: 100%;
        margin-top: auto;
        padding-top: 24px;
    }
    
    /* Mobile book button */
    .mobile-book-btn {
        padding: 16px 24px;
        font-size: 1.1rem;
    }
    
    /* Header mobile adjustments */
    .header-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    .logo-carousel {
        width: 88px;
        height: 88px;
    }
    
    .logo-image {
        width: 44px;
        height: 44px;
    }
    
    .logo-slide[data-theme="lounge"] .logo-image,
    .logo-slide[data-theme="one"] .logo-image {
        width: 44px;
        height: 44px;
        margin: 22px auto;
    }
    
    .logo-slide.active[data-theme="lounge"] .logo-image,
    .logo-slide.active[data-theme="one"] .logo-image {
        width: 44px;
        height: 44px;
        margin: 22px auto;
    }
    
    .logo-slide[data-theme="bike"] .logo-image,
    .logo-slide.active[data-theme="bike"] .logo-image {
        width: 72px;
        height: 72px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Header even smaller on phones */
    .header-container {
        height: 60px;
    }
    
    .logo-carousel {
        width: 80px;
        height: 80px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo-slide[data-theme="lounge"] .logo-image,
    .logo-slide[data-theme="one"] .logo-image {
        width: 40px;
        height: 40px;
        margin: 20px auto;
    }
    
    .logo-slide.active[data-theme="lounge"] .logo-image,
    .logo-slide.active[data-theme="one"] .logo-image {
        width: 40px;
        height: 40px;
        margin: 20px auto;
    }
    
    .logo-slide[data-theme="bike"] .logo-image,
    .logo-slide.active[data-theme="bike"] .logo-image {
        width: 64px;
        height: 64px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    /* Flipboard on mobile - still visible */
    .logo-flipboard {
        font-size: 0.95rem;
        gap: 0.45rem;
        margin-left: 0.75rem;
    }
    
    .split-flap {
        min-width: 58px;
        height: 28px;
        padding: 0 7px;
    }
    
    .flipboard-dot {
        font-size: 0.7rem;
        padding: 0 0.2rem;
    }
    
    /* Hero section mobile fixes */
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    
    .hero-flipper {
        min-width: auto;
        text-align: center;
        display: block;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-description-wrapper {
        min-height: 100px;
        padding: 0 0.5rem;
    }
    
    .hero-description-wrapper .hero-desc-item {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Section padding mobile */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-links li {
        text-align: center;
    }
    
    .footer-links a,
    .footer-links button {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Hide decorations on mobile */
    .section-corner,
    .section-accent,
    .section-lines {
        display: none;
    }
    
    /* Cards mobile */
    .location-card,
    .contact-card,
    .pricing-card {
        margin: 0 0.5rem;
    }
    
    /* Tabs mobile */
    .tabs-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    #food-drinks .tabs {
        padding: 1rem 0.75rem 0.9rem;
    }

    #food-drinks .tabs::before {
        display: none;
    }

    #food-drinks .tabs-header {
        padding-left: 0;
        position: static;
        flex-direction: row;
        margin-bottom: 0.9rem;
    }

    #food-drinks .tabs-content {
        padding-left: 0;
        padding-right: 0;
        min-height: 0;
    }

    #food-drinks .tab-content.is-leaving-left,
    #food-drinks .tab-content.is-leaving-right {
        padding-left: 0;
    }
    
    .tab-btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        flex: 1;
        min-width: 120px;
    }
    
    .tab-btn span {
        display: inline;
        font-size: 0.75rem;
    }
    
    .tab-btn svg {
        margin: 0;
    }

    #food-drinks .menu-page {
        min-height: 0;
    }

    #food-drinks .menu-page-scroll {
        max-height: 300px;
    }
    
    /* ===== MODAL MOBILE FIXES ===== */
    .modal {
        padding: 0;
        align-items: flex-start;
    }
    
    .modal-content {
        border-radius: 0;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: none;
        display: flex;
        flex-direction: column;
    }
    
    .modal-close {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        z-index: 100;
        margin: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }
    
    .modal-body {
        padding: 1rem;
        padding-top: 3.5rem;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-body h2 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        text-align: center;
    }
    
    .modal-body h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .modal-body ul {
        margin: 0.75rem 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-body ul li {
        margin-bottom: 0.4rem;
        line-height: 1.5;
    }
    
    /* GDPR Modal specific mobile styles */
    #gdprModal .modal-body > div[style*="text-align: center"] {
        margin-bottom: 1.5rem !important;
    }
    
    #gdprModal .modal-body > div[style*="text-align: center"] span[style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }
    
    #gdprModal .modal-body > div[style*="text-align: center"] h2 {
        font-size: 1.25rem !important;
    }
    
    #gdprModal .modal-body section {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    #gdprModal .modal-body section h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Cookie consent banner mobile */
    .cookie-consent {
        padding: 0.5rem;
    }
    
    .cookie-content {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 0.75rem;
    }
    
    .cookie-icon {
        display: none;
    }
    
    .cookie-text h3 {
        font-size: 1rem;
        text-align: center;
    }
    
    .cookie-text p {
        font-size: 0.8rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        padding: 0.75rem;
    }
    
    .cookie-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    /* Cookie settings modal mobile */
    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .cookie-option-info {
        width: 100%;
    }
    
    .cookie-option-info h4 {
        font-size: 0.95rem;
    }
    
    .cookie-option-info p {
        font-size: 0.8rem;
    }
    
    .cookie-switch {
        width: 50px;
        height: 28px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-settings-buttons .btn {
        width: 100%;
    }
    
    /* Map modal mobile */
    .map-modal .modal-content {
        padding: 0;
    }
    
    .map-modal-title {
        padding: 1rem;
        padding-top: 3.5rem;
        margin-bottom: 0;
        font-size: 1.25rem;
    }
    
    .map-modal-tabs {
        padding: 0 0.5rem 0.5rem;
        gap: 0.25rem;
    }
    
    .map-modal-tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .map-modal-frame {
        border-radius: 0;
        min-height: 50vh;
    }
    
    .map-modal-info {
        margin: 0;
        border-radius: 0;
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* ===== REVIEWS SECTION ===== */
.section-reviews {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.section-reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Reviews Section Corners */
.section-reviews .section-corner::before {
    background: linear-gradient(90deg, #fbbf24 0%, transparent 100%);
}
.section-reviews .section-corner::after {
    background: linear-gradient(180deg, #fbbf24 0%, transparent 100%);
}
.section-reviews .section-corner-tr::before,
.section-reviews .section-corner-br::before {
    background: linear-gradient(270deg, #22c55e 0%, transparent 100%);
}
.section-reviews .section-corner-bl::after,
.section-reviews .section-corner-br::after {
    background: linear-gradient(0deg, #22c55e 0%, transparent 100%);
}

/* Reviews Section Accents */
.section-accent-reviews {
    width: 48px;
    height: 48px;
    top: 10%;
    right: 8%;
    color: #fbbf24;
    animation: float-slow 6s ease-in-out infinite;
}

.section-accent-reviews-2 {
    width: 44px;
    height: 44px;
    bottom: 12%;
    left: 6%;
    color: #22c55e;
    animation: float-slow 8s ease-in-out infinite reverse;
}

/* Reviews Content wrapper для toggle */
.reviews-content {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: top center;
}

.reviews-content.hidden {
    opacity: 0;
    transform: scaleY(0);
    height: 0;
    margin: 0;
    overflow: hidden;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars svg {
    width: 24px;
    height: 24px;
    color: #fbbf24;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.google-logo {
    height: 24px;
    opacity: 0.8;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    contain: layout style paint;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    flex: 1;
}

.review-author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    color: #fbbf24;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 2rem;
}

.reviews-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Reviews responsive */
@media (max-width: 768px) {
    .reviews-summary {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .rating-score {
        font-size: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description-wrapper .hero-desc-item {
        font-size: 0.875rem;
    }
    
    /* Flipboard visible on small screens */
    .logo-flipboard {
        display: flex;
        font-size: 0.8rem;
        gap: 0.35rem;
        margin-left: 0.5rem;
    }
    
    .split-flap {
        min-width: 48px;
        height: 24px;
        padding: 0 5px;
        border-radius: 3px;
    }
    
    .flipboard-dot {
        font-size: 0.55rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Modal extra small screen */
    .modal-body {
        padding: 0.75rem;
        padding-top: 3rem;
    }
    
    .modal-body h2 {
        font-size: 1.2rem;
    }
    
    .modal-body h3 {
        font-size: 1rem;
    }
    
    .modal-body p,
    .modal-body ul {
        font-size: 0.85rem;
    }
    
    #gdprModal .modal-body section {
        padding: 0.75rem !important;
    }
    
    /* Cookie banner mobile */
    .cookie-banner {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-icon {
        display: none;
    }
    
    .cookie-text h3 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.8rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* ===== TEAM SECTION ===== */
.section-team {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.section-team::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Team Section Corners */
.section-team .section-corner::before {
    background: linear-gradient(90deg, #a855f7 0%, transparent 100%);
}
.section-team .section-corner::after {
    background: linear-gradient(180deg, #a855f7 0%, transparent 100%);
}
.section-team .section-corner-tr::before,
.section-team .section-corner-br::before {
    background: linear-gradient(270deg, #8b5cf6 0%, transparent 100%);
}
.section-team .section-corner-bl::after,
.section-team .section-corner-br::after {
    background: linear-gradient(0deg, #8b5cf6 0%, transparent 100%);
}

/* Team Section Accents */
.section-accent-team {
    width: 52px;
    height: 52px;
    top: 12%;
    right: 6%;
    color: #a855f7;
    animation: float-slow 7s ease-in-out infinite;
}

.section-accent-team-2 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    left: 5%;
    color: #f59e0b;
    animation: float-slow 9s ease-in-out infinite reverse;
}

/* ===== SECTION TOGGLE SWITCH ===== */
.section-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.5);
}

.toggle-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s;
    user-select: none;
}

.toggle-switch input:checked ~ .toggle-label,
.section-toggle:has(input:checked) .toggle-label {
    color: var(--text-primary);
}

/* Team Grid скрытие */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: top center;
}

.team-grid.hidden {
    opacity: 0;
    transform: scaleY(0);
    height: 0;
    margin: 0;
    overflow: hidden;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    contain: layout style paint;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(245, 158, 11, 0.1);
}

.team-card:hover::before {
    opacity: 1;
}

/* Avatar Container */
.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.avatar-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
    z-index: 2;
}

.team-card:hover .avatar-icon {
    transform: scale(1.2);
    animation: avatarBounce 0.6s ease;
}

@keyframes avatarBounce {
    0%, 100% { transform: scale(1.2) translateY(0); }
    50% { transform: scale(1.2) translateY(-10px); }
}

/* Avatar Type Styles */
.team-avatar-superman {
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.team-avatar-superman .avatar-cape {
    position: absolute;
    width: 60px;
    height: 40px;
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 30px 30px;
    z-index: 1;
    animation: capeWave 2s ease-in-out infinite;
}

@keyframes capeWave {
    0%, 100% { transform: translateX(-50%) skewX(0deg); }
    50% { transform: translateX(-50%) skewX(5deg); }
}

.team-avatar-gollum {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c4a6e 100%);
    box-shadow: 0 0 30px rgba(14, 116, 144, 0.4);
}

.team-avatar-gollum .avatar-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    bottom: 5px;
    right: 10px;
    animation: ringGlow 2s ease-in-out infinite;
    box-shadow: 0 0 10px #fbbf24;
}

@keyframes ringGlow {
    0%, 100% { box-shadow: 0 0 10px #fbbf24; opacity: 0.8; }
    50% { box-shadow: 0 0 25px #fbbf24, 0 0 40px #fbbf24; opacity: 1; }
}

.team-avatar-doctor {
    background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
    animation: doctorPulse 3s ease-in-out infinite;
}

@keyframes doctorPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 0 50px rgba(14, 165, 233, 0.6); }
}

.team-avatar-hacker {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
}

.team-avatar-hacker .avatar-hood {
    position: absolute;
    width: 110px;
    height: 70px;
    background: linear-gradient(180deg, #0f172a 0%, transparent 100%);
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0;
    z-index: 3;
}

.team-avatar-hacker .avatar-icon {
    margin-top: 20px;
}

.team-avatar-furby {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.team-avatar-camera {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.team-avatar-night {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.team-avatar-anime {
    background: linear-gradient(135deg, #be185d 0%, #7c3aed 100%);
    box-shadow: 0 0 30px rgba(190, 24, 93, 0.3);
}

.team-avatar-billiard {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    box-shadow: 0 0 30px rgba(4, 120, 87, 0.3);
}

.team-avatar-mechanic {
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
    box-shadow: 0 0 30px rgba(180, 83, 9, 0.3);
}

.team-avatar-wrench {
    background: linear-gradient(135deg, #374151 0%, #6b7280 100%);
    box-shadow: 0 0 30px rgba(107, 114, 128, 0.3);
}

.team-avatar-bike {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* Knight Ivanhoe style */
.team-avatar-knight {
    background: linear-gradient(135deg, #475569 0%, #94a3b8 50%, #334155 100%);
    box-shadow: 0 0 30px rgba(148, 163, 184, 0.4);
    animation: knight-shine 3s ease-in-out infinite;
}

@keyframes knight-shine {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(148, 163, 184, 0.4);
    }
    50% { 
        box-shadow: 0 0 40px rgba(148, 163, 184, 0.6), 0 0 60px rgba(212, 175, 55, 0.3);
    }
}

/* Woody Woodpecker style - super fast! */
.team-avatar-woody {
    background: linear-gradient(135deg, #dc2626 0%, #2563eb 50%, #dc2626 100%);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
    animation: woody-dash 0.5s ease-in-out infinite;
}

@keyframes woody-dash {
    0%, 100% { 
        transform: translateX(0);
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
    }
    25% { 
        transform: translateX(-3px);
    }
    75% { 
        transform: translateX(3px);
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.5);
    }
}

.team-avatar-woody .avatar-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: speed-blur 0.8s linear infinite;
}

@keyframes speed-blur {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.team-avatar-director {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.team-avatar-karate {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
    animation: karateReady 2s ease-in-out infinite;
}

@keyframes karateReady {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05) rotate(2deg); }
}

/* Team Card Text */
.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.team-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    margin-bottom: 0.75rem;
}

/* Team Badge */
.team-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-lounge {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-one {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-bike {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-tech {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Multiple badges container */
.team-badges {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tilted avatar (for Kolya) */
.team-avatar.tilted {
    transform: rotate(-15deg);
}

/* Motorcycle theme avatar */
.team-avatar-moto {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #000 100%);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
    animation: moto-rev 2s ease-in-out infinite;
}

@keyframes moto-rev {
    0%, 100% { box-shadow: 0 0 30px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 50px rgba(220, 38, 38, 0.6), 0 0 20px rgba(255, 100, 0, 0.3); }
}

/* Octopus theme avatar */
.team-avatar-octopus {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #312e81 100%);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    animation: tentacle-pulse 3s ease-in-out infinite;
}

@keyframes tentacle-pulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(124, 58, 237, 0.6), 0 0 80px rgba(99, 102, 241, 0.3);
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-card {
        padding: 1rem;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    .avatar-icon {
        font-size: 2.5rem;
    }
    
    .team-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CURSOR RAYS EFFECT (Desktop Only) ===== */
/* GPU-accelerated for better performance */

/* 3D Cursor Container */
.cursor-dot {
    position: fixed;
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%) translateZ(0);
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform, left, top, opacity;
    transform-style: preserve-3d;
    perspective: 200px;
    contain: layout style;
    backface-visibility: hidden;
}

.cursor-dot.visible {
    opacity: 1;
}

/* Shadow on the "ground" - creates 3D lift illusion */
.cursor-shadow {
    position: absolute;
    width: 30px;
    height: 10px;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(5px) rotateX(80deg);
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(4px);
    pointer-events: none;
}

/* Core sphere - rotating nucleus with color shift */
.cursor-core {
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: 
        /* Highlight */
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.95) 0%, transparent 35%),
        /* Main rotating gradient - more saturated */
        conic-gradient(
            from 0deg,
            #ff8c00 0deg,      /* Vivid Orange */
            #ffc400 60deg,     /* Bright Gold */
            #00e5ff 120deg,    /* Vivid Cyan */
            #00bcd4 180deg,
            #d946ef 240deg,    /* Vivid Magenta-Purple */
            #a855f7 300deg,
            #ff8c00 360deg     /* Back to orange */
        );
    box-shadow: 
        inset -2px -2px 4px rgba(0, 0, 0, 0.4),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(217, 70, 239, 0.9),
        0 0 30px rgba(168, 85, 247, 0.7),
        0 0 45px rgba(139, 92, 246, 0.4);
    animation: coreRotate 4s linear infinite, corePulse 2s ease-in-out infinite;
    transition: width 0.3s, height 0.3s, margin 0.3s;
    filter: saturate(1.3) brightness(1.1);
}

/* Inner nucleus - hot bright center for 3D depth */
.cursor-nucleus {
    position: absolute;
    width: 4px;
    height: 4px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%,
        #ffffff 0%,
        #fff8e7 30%,
        #ffe066 70%,
        #ffaa00 100%
    );
    box-shadow:
        0 0 3px #ffffff,
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 230, 150, 0.8),
        0 0 15px rgba(255, 200, 100, 0.5);
    animation: nucleusPulse 1.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes nucleusPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

/* Heat corona - appears when absorbing energy */
.cursor-corona {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 200, 100, 0.4) 0%,
        rgba(255, 150, 50, 0.2) 30%,
        rgba(255, 100, 50, 0.1) 50%,
        transparent 70%
    );
    opacity: 0;
    pointer-events: none;
    animation: coronaFlicker 0.15s ease-in-out infinite alternate;
    filter: blur(2px);
    z-index: -1;
}

@keyframes coronaFlicker {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes coreRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes corePulse {
    0%, 100% { 
        filter: brightness(1.1) saturate(1.3);
    }
    50% { 
        filter: brightness(1.3) saturate(1.5);
    }
}

/* Glowing aura around core */
.cursor-aura {
    position: absolute;
    width: 28px;
    height: 28px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(192, 132, 252, 0.4) 0%, 
        rgba(139, 92, 246, 0.2) 40%,
        transparent 70%);
    animation: auraPulse 1.5s ease-in-out infinite;
}

@keyframes auraPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.4; }
}

/* 3D Rotating Rings - invisible tracks, only particles visible */
.cursor-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: none; /* No visible ring */
    transform-style: preserve-3d;
    background: transparent;
    box-shadow: none;
}

/* Ring 1 - Main horizontal orbit */
.cursor-ring-1 {
    width: 36px;
    height: 36px;
    margin-left: -18px;
    margin-top: -18px;
    animation: ringRotate1 3s linear infinite;
}

@keyframes ringRotate1 {
    0% { transform: rotateX(70deg) rotateZ(0deg); }
    100% { transform: rotateX(70deg) rotateZ(360deg); }
}

/* Ring 2 - Tilted orbit */
.cursor-ring-2 {
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -21px;
    animation: ringRotate2 4s linear infinite;
}

@keyframes ringRotate2 {
    0% { transform: rotateX(60deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateY(45deg) rotateZ(-360deg); }
}

/* Ring 3 - Vertical orbit */
.cursor-ring-3 {
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    animation: ringRotate3 2.5s linear infinite reverse;
}

@keyframes ringRotate3 {
    0% { transform: rotateY(80deg) rotateZ(0deg); }
    100% { transform: rotateY(80deg) rotateZ(360deg); }
}

/* Orbiting particles - electrons in 3 brand colors */
.cursor-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    filter: saturate(1.5) brightness(1.3);
    transition: none; /* JS controls all properties */
    will-change: transform, box-shadow, width, height;
}

/* Orange particles (Lounge) - vivid amber */
.cursor-particle-orange {
    background: radial-gradient(circle at 20% 20%, #fff 0%, #ffc400 35%, #ff8c00 100%);
    box-shadow: 
        0 0 12px #ffb020, 
        0 0 24px #ff8c00,
        0 0 40px rgba(255, 140, 0, 0.8);
}

/* Cyan particles (Bike) - electric cyan */
.cursor-particle-cyan {
    background: radial-gradient(circle at 20% 20%, #fff 0%, #00e5ff 35%, #00bcd4 100%);
    box-shadow: 
        0 0 12px #00e5ff, 
        0 0 24px #00bcd4,
        0 0 40px rgba(0, 229, 255, 0.8);
}

/* Purple/Magenta particles (One) - vivid magenta */
.cursor-particle-purple {
    background: radial-gradient(circle at 20% 20%, #fff 0%, #e879f9 35%, #d946ef 100%);
    box-shadow: 
        0 0 12px #e879f9, 
        0 0 24px #d946ef,
        0 0 40px rgba(217, 70, 239, 0.8);
}

.cursor-ring-1 .cursor-particle {
    top: -2.5px;
    left: 50%;
    margin-left: -2.5px;
}

.cursor-ring-2 .cursor-particle {
    bottom: -2.5px;
    left: 50%;
    margin-left: -2.5px;
}

.cursor-ring-3 .cursor-particle {
    top: 50%;
    right: -2.5px;
    margin-top: -2.5px;
}

/* Additional particle positions for more particles per ring */
.cursor-ring .cursor-particle:nth-child(2) {
    top: auto;
    bottom: -2.5px;
    left: 50%;
    right: auto;
    margin-left: -2.5px;
    margin-top: 0;
}

.cursor-ring .cursor-particle:nth-child(3) {
    top: 50%;
    bottom: auto;
    left: -2.5px;
    right: auto;
    margin-left: 0;
    margin-top: -2.5px;
}

/* Rays stay below content */
.cursor-ray {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: visible;
    will-change: transform, opacity;
    contain: layout style;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.cursor-ray.visible {
    opacity: 1;
}

.cursor-ray svg {
    overflow: visible;
    position: absolute;
    left: 0;
    top: 0;
}

.cursor-ray-path {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px currentColor);
    transition: stroke-width 0.3s ease, filter 0.3s ease;
}

/* String vibration animation - subtle constant */
@keyframes stringVibrate {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-0.5px); }
    75% { transform: translateY(0.5px); }
}

/* Pluck animation - occasional strong vibration */
@keyframes stringPluck {
    0% { transform: translateY(0) scaleY(1); }
    10% { transform: translateY(-3px) scaleY(1.3); }
    20% { transform: translateY(2px) scaleY(0.8); }
    30% { transform: translateY(-1.5px) scaleY(1.15); }
    40% { transform: translateY(1px) scaleY(0.9); }
    50% { transform: translateY(-0.5px) scaleY(1.05); }
    70% { transform: translateY(0.3px) scaleY(0.98); }
    100% { transform: translateY(0) scaleY(1); }
}

.cursor-ray.plucked svg {
    animation: stringPluck 0.8s ease-out;
}

/* Ray colors - top/bottom warm colors */
.cursor-ray[data-side="top"] .cursor-ray-path,
.cursor-ray[data-side="bottom"] .cursor-ray-path {
    stroke: rgba(245, 158, 11, 0.7);
    color: rgba(245, 158, 11, 0.5);
}

.cursor-ray:nth-child(odd)[data-side="top"] .cursor-ray-path,
.cursor-ray:nth-child(odd)[data-side="bottom"] .cursor-ray-path {
    stroke: rgba(6, 182, 212, 0.7);
    color: rgba(6, 182, 212, 0.5);
}

/* Ray colors - left/right cool colors */
.cursor-ray[data-side="left"] .cursor-ray-path,
.cursor-ray[data-side="right"] .cursor-ray-path {
    stroke: rgba(99, 102, 241, 0.7);
    color: rgba(99, 102, 241, 0.5);
}

.cursor-ray:nth-child(odd)[data-side="left"] .cursor-ray-path,
.cursor-ray:nth-child(odd)[data-side="right"] .cursor-ray-path {
    stroke: rgba(168, 85, 247, 0.7);
    color: rgba(168, 85, 247, 0.5);
}

/* Hide cursor effects on mobile/tablet */
@media (max-width: 1024px), (hover: none) {
    .cursor-dot,
    .cursor-ray {
        display: none !important;
    }
}

/* Extra small phones (320px) */
@media (max-width: 360px) {
    .logo-flipboard {
        font-size: 0.65rem;
        gap: 0.3rem;
        margin-left: 0.4rem;
    }
    
    .split-flap {
        min-width: 40px;
        height: 22px;
        padding: 0 4px;
    }
    
    .flipboard-dot {
        font-size: 0.5rem;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo-carousel {
        width: 36px;
        height: 36px;
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }

    .specs-title-bike-road {
        padding: 0.35rem 0.6rem;
        gap: 0.25rem;
        align-items: center;
    }

    .specs-title-bike-road::before,
    .specs-title-bike-road::after {
        animation: none;
        opacity: 0.2;
    }

    .specs-title-bike-road .bike-rider {
        display: none;
    }

    .specs-title-bike-road .specs-title-text {
        display: inline-flex;
        font-size: 0.8rem;
        letter-spacing: 0.02em;
    }

    .bike-scenery-layer,
    .bike-billboard-layer {
        display: none !important;
    }
}

/* ===== PRICING MOBILE TUNING ===== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .pricing-title {
        font-size: 1.25rem;
        gap: 0.6rem;
    }

    .pricing-title .pricing-icon {
        width: 28px;
        height: 28px;
    }

    .pricing-item {
        padding: 1.7rem 1.2rem;
        margin: 1rem 0;
        min-height: 200px;
    }

    .pricing-box-title {
        font-size: 1.3rem;
    }

    .pricing-box-time {
        font-size: 0.9rem;
    }

    .pricing-box-price {
        font-size: 1.7rem;
    }

    .pricing-old,
    .price-old {
        font-size: 0.85rem;
    }

    .pricing-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.4rem;
        letter-spacing: 0.06em;
    }

    .price-live::after {
        inset: -4px -8px;
    }

    .price-live--arc::before {
        left: -12px;
        right: -12px;
        height: 10px;
    }

    .price-info-box {
        padding: 0.6rem;
    }

    .specs-title-bike-road {
        padding-right: 0.6rem;
        gap: 0.25rem;
    }

    .specs-title-bike-road::before {
        inset: 0.2rem 0.25rem;
        animation-duration: 3.8s;
    }

    .specs-title-bike-road::after {
        inset: 0.25rem 0.25rem;
    }

    .specs-title-bike-road .specs-title-content {
        gap: 0.15rem;
    }

    .specs-title-bike-road .bike-rider {
        margin-top: 0.2rem;
        transform: scale(0.9);
        transform-origin: left bottom;
    }

    .specs-title-bike-road .bike-flag {
        --flag-length: clamp(80px, 26vw, 130px);
        bottom: 0.45rem;
    }

    .specs-title-bike-road .bike-flag-text {
        font-size: 0.7rem;
    }

    .specs-title-bike-road .bike-flag-rope {
        width: 14px;
    }

    .specs-title-bike-road .bike-rider svg {
        width: 28px;
        height: 28px;
    }

    .bike-scenery-layer {
        inset: 0.25rem 0.3rem;
    }

    .bike-scenery-track--back {
        bottom: 58%;
    }

    .bike-scenery-track--front {
        bottom: 18%;
    }

    .bike-scenery-item {
        margin-right: var(--scenery-gap, 12px);
    }

    .bike-scenery-item img {
        width: var(--scenery-width, 20px);
        height: var(--scenery-height, 20px);
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .specs-title-bike-road .bike-flag {
        --flag-length: clamp(70px, 36vw, 120px);
        bottom: 0.35rem;
    }

    .specs-title-bike-road .bike-flag-text {
        font-size: 0.66rem;
        letter-spacing: 0.04em;
    }

    .specs-title-bike-road .bike-flag-rope {
        width: 12px;
    }

    .pricing-title {
        font-size: 1.15rem;
    }

    .pricing-item {
        padding: 1.4rem 1rem;
        min-height: 180px;
    }

    .pricing-box-title {
        font-size: 1.15rem;
        letter-spacing: 0.06em;
    }

    .pricing-box-time {
        font-size: 0.85rem;
    }

    .pricing-box-price {
        font-size: 1.5rem;
    }

    .specs-title-bike-road {
        padding-right: 0.5rem;
    }

    .specs-title-bike-road::before {
        inset: 0.22rem 0.22rem;
    }

    .specs-title-bike-road::after {
        inset: 0.28rem 0.22rem;
    }

    .specs-title-bike-road .bike-rider {
        margin-top: 0.15rem;
        transform: scale(0.82);
    }

    .specs-title-bike-road .bike-rider svg {
        width: 24px;
        height: 24px;
    }

    .bike-scenery-layer {
        inset: 0.28rem 0.25rem;
    }

    .bike-scenery-track--back {
        bottom: 60%;
        opacity: 0.45;
    }

    .bike-scenery-track--front {
        bottom: 16%;
    }

    .bike-scenery-item img {
        width: var(--scenery-width, 18px);
        height: var(--scenery-height, 18px);
    }
}

@keyframes leaderWiresFlow {
    0% {
        background-position: 0 0;
        opacity: 0.35;
    }
    100% {
        background-position: 160px 0;
        opacity: 0.6;
    }
}

@keyframes leaderWiresFlowReverse {
    0% {
        background-position: 0 0;
        opacity: 0.25;
    }
    100% {
        background-position: -180px 0;
        opacity: 0.5;
    }
}