/* ==========================================
   20.24 EVENTS — CSS STYLES
   3D Immersive Modern Design
   ========================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --blue: #0066FF;
    --blue-dark: #0050CC;
    --blue-light: #3385FF;
    --blue-glow: rgba(0, 102, 255, 0.45);
    --blue-subtle: rgba(0, 102, 255, 0.1);
    --dark: #050510;
    --dark-card: #0A0A1A;
    --dark-surface: #111128;
    --dark-border: rgba(255, 255, 255, 0.08);
    --white: #FFFFFF;
    --gray-100: #F5F5F7;
    --gray-300: #A1A1AA;
    --gray-500: #71717A;
    --gradient-blue: linear-gradient(135deg, #0066FF, #00CCFF);
    --gradient-fire: linear-gradient(135deg, #FF6B00, #FF0066, #0066FF);
    --gradient-ig: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ---------- Particle Canvas ---------- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Utility ---------- */
.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 14px rgba(0, 102, 255, 0.8));
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.28);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-ig-btn:hover {
    background: var(--gradient-blue);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.45);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- 3D Interactive Intro Stage ---------- */
.intro-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    overflow: hidden;
    z-index: 2;
    background: radial-gradient(circle at 50% 40%, rgba(0, 102, 255, 0.12) 0%, rgba(5, 5, 16, 0.95) 70%);
}

.intro-stage-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.intro-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    top: 5%;
    left: 20%;
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #00CCFF;
    bottom: 10%;
    right: 15%;
    animation: orbPulse 10s ease-in-out infinite alternate 2s;
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    100% { transform: scale(1.15) translate(30px, -20px); opacity: 0.35; }
}

.intro-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.intro-stage-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: revealAfterMascot 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both;
}

.intro-brand-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    line-height: 0.95;
    flex-wrap: wrap;
    animation: revealAfterMascot 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.intro-brand-num {
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 11vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 0 40px rgba(0, 102, 255, 0.4);
}

.intro-brand-text {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-shadow: 0 0 30px rgba(0, 204, 255, 0.4);
}

/* Mascot 3D Spinning Stage */
.mascot-spin-stage {
    position: relative;
    width: clamp(260px, 34vw, 360px);
    height: clamp(260px, 34vw, 360px);
    margin: 10px auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.mascot-spin-card {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: grab;
    transition: filter 0.3s ease;
}

.mascot-spin-card:active {
    cursor: grabbing;
}

.mascot-spin-img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ==================== 4D VOLUMETRIC PLUSH ASSEMBLY ==================== */
.plush-4d-assembly {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    filter: drop-shadow(0 15px 32px rgba(0, 102, 255, 0.42)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.65));
}

.plush-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 3D Extrusion Slices (Creates solid physical cushion thickness / Grosor) */
.plush-slice {
    background-image: url('assets/img/mascot-plushie-clean.webp');
    transform: translate3d(0, 0, var(--sz, -2px));
    filter: brightness(var(--so, 0.8)) saturate(1.12);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    pointer-events: none;
}

