
/* ==================== VARIABLES & RESET ==================== */
:root {
    --primary-blue: #004aad;
    --dark-blue: #002a63;
    --accent-yellow: #ffcc00;
    --accent-orange: #ff7f50;
    --accent-purple: #8a2be2;
    --accent-green: #2ecc71;
    --accent-pink: #ff007f;
    
    /* Party Package Specific Colors */
    --color-starter: #FFA800;
    --color-deluxe: #00B4D8;
    --color-elite: #E65F00;
    --color-ultimate: #D60036;

    --text-dark: #333;
    --text-light: #f4f4f4;
    --section-padding: 100px 0;
    --font-main: 'Montserrat', sans-serif;
    --font-fun: 'Fredoka One', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative; /* Helps constrain absolutely positioned children */
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-main);
    background-color: #f0f2f5;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-fun); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;}
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: var(--section-padding); }
.text-center { text-align: center; }
.text-white { color: white !important; }
.text-dark { color: var(--text-dark) !important; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}
.btn-primary {
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-orange));
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); 
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}
.btn-primary:hover, .hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 204, 0, 0.5);
}
.btn-lg { padding: 18px 50px; font-size: 1.3rem; }

/* Pulse Animation */
.btn-primary::before, .btn-primary::after {
    content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0;
    background: inherit; border-radius: 50px;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.btn-primary::after { animation-delay: 0.6s; }
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ==================== GAMEY LOADER ==================== */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1b003a 0%, #000000 100%);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
}
#bits-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.loader-content { 
    position: relative; z-index: 2; text-align: center; color: white;
}
.loader-logo { 
    font-family: var(--font-fun);
    font-size: 4rem; 
    margin-bottom: 20px; 
    text-shadow: 0 0 10px var(--accent-pink), 0 0 20px var(--accent-blue);
    letter-spacing: 5px;
}
.loader-bar-bg {
    width: 200px; height: 10px; background: rgba(255,255,255,0.1);
    border-radius: 20px; margin: 0 auto 15px; overflow: hidden; position: relative;
    border: 1px solid rgba(255,255,255,0.3);
}
.loader-bar-fill {
    width: 0%; height: 100%; background: var(--accent-yellow);
    box-shadow: 0 0 10px var(--accent-yellow);
    animation: loadProgress 3s ease-in-out forwards;
}
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }
.loading-text {
    font-family: monospace; color: var(--accent-green); font-size: 1.2rem;
    text-transform: uppercase; animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0.5; } }

/* ==================== NAVBAR ==================== */
#main-nav {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 25px 0;
    transition: 0.4s ease; opacity: 0; transform: translateY(-30px);
}
#main-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo Styling */
.nav-logo img {
    height: 60px; width: auto; transition: transform 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
#main-nav.scrolled .nav-logo img { height: 50px; }
.nav-logo:hover img { transform: scale(1.05); }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links li a { color: white; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; position: relative; }
#main-nav.scrolled .nav-links li a { color: var(--text-dark); }
.nav-links li a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 3px;
    background: var(--accent-yellow); transition: 0.3s;
}
.nav-links li a:hover::after { width: 100%; }
#main-nav.scrolled .nav-links li a:hover { color: var(--primary-blue); }

.btn-nav {
    background: var(--accent-yellow); color: var(--primary-blue) !important;
    padding: 12px 30px; border-radius: 30px; animation: none !important; box-shadow: none;
}
.btn-nav::before, .btn-nav::after { display: none; }
.btn-nav:hover { background: white; color: var(--primary-blue) !important; }
#main-nav.scrolled .btn-nav { background: var(--primary-blue); color: white !important; }
#main-nav.scrolled .btn-nav:hover { background: var(--accent-yellow); color: var(--primary-blue) !important;}

/* ==================== HAMBURGER & MOBILE OVERLAY ==================== */
.hamburger { 
    display: none; 
    cursor: pointer; 
    z-index: 10005;
    width: 30px; height: 20px; 
    position: relative; 
}
.hamburger span {
    display: block; position: absolute; height: 3px; width: 100%; 
    background: white; border-radius: 9px; opacity: 1; left: 0; 
    transition: .25s ease-in-out;
}
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

