    *,
    :before,
    :after {
        box-sizing: border-box
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background: #fff8f7;
        color: #373131
    }

    .font-headline {
        font-family: 'Noto Serif', serif;
        letter-spacing: -0.02em;
        /* Títulos más compactos y elegantes */
        line-height: 1.1;
    }

    .mat-icon {
        font-family: 'Material Symbols Outlined';
        font-style: normal;
        font-size: 22px;
        line-height: 1;
        letter-spacing: normal;
        text-transform: none;
        display: inline-block;
        white-space: nowrap;
        direction: ltr;
        font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(24px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-16px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(.94)
        }

        to {
            opacity: 1;
            transform: scale(1)
        }
    }

    @keyframes popIn {
        from {
            opacity: 0;
            transform: scale(.8)
        }

        to {
            opacity: 1;
            transform: scale(1)
        }
    }

    .animate-fade-up {
        animation: fadeInUp .5s cubic-bezier(.34, 1.1, .64, 1) both
    }

    .animate-fade {
        animation: fadeIn .35s ease both
    }

    .animate-scale {
        animation: scaleIn .35s cubic-bezier(.34, 1.1, .64, 1) both
    }

    .animate-pop {
        animation: popIn .3s cubic-bezier(.34, 1.56, .64, 1) both
    }

    .delay-1 {
        animation-delay: .08s
    }

    .delay-2 {
        animation-delay: .16s
    }

    .delay-3 {
        animation-delay: .24s
    }

    .delay-4 {
        animation-delay: .32s
    }

    .delay-5 {
        animation-delay: .40s
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px
    }

    ::-webkit-scrollbar-track {
        background: transparent
    }

    ::-webkit-scrollbar-thumb {
        background: #e2d8d7;
        border-radius: 999px
    }

    /* Page sections */
    .page {
        display: none
    }

    .page.active {
        display: block
    }

    /* Card hover */
    .product-card {
        background: #ffffff;
        border: 1px solid rgba(147, 71, 88, 0.05);
        transition: transform .4s cubic-bezier(.34, 1.3, .64, 1),
            box-shadow .4s ease,
            border-color .4s ease;
    }

    .product-card:hover {
        transform: translateY(-8px);
        /* Elevación más pronunciada */
        border-color: rgba(147, 71, 88, 0.2);
        box-shadow: 0 20px 40px rgba(147, 71, 88, 0.12);
    }

    /* Slot animation */
    .slot-filled {
        animation: popIn .3s cubic-bezier(.34, 1.56, .64, 1) both
    }

    /* Overlay */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(55, 49, 49, .45);
        backdrop-filter: blur(6px);
        z-index: 40;
        visibility: hidden;
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .overlay.open {
        visibility: visible;
        opacity: 1
    }


    /* Tags de categoría sobre las imágenes */
    .category-tag {
        position: absolute;
        top: 1rem;
        left: 1rem;
        padding: 0.4rem 1rem;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        border-radius: 99px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        color: #934758;
        z-index: 10;
        text-transform: uppercase;
    }

    /* Efecto Agotado (Sold Out) */
    .sold-out-overlay {
        position: absolute;
        inset: 0;
        background: rgba(255, 248, 247, 0.6);
        backdrop-filter: grayscale(1) blur(2px);
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sold-out-badge {
        background: #373131;
        color: #fff;
        padding: 0.5rem 1.2rem;
        border-radius: 99px;
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        transform: rotate(-5deg);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    /* Navbar cuando se hace scroll (se puede añadir vía JS añadiendo la clase .scrolled) */
    #navbar.scrolled {
        height: 3.5rem;
        /* Se vuelve más delgado */
        background: rgba(255, 248, 247, 0.9);
        border-color: rgba(147, 71, 88, 0.1);
    }

    /* Efecto hover en los links del nav */
    #navbar button:not(.bg-primary) {
        position: relative;
    }

    #navbar button:not(.bg-primary)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        width: 0;
        height: 2px;
        background: #934758;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    #navbar button:not(.bg-primary):hover::after {
        width: 100%;
    }


    /* Progress bar */
    .progress-bar-inner {
        transition: width .4s cubic-bezier(.34, 1.1, .64, 1)
    }

    /* Pill filter */
    .filter-pill {
        transition: all .2s ease;
        cursor: pointer;
        white-space: nowrap
    }

    .filter-pill.active {
        background: #934758;
        color: #fff7f7
    }

    /* Cart badge */
    .cart-badge {
        animation: popIn .3s cubic-bezier(.34, 1.56, .64, 1) both
    }

    /* Success checkmark */
    @keyframes checkDraw {
        to {
            stroke-dashoffset: 0
        }
    }

    .check-circle {
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
        animation: checkDraw .7s .3s cubic-bezier(.34, 1.1, .64, 1) forwards
    }

    /* Smooth transition for pages */
    .page-transition {
        animation: fadeInUp .4s cubic-bezier(.34, 1.1, .64, 1) both
    }

    /* Toast */

    /* Contenedor principal */
    #toast-container {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 12px;
        pointer-events: none;
    }

    /* Base del Toast */
    .toast {
        min-width: 280px;
        padding: 16px 20px;
        border-radius: 12px;
        background: rgba(25, 25, 25, 0.85);
        /* Fondo oscuro translúcido */
        backdrop-filter: blur(10px);
        color: #fff;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);

        /* Animación de entrada */
        animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        transition: all 0.3s ease;
        pointer-events: auto;
    }

    /* Variantes de Color */
    .toast.success {
        border-left: 4px solid #10b994;
    }

    .toast.error {
        border-left: 4px solid #ef4444;
    }

    .toast.info {
        border-left: 4px solid #3b82f6;
    }

    /* Animaciones */
    @keyframes toast-in {
        from {
            opacity: 0;
            transform: translateX(100%) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
    }

    @keyframes toast-out {
        from {
            opacity: 1;
            transform: translateX(0);
        }

        to {
            opacity: 0;
            transform: translateX(20px);
        }
    }

    .toast.leaving {
        animation: toast-out 0.3s ease forwards;
    }

    /* Sustituye tus estilos de Toast con estos */
    .toast {
        background: #373131;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .toast.success {
        background: #4a7c59;
        /* Un verde bosque más orgánico */
    }

    /* Estilo para el contenedor de los modales */
    #modal-overlay {
        background: rgba(55, 49, 49, 0.6) !important;
        backdrop-filter: blur(8px) !important;
    }

    /* ========================================= 
   HERO SECTION - CONFIGURACIÓN PREMIUM 
   ========================================= */

    /* --- Contenedor Principal de la Imagen (Gigante) --- */
    #hero-image-container {
        perspective: 1500px;
        /* Mejora el efecto 3D de los anillos */
    }

    .custom-radius {
        border-radius: 64px !important;
        /* Bordes más pronunciados para el tamaño grande */
        box-shadow: 0 32px 64px -15px rgba(0, 0, 0, 0.3);
    }

    /* --- Slider Rodaje (Efecto Cortina) --- */
    #hero-slider-rail {
        display: flex;
        width: 300%;
        /* Corregido a 300% para 3 imágenes */
        height: 100%;
        transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1);
        will-change: transform;
    }

    .slide-img {
        width: calc(100% / 3);
        /* Cada imagen ocupa un tercio del riel */
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }



    /* --- Fondo de Cookies (Parallax Base Corregido) --- */
    #parallax-cookies-bg {
        opacity: 0.95;
        filter: saturate(1.3) contrast(1.1);
        object-position: center;
        left: 0;
        top: 0;
        mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
        -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);

        will-change: transform;
        transition: transform 0.1s ease-out;
    }

    /* --- Capas de Parallax y Orbes --- */
    #parallax-ring-1,
    #parallax-ring-2,
    #parallax-dots,
    #orb-1,
    #orb-2 {
        will-change: transform;
        pointer-events: none;
        /* No interfieren con el ratón */
    }

    /* --- Anillos con Glassmorphism (Efecto Cristal) --- */
    #parallax-ring-1,
    #parallax-ring-2 {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 70px;
        /* Bordes más redondeados para acompañar la imagen */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #parallax-ring-1 {
        background-color: rgba(147, 71, 88, 0.15);
        /* Tono sutil del color primario */
        rotate: 12deg;
    }

    #parallax-ring-2 {
        background-color: rgba(255, 255, 255, 0.05);
        rotate: -5deg;
        /* Rotación invertida para mayor dinamismo */
    }

    /* --- Indicadores (Carousel Dots) --- */
    .carousel-dot {
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        background-color: rgba(147, 71, 88, 0.2);
        border-radius: 999px;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .carousel-dot.active {
        background-color: #944758;
        width: 3.5rem;
        /* Más prominente para el diseño grande */
        box-shadow: 0 4px 20px rgba(148, 71, 88, 0.5);
    }

    /* --- Optimizaciones de Animación --- */
    .animate-fade-up {
        animation: fadeUp 1s ease-out forwards;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }



    /* Bloqueo de scroll cuando el menú está abierto */
    .menu-open {
        overflow: hidden;
    }

    #mobile-menu.active {
        transform: translateX(0);
    }

    /* Animación sutil para el icono de menú */
    #menu-icon {
        transition: transform 0.3s ease;
    }

    /* Suavizado para el escalado de la imagen en el store */
    .group:hover img {
        filter: saturate(1.2) brightness(0.8);
    }

    /* Ajuste de radio específico para esta sección */
    .rounded-48 {
        border-radius: 48px;
    }

    /* Scrollbar personalizado para modales */
    .custom-scrollbar::-webkit-scrollbar {
        width: 4px;
    }

    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: rgba(147, 71, 88, 0.2);
        border-radius: 10px;
    }

    /* Transición de escala para modales */
    div[id^="modal-"] {
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }


    /* Parallax Footer con efecto premium */
    .parallax-footer {
        position: absolute;
        inset: 0;
        background-image: url('../img/04.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;

        /* Efecto de escala y movimiento */
        transform: scale(1.15);
        transition: transform 0.3s ease-out;

        /* Filtros para mejor calidad visual */
        filter: brightness(0.7) contrast(1.1) saturate(1.2);

        /* Animación sutil */
        animation: slowZoom 20s ease-in-out infinite alternate;
    }

    /* Animación de zoom lento y dramático */
    @keyframes slowZoom {
        0% {
            transform: scale(1.15) translate(0, 0);
        }

        100% {
            transform: scale(1.25) translate(-1%, -1%);
        }
    }

    /* Overlay con gradiente dinámico */
    .parallax-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.8) 100%);
        backdrop-filter: blur(3px);
        z-index: 1;
    }

    /* Efecto de luz superior */
    .parallax-footer::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }

    /* Efecto de viñeta */
    .parallax-footer::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
        pointer-events: none;
        z-index: 1;
    }

    /* Mejor performance en mobile */
    @media (max-width: 768px) {
        .parallax-footer {
            background-attachment: scroll;
            transform: scale(1.1);
            animation: slowZoomMobile 15s ease-in-out infinite alternate;
            filter: brightness(0.6) contrast(1.15) saturate(1.3);
        }

        @keyframes slowZoomMobile {
            0% {
                transform: scale(1.1) translate(0, 0);
            }

            100% {
                transform: scale(1.18) translate(-0.5%, -0.5%);
            }
        }

        .parallax-overlay {
            backdrop-filter: blur(2px);
        }
    }

    /* Efecto de partículas (opcional) */
    .parallax-footer .particles {
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
        animation: particleMove 30s linear infinite;
    }

    @keyframes particleMove {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 100px 100px;
        }
    }

    /* Estilos para el Hero Carousel Avanzado */

    /* Hero Parallax - Efecto Cinemático */
    #parallax-layers {
        perspective: 2000px;
        overflow: hidden;
        transform-style: preserve-3d;
    }

    .parallax-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 1.2s cubic-bezier(0.34, 1.2, 0.64, 1),
            transform 1.4s cubic-bezier(0.34, 1.2, 0.64, 1),
            filter 0.8s ease-out;
        will-change: opacity, transform, filter;
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }

    .parallax-img.active {
        opacity: 0.95;
        transform: scale(1);
        z-index: 1;
        filter: brightness(1.02) contrast(1.05);
    }

    /* Animación de respiración más rápida y dramática */
    @keyframes dramaticFloat {
        0% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(0.8%, -0.6%) scale(1.02);
        }

        50% {
            transform: translate(-0.5%, 0.7%) scale(1.01);
        }

        75% {
            transform: translate(0.3%, -0.3%) scale(1.015);
        }

        100% {
            transform: translate(0, 0) scale(1);
        }
    }

    .parallax-img.active {
        animation: dramaticFloat 16s ease-in-out infinite;
    }

    /* Orbes con glow y movimiento */
    #orb-1,
    #orb-2,
    #orb-3 {
        transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.2),
            opacity 0.5s ease-out,
            filter 0.5s ease-out;
        filter: blur(120px);
        opacity: 0.12;
        mix-blend-mode: screen;
        will-change: transform;
    }

    #orb-1 {
        background: radial-gradient(circle, rgba(147, 71, 88, 0.4) 0%, rgba(147, 71, 88, 0) 70%);
        animation: orbPulse 8s ease-in-out infinite;
    }

    #orb-2 {
        background: radial-gradient(circle, rgba(100, 108, 163, 0.3) 0%, rgba(100, 108, 163, 0) 70%);
        animation: orbPulse 10s ease-in-out infinite reverse;
    }

    #orb-3 {
        background: radial-gradient(circle, rgba(200, 120, 100, 0.25) 0%, rgba(200, 120, 100, 0) 70%);
        animation: orbPulse 12s ease-in-out infinite;
    }

    @keyframes orbPulse {

        0%,
        100% {
            transform: scale(1);
            opacity: 0.12;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.2;
        }
    }

    /* Dots con efecto parallax 3D */
    #parallax-dots {
        opacity: 0.25;
        transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2);
        background-size: 32px 32px;
        background-image: radial-gradient(#934758 1.5px, transparent 1.5px);
        will-change: transform;
    }

    /* Overlay de gradiente mejorado */
    #hero-parallax::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(125deg,
                rgba(0, 0, 0, 0.3) 0%,
                rgba(0, 0, 0, 0) 40%,
                rgba(255, 255, 255, 0.08) 100%);
        pointer-events: none;
        z-index: 2;
        mix-blend-mode: multiply;
    }

    /* Efecto de vignette para más profundidad */
    #hero-parallax::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
        pointer-events: none;
        z-index: 2;
        opacity: 0.5;
    }

    /* Ruido animado */
    .parallax-noise {
        position: absolute;
        inset: 0;
        background-image: url('https://grainy-gradients.vercel.app/noise.svg');
        opacity: 0.06;
        mix-blend-mode: overlay;
        pointer-events: none;
        z-index: 3;
        animation: noiseShift 0.5s steps(10) infinite;
    }



    /* Ajustes de opacidad para que el video se vea más */
    .hero-video-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg,
                rgba(255, 248, 247, 0.4) 0%,
                rgba(255, 248, 247, 0.2) 35%,
                rgba(255, 248, 247, 0.1) 60%,
                rgba(255, 248, 247, 0.05) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Gradiente radial más sutil */
    .hero-video-radial {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 50%,
                transparent 0%,
                rgba(255, 248, 247, 0.15) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Vignette más suave */
    .hero-video-vignette {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center,
                transparent 60%,
                rgba(0, 0, 0, 0.1) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Gradiente lateral izquierdo más ligero */
    .hero-video-gradient-left {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
                rgba(255, 248, 247, 0.3) 0%,
                rgba(255, 248, 247, 0.1) 25%,
                transparent 50%);
        z-index: 1;
        pointer-events: none;
    }

    /* Ruido más sutil */
    .hero-video-noise {
        position: absolute;
        inset: 0;
        background-image: url('https://grainy-gradients.vercel.app/noise.svg');
        opacity: 0.04;
        mix-blend-mode: overlay;
        pointer-events: none;
        z-index: 2;
    }

    /* Orbes más sutiles */
    .hero-video-orb-1 {
        background: radial-gradient(circle, rgba(147, 71, 88, 0.2) 0%, rgba(147, 71, 88, 0) 70%);
    }

    .hero-video-orb-2 {
        background: radial-gradient(circle, rgba(100, 108, 163, 0.15) 0%, rgba(100, 108, 163, 0) 70%);
    }

    .hero-video-orb-3 {
        background: radial-gradient(circle, rgba(200, 120, 100, 0.12) 0%, rgba(200, 120, 100, 0) 70%);
        opacity: 0.4;
    }

    /* Video con más brillo y saturación */
    .hero-video {
        filter: brightness(1.02) contrast(1.08) saturate(1.15);
    }


    /* Video Hero - Estilo Crumbl Elegante con opacidad reducida */
    .hero-video-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
    }

    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%) scale(1);
        object-fit: cover;
        transition: transform 0.3s ease-out;
        will-change: transform;
        filter: brightness(1.02) contrast(1.08) saturate(1.15);
    }

    /* Overlays mucho más sutiles para que el video sea protagonista */
    .hero-video-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg,
                rgba(255, 248, 247, 0.25) 0%,
                rgba(255, 248, 247, 0.1) 35%,
                rgba(255, 248, 247, 0.05) 60%,
                transparent 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Gradiente radial más sutil */
    .hero-video-radial {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 50%,
                transparent 0%,
                rgba(255, 248, 247, 0.1) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Vignette muy suave */
    .hero-video-vignette {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center,
                transparent 65%,
                rgba(0, 0, 0, 0.08) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Gradiente lateral izquierdo muy ligero */
    .hero-video-gradient-left {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
                rgba(255, 248, 247, 0.2) 0%,
                rgba(255, 248, 247, 0.05) 25%,
                transparent 50%);
        z-index: 1;
        pointer-events: none;
    }

    /* Ruido muy sutil */
    .hero-video-noise {
        position: absolute;
        inset: 0;
        background-image: url('https://grainy-gradients.vercel.app/noise.svg');
        opacity: 0.03;
        mix-blend-mode: overlay;
        pointer-events: none;
        z-index: 2;
    }

    /* En tu archivo style.css */
    #accept-terms:invalid {
        outline: 2px solid #dc2626;
        outline-offset: 2px;
    }

    .terms-error {
        animation: shake 0.3s ease-in-out;
    }

    @keyframes shake {

        0%,
        100% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(-5px);
        }

        75% {
            transform: translateX(5px);
        }
    }

    /* Orbes decorativos más sutiles sobre el video */
    .hero-video-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        pointer-events: none;
        z-index: 1;
        transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    }

    .hero-video-orb-1 {
        top: -15%;
        right: -10%;
        width: 550px;
        height: 550px;
        background: radial-gradient(circle, rgba(147, 71, 88, 0.15) 0%, rgba(147, 71, 88, 0) 70%);
        animation: orbFloat1 12s ease-in-out infinite;
    }

    .hero-video-orb-2 {
        bottom: -10%;
        left: -15%;
        width: 450px;
        height: 450px;
        background: radial-gradient(circle, rgba(100, 108, 163, 0.1) 0%, rgba(100, 108, 163, 0) 70%);
        animation: orbFloat2 15s ease-in-out infinite;
    }

    .hero-video-orb-3 {
        top: 40%;
        left: 30%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(200, 120, 100, 0.08) 0%, rgba(200, 120, 100, 0) 70%);
        animation: orbFloat3 18s ease-in-out infinite;
        opacity: 0.5;
    }

    @keyframes orbFloat1 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
            opacity: 0.4;
        }

        50% {
            transform: translate(-30px, 20px) scale(1.1);
            opacity: 0.6;
        }
    }

    @keyframes orbFloat2 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
            opacity: 0.3;
        }

        50% {
            transform: translate(25px, -20px) scale(1.15);
            opacity: 0.5;
        }
    }

    @keyframes orbFloat3 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
            opacity: 0.25;
        }

        50% {
            transform: translate(-15px, -25px) scale(1.08);
            opacity: 0.4;
        }
    }

    /* Gradiente original de la derecha más sutil */
    #hero-parallax .bg-gradient-to-r {
        background: linear-gradient(90deg, rgba(255, 248, 247, 0.3) 0%, rgba(255, 248, 247, 0.1) 40%, transparent 70%);
    }

    /* Gradiente radial original reducido */
    #hero-parallax .bg-\[radial-gradient\(circle_at_50\%_50\%\,transparent_0\%\,\#fff8f7_100\%\)\] {
        opacity: 0.15;
    }

    /* Responsive: ajuste de orbes */
    @media (max-width: 768px) {
        .hero-video-orb-1 {
            width: 300px;
            height: 300px;
        }

        .hero-video-orb-2 {
            width: 250px;
            height: 250px;
        }

        .hero-video-orb-3 {
            width: 280px;
            height: 280px;
        }

        .hero-video-overlay {
            background: linear-gradient(105deg,
                    rgba(255, 248, 247, 0.35) 0%,
                    rgba(255, 248, 247, 0.2) 40%,
                    rgba(255, 248, 247, 0.1) 100%);
        }
    }

    /* Animación de entrada para el video */
    @keyframes videoReveal {
        0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(1.1);
        }

        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }

    .hero-video {
        animation: videoReveal 1.8s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
    }






    @keyframes noiseShift {
        0% {
            transform: translate(0, 0);
        }

        10% {
            transform: translate(-2%, -1%);
        }

        20% {
            transform: translate(1%, -2%);
        }

        30% {
            transform: translate(-1%, 2%);
        }

        40% {
            transform: translate(2%, 1%);
        }

        50% {
            transform: translate(-2%, -2%);
        }

        60% {
            transform: translate(1%, 1%);
        }

        70% {
            transform: translate(-1%, -1%);
        }

        80% {
            transform: translate(2%, -1%);
        }

        90% {
            transform: translate(-2%, 1%);
        }

        100% {
            transform: translate(0, 0);
        }
    }


    /* Animación sutil para el botón */
    #backToTopBtn {
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-5px);
        }
    }

    /* Cuando el botón es visible */
    #backToTopBtn.visible {
        animation: float 3s ease-in-out infinite;
    }

    /* Efecto de pulso al hacer hover */
    #backToTopBtn:hover {
        animation: none;
        transform: scale(1.1) translateY(-5px);
    }