/* 3D Back Cushion Layer */
.plush-layer-back {
    background-image: url('assets/img/mascot-plushie-clean.webp');
    transform: translate3d(0, 0, -44px) rotateY(180deg);
    filter: brightness(0.52) contrast(1.1) saturate(1.15);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 3D Lateral Side Profile Core (Thickness Anchor matching user's reference) */
.plush-side-center {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(0, 0, -22px) rotateY(90deg);
    pointer-events: none;
    transform-style: preserve-3d;
}

.plush-side-img {
    height: 94%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
}

/* 3D Front Face (Z = 0) */
.plush-face-front {
    position: relative;
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
    display: inline-block;
    z-index: 2;
}

/* Elevated 3D Parallax Face Features (Eyes & Eyebrows) */
.plush-features-3d {
    position: absolute;
    inset: 0;
    transform: translate3d(0, 0, var(--sz, 8px));
    pointer-events: none;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.plush-eyes-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

/* 3D Plushie Forward Zoom & Elastic Landing Animation */
@keyframes zoomForward3D {
    0% {
        opacity: 0;
        transform: perspective(1000px) translate3d(0, 0, -420px) scale(0.2);
    }
    65% {
        opacity: 1;
        transform: perspective(1000px) translate3d(0, 0, 30px) scale(1.08, 0.94);
    }
    82% {
        opacity: 1;
        transform: perspective(1000px) translate3d(0, 0, -10px) scale(0.97, 1.03);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) translate3d(0, 0, 0) scale(1, 1);
    }
}

.mascot-zoom-in {
    animation: zoomForward3D 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}

/* 3D Dynamic Floor Shadow under spinning plushie */
.mascot-spin-shadow-3d {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(180px, 24vw, 250px);
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, rgba(0, 102, 255, 0.3) 45%, transparent 75%);
    filter: blur(14px);
    z-index: 1;
    pointer-events: none;
    animation: zoomForwardShadow 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}

@keyframes zoomForwardShadow {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.2);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Interactive Plushie Squeeze / Squish Animation */
.plushie-squish-effect {
    animation: plushieSqueeze 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes plushieSqueeze {
    0% {
        transform: scale(1, 1);
    }
    28% {
        transform: scale(1.18, 0.82) translateY(10px);
    }
    55% {
        transform: scale(0.92, 1.1) translateY(-6px);
    }
    78% {
        transform: scale(1.04, 0.98) translateY(2px);
    }
    100% {
        transform: scale(1, 1) translateY(0);
    }
}

/* Staged Reveal for text and buttons */
@keyframes revealAfterMascot {
    0% {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==================== 4D MASCOT ENGINE ==================== */

/* 4D Ambient Fire Aura - Multi-phase breathing plasma */
.mascot-4d-aura {
    position: absolute;
    width: clamp(280px, 34vw, 380px);
    height: clamp(280px, 34vw, 380px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.45) 0%, rgba(0, 220, 255, 0.22) 40%, rgba(0, 60, 200, 0.1) 60%, transparent 75%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: auraPlasma4D 6s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes auraPlasma4D {
    0% { transform: scale(0.92) translate3d(0, 0, 0); opacity: 0.65; }
    50% { transform: scale(1.08) translate3d(0, -6px, 0); opacity: 0.9; }
    100% { transform: scale(1.02) translate3d(0, 4px, 0); opacity: 0.75; }
}

/* 4D Gyroscopic Orbital Rings */
.gyro-ring-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
}

.gyro-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
    will-change: transform;
}

.gyro-ring-x {
    width: clamp(270px, 32vw, 350px);
    height: clamp(270px, 32vw, 350px);
    border: 1.5px dashed rgba(0, 150, 255, 0.45);
    animation: gyroSpinX 14s linear infinite;
}

.gyro-ring-y {
    width: clamp(310px, 36vw, 400px);
    height: clamp(310px, 36vw, 400px);
    border: 1.2px solid rgba(0, 240, 255, 0.35);
    animation: gyroSpinY 18s linear infinite reverse;
}

.gyro-ring-z {
    width: clamp(350px, 40vw, 450px);
    height: clamp(350px, 40vw, 450px);
    border: 1px dotted rgba(255, 255, 255, 0.25);
    animation: gyroSpinZ 22s linear infinite;
}

.gyro-bead {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00F0FF, 0 0 20px rgba(0, 102, 255, 0.8);
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.bead-1 { background: #00F0FF; }
.bead-2 { background: #38B6FF; }
.bead-3 { background: #FFFFFF; }

@keyframes gyroSpinX {
    0% { transform: perspective(800px) rotateX(72deg) rotateY(15deg) rotateZ(0deg); }
    100% { transform: perspective(800px) rotateX(72deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes gyroSpinY {
    0% { transform: perspective(800px) rotateY(70deg) rotateX(20deg) rotateZ(0deg); }
    100% { transform: perspective(800px) rotateY(70deg) rotateX(20deg) rotateZ(360deg); }
}

@keyframes gyroSpinZ {
    0% { transform: perspective(800px) rotateX(40deg) rotateZ(0deg); }
    100% { transform: perspective(800px) rotateX(40deg) rotateZ(360deg); }
}

/* 4D Floating Fire Embers Container */
.mascot-embers-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.ember-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #00F0FF 0%, rgba(0, 102, 255, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 8px #00F0FF;
    pointer-events: none;
    animation: emberFloat4D var(--ember-dur, 3s) ease-out infinite;
    animation-delay: var(--ember-delay, 0s);
    will-change: transform, opacity;
}

@keyframes emberFloat4D {
    0% {
        opacity: 0;
        transform: translate3d(var(--ember-x, 0px), 0px, var(--ember-z, 0px)) scale(0.3);
    }
    20% {
        opacity: var(--ember-max-op, 0.85);
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--ember-x, 0px) + var(--ember-drift, 20px)), -140px, var(--ember-z, 0px)) scale(1.1);
    }
}

/* 4D Interactive Shockwave Ring */
.shockwave-4d-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #00F0FF;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.9), inset 0 0 15px rgba(0, 102, 255, 0.7);
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

.shockwave-active {
    animation: shockwavePulse4D 0.75s cubic-bezier(0.1, 0.8, 0.2, 1) forwards !important;
}

@keyframes shockwavePulse4D {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 1;
    }
    40% {
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

.intro-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-300);
    margin-bottom: 28px;
    font-weight: 500;
    animation: revealAfterMascot 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

/* Universal Scroll Down Indicator Button */
.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(10, 10, 26, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 999px;
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(16px);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: revealAfterMascot 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s both;
}

.scroll-down-btn:hover,
.scroll-down-btn:active {
    background: rgba(0, 102, 255, 0.25);
    border-color: var(--blue);
    transform: translateY(3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
}

.scroll-down-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-light);
}

.scroll-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceChevron 1.6s ease-in-out infinite;
    color: var(--blue-light);
}

@keyframes bounceChevron {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-3d {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    transition: transform 0.1s linear;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    top: 10%;
    left: 10%;
    animation: float1 18s ease-in-out infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #00CCFF;
    top: 40%;
    right: 10%;
    animation: float2 22s ease-in-out infinite alternate;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #0050CC;
    bottom: 10%;
    left: 40%;
    animation: float3 15s ease-in-out infinite alternate;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--blue-light);
    top: 20%;
    right: 30%;
    animation: float1 12s ease-in-out infinite alternate;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: #003399;
    bottom: 20%;
    left: 15%;
    animation: float2 20s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -40px) scale(1.15); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

@keyframes float3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, -60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line-1 {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.title-line-2 {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--gray-300);
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s both;
}

/* Authentic Countdown Box */
.hero-countdown-box {
    margin-top: 52px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 36px;
    background: rgba(10, 10, 26, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 102, 255, 0.12);
    animation: fadeIn 1s ease-out 1s both;
}

.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00FF88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF88;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-countdown {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
}

.cd-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.cd-sep {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(0, 102, 255, 0.45);
    margin-top: -12px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Events Section ---------- */
.events {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.events-grid {
    display: grid;
    gap: 32px;
}

.events-grid-focused {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 960px;
    margin: 0 auto;
}

.event-card {
    perspective: 800px;
    cursor: pointer;
}

.event-card-inner {
    position: relative;
    padding: 44px 36px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    transform-style: preserve-3d;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--blue-glow), transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.event-card:hover .event-card-glow {
    opacity: 0.2;
}

.event-card:hover .event-card-inner {
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 24px 60px rgba(0, 102, 255, 0.18);
}

.event-card-featured .event-card-inner {
    border-color: rgba(0, 102, 255, 0.35);
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.08) 0%, var(--dark-card) 40%);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.1);
}

.event-badge-highlight {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gradient-blue);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

.event-card-soon .event-card-inner {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 26, 0.5);
}

.event-badge-soon {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gray-300);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
}

.soon-code {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-light);
    font-family: var(--font-display);
    margin-left: 4px;
}

