:root {
    --azul: #4A7FD4;
    --azul-claro: #7EB3F0;
    --azul-oscuro: #2B5A9E;
    --rosado: #F472B6;
    --rosado-claro: #FBCFE8;
    --rosado-oscuro: #DB2777;
    --blanco: #FFFFFF;
    --fondo: #0F1729;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--fondo);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--blanco);
}

/* Fondo con corazones flotantes */
.hearts-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-section {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    background: linear-gradient(135deg, var(--azul-claro), var(--rosado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.heart-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.heart-icon:last-child {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.countdown-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.countdown-intro-text {
    background: linear-gradient(135deg, var(--azul-claro), var(--rosado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-intro .heart-icon {
    -webkit-text-fill-color: initial;
}

.countdown-outro {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    background: linear-gradient(135deg, var(--azul-claro), var(--rosado-claro), var(--rosado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    padding: 0 1rem;
}

.subtitle {
    text-align: center;
    color: var(--rosado-claro);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Cuenta regresiva */
.love-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.love-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    filter: blur(3px);
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 0;
}

.love-bg-slide.active-slide {
    opacity: 0.65;
    z-index: 1;
}

.love-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(160deg, rgba(15, 23, 41, 0.72) 0%, rgba(43, 90, 158, 0.45) 40%, rgba(219, 39, 119, 0.35) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(15, 23, 41, 0.5) 100%);
    pointer-events: none;
}

.photo-polaroids {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.polaroid {
    position: absolute;
    background: var(--blanco);
    padding: 0.45rem 0.45rem 2rem;
    border-radius: 4px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(244, 114, 182, 0.15);
    opacity: 0.85;
    animation: polaroidFloat 6s ease-in-out infinite;
}

.polaroid img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 2px;
}

.polaroid-1 {
    top: 8%;
    left: 5%;
    --rot: -12deg;
    animation-delay: 0s;
}

.polaroid-2 {
    top: 12%;
    right: 5%;
    --rot: 10deg;
    animation-delay: 1.5s;
}

.polaroid-3 {
    bottom: 10%;
    left: 6%;
    --rot: 8deg;
    animation-delay: 3s;
}

.polaroid-4 {
    bottom: 8%;
    right: 6%;
    --rot: -8deg;
    animation-delay: 4.5s;
}

.countdown-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 0.5rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    width: 108px;
    height: 112px;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(74, 127, 212, 0.2), rgba(244, 114, 182, 0.2));
    border: 1px solid rgba(244, 114, 182, 0.3);
    border-radius: 16px;
    padding: 0.75rem 0.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(74, 127, 212, 0.15);
    transition: transform 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.time-block:hover {
    transform: translateY(-4px);
}

.time-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3rem;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    font-variant-numeric: tabular-nums;
    color: var(--blanco);
    text-shadow: 0 2px 12px rgba(244, 114, 182, 0.35);
    line-height: 1;
}

.time-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1.5rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-claro);
    margin-top: 0.35rem;
    text-align: center;
    line-height: 1.1;
}

.time-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--rosado);
    animation: blink 1s step-end infinite;
    padding-bottom: 0;
    align-self: center;
    flex-shrink: 0;
}

@keyframes blink {
    50% { opacity: 0; }
}

.message {
    color: var(--rosado-claro);
    font-style: italic;
    font-size: 1rem;
    opacity: 0.8;
}

/* Sección de desbloqueo */
.unlock-section {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease;
}

.celebration-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    background: linear-gradient(135deg, var(--azul-claro), var(--rosado), var(--azul-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.celebration-text p {
    color: var(--rosado-claro);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blanco);
    background: linear-gradient(135deg, var(--azul), var(--rosado-oscuro));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(244, 114, 182, 0.4), 0 0 60px rgba(74, 127, 212, 0.2);
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite;
}

.unlock-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(244, 114, 182, 0.6), 0 0 80px rgba(74, 127, 212, 0.3);
}

.unlock-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.5rem;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 8px 30px rgba(244, 114, 182, 0.4), 0 0 60px rgba(74, 127, 212, 0.2); }
    50% { box-shadow: 0 8px 40px rgba(244, 114, 182, 0.7), 0 0 80px rgba(74, 127, 212, 0.4); }
}

