* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

:root {
    --primary: #ff6b9d;
    --secondary: #ec4899;
    --accent: #c084fc;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-romantic: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
    position: relative;
    text-rendering: optimizeLegibility;
}

/* Flores decorativas flotantes */
body::before {
    content: '🌸';
    position: fixed;
    top: 10%;
    right: 5%;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-flower 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '🌺';
    position: fixed;
    bottom: 15%;
    left: 8%;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float-flower 8s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
    z-index: 0;
}

@keyframes float-flower {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===== CANVAS DE PARTÍCULAS ===== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== PANTALLA DE CARGA ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.heart-pulse {
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    border-radius: 50%;
    animation: pulse-heart 1.5s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.6);
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--light);
    opacity: 0.8;
    animation: fade-in-out 2s ease-in-out infinite;
}

@keyframes fade-in-out {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===== INTRO SCREEN ===== */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e2e 0%, #2d1b3d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro-screen.slide-up {
    transform: translateY(-100%);
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    filter: blur(60px);
    animation: float-orb 8s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.2); }
    66% { transform: translate(-50px, 30px) scale(0.9); }
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.intro-title-wrapper {
    margin-bottom: 60px;
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitch-text 3s ease-in-out infinite;
}

@keyframes glitch-text {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate(2px, 2px); }
}

.subtitle-wrapper {
    margin-top: 20px;
    height: 40px;
}

.typewriter {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    min-height: 1.5rem;
}

.start-interaction {
    margin-top: 100px;
}

.swipe-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fade-in 1s ease-in 2s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.swipe-indicator span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.arrow-animation {
    font-size: 2rem;
    animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== CONTENIDO PRINCIPAL ===== */
.main-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.main-content.show {
    opacity: 1;
}

/* ===== SECCIONES ===== */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
}