.tag-muted {
    background: rgba(255, 255, 255, 0.04);
    color: var(--gray-300);
    border-color: rgba(255, 255, 255, 0.1);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2.4s ease-in-out infinite;
}

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

.event-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.event-desc {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 5px 14px;
    background: var(--blue-subtle);
    color: var(--blue-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--dark-border);
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date svg {
    color: var(--blue);
}

.event-date-soon {
    color: var(--gray-500);
}

.event-date-soon svg {
    color: var(--gray-500);
}

/* ---------- About Section & 3D Plushie ---------- */
.about {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.plush-float-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: plushieFloat3D 4.8s ease-in-out infinite;
    transform-style: preserve-3d;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

@keyframes plushieFloat3D {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1, 1);
    }
    25% {
        transform: translateY(-10px) rotate(-2deg) scale(0.985, 1.02);
    }
    50% {
        transform: translateY(-20px) rotate(1.2deg) scale(0.99, 1.015);
    }
    75% {
        transform: translateY(-8px) rotate(2deg) scale(1.02, 0.985);
    }
}

.mascot-img.plush-3d {
    width: clamp(230px, 28vw, 300px);
    max-height: 360px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 102, 255, 0.55));
    transition: filter 0.3s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
}

.plush-float-wrapper:hover .mascot-img.plush-3d {
    filter: drop-shadow(0 20px 50px rgba(0, 102, 255, 0.85));
}