#main-nav.scrolled .hamburger span { background: var(--text-dark); }

.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(135deg); background: white !important; }
.hamburger.active span:nth-child(2) { opacity: 0; left: -60px; background: white !important; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); background: white !important; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; 
    pointer-events: none; 
    display: flex; justify-content: center; align-items: center;
}
.mobile-menu-overlay.active { pointer-events: auto; }

/* Expanding Circle Background */
.mobile-menu-bg {
    position: absolute; top: 0; right: 0; width: 100vmax; height: 100vmax;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: auto;
}
.mobile-menu-overlay.active .mobile-menu-bg { clip-path: circle(150% at 100% 0%); }

/* Mobile Nav List */
.mobile-nav-links {
    list-style: none; text-align: center; z-index: 10002; 
    opacity: 0; visibility: hidden; transition: 0.3s;
    pointer-events: auto; 
}
.mobile-menu-overlay.active .mobile-nav-links { opacity: 1; visibility: visible; transition-delay: 0.3s; }
.mobile-nav-links li { margin: 25px 0; overflow: hidden;}
.mobile-nav-links a {
    color: white; font-size: 2rem; font-weight: 800; font-family: var(--font-fun);
    display: inline-block; transform: translateY(100%); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mobile-menu-overlay.active .mobile-nav-links a { transform: translateY(0); }
.mobile-nav-links .btn-nav { font-size: 1.5rem; padding: 15px 40px; }

/* Mobile Close Button Style */
.mobile-close-btn {
    background: rgba(255,255,255,0.2); border: 2px solid white; color: white;
    padding: 10px 25px; border-radius: 30px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center;
    gap: 10px; text-transform: uppercase;
}
.mobile-close-btn:hover { background: white; color: var(--primary-blue); transform: scale(1.05); }

/* ==================== HEADER ==================== */
#hero-header {
    position: relative; height: 100vh; width: 100%;
    overflow: hidden; display: flex; align-items: center;
}
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 120%; z-index: -1; }
#hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 42, 99, 0.5); z-index: 0;
}
.hero-content {
    position: relative; z-index: 1; color: white; width: 100%;
    display: flex; flex-direction: column; align-items: center;
}
.text-slider-wrapper {
    position: relative; height: 300px; width: 100%;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 40px; overflow: hidden;
}
.text-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; 
}
.hero-title { font-size: 5.5rem; line-height: 1; margin-bottom: 20px; text-shadow: 4px 4px 8px rgba(0,0,0,0.6); text-align: center; }
.hero-subtitle { font-size: 2rem; font-weight: 700; text-align: center; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
.hero-btn-container { opacity: 0; position: relative; z-index: 10; }

/* ==================== ATTRACTIONS ==================== */
.section-title { font-size: 3rem; margin-bottom: 60px; color: var(--primary-blue); position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 80px; height: 5px; background: var(--accent-yellow); border-radius: 10px;}

.attractions-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px; }