.fullscreen-section {
    height: 100vh;
    padding: 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(180deg, var(--darker) 0%, #1e1b4b 100%);
    overflow: hidden;
    position: relative;
}

/* Flores decorativas en hero */
.hero-section::before {
    content: '🌹';
    position: absolute;
    top: 15%;
    left: 10%;
    font-size: 3rem;
    opacity: 0.2;
    animation: float-flower 7s ease-in-out infinite;
}

.hero-section::after {
    content: '💐';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: float-flower 9s ease-in-out infinite;
    animation-delay: 3s;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="grad"><stop offset="0%" style="stop-color:rgb(236,72,153);stop-opacity:0.3"/><stop offset="100%" style="stop-color:rgb(139,92,246);stop-opacity:0"/></radialGradient></defs><circle cx="600" cy="400" r="300" fill="url(%23grad)"/></svg>') center/cover;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: reveal-up 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: reveal-up 1s ease forwards 0.6s;
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== GALERÍA DE FOTOS ===== */
.gallery-section {
    background: var(--dark);
    flex-direction: column;
    padding: 60px 20px;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.photo-gallery {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.photo-stack {
    position: relative;
    width: 100%;
    height: 600px;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.photo-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: grab;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--gradient-1);
    border: 3px solid rgba(255, 107, 157, 0.3);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.photo-card:active {
    cursor: grabbing;
    box-shadow: 0 30px 80px rgba(236, 72, 153, 0.6), 0 0 40px rgba(255, 182, 193, 0.4);
    transform: scale(1.02);
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.photo-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { 
        opacity: 0;
        transform: translateX(-100%); 
    }
    50% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
        transform: translateX(100%); 
    }
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    backdrop-filter: blur(10px);
}

.photo-placeholder::before {
    content: '📸';
    font-size: 4rem;
    margin-bottom: 20px;
}

.gallery-controls {
    text-align: center;
    margin-top: 30px;
}

.gallery-hint {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gallery-message {
    display: none;
    opacity: 0;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-message .message-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
}

.gallery-message .message-box h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.gallery-message .message-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* ===== MESSAGE SECTIONS ===== */
.message-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #2d1b3d 100%);
}

.dark-section {
    background: var(--darker);
}

.message-container {
    max-width: 600px;
    width: 100%;
}

.message-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

/* Flores decorativas en las tarjetas */
.message-box::before {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: twinkle 2s ease-in-out infinite;
}

.message-box::after {
    content: '🌸';
    position: absolute;
    bottom: 15px;
    left: 20px;
    font-size: 1.2rem;
    opacity: 0.2;
    animation: float-flower 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.message-box.reveal-box {
    animation: scale-in 0.8s ease forwards;
}

@keyframes scale-in {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.message-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.message-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.message-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== SPLIT SECTION ===== */
.split-section {
    background: var(--darker);
    padding: 0;
    height: 100vh;
}

.split-container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.split-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: flex 0.5s ease;
    overflow: hidden;
    position: relative;
}

.left-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.right-side {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.split-side:hover {
    flex: 1.5;
}

.split-content {
    text-align: center;
    padding: 40px;
    z-index: 1;
}

.split-content h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.split-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.split-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.heart-divider {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: rotate-heart 20s linear infinite;
}

@keyframes rotate-heart {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.split-message {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.split-message p {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== SCRATCH CARD SECTION ===== */
.reveal-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.reveal-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.scratch-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    touch-action: none;
}

.scratch-content {
    background: var(--gradient-1);
    padding: 60px 40px;
    border-radius: 25px;
    text-align: center;
}

.scratch-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.scratch-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.scratch-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}/* ===== TIMELINE ===== */
.timeline-section {
    background: var(--dark);
    flex-direction: column;
}

.timeline {
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid var(--dark);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== SECRET SECTION ===== */
.secret-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #2d1b3d 100%);
}

.secret-container {
    max-width: 500px;
    width: 100%;
}

.locked-message {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.locked-message:active {
    transform: scale(0.98);
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4), inset 0 0 30px rgba(255, 182, 193, 0.2);
}

.locked-message.unlocking {
    transform: scale(0.98);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.6);
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: shake-lock 0.5s ease;
}

@keyframes shake-lock {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.locked-message h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.lock-hint {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.unlock-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 20px;
}

.unlock-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-2);
    transition: width 0.1s linear;
}

.unlocked-content {
    display: none;
    background: var(--gradient-2);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    animation: unlock-reveal 0.8s ease;
}

@keyframes unlock-reveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.unlocked-content.show {
    display: block;
}

.unlock-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pop-in 0.5s ease;
}

@keyframes pop-in {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.unlocked-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.unlocked-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===== FINAL SECTION ===== */
.final-section {
    background: radial-gradient(circle at center, #1e1b4b 0%, var(--darker) 100%);
    height: 100vh;
}

.final-animation {
    text-align: center;
}

.orbit-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 60px;
}

.center-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 10;
    animation: pulse-center 2s ease-in-out infinite;
}

@keyframes pulse-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 100px;
    height: 100px;
    animation: rotate-orbit 10s linear infinite;
}

.orbit-2 {
    width: 150px;
    height: 150px;
    animation: rotate-orbit 15s linear infinite reverse;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    animation: rotate-orbit 20s linear infinite;
}

@keyframes rotate-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.final-message {
    max-width: 600px;
    margin: 0 auto;
}

.final-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-message p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.signature {
    margin-top: 60px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.signature strong {
    font-size: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .glitch {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        padding: 0 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .photo-stack {
        height: 500px;
        max-width: 90vw;
    }
    
    .photo-card {
        border-width: 2px;
    }
    
    /* Split Section Mobile Optimization */
    .split-container {
        flex-direction: column;
    }
    
    .split-side {
        min-height: 50vh;
    }
    
    .split-side:hover {
        flex: 1;
    }
    
    .split-content h3 {
        font-size: 2rem;
    }
    
    .split-content p {
        font-size: 1rem;
    }
    
    .heart-divider {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .split-message p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .message-box {
        padding: 35px 25px;
    }
    
    .message-box::before,
    .message-box::after {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 2.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .message-box {
        padding: 30px 20px;
    }
    
    .message-box h3 {
        font-size: 1.5rem;
    }
    
    .message-box p {
        font-size: 1rem;
    }
    
    .photo-stack {
        height: 450px;
        max-width: 95vw;
    }
    
    .split-content h3 {
        font-size: 1.8rem;
    }
    
    .split-content p {
        font-size: 0.95rem;
    }
    
    .split-message p {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 25px 20px;
    }
    
    .timeline-content h4 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    .scratch-content {
        padding: 40px 25px;
    }
    
    .scratch-content h3 {
        font-size: 1.6rem;
    }
    
    .scratch-content p {
        font-size: 1rem;
    }
    
    .locked-message,
    .unlocked-content {
        padding: 35px 25px;
    }
    
    .final-title {
        font-size: 2rem;
    }
    
    .final-message p {
        font-size: 1.1rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .photo-stack {
        height: 400px;
    }
    
    .message-box {
        padding: 25px 18px;
    }
    
    .glitch {
        font-size: 2.5rem;
    }
}

/* ===== ANIMACIONES GLOBALES ===== */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Ocultar scrollbar pero mantener funcionalidad */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--darker);
}

body::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 4px;
}