/* 3D Floor Shadow synchronized with Plushie Height */
.mascot-shadow-3d {
    width: clamp(160px, 20vw, 220px);
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, rgba(0, 102, 255, 0.3) 40%, transparent 75%);
    filter: blur(12px);
    margin-top: 14px;
    z-index: 1;
    animation: plushieShadowSync 4.8s ease-in-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes plushieShadowSync {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.72);
        opacity: 0.35;
    }
}

/* 4D Holographic Chamber Pedestal (About Section) */
.pedestal-4d-portal {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) perspective(600px) rotateX(74deg);
    width: clamp(230px, 28vw, 300px);
    height: clamp(230px, 28vw, 300px);
    pointer-events: none;
    z-index: 0;
}

.portal-ring-outer {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(0, 150, 255, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.4);
    animation: portalSpin 18s linear infinite;
}

.portal-ring-inner {
    position: absolute;
    inset: 26px;
    border: 1.5px solid rgba(0, 240, 255, 0.55);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 102, 255, 0.5);
    animation: portalSpin 12s linear infinite reverse;
}

.portal-core-glow {
    position: absolute;
    inset: 52px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.45) 0%, rgba(0, 102, 255, 0.2) 50%, transparent 75%);
    filter: blur(12px);
    animation: corePulse 3s ease-in-out infinite alternate;
}

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

@keyframes corePulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

.gyro-about {
    z-index: 1;
}

.gyro-about .gyro-ring-x {
    width: clamp(230px, 28vw, 290px);
    height: clamp(230px, 28vw, 290px);
}

.gyro-about .gyro-ring-y {
    width: clamp(270px, 32vw, 340px);
    height: clamp(270px, 32vw, 340px);
}

.about-content {
    padding-right: 10px;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

/* Origin Story Card & Hogueras Details */
.origin-story-card {
    position: relative;
    padding: 34px 30px;
    background: linear-gradient(145deg, rgba(12, 16, 40, 0.88) 0%, rgba(6, 7, 24, 0.95) 100%);
    border: 1px solid rgba(0, 102, 255, 0.32);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.origin-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #00CCFF, var(--blue));
}

.origin-story-card:hover {
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 24px 60px rgba(0, 102, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.story-item {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.story-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.story-subtitle {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-text {
    color: var(--gray-300);
    margin-bottom: 0;
    line-height: 1.75;
    font-size: 0.98rem;
}

.about-text strong {
    color: var(--white);
    font-weight: 600;
}

.about-launch-note {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
}

.launch-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.about-launch-note p {
    font-size: 0.95rem;
    color: var(--gray-300);
    margin: 0;
    line-height: 1.6;
}

.about-launch-note strong {
    color: var(--white);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---------- Contact / Instagram Section ---------- */
.contact {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.contact-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.instagram-card {
    position: relative;
    padding: 48px 36px;
    background: rgba(10, 10, 26, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 102, 255, 0.12);
    overflow: hidden;
    transition: var(--transition);
}

.instagram-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-ig);
}

.instagram-card:hover {
    border-color: rgba(0, 102, 255, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 102, 255, 0.2);
}

.ig-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ig-avatar-wrap {
    width: 76px;
    height: 76px;
    padding: 3px;
    border-radius: 50%;
    background: var(--gradient-ig);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #050510;
    object-fit: contain;
    padding: 10px;
}

.ig-info {
    text-align: left;
}

.ig-user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ig-handle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.ig-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 102, 255, 0.2);
    color: var(--blue-light);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 999px;
    padding: 2px 10px;
    text-transform: uppercase;
}

.ig-location-text {
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-top: 4px;
}

.ig-card-desc {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 32px;
}

.ig-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ig-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--gradient-blue);
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.45);
    transition: var(--transition);
}

.ig-main-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.65);
}

.ig-tip {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    padding: 60px 0 30px;
    border-top: 1px solid var(--dark-border);
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.footer-logo-img {
    height: 38px;
    margin: 0 auto 12px;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.7));
}

