/* ============================================================
   EASTER EGGS STYLE - PAIRTRIP ROMANTIC SPECIALS
   ============================================================ */

/* 1. BUNKER CARD (Nuestro Búnker) */
.card-romantica {
    max-width: 450px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(230, 57, 70, 0.25);
    padding: 35px 30px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, #fff6f6 100%);
    position: relative;
    overflow: hidden;
    color: #2b2d42;
}

.card-romantica::before {
    content: "♥";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 100px;
    color: rgba(230, 57, 70, 0.05);
    pointer-events: none;
    transform: rotate(-15deg);
}

.card-romantica::after {
    content: "♥";
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 120px;
    color: rgba(230, 57, 70, 0.05);
    pointer-events: none;
    transform: rotate(25deg);
}

.corazon-header {
    font-size: 44px;
    color: #e63946;
    margin-bottom: 12px;
    animation: latido 1.2s infinite alternate cubic-bezier(0.215, 0.61, 0.355, 1);
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(230, 57, 70, 0.25));
}

.card-romantica h2 {
    color: #1d3557;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitulo {
    color: #457b9d;
    font-size: 13px;
    margin: 6px 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.linea-separadora {
    height: 2px;
    background: linear-gradient(to right, transparent, #e63946, transparent);
    margin-bottom: 24px;
    opacity: 0.6;
}

.mensaje-sorpresa {
    color: #2b2d42;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
    font-family: Georgia, serif;
}

.contenedor-viaje {
    background: rgba(230, 57, 70, 0.03);
    border-radius: 16px;
    padding: 18px 15px;
    margin-bottom: 28px;
    border: 1px dashed rgba(230, 57, 70, 0.25);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.01);
}

.etiqueta-viaje {
    color: #6c757d;
    font-size: 12px;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.destino {
    color: #1d3557;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 6px;
}

.cuenta-atras {
    color: #e63946;
    font-size: 13px;
    font-weight: 600;
}

.firma {
    color: #1d3557;
    font-size: 16px;
    font-weight: 700;
    margin-top: 15px;
    letter-spacing: -0.01em;
}


/* 2. CONSTELACION ESTELAR (Nuestra Búsqueda Estelar) */
.starry-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0a0b1e 0%, #030409 100%);
    z-index: 10005;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.starry-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: crosshair;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.starry-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    max-width: 480px;
    width: 90%;
    pointer-events: none;
}

.starry-card {
    background: rgba(10, 11, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(90, 159, 212, 0.15);
    pointer-events: auto;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.starry-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    color: #e8b84a;
    font-style: italic;
    margin-bottom: 10px;
}

.starry-card p {
    font-size: 14px;
    color: #f0ede8;
    line-height: 1.6;
    font-family: Georgia, serif;
    font-style: italic;
    margin-bottom: 0;
}

.star-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(255,255,255,0.8);
    pointer-events: none;
    z-index: 2;
    animation: starPulse 1.5s infinite alternate;
}


/* 3. CAJA DE RECUERDOS (Polaroid Memory Stack) */
.polaroid-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10006;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.polaroid-gallery {
    position: relative;
    width: 320px;
    height: 380px;
    z-index: 2;
    touch-action: none;
}

.polaroid-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 16px 16px 36px 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
    transform-style: preserve-3d;
    touch-action: none;
}

.polaroid-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.polaroid-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.polaroid-card.flipped .polaroid-inner {
    transform: rotateY(180deg);
}

.polaroid-front, .polaroid-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.polaroid-front {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.polaroid-image-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #1e1e24 0%, #111115 100%);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border-radius: 2px;
}

.polaroid-caption {
    margin-top: 18px;
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    font-style: italic;
    color: #1d3557;
    text-align: center;
}

.polaroid-back {
    background: #fdfaf2;
    transform: rotateY(180deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.polaroid-back-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: #2b2d42;
}

.polaroid-back-heart {
    font-size: 24px;
    color: #e63946;
    margin-top: 14px;
    animation: latido 0.8s infinite alternate;
}

/* Polaroid offsets in stack */
.p-card-1 {
    transform: rotate(-6deg) translateZ(0);
    z-index: 10;
}
.p-card-2 {
    transform: rotate(4deg) translateZ(-10px);
    z-index: 9;
}
.p-card-3 {
    transform: rotate(-2deg) translateZ(-20px);
    z-index: 8;
}

.polaroid-nav {
    position: absolute;
    bottom: 60px;
    display: flex;
    gap: 16px;
    z-index: 3;
}

.polaroid-btn {
    background: var(--surface2);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    touch-action: none;
}

.polaroid-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}