.attraction-card {
    flex: 0 1 350px; width: 100%; background: white; border-radius: 25px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); transform-style: preserve-3d; 
    transform: perspective(1000px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.attraction-card:hover { box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.card-image {
    height: 280px; background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 30px; position: relative; overflow: hidden;
}
.card-image::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    z-index: 1; transition: 0.3s;
}
.attraction-card:hover .card-image::before { background: linear-gradient(to bottom, transparent 30%, rgba(0,42,99,0.7)); }
.card-details { padding: 30px; text-align: center; transform: translateZ(50px); }
.card-details p { font-weight: 600; font-size: 1.1rem; color: var(--primary-blue); }
.price-tag {
    background: var(--accent-purple); color: white; padding: 12px 20px;
    border-radius: 15px; display: inline-block; font-weight: 700; margin-top: 15px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* ==================== KIDSCAPE ==================== */
.kidscape-section {
    background-color: #FFF8E1;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 204, 0, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 127, 80, 0.2) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415zM30 30l.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415-.828-.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415.828.828-1.415 1.415z' fill='%23ffcc00' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
}
.kidscape-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    background: rgba(255,255,255,0.8); padding: 50px; 
    border-radius: 40px; margin-top: 30px;
    border: 5px solid var(--accent-yellow);
    box-shadow: 0 20px 50px rgba(255, 204, 0, 0.2);
    backdrop-filter: blur(10px);
}
.kidscape-layout h3 { color: var(--primary-blue); font-size: 1.8rem; margin-bottom: 30px; text-align: center; }
.rate-box {
    display: flex; justify-content: space-between; align-items: center;
    background: white; padding: 20px 30px; margin-bottom: 20px;
    border-radius: 25px; font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05); border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: default;
}
.rate-box:hover { transform: scale(1.05) rotate(-2deg); border-color: var(--accent-yellow); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.rate-box .price { font-family: var(--font-fun); font-size: 1.8rem; color: var(--accent-orange); }
.rate-box.popular { background: linear-gradient(135deg, var(--accent-yellow), #ffd700); color: var(--primary-blue); transform: scale(1.08); border: none;}
.rate-box.popular:hover { transform: scale(1.12) rotate(2deg); box-shadow: 0 20px 40px rgba(255, 204, 0, 0.4); }
.rate-box.unlimited { background: linear-gradient(135deg, var(--accent-purple), #9b59b6); color: white; }
.rate-box.unlimited .price { color: var(--accent-yellow); }

.rules-container {
    background: white; padding: 40px 35px; border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 2px solid rgba(0, 42, 99, 0.05); height: fit-content;
}
.rules-container h3 { 
    display: flex; justify-content: center; align-items: center; gap: 15px; 
    color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 35px; text-align: center;
}
.rules-container h3 i { font-size: 2.5rem; }
.rules-container ul { display: flex; flex-direction: column; gap: 25px; }
.rules-container ul li { 
    display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; 
    font-weight: 700; font-size: 1.2rem; color: var(--text-dark); line-height: 1.4;
}
.rules-container ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    display: flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; flex-shrink: 0;
    color: var(--accent-green); font-size: 1.1rem; background: rgba(46, 204, 113, 0.15); border-radius: 50%;
}

/* ==================== ARCADE ==================== */
.arcade-section {
    background-color: #120a2a;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.3), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 74, 173, 0.3), transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.token-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; padding-bottom: 30px; }
.token-card {
    flex: 0 1 200px; overflow: visible; background: linear-gradient(135deg, #2ecc71, #219150);
    background-image: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(33, 145, 80, 0.95)),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    color: white; padding: 30px 20px; border-radius: 20px; text-align: center; position: relative; 
    border: 2px solid rgba(255,255,255,0.15); box-shadow: 0 10px 25px rgba(46, 204, 113, 0.2), inset 0 0 20px rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.token-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 20px 40px rgba(46, 204, 113, 0.4); border-color: var(--accent-yellow); z-index: 5; }
.token-card h4 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.token-card p { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.5px; opacity: 0.9; }

.featured-token {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    background-image: linear-gradient(135deg, rgba(255, 204, 0, 0.9), rgba(255, 127, 80, 0.9)),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='2' fill='%23ffffff' fill-opacity='0.2'/%3E%3C/svg%3E");
    color: var(--primary-blue); transform: scale(1.15); z-index: 2;
    box-shadow: 0 20px 50px rgba(255, 204, 0, 0.3); border-color: rgba(255,255,255,0.5);
}
.featured-token:hover { transform: translateY(-10px) scale(1.2); box-shadow: 0 30px 60px rgba(255, 204, 0, 0.5); }
.featured-token .badge {
    position: absolute; 
    bottom: -18px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--primary-blue); 
    color: white; 
    padding: 8px 25px; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    font-weight: 800; 
    white-space: nowrap; 
    width: max-content; /* Forces the background to fully wrap the text */
    display: inline-flex; /* Better alignment for icon and text */
    align-items: center;
    gap: 8px; /* Smooth spacing between the star and the text */
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 2px solid var(--accent-yellow); 
    z-index: 10;
}

/* Ensure the Member Mode badge inherits these fixes but keeps its specific colors */
.token-card.featured-token.member-mode .badge {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    border-color: white;
}

/* ==================== PARTY PACKAGES ==================== */
.party-packages-section {
    padding-top: 150px; 
    background-color: #f0f2f5; 
    position: relative;
}
.party-header-wrapper {
    margin-bottom: 50px;
}

/* Modern Subtitle Badge */
.party-subtitle-wrapper {
    margin-top: -30px;
    margin-bottom: 50px;
}
.party-subtitle-badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 800;
    padding: 10px 25px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.3);
}
.party-subtitle-badge i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Slider Track Layout */
.packages-slider-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}
.packages-slider-track-wrapper {
    overflow: hidden;
    width: calc(100% + 40px); /* This fixes the left-leaning offset */
    padding: 20px 20px 50px 20px; 
    margin: -20px -20px -50px -20px; 
}
.packages-slider-track {
    display: flex;
    gap: 30px; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Individual Cards */
.party-card {
    flex: 0 0 calc(33.333% - 20px); 
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    border: 2px solid #eaeaea;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    position: relative; 
}
.party-card:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Card Headers & Colors */
.text-starter { color: var(--color-starter); }
.text-deluxe { color: var(--color-deluxe); }
.text-elite { color: var(--color-elite); }
.text-ultimate { color: var(--color-ultimate); }

.party-card-header { padding: 25px 20px; text-align: center; border-bottom: 2px solid #f5f5f5; }
.party-card-header h3 { font-size: 2.2rem; margin: 0; }
.card-starter .party-card-header h3 { color: var(--color-starter); }
.card-deluxe .party-card-header h3 { color: var(--color-deluxe); }
.card-elite .party-card-header h3 { color: var(--color-elite); }
.card-ultimate .party-card-header h3 { color: var(--color-ultimate); }

/* Party Features List (Icon perfectly centered to text) */
.party-features-list { 
    padding: 25px 22px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    flex-grow: 1; 
}
.party-features-list li { 
    display: grid; 
    grid-template-columns: 24px 1fr; 
    align-items: center; /* PERFECT VERTICAL CENTERING */
    gap: 12px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: #444; 
    line-height: 1.3; 
}
.party-features-list li i { 
    font-size: 1.2rem; 
    text-align: center; 
}
.party-features-list li.not-included { color: #bbb; font-weight: 500; }
.party-features-list li.not-included i { color: #ccc; }

/* Card Footers */
.party-card-footer { 
    padding: 20px; 
    text-align: center; 
    color: white; 
    /* Force the bottom corners of the gradient footer to round perfectly */
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}
.party-card-footer h4 { font-family: var(--font-fun); font-size: 2.1rem; margin: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.party-card-footer h4 span { font-family: var(--font-main); font-size: 1rem; font-weight: 700; display: block; margin-top: -2px; opacity: 0.9; }


.footer-starter { background: linear-gradient(135deg, #FFB800 0%, #FF5C00 100%); }
.footer-deluxe { background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%); }
.footer-elite { background: linear-gradient(135deg, #FF7A00 0%, #8F00FF 100%); }
.footer-ultimate { background: linear-gradient(135deg, #FF005C 0%, #7A0099 100%); }

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
    background: var(--accent-yellow); color: var(--primary-blue); border: none; border-radius: 50%;
    cursor: pointer; z-index: 10; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex; justify-content: center; align-items: center; font-size: 1.5rem; transition: all 0.3s ease;
}
.slider-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); }
.slider-arrow:disabled { cursor: not-allowed; }
.arrow-left { left: 0px; }
.arrow-right { right: 0px; }

/*.slider-arrow:disabled { */
/*    background: #e0e0e0; */
/*    color: #999; */
/*    cursor: not-allowed; */
/*    box-shadow: none;*/
/*}*/

/* ==================== REWARDS ==================== */
.rewards-section { background: #fff; padding: 80px 0; overflow: hidden; position: relative; }
.slider-track { display: flex; width: max-content; animation: scroll-left 40s linear infinite; }
.slider-track:hover { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.reward-item {
    width: 250px; height: 250px; margin: 0 20px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative; flex-shrink: 0; cursor: pointer; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reward-item:hover { transform: scale(1.1); z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.reward-item img { width: 100%; height: 100%; object-fit: cover; }
.reward-item::after {
     content: '\f00e'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
     position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
     color: white; font-size: 3rem; opacity: 0; transition: 0.3s; z-index: 3;
}
.reward-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Modals */
#image-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10005; display: none; opacity: 0;
    justify-content: center; align-items: center;
}
.modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(20,20,20,0.8) 0%, rgba(0,0,0,0.95) 100%);
}
#modal-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;}
#modal-img { max-width: 90%; max-height: 90%; object-fit: contain; z-index: 2; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: scale(0.8); }
#modal-close { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; z-index: 3; transition: 0.3s; }
#modal-close:hover { color: var(--accent-yellow); transform: rotate(90deg); }

#video-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10006; 
    display: none; opacity: 0; justify-content: center; align-items: center;
}
.video-modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(20,20,20,0.85) 0%, rgba(0,0,0,0.98) 100%);
}
.video-container-modal {
    position: relative; z-index: 2; width: 90%; max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8); border-radius: 20px; overflow: hidden; transform: scale(0.8); background: #000;
}
#modal-video { width: 100%; display: block; border-radius: 20px; }
#video-modal-close { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; z-index: 3; transition: 0.3s; }
#video-modal-close:hover { color: var(--accent-yellow); transform: rotate(90deg); }

/* ==================== MEMBERSHIP ==================== */
.membership-section { background: white; position: relative; overflow: hidden;}
.membership-section::before {
     content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
     background: var(--accent-yellow); opacity: 0.1; border-radius: 50%; z-index: 0;
}
.membership-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; position: relative; z-index: 1;}

.benefits-list ul li { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.benefits-list ul li i { flex-shrink: 0; color: var(--accent-green); font-size: 1.5rem; filter: drop-shadow(0 2px 5px rgba(46,204,113,0.3)); }

.comparison-table { background: white; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1); border: 2px solid #eee; }
.comparison-table h3 { background: linear-gradient(45deg, var(--accent-orange), var(--accent-pink)); color: white; padding: 25px; margin: 0; font-size: 1.8rem;}
.table-header, .table-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 20px 25px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 1.1rem; }
.table-header { background: #f8f9fa; color: var(--primary-blue); text-transform: uppercase; letter-spacing: 1px;}
.table-row .highlight { color: var(--primary-blue); font-weight: 800; font-size: 1.2rem; background-color: rgba(0, 74, 173, 0.1); border-radius: 15px; padding: 5px; }
.join-offer h2 { font-size: 4rem; color: var(--primary-blue); }
.join-offer h2 small { display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-family: var(--font-main);
    margin-top: -16px;
    margin-bottom: 2em;}

/* ==================== LOCATION & DIRECTIONS ==================== */
.text-left { text-align: left !important; }
.text-left::after { left: 0; transform: none; } 

.location-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    background: white; padding: 60px; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 2px solid #f0f2f5; position: relative; overflow: hidden;
}
.location-layout::before {
    content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,204,0,0.15) 0%, transparent 70%); z-index: 0;
}
.location-text, .location-map { position: relative; z-index: 1; }

.address-box {
    display: flex; align-items: center; gap: 25px; background: #f8f9fa; padding: 25px;
    border-radius: 20px; border-left: 5px solid var(--accent-orange); margin-bottom: 25px; transition: transform 0.3s ease;
}
.address-box:hover { transform: translateX(10px); background: white; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.address-box i { font-size: 3rem; color: var(--accent-orange); filter: drop-shadow(0 4px 6px rgba(255,127,80,0.3)); }
.address-box h4 { margin-bottom: 8px; color: var(--primary-blue); font-size: 1.3rem; }
.address-box p { margin: 0; font-weight: 600; color: #666; line-height: 1.5; }

/* Edit Modal */
.edit-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7);
    display: none; justify-content: center; align-items: center; z-index: 9999; backdrop-filter: blur(5px);
}
.edit-modal-overlay.active { display: flex; }
.edit-modal-box {
    background: #fff; width: 90%; max-width: 500px; padding: 30px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); position: relative; animation: slideUp 0.3s ease-out;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.edit-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.edit-modal-header h3 { margin: 0; color: #333; font-family: 'Montserrat', sans-serif; }
.close-edit-modal { font-size: 24px; cursor: pointer; color: #888; }
.close-edit-modal:hover { color: #ff3366; }
.edit-input-group { margin-bottom: 20px; }
.edit-input-group label { display: block; margin-bottom: 8px; color: #555; font-weight: 600; }
.edit-input-group input, .edit-input-group textarea {
    width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 8px; font-family: 'Montserrat', sans-serif;
}
.edit-input-group input:focus, .edit-input-group textarea:focus { border-color: #2ECC71; outline: none; }
.save-edit-btn { background: #2ECC71; color: #fff; border: none; padding: 12px 25px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; width: 100%; }
.save-edit-btn:hover { background: #27ae60; }

/* ==================== FOOTER ==================== */
.modern-footer {
    background-color: var(--dark-blue); color: #b0b0b0; padding-top: 100px; font-family: var(--font-main); position: relative;
}
.modern-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20L0 20z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; }
.footer-brand h2 { color: white; font-size: 2.5rem; margin-bottom: 25px; text-shadow: 2px 2px 5px rgba(0,0,0,0.5); }
.footer-brand p { line-height: 1.8; margin-bottom: 30px; font-size: 1.1rem; }
.footer-col h3 { color: white; font-size: 1.4rem; margin-bottom: 30px; position: relative; display: inline-block; letter-spacing: 1px;}
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 70px; height: 4px; background: var(--accent-yellow); border-radius: 2px;}
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #b0b0b0; font-weight: 600; font-size: 1.1rem; display: inline-block;}
.footer-links a:hover { color: var(--accent-yellow); transform: translateX(10px); }
.contact-info li { margin-bottom: 20px; display: flex; align-items: start; gap: 15px; font-size: 1.1rem;}
.contact-info i { color: var(--accent-yellow); margin-top: 5px; font-size: 1.3rem;}
.newsletter-form { position: relative; margin-top: 25px; }
.newsletter-form input {
    width: 100%; padding: 18px 25px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05); color: white; outline: none; transition: 0.3s; font-size: 1rem;
}
.newsletter-form input:focus { border-color: var(--accent-yellow); background: rgba(255,255,255,0.1); }
.newsletter-form button {
    position: absolute; right: 5px; top: 5px; background: var(--accent-yellow); color: var(--primary-blue);
    border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3); font-size: 1.2rem; display: flex; justify-content: center; align-items: center;
}
.newsletter-form button:hover { transform: scale(1.1); background: white; }
.social-icons { display: flex; gap: 20px; margin-top: 30px; }
.social-btn {
    width: 50px; height: 50px; background: rgba(255,255,255,0.1); color: white;
    display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: 0.3s; font-size: 1.3rem;
}
.social-btn:hover { background: var(--accent-yellow); color: var(--primary-blue); transform: translateY(-5px) rotate(10deg); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.copyright-bar { padding: 30px 0; text-align: center; font-size: 1rem; color: #888; position: relative; z-index: 1;}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-notification {
    position: fixed; bottom: -100px; right: 30px; background: white; box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-radius: 20px; padding: 20px 25px; display: flex; align-items: center; gap: 20px; z-index: 100000;
    max-width: 400px; opacity: 0; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); border-left: 6px solid var(--accent-green);
}
.toast-notification.show { bottom: 30px; opacity: 1; }
.toast-icon { font-size: 2.5rem; color: var(--accent-green); }
.toast-content h4 { margin: 0 0 5px 0; color: var(--primary-blue); font-size: 1.2rem; }
.toast-content p { margin: 0; font-size: 0.95rem; color: var(--text-dark); line-height: 1.4; }
.toast-close { background: none; border: none; font-size: 1.2rem; color: #999; cursor: pointer; transition: 0.3s; margin-left: auto; }
.toast-close:hover { color: var(--accent-pink); transform: scale(1.2); }
.toast-notification.toast-exists { border-left-color: var(--accent-yellow); }
.toast-notification.toast-exists .toast-icon { color: var(--accent-yellow); }

/* ==================== ADVERTISEMENT POPUP ==================== */
.promo-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Glassmorphism Background */
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000; /* Stays above the navigation menu */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.promo-popup-content {
    position: relative;
    max-width: 90%;
    width: 650px;
    transform: scale(0.5); /* Starting scale for the bounce effect */
    opacity: 0;
}

.promo-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /*box-shadow: 0 30px 60px rgba(0,0,0,0.6);*/
    display: block;
    transition: transform 0.3s ease;
}

.promo-image:hover {
    transform: scale(1.02); /* Slight hover interactiveness */
}

/* Modern Floating Close Button */
.promo-close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-close-btn:hover {
    background: var(--accent-pink);
    color: white;
    transform: rotate(90deg) scale(1.15);
}


/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 1200px) {
    /* Responsive party cards limit for large screens */
    .party-card { flex: 0 0 calc(33.333% - 20px); } 
}
@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 4rem; }
    .kidscape-layout, .membership-layout { grid-template-columns: 1fr; gap: 40px;}
    .attraction-card { height: auto; } .card-image { height: 240px; }
    .location-layout { grid-template-columns: 1fr; padding: 40px 30px; gap: 40px; }
    .text-left { text-align: center !important; }
    .text-left::after { left: 50%; transform: translateX(-50%); }
    .address-box { text-align: left; }
    
    .nav-links { display: none !important; }
    .hamburger { display: block; margin-left: 25px; }
    .nav-logo { margin-right: auto; }

    /* 2 columns on tablet */
    .party-card { flex: 0 0 calc(50% - 15px); } 
}

@media (max-width: 768px) {
    .btn-nav-desk { display: none !important; }
    .hero-title { font-size: 3rem; } .hero-subtitle { font-size: 1.5rem; }
    .section-title { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .featured-token { transform: scale(1); } 
    .featured-token:hover { transform: translateY(-10px) scale(1.05); }
    .rate-box.popular { transform: scale(1); } 
    .rate-box.popular:hover { transform: scale(1.05); }
    .table-header, .table-row { padding: 15px 10px; font-size: 1rem; }
    .join-offer h2 { font-size: 3rem; }
    .btn { width: 100%; max-width: 300px; margin: 0 auto; display: inline-flex;}
    
    #video-modal-close { top: 15px; right: 20px; font-size: 2rem; }
    .video-container-modal { width: 95%; }
    .location-layout { padding: 30px 20px; }
    .address-box { flex-direction: column; text-align: center; gap: 15px; border-left: none; border-bottom: 5px solid var(--accent-orange); }
    .address-box:hover { transform: translateY(-5px); }

    .footer-col { text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .contact-info li { justify-content: center; text-align: center; }

    .kidscape-layout { padding: 25px 15px; border-width: 3px; border-radius: 30px; }
    .rate-box { padding: 15px 20px; font-size: 1rem; }
    .rate-box .price { font-size: 1.4rem; }
    .rules-container { padding: 25px 20px; }
    .rules-container h3 { font-size: 1.8rem; margin-bottom: 25px; }
    .rules-container ul li { font-size: 1rem; gap: 12px; }
    
    .toast-notification { right: 15px; left: 15px; max-width: 100%; }

    /* ========================================================= */
    /* PARTY PACKAGES MOBILE SLIDER "PEEK" EFFECT                */
    /* ========================================================= */
    .packages-slider-container { 
        padding: 0 10px; /* Minimize padding so the card fills more screen */
    }
    .packages-slider-track {
        gap: 15px; /* Tighter gap on mobile */
    }
    .party-card { 
        flex: 0 0 85%; /* Card takes 85% width, leaving 15% for the next card to peek */
    }
    
    /* Ensure shadows aren't cut off with the new padding */
    .packages-slider-track-wrapper {
        padding: 20px 20px 50px 20px; 
    margin: -20px -20px -50px -20px; 
    }


    /* Shrink the arrows slightly and ensure they float above the cards */
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        z-index: 20; 
    }
    .arrow-left { left: 0px; }
    .arrow-right { right: 0px; }
    
       .promo-close-btn {
        top: -15px;
        right: -10px; /* Shifted slightly inwards so it doesn't clip off narrow screens */
        width: 40px; 
        height: 40px; 
        font-size: 1.2rem;
    }
}

/* Container for the floating button */
.floating-support-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  
  /* The float animation applied here */
  animation: floatEffect 3s ease-in-out infinite;
  transition: transform 0.2s ease;
}

/* Icon styling */
.floating-support-btn img {
  width: 65px; /* Adjust to fit your design */
  height: auto;
  border-radius: 50%; /* Makes the shadow look better if the icon is round */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Optional: Slight pop-up effect when hovering */
.floating-support-btn:hover {
  transform: scale(1.05);
  animation-play-state: paused; /* Pauses the float while they click */
}

/* ==================== ARCADE TABS & FLIP STYLES ==================== */
.arcade-tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 45px;
    position: relative;
    z-index: 10;
}

.arcade-tab {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 14px 35px;
    border-radius: 50px;
    font-family: var(--font-fun);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arcade-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

.arcade-tab.active {
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-orange));
    color: var(--primary-blue);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
    transform: scale(1.1);
}

/* Perspective required for the 3D flip effect */
.token-grid {
    perspective: 1200px; 
}

/* Fix GSAP conflict: Only transition colors/shadows, let GSAP handle transforms */
.token-card {
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

/* ==================== VIP MEMBER CARD COLORS ==================== */

/* First 4 Cards: Modern Blue Gradient (Cyan to Deep Blue) */
.token-card.member-mode {
    background: linear-gradient(135deg, #00B4D8, #004aad);
    background-image: linear-gradient(135deg, rgba(0, 180, 216, 0.9), rgba(0, 74, 173, 0.95)),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3), inset 0 0 20px rgba(255,255,255,0.05);
}

.token-card.member-mode:hover {
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.5);
    border-color: var(--accent-yellow);
}

/* 5th Featured Card: Regular Color Match with Inner Particles ONLY (No outer pulse transform) */
.token-card.featured-token.member-mode {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    color: var(--primary-blue);
    border-color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden; /* Keeps particles inside the card */
}

/* Hover glow for 5th card */
.token-card.featured-token.member-mode:hover {
    box-shadow: 0 30px 60px rgba(255, 204, 0, 0.5);
}

/* Inner Glowing Particles */
.token-card.featured-token.member-mode::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.9) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 2px);
    background-size: 40px 40px, 25px 25px;
    background-position: 0 0, 15px 15px;
    animation: floating-particles 15s linear infinite;
    z-index: 1; /* Below text, above background */
    pointer-events: none;
    opacity: 0.6;
}

