﻿/* --- PALETA DE COLORES --- */
        :root {
            --boho-cream: #FAF8F3;
            --boho-sand: #E6DACE;
            --boho-terra: #C27664;
            --boho-sage: #84A98C;       
            --boho-sage-dark: #52796F;  
            --boho-gold: #FFD700; 
            --boho-text: #5C5146;
            --boho-text-dark: #3E362E;
        }

        /* --- BASE --- */
        body {
            font-family: 'Playfair Display', serif;
            background-color: var(--boho-cream);
            color: var(--boho-text);
            overflow-x: hidden;
            background-image: radial-gradient(#E6DACE 1px, transparent 1px);
            background-size: 24px 24px;
        }

        h1, h2, h3, .font-script {
            font-family: 'Pinyon Script', cursive;
            font-weight: 400;
        }

        /* --- SISTEMA DE CAPAS (Z-INDEX) ESTRICTO --- */
        .vine-container { z-index: 20; }
        #intro-screen { z-index: 30; }
        .pollen { z-index: 35; } 
        .center-anchor { z-index: 40; }
        
        .boho-card { 
            position: relative;
            z-index: 50; 
            background-color: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(8px);
            border: 1px solid var(--boho-sand);
            border-radius: 1.5rem;
            box-shadow: 0 10px 30px rgba(62, 54, 46, 0.08);
        }
        
        header { position: relative; z-index: 50; }

        /* --- UTILIDADES --- */
        .text-terra { color: var(--boho-terra); }
        .text-sage { color: var(--boho-sage); }
        
        .boho-btn {
            background-color: var(--boho-terra);
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(194, 118, 100, 0.3);
            font-weight: 500;
            letter-spacing: 0.05em;
        }
        .boho-btn:hover { background-color: var(--boho-sage); transform: translateY(-2px); }

        .boho-btn-outline {
            background-color: white;
            border: 2px solid var(--boho-sage);
            color: var(--boho-sage-dark);
            padding: 0.5rem 1.5rem;
            border-radius: 9999px;
            transition: all 0.3s ease;
            font-weight: 600;
            position: relative; 
            z-index: 50;
        }

        /* --- INTRODUCCIÓN --- */
        #intro-screen {
            position: fixed;
            inset: 0;
            background-color: var(--boho-cream);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 2s ease, visibility 2s ease 2s;
        }
        #intro-screen.is-open { background-color: transparent; pointer-events: none; }

        .center-anchor { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }

        .rose-container {
            position: absolute; top: 0; left: 0;
            transform: translate(-50%, -50%);
            width: 140px; height: 140px;
            cursor: pointer; transition: all 0.8s ease; z-index: 42;
        }
        .text-container {
            position: absolute; top: 90px; left: 0;
            transform: translateX(-50%); text-align: center; width: 300px;
            transition: all 0.8s ease; pointer-events: none; z-index: 41;
        }

        #intro-screen.is-open .rose-container { transform: translate(-50%, -50%) scale(0); opacity: 0; }
        #intro-screen.is-open .text-container { opacity: 0; transform: translateX(-50%) translateY(20px); }

        .rose-svg { width: 100%; height: 100%; animation: breathe 3s infinite; filter: drop-shadow(0 4px 15px rgba(194,118,100,0.3)); }
        .rose-inner { transform-origin: center; animation: spinSlow 30s linear infinite; }
        @keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
        @keyframes spinSlow { 100% { transform: rotate(360deg); } }

        /* --- ENREDADERAS --- */
        .vine-container {
            position: absolute;
            width: 45vw;
            max-width: 280px;
            height: auto; 
            aspect-ratio: 1/1;
            pointer-events: none;
            transition: all 2.5s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .vine-svg { width: 100%; height: 100%; overflow: visible; }
        .vine-stem { fill: none; stroke: var(--boho-sage-dark); stroke-width: 1.5; stroke-linecap: round; }
        .vine-leaf { fill: var(--boho-sage); opacity: 0.9; }
        .leaf-anim { transform-origin: center; animation: sway 4s ease-in-out infinite alternate; }
        @keyframes sway { 0% { transform: rotate(-5deg); } 100% { transform: rotate(5deg); } }

        .vine-tl.closed { top: 50%; left: 50%; transform: translate(-98%, -98%); }
        .vine-tl.open { top: 0; left: 0; transform: translate(-40px, -40px); opacity: 0.5; }

        .vine-tr.closed { top: 50%; left: 50%; transform: translate(-2%, -98%) scaleX(-1); }
        .vine-tr.open { top: 0; right: 0; left: auto; transform: translate(40px, -40px) scaleX(-1); opacity: 0.5; }

        .vine-bl.closed { top: 50%; left: 50%; transform: translate(-98%, -2%) scaleY(-1); }
        .vine-bl.open { bottom: 0; left: 0; top: auto; transform: translate(-40px, 40px) scaleY(-1); opacity: 0.5; }

        .vine-br.closed { top: 50%; left: 50%; transform: translate(-2%, -2%) scale(-1); }
        .vine-br.open { bottom: 0; right: 0; top: auto; left: auto; transform: translate(40px, 40px) scale(-1); opacity: 0.5; }


        /* --- POLEN --- */
        .pollen {
            position: fixed;
            background: radial-gradient(circle, #FFF 10%, var(--boho-gold) 60%, rgba(255, 215, 0, 0) 100%);
            border-radius: 50%;
            pointer-events: none;
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
            animation: floatAndTwinkle linear infinite;
        }

        @keyframes floatAndTwinkle {
            0% { transform: translateY(110vh) translateX(-10px) scale(0.5); opacity: 0; }
            10% { opacity: 1; transform: translateY(100vh) scale(1); }
            50% { opacity: 0.4; transform: translateY(50vh) translateX(15px) scale(0.8); } 
            80% { opacity: 1; transform: translateY(20vh) translateX(-5px) scale(1.2); }
            100% { transform: translateY(-10vh) translateX(10px) scale(0.5); opacity: 0; }
        }

        /* --- ESTILOS INTERNOS --- */
        .radio-option-label {
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            background-color: white;
            padding: 1rem 1.5rem; border-radius: 9999px;
            border: 2px solid var(--boho-sand); transition: all 0.3s ease; width: 100%;
            position: relative; z-index: 50;
        }
        input:checked + .radio-option-label {
            border-color: var(--boho-terra); background-color: #FAF8F3;
            box-shadow: 0 4px 10px rgba(194, 118, 100, 0.15);
        }

        #audio-control {
            position: fixed; bottom: 20px; right: 20px; z-index: 90;
            background: var(--boho-sage); color: white; border-radius: 50%;
            padding: 12px; border: 2px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        #lightbox { transition: opacity 0.3s ease; }
        
        /* CORRECCIÓN DE ROTACIÓN ESTRICTA (LLENAR PANTALLA) */
        #lightbox img.rotate-mobile { 
            transform: rotate(90deg); 
            width: 100vh !important;
            height: 100vw !important;
            max-width: none !important;
            max-height: none !important;
            object-fit: contain; /* O cover, según preferencia, contain asegura ver toda la foto */
        }

        #mobile-nav.rotate-controls span {
            transform: rotate(90deg); 
            display: inline-block; 
        }

        /* --- GHOST DOT / SWIPE HINT STYLES --- */
        #swipe-hint {
            pointer-events: none;
            transition: opacity 0.5s ease;
        }
        
        .ghost-circle {
            width: 50px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            position: relative;
            box-shadow: 0 0 15px rgba(194, 118, 100, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .ghost-dot {
            width: 12px;
            height: 12px;
            background-color: var(--boho-terra);
            border-radius: 50%;
            filter: blur(1px);
            animation: universalSwipeAnim 3s infinite ease-in-out;
        }

        @keyframes universalSwipeAnim {
            0% { transform: translate(0, 0); opacity: 0; }
            15% { opacity: 1; }
            /* Fase Horizontal */
            40% { transform: translate(-30px, 0); opacity: 0; }
            /* Reset centro */
            45% { transform: translate(0, 0); opacity: 0; }
            /* Fase Vertical */
            55% { transform: translate(0, 0); opacity: 1; }
            85% { transform: translate(0, -30px); opacity: 0; }
            100% { opacity: 0; }
        }

        @media (min-width: 768px) {
            #swipe-hint {
            display: none !important;
        }
        }