/* Modal bromita */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 41, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(160deg, rgba(43, 90, 158, 0.98), rgba(74, 127, 212, 0.95), rgba(219, 39, 119, 0.9));
    border: 2px solid rgba(251, 207, 232, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(244, 114, 182, 0.2);
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.modal-hearts {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    font-size: 0.9rem;
    opacity: 0.5;
    letter-spacing: 0.5rem;
}

.modal-emoji {
    display: block;
    font-size: 3rem;
    margin-bottom: 0.75rem;
    animation: pulse 2s ease-in-out infinite;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    color: var(--blanco);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.modal-message {
    font-size: 0.95rem;
    color: var(--rosado-claro);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    font-style: italic;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-btn {
    padding: 0.9rem 1.5rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-yes {
    color: var(--blanco);
    background: linear-gradient(135deg, var(--azul), var(--rosado-oscuro));
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

.modal-btn-yes:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(244, 114, 182, 0.55);
}

.modal-btn-no {
    color: var(--rosado-claro);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.modal-btn-no:hover {
    background: rgba(255, 255, 255, 0.18);
}

.modal-card.shake {
    animation: modalShake 0.5s ease;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* Bonos de amor */
.surprise-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    animation: fadeInUp 1s ease;
}

.surprise-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.surprise-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    background: linear-gradient(135deg, var(--azul-claro), var(--rosado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.surprise-header p {
    color: var(--rosado-claro);
    font-style: italic;
    font-size: 1.05rem;
}

.bonos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

.bono-card {
    position: relative;
    border-radius: 24px;
    min-height: 340px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: revealBono 0.9s ease forwards;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.bono-card.bono-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bono-card:not(.revealed).bono-ready {
    animation: bonoPulse 3s ease-in-out infinite;
}

.bono-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 55px rgba(244, 114, 182, 0.35), 0 0 30px rgba(74, 127, 212, 0.2);
    animation: bonoGlow 2.5s ease-in-out infinite;
}

.bono-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
    filter: blur(6px) brightness(0.7);
    transition: filter 0.6s ease;
}

.bono-card.revealed .bono-inner {
    filter: blur(0) brightness(1);
}

.bono-scratch-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    z-index: 5;
    cursor: crosshair;
    touch-action: none;
}

.bono-scratch-wrapper.tearing {
    animation: tearAway 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.bono-scratch-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.bono-scratch-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1.5rem;
    gap: 0.3rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scratch-hand {
    font-size: 1.5rem;
    animation: scratchWiggle 1.2s ease-in-out infinite;
}

.scratch-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 41, 0.45);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.scratch-gift {
    display: none;
}

.bono-tear-edge {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 6px,
        rgba(255, 255, 255, 0.3) 6px,
        rgba(255, 255, 255, 0.3) 10px
    );
    opacity: 0.6;
}

.bono-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
    border-radius: 24px;
}

.bono-spark {
    position: absolute;
    font-size: 1.2rem;
    animation: sparkBurst 1s ease-out forwards;
    pointer-events: none;
}

.bono-card:hover:not(.revealed) {
    box-shadow: 0 20px 55px rgba(244, 114, 182, 0.25), 0 0 25px rgba(74, 127, 212, 0.15);
}

.bono-azul {
    background: linear-gradient(160deg, rgba(43, 90, 158, 0.95), rgba(74, 127, 212, 0.85));
    border: 2px solid rgba(126, 179, 240, 0.5);
}

.bono-mix {
    background: linear-gradient(160deg, rgba(74, 127, 212, 0.9), rgba(219, 39, 119, 0.75));
    border: 2px solid rgba(251, 207, 232, 0.4);
}

.bono-rosado {
    background: linear-gradient(160deg, rgba(219, 39, 119, 0.85), rgba(244, 114, 182, 0.8));
    border: 2px solid rgba(251, 207, 232, 0.5);
}

.bono-notch {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--fondo);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.bono-notch-left { left: -12px; }
.bono-notch-right { right: -12px; }

.bono-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.25);
}

.bono-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rosado-claro);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bono-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: pulse 2.5s ease-in-out infinite;
}

.bono-body {
    padding: 1.15rem;
}

.bono-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--blanco);
    margin-bottom: 0.4rem;
}

.bono-reward {
    font-size: 0.9rem;
    color: var(--rosado-claro);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bono-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bono-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--azul-claro), var(--rosado-claro));
    opacity: 0.6;
}

.bono-heart {
    font-size: 0.9rem;
}

.bono-motive {
    background: rgba(15, 23, 41, 0.35);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.bono-motive-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--azul-claro);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bono-motive-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--blanco);
}