/* Ensure card text stays above the particles */
.token-card.featured-token.member-mode > * {
    position: relative;
    z-index: 2;
}

@keyframes floating-particles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(15deg); }
}

/* ==================== ARCADE FLOATING DECOR IMAGES ==================== */
.relative-container {
    position: relative; 
}

.arcade-decor-left, .arcade-decor-right {
    position: absolute;
    top: 50%;
    z-index: 1; 
    opacity: 0; /* Strictly opacity, no visibility property */
    pointer-events: none; 
    transition: opacity 0.8s ease-in-out;
}

/* Toggled by Javascript */
.arcade-section.show-member-decor .arcade-decor-left,
.arcade-section.show-member-decor .arcade-decor-right {
    opacity: 1;
}

/* Left UFO */
.arcade-decor-left {
    left: -120px; /* Moved slightly further left to accommodate larger size */
    transform: translateY(-50%);
}
.arcade-decor-left img {
    width: 320px; /* Increased size */
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 255, 150, 0.3));
    animation: ufo-float 5s ease-in-out infinite;
}

/* Right Card */
.arcade-decor-right {
    right: -100px;
    transform: translateY(-50%);
}
.arcade-decor-right img {
    width: 300px; /* Increased size */
    height: auto;
    animation: card-pulse-float 10s ease-in-out infinite; 
}

@keyframes ufo-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-40px) rotate(5deg); }
}

@keyframes card-pulse-float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-50px) translateX(-20px) scale(1.05); opacity: 1; filter: drop-shadow(0 20px 30px rgba(0, 180, 216, 0.4)); }
}

/* Hide decor on smaller screens */
@media (max-width: 1400px) {
    .arcade-decor-left, .arcade-decor-right {
        display: none;
    }
}
/* The actual floating keyframes */
@keyframes floatEffect {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px); /* Moves up 12 pixels */
  }
  100% {
    transform: translateY(0);
  }
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.scroll-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active states toggled by JavaScript */
.scroll-reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-fade.is-visible {
    opacity: 1;
}

/* Optional staggered delays for side-by-side items */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