.footer-content > .footer-logo > p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 16, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
        backdrop-filter: blur(24px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.4rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-ig-btn {
        display: none;
    }

    .nav-logo-img {
        height: 36px;
    }

    /* Intro Stage Mobile */
    .intro-stage {
        padding: 95px 16px 45px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .intro-brand-title {
        gap: 10px;
        margin-bottom: 16px;
    }

    .intro-brand-num {
        font-size: clamp(3.4rem, 13vw, 5.5rem);
    }

    .intro-brand-text {
        font-size: clamp(2rem, 8.5vw, 3.6rem);
    }

    .mascot-spin-stage {
        width: 250px;
        height: 250px;
        margin: 6px auto 16px;
    }

    .mascot-spin-img {
        max-height: 230px;
    }

    .ring-spin-1 { width: 240px; height: 240px; }
    .ring-spin-2 { width: 285px; height: 285px; }
    .ring-spin-3 { width: 330px; height: 330px; }

    .intro-tagline {
        font-size: 0.95rem;
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .scroll-down-btn {
        padding: 10px 22px;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 16px 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 8px;
    }

    .hero-countdown-box {
        padding: 20px 18px;
        width: 100%;
        max-width: 380px;
        margin-top: 36px;
    }

    .hero-countdown {
        gap: 10px;
    }

    .cd-item {
        min-width: 44px;
    }

    .cd-num {
        font-size: 1.7rem;
    }

    .cd-lbl {
        font-size: 0.65rem;
    }

    .cd-sep {
        font-size: 1.4rem;
        margin-top: -8px;
    }

    /* Events Section Mobile */
    .events {
        padding: 80px 0;
    }

    .events-grid-focused {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .event-card-inner {
        padding: 36px 24px;
    }

    .event-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .event-date {
        justify-content: center;
    }

    .event-meta .btn-sm {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* About Section Mobile */
    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .mascot-img {
        width: 200px;
        max-height: 260px;
    }

    .gyro-ring-x { width: 230px; height: 230px; }
    .gyro-ring-y { width: 265px; height: 265px; }
    .gyro-ring-z { width: 300px; height: 300px; }
    .pedestal-4d-portal { width: 200px; height: 200px; }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .origin-story-card {
        padding: 26px 20px;
        text-align: left;
    }

    .story-subtitle {
        font-size: 1.05rem;
    }

    .story-badge {
        font-size: 0.76rem;
        padding: 5px 14px;
    }

    .mascot-img.plush-3d {
        width: 210px;
        max-height: 270px;
    }

    .mascot-shadow-3d {
        width: 150px;
        height: 20px;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 80px 0 100px;
    }

    .instagram-card {
        padding: 36px 20px;
    }

    .ig-card-header {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .ig-info {
        text-align: center;
    }

    .ig-user-badge {
        justify-content: center;
    }

    .ig-main-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .intro-stage {
        padding: 85px 12px 35px;
    }

    .intro-brand-num {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

    .intro-brand-text {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }

    .mascot-spin-stage {
        width: 210px;
        height: 210px;
        margin: 4px auto 12px;
    }

    .mascot-spin-img {
        max-height: 195px;
    }

    .ring-spin-1 { width: 200px; height: 200px; }
    .ring-spin-2 { width: 240px; height: 240px; }
    .ring-spin-3 { width: 280px; height: 280px; }

    .hero-title {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }

    .hero-countdown-box {
        padding: 16px 14px;
    }

    .hero-countdown {
        gap: 6px;
    }

    .cd-item {
        min-width: 38px;
    }

    .cd-num {
        font-size: 1.45rem;
    }

    .cd-lbl {
        font-size: 0.6rem;
    }

    .cd-sep {
        font-size: 1.2rem;
        margin-top: -6px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .event-card-inner {
        padding: 30px 18px;
    }

    .instagram-card {
        padding: 30px 16px;
    }

    .ig-handle {
        font-size: 1.3rem;
    }

    .ig-card-desc {
        font-size: 0.95rem;
    }

    .ig-main-btn {
        font-size: 0.9rem;
        padding: 15px 16px;
    }

    .origin-story-card {
        padding: 22px 16px;
    }

    .story-subtitle {
        font-size: 0.98rem;
    }

    .mascot-img.plush-3d {
        width: 180px;
        max-height: 240px;
    }

    .mascot-shadow-3d {
        width: 130px;
        height: 18px;
    }
}

/* ==================== MASCOTA 3D REAL (Three.js) ==================== */
.mascot-3d-canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: none;
    pointer-events: none;
}

.mascot-spin-stage {
    touch-action: pan-y;
    cursor: grab;
}

.mascot-spin-stage:active {
    cursor: grabbing;
}

.mascot-spin-stage.mascot-3d-active .mascot-3d-canvas {
    display: block;
    filter: drop-shadow(0 18px 34px rgba(0, 102, 255, 0.35));
}

/* Con el 3D activo se oculta la imagen 2D de respaldo */
.mascot-spin-stage.mascot-3d-active .mascot-spin-card {
    visibility: hidden;
    pointer-events: none;
}

/* ==================== TU FIESTA ==================== */
.tufiesta {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.occasion-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: -24px auto 48px;
}

.occasion-chip {
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--blue-subtle);
    border: 1px solid rgba(0, 102, 255, 0.3);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.tufiesta-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.tf-steps {
    padding: 40px 34px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.tf-block-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tf-step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 26px;
}

.tf-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tf-step-num {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gradient-blue);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.tf-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tf-step p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.55;
}

.tf-note {
    margin-top: 30px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--blue-subtle);
    border: 1px solid rgba(0, 102, 255, 0.25);
    color: var(--gray-100);
    font-size: 0.92rem;
    line-height: 1.5;
}

.tf-form-card {
    position: relative;
    padding: 40px 34px;
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.08) 0%, var(--dark-card) 40%);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.1);
}

.tf-form-sub {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.tf-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tf-field label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gray-300);
}