/* 4. MENSAJE EN LA BOTELLA (El Buzón del Amor) */
.bottle-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 12, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10007;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.bottle-container {
    text-align: center;
    z-index: 2;
    max-width: 500px;
    width: 90%;
    touch-action: none;
}

/* Magical Bottle Styles */
.magical-bottle-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 30px auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    user-select: none;
    -webkit-user-select: none;
}

.magical-bottle-wrapper:hover {
    transform: scale(1.08) translateY(-5px);
}

.magical-bottle-wrapper:active {
    transform: scale(0.95);
}

.magical-bottle {
    animation: floatBottle 3.5s ease-in-out infinite;
    display: block;
}

.bottle-glow-ring {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(232, 184, 74, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 2s infinite alternate;
}

.bottle-instruction {
    font-family: Georgia, serif;
    font-size: 13px;
    color: #e8b84a;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.85;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: pulseInstruction 1.8s infinite alternate;
}

@keyframes glowPulse {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    to { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes pulseInstruction {
    from { opacity: 0.6; transform: translateY(0); }
    to { opacity: 1; transform: translateY(3px); }
}

/* Cork pop animation */
.cork-pop-particle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    pointer-events: none;
    z-index: 5;
    animation: corkFlight 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes corkFlight {
    0% { transform: translate(-50%, 0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -120px) rotate(450deg) scale(0.6); opacity: 0; }
}

/* Sparkle pop effect */
.pop-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 10px #ffeb3b;
    animation: popSparkleTravel 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes popSparkleTravel {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}

/* 3D Parchment Roll Unrolling Effect */
.origami-letter {
    display: none;
    background: #f4edd8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0,0,0,0.02);
    transform-origin: top center;
    transform: rotateX(-90deg) scale(0.85);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: Georgia, serif;
    position: relative;
    perspective: 1000px;
}

.origami-letter.unrolled {
    transform: rotateX(0deg) scale(1);
    opacity: 1;
}

.origami-letter::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(139, 105, 20, 0.15);
    pointer-events: none;
}

.origami-title {
    font-family: 'Instrument Serif', serif;
    font-size: 32px;
    font-style: italic;
    color: #8b6508;
    margin-bottom: 20px;
}

.origami-body {
    font-size: 16px;
    line-height: 1.8;
    color: #3d3d3d;
    font-style: italic;
    margin-bottom: 24px;
}

.origami-footer {
    font-weight: 700;
    color: #8b6508;
    font-size: 15px;
    letter-spacing: -0.01em;
}


/* UTILITY & COMMON STYLES FOR EASTER EGGS */
.easteregg-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10010;
}

.easteregg-close:hover {
    background: #e63946;
    border-color: #e63946;
    transform: scale(1.1);
}

/* KEYFRAMES */
@keyframes latido {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes starPulse {
    from { transform: scale(1); opacity: 0.6; box-shadow: 0 0 10px #fff; }
    to { transform: scale(1.4); opacity: 1; box-shadow: 0 0 15px #fff, 0 0 30px rgba(255,255,255,1); }
}

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

/* Animated LED heart styles */
.led-heart {
    cursor: pointer;
    display: block;
    margin: 30px auto;
    filter: drop-shadow(0 0 25px rgba(255, 42, 95, 0.45));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    -webkit-user-select: none;
}

.led-heart:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 0 35px rgba(255, 42, 95, 0.65));
}

.led-heart:active {
    transform: scale(0.95);
}

.led-heart-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawHeartLED 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards, 
               ledPulse 1.6s ease-in-out infinite alternate 2.2s;
}

@keyframes drawHeartLED {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ledPulse {
    from {
        stroke-width: 3.5;
        stroke: #ff2a5f;
        filter: drop-shadow(0 0 5px #ff2a5f) drop-shadow(0 0 15px rgba(255, 42, 95, 0.7));
    }
    to {
        stroke-width: 4.5;
        stroke: #ff608f;
        filter: drop-shadow(0 0 8px #ff608f) drop-shadow(0 0 25px rgba(255, 96, 143, 0.95));
    }
}

/* Premium Neon Floating particles (NO emojis) */
.glow-heart-item {
    position: absolute;
    width: 12px;
    height: 12px;
    background: currentColor;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 10009;
    animation: petalFalling 4.2s linear forwards;
    filter: drop-shadow(0 0 8px currentColor);
}

.glow-heart-item::before,
.glow-heart-item::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 50%;
}

.glow-heart-item::before {
    left: -6px;
}

.glow-heart-item::after {
    top: -6px;
}

.glow-sparkle-item {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10009;
    animation: petalFalling 4.5s linear forwards;
}

@keyframes petalFalling {
    0% {
        transform: translateY(105vh) rotate(0deg) scale(0.6);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.1);
        opacity: 0;
    }
}