.bono-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bono-stamp {
    font-size: 1.8rem;
    opacity: 0.8;
    transform: rotate(-15deg);
}

.final-message {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--rosado-claro);
}

.final-message strong {
    color: var(--azul-claro);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

/* Utilidades */
.hidden {
    display: none !important;
}

body.album-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Animaciones */
@keyframes bgSlide {
    0%, 100% {
        opacity: 0;
        transform: scale(1.08);
    }
    4% {
        opacity: 0.55;
        transform: scale(1.04);
    }
    21% {
        opacity: 0.55;
        transform: scale(1.02);
    }
    25% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@keyframes polaroidFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

@keyframes bgSlideMobile {
    0%, 100% {
        opacity: 0;
        transform: scale(1.05);
    }
    5% {
        opacity: 0.6;
        transform: scale(1.02);
    }
    20% {
        opacity: 0.6;
        transform: scale(1);
    }
    25% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealBono {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bonoPulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    }
    50% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 16px 50px rgba(244, 114, 182, 0.3), 0 0 25px rgba(74, 127, 212, 0.15);
    }
}

@keyframes bonoGlow {
    0%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 20px 55px rgba(244, 114, 182, 0.35), 0 0 30px rgba(74, 127, 212, 0.2);
    }
    50% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 24px 60px rgba(244, 114, 182, 0.5), 0 0 45px rgba(74, 127, 212, 0.35);
    }
}

@keyframes tearAway {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes scratchWiggle {
    0%, 100% { transform: rotate(-10deg) translateX(0); }
    50% { transform: rotate(10deg) translateX(4px); }
}

@keyframes sparkBurst {
    0% {
        opacity: 1;
        transform: scale(0) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-50px);
    }
}

/* Confetti canvas */
#confettiCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
}

/* Responsive */
@media (max-width: 900px) {
    .polaroid img {
        width: 80px;
        height: 80px;
    }

    .polaroid {
        padding: 0.35rem 0.35rem 1.5rem;
        opacity: 0.7;
    }

    .polaroid-1 { top: 4%; left: 2%; }
    .polaroid-2 { top: 4%; right: 2%; }
    .polaroid-3 { bottom: 4%; left: 2%; }
    .polaroid-4 { bottom: 4%; right: 2%; }

    .countdown-bg-slide,
    .love-bg-slide {
        filter: blur(5px);
    }
    .container {
        padding: 1.5rem 1rem;
        justify-content: flex-start;
        padding-top: 2rem;
    }

    .surprise-section {
        padding-bottom: 2rem;
    }

    .bonos-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .bono-card {
        min-height: 320px;
    }

    .surprise-header {
        margin-bottom: 1.75rem;
    }

    .surprise-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .love-bg-slide {
        filter: blur(4px);
    }

    .love-bg-overlay {
        background:
            linear-gradient(180deg, rgba(15, 23, 41, 0.68) 0%, rgba(43, 90, 158, 0.42) 50%, rgba(219, 39, 119, 0.32) 100%);
    }
}

@media (max-width: 480px) {
    .photo-polaroids {
        display: none;
    }

    .countdown-content {
        padding: 1.5rem 1rem;
    }

    .countdown {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .time-block {
        width: 72px;
        height: 88px;
        padding: 0.5rem 0.25rem;
        border-radius: 12px;
    }

    .time-value {
        height: 2.2rem;
        font-size: 1.6rem;
    }

    .time-label {
        height: 1.2rem;
        font-size: 0.55rem;
        letter-spacing: 0.5px;
        margin-top: 0.25rem;
    }

    .time-separator {
        font-size: 1.5rem;
    }

    .unlock-btn {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }

    .bono-card {
        min-height: 300px;
        border-radius: 20px;
    }

    .bono-inner,
    .bono-scratch-wrapper,
    .bono-scratch-canvas,
    .bono-sparkles {
        border-radius: 20px;
    }

    .bono-header {
        padding: 1rem 1.1rem 0.6rem;
    }

    .bono-body {
        padding: 1rem;
    }

    .bono-title {
        font-size: 1.25rem;
    }

    .bono-motive-text {
        font-size: 0.88rem;
    }

    .bono-icon {
        font-size: 2rem;
    }

    .scratch-text {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .final-message {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .modal-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 22px;
    }

    .modal-emoji {
        font-size: 2.5rem;
    }

    .modal-btn {
        font-size: 0.9rem;
        padding: 0.85rem 1.2rem;
    }
}
