html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #b4712d;
    /* Naranja base para evitar flash blanco */
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    /* Bloquear zoom con doble clic */
    touch-action: manipulation;
}

/* Bloquear selección y descarga de imágenes */
img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #b4712d;
}

body::-webkit-scrollbar-thumb {
    background-color: #f2ece7;
    border-radius: 20px;
    border: 2px solid #b4712d;
}

.font-rounded {
    font-family: 'Nunito', sans-serif;
}

/* Optimización de Renderizado */
.hardware-accelerated {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Contenedor Parallax Fixed */
.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}


.diagonal-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300vmax;
    height: 300vmax;
    transform: translate(-50%, -50%) rotate(-35deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    will-change: transform;

    /* MÁSCARA RADIAL: Centro transparente mínimo, palabras invasivas */
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, transparent 5%, rgba(0, 0, 0, 0.7) 30%, black 70%);
    mask-image: radial-gradient(ellipse 60% 60% at center, transparent 5%, rgba(0, 0, 0, 0.7) 30%, black 70%);
}

.word-row {
    display: flex;
    white-space: nowrap;
    gap: 0;
    will-change: transform;
    opacity: 0.6;
    /* Opacidad MEDIA-ALTA */
}

.word-item {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vh, 4rem);
    color: #d68e43;
    text-transform: uppercase;
    user-select: none;
    padding: 0 2.5rem;
    letter-spacing: 0.05em;
}

/* ========================================
   LIQUID GLASS DESIGN SYSTEM (Apple Style)
   ======================================== */

/* Base Liquid Glass Effect */
.liquid-glass {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Light highlight on top edge */
.liquid-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 20%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.6) 80%,
            transparent 100%);
    pointer-events: none;
}

/* Dark Mode Liquid Glass */
.liquid-glass-dark {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.liquid-glass-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent 100%);
    pointer-events: none;
}

/* Liquid Glass Button */
.liquid-glass-btn {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-glass-btn:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.25) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Liquid Glass Card - Enhanced */
.liquid-glass-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.7) 30%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0.7) 70%,
            transparent 100%);
    pointer-events: none;
}

.liquid-glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Dark Mode Card */
.liquid-glass-card-dark {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-glass-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 30%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.35) 70%,
            transparent 100%);
    pointer-events: none;
}

.liquid-glass-card-dark:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navbar Liquid Glass */
.liquid-glass-nav {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.liquid-glass-nav-dark {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(50px) saturate(150%);
    -webkit-backdrop-filter: blur(50px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Icon containers with Liquid Glass */
.liquid-glass-icon {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Legacy glass-card support - now uses Liquid Glass */
.glass-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-transition {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-item {
    opacity: 1;
}

.text-shadow-enhanced {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Ticket Styles */
.ticket-cut {
    position: relative;
    background: #fff;
}

.ticket-cut::before,
.ticket-cut::after {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-cut::before {
    left: -10px;
}

.ticket-cut::after {
    right: -10px;
}

.ticket-dashed {
    border-bottom: 2px dashed #e5e7eb;
}

/* Moyey Logo SVG - Estilos minimalistas */
.moyey-logo-container {
    position: relative;
    display: inline-block;
}

.moyey-logo-svg {
    width: 65vw;
    max-width: 32rem;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
    .moyey-logo-svg {
        width: 40vw;
    }
}

/* Glow sutil detrás del logo */
.moyey-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(ellipse at center,
            rgba(214, 142, 67, 0.15) 0%,
            rgba(214, 142, 67, 0.05) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Model Viewer Hero Styles */
.hero-model-viewer {
    width: 100vw;
    height: 80vh;
    max-height: 80vh;
    --poster-color: transparent;
}

.hero-model-viewer::part(default-ar-button) {
    display: none !important;
}

/* Hide default progress bar for ALL model-viewers */
model-viewer::part(default-progress-bar) {
    display: none;
}

/* Custom Spinner for Model Viewer */
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #d68e43;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* === SE VIENEN COSITAS - Horizontal Die-Cut Sticker Style === */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    /* Allow hover on sticker */
    background: rgba(255, 255, 255, 0.4);
    /* Lighter but blurrier */
    backdrop-filter: blur(15px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(15px);
    transition: backdrop-filter 0.3s ease;
}

.coming-soon-overlay:hover {
    backdrop-filter: blur(8px);
    /* Less blur on hover to peek */
}

.sticker-wrapper {
    text-align: center;
    transform: rotate(0deg);
    /* Horizontal */
    background: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    /* Sticker-like rounded corners */
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.15);
    /* Hard shadow */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    cursor: default;
    border: 4px solid #fff;
    /* Extra border for die-cut feel */
}

.sticker-wrapper:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 8px 8px 0px rgba(214, 142, 67, 0.3);
    /* Ocre shadow on hover */
}

.sticker-line-1 {
    display: block;
    font-family: 'Impallari Type', 'Varela Round', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 0.9;
    color: #2d2d2d;
    /* Dark text for contrast on white sticker */
    margin-bottom: 2px;
}

.sticker-line-2 {
    display: block;
    font-family: 'Impallari Type', 'Varela Round', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 0.9;
    color: #d68e43;
    /* Moyey Ocre */
}

/* Modal version */
.coming-soon-overlay-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    /* Even stronger blur */
    -webkit-backdrop-filter: blur(20px);
}

.sticker-wrapper-modal {
    text-align: center;
    transform: rotate(0deg);
    background: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    border: 6px solid #fff;
}

.sticker-wrapper-modal:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 12px 12px 0px rgba(214, 142, 67, 0.3);
}

.sticker-line-1-modal {
    display: block;
    font-family: 'Impallari Type', 'Varela Round', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.9;
    color: #2d2d2d;
    margin-bottom: 5px;
}

.sticker-line-2-modal {
    display: block;
    font-family: 'Impallari Type', 'Varela Round', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 0.9;
    color: #d68e43;
}

@keyframes stickerFloat {

    /* Removed float for horizontal aligned specific request, rely on hover */
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}