.tf-field input,
.tf-field select,
.tf-field textarea {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    color-scheme: dark;
    transition: var(--transition);
}

.tf-field textarea {
    resize: vertical;
    min-height: 100px;
}

.tf-field input::placeholder,
.tf-field textarea::placeholder {
    color: var(--gray-500);
}

.tf-field select option {
    background: #0A0A1A;
    color: var(--white);
}

.tf-field input:focus,
.tf-field select:focus,
.tf-field textarea:focus {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.tf-field.invalid input,
.tf-field.invalid select,
.tf-field.invalid textarea {
    border-color: #ff6b81;
    box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.15);
}

.tf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tf-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.45;
    cursor: pointer;
}

.tf-consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    flex: 0 0 auto;
}

.tf-consent.invalid span {
    color: #ff6b81;
}

.tf-status {
    min-height: 1.4em;
    font-size: 0.92rem;
    font-weight: 500;
}

.tf-status.is-error { color: #ff6b81; }
.tf-status.is-ok { color: #4ade80; }

.tf-submit {
    justify-content: center;
    width: 100%;
}

.tf-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.tf-success {
    text-align: center;
    padding: 24px 0;
}

.tf-success p {
    color: var(--gray-300);
    margin: 10px auto 22px;
    max-width: 380px;
}

.tf-success-img {
    width: 130px;
    height: auto;
    margin: 0 auto 12px;
    filter: drop-shadow(0 10px 24px rgba(0, 102, 255, 0.5));
}

/* ---------- Fotos de las fiestas ---------- */
.photos-block {
    max-width: 860px;
    margin: 96px auto 0;
    padding: 48px 32px;
    text-align: center;
    background: rgba(10, 10, 26, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
}

.photos-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.photos-mosaic {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 28px;
}

.photo-tile {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 40%, rgba(0, 102, 255, 0.28), rgba(10, 10, 26, 0.9));
    border: 1px solid rgba(0, 102, 255, 0.25);
    overflow: hidden;
}

.photo-tile:nth-child(even) {
    transform: translateY(10px);
}

.photo-tile img {
    width: 70%;
    height: auto;
    opacity: 0.55;
    filter: saturate(0.9) blur(0.4px);
}

.photos-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.photos-actions [hidden] {
    display: none !important;
}

.photos-soon {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--blue-subtle);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--blue-light);
    font-size: 0.92rem;
    font-weight: 600;
}

.photos-tip {
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.photos-tip strong {
    color: var(--white);
}

@media (max-width: 900px) {
    .tufiesta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .tufiesta {
        padding: 80px 0;
    }
    .tf-steps,
    .tf-form-card {
        padding: 30px 20px;
    }
    .tf-row {
        grid-template-columns: 1fr;
    }
    .photos-block {
        margin-top: 64px;
        padding: 36px 18px;
    }
    .photo-tile {
        width: 78px;
        height: 78px;
        border-radius: 16px;
    }
}

.photo-tile:nth-child(1) img { transform: rotate(-7deg); }
.photo-tile:nth-child(2) img { transform: rotate(5deg) scale(1.05); }
.photo-tile:nth-child(3) img { transform: rotate(-3deg) scale(0.95); }
.photo-tile:nth-child(4) img { transform: rotate(8deg); }

/* evita scroll horizontal en móvil por decoraciones */
html{overflow-x:hidden}

/* ---------- Galería y subida de fotos ---------- */
.photo-gallery { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 8px; }
.photo-gallery [hidden] { display: none !important; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.photo-cell { padding: 0; border: 0; background: rgba(0,102,255,.12); border-radius: 14px; overflow: hidden; aspect-ratio: 1; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-cell:hover, .photo-cell:focus-visible { transform: scale(1.04); box-shadow: 0 8px 26px rgba(0,102,255,.4); }

.photo-upload { margin: 40px auto 0; max-width: 640px; text-align: left; display: flex; flex-direction: column; gap: 16px; padding-top: 32px; border-top: 1px solid var(--dark-border); }
.photo-upload[hidden] { display: none; }
.photo-upload-title { font-family: var(--font-display); font-size: 1.25rem; text-align: center; }
.photo-opt { font-weight: 400; opacity: .6; }
.photo-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; text-align: center; border: 2px dashed rgba(0,102,255,.45); border-radius: 18px; background: rgba(0,102,255,.06); color: var(--gray-300); cursor: pointer; transition: background .2s, border-color .2s; }
.photo-drop svg { color: var(--blue-light); }
.photo-drop strong { color: var(--white); }
.photo-drop small { opacity: .7; }
.photo-drop:hover, .photo-drop.over { background: rgba(0,102,255,.15); border-color: var(--blue); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-previews:empty { display: none; }
.photo-prev { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.photo-prev button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
#photoSubmit { justify-content: center; }
#photoSubmit.loading { opacity: .7; pointer-events: none; }

.photo-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; background: rgba(3,3,12,.93); padding: 24px; }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.photo-lb-cap { margin-top: 14px; color: var(--gray-300); font-size: .95rem; min-height: 1.2em; }
.photo-lb-close, .photo-lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.photo-lb-close { top: 18px; right: 18px; }
.photo-lb-nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.photo-lb-nav.next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Transiciones suaves entre secciones ---------- */
.intro-stage {
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.hero {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.events { padding-bottom: 60px; }
.tufiesta { padding-top: 60px; }


/* ==========================================
   AJUSTES: MENOS SCROLL Y MÁS LEGIBLE
   ========================================== */
:root { --gray-300: #D4D4D8; }
body { font-size: 17px; }

/* Portada: una sola pantalla en vez de dos */
.intro-stage { min-height: 82vh; min-height: 82svh; padding-bottom: 20px; }
.hero { min-height: auto; padding: 40px 24px 60px; }
.hero-subtitle { margin-bottom: 28px; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: #fff; }

/* Secciones más compactas */
.about, .events, .tufiesta, .contact { padding-top: 64px; padding-bottom: 64px; }
.section-header { margin-bottom: 32px; }

/* Texto más grande y con más contraste */
.section-desc { font-size: 1.15rem; color: #E4E4E7; }
.about-text { font-size: 1.08rem; color: #E4E4E7; line-height: 1.65; }
.event-desc { font-size: 1.08rem; color: #E4E4E7; }
.story-subtitle { font-size: 1.2rem; }
.tf-step p, .ig-card-desc, .tf-note, .tf-form-sub { font-size: 1.05rem; color: #E4E4E7; }
.event-desc strong { color: #fff; }

/* Datos de Nochevieja en chips */
.event-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.event-facts span { background: rgba(0,102,255,.18); border: 1px solid rgba(0,102,255,.5); color: #fff; padding: 8px 14px; border-radius: 50px; font-size: 1rem; font-weight: 500; }

/* Botón flotante en móvil */
.sticky-cta { display: none; }
@media (max-width: 768px) {
    body { font-size: 17px; }
    .intro-stage { min-height: 78vh; min-height: 78svh; padding: 85px 16px 10px; }
    .hero { padding: 24px 16px 40px; }
    .about, .events, .tufiesta, .contact { padding-top: 44px; padding-bottom: 44px; }
    .section-header { margin-bottom: 24px; }
    .sticky-cta { display: block; position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 900; background: var(--blue); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 50px; box-shadow: 0 8px 30px var(--blue-glow); }
}
