:root {
    --primary-color: #F8F9FA;
    --secondary-color: #F1F3F5;
    --text-color: #2C3E50;
    --accent-color: #6C757D;
    --highlight-color: #495057;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 20px 60px var(--shadow-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

h1 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    line-height: 1.2;
}

h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent-color);
    margin: 1.5rem auto;
    border-radius: 1px;
}

.media-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.tierna-imagen, .tierno-video {
    max-width: 85%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px var(--shadow-color);
    transition: all 0.5s ease;
}

.tierna-imagen:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.tierno-video {
    margin-top: 1rem;
}

.frase-container {
    text-align: center;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--primary-color);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 700px;
}

.frase-container:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.frase-trigger {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.frase-trigger:hover {
    transform: scale(1.02);
    color: var(--highlight-color);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.frase {
    display: none;
    opacity: 0;
    transition: all 0.6s ease;
    padding: 0.5rem;
}

.frase.visible {
    display: block;
    opacity: 1;
}

.frase-intro {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--highlight-color);
    margin-bottom: 3rem;
    font-style: italic;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.frase-imagen {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    margin: 0 auto;
    display: block;
    transform: scale(1.05);
    transform-origin: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.frase-imagen:hover {
    transform: scale(1.08);
}

.firma {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8;
}

.firma .fecha {
    font-size: 1rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-color);
}

/* Estilos para el overlay fullscreen */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-overlay.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.fullscreen-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.fullscreen-imagen {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .content {
        padding: 2.5rem;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    
    .media-container {
        gap: 2rem;
    }
    
    .tierna-imagen, .tierno-video {
        max-width: 95%;
    }
    
    .frase-container {
        max-width: 95%;
        padding: 2rem;
        margin: 3rem auto;
    }
    
    .frase-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .frase-imagen {
        max-width: 100%;
    }
    
    .close-button {
        top: -35px;
        right: 0;
        font-size: 2rem;
    }
    
    .firma {
        font-size: 1.1rem;
    }
    
    .firma .fecha {
        font-size: 0.9rem;
    }
}

/* Estilos para la pantalla de contraseña */
.hidden {
    display: none !important;
}

#password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.password-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px var(--shadow-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.password-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

#password-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    outline: none;
    transition: all 0.3s ease;
}

#password-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}

#submit-password {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submit-password:hover {
    background: var(--highlight-color);
    transform: translateY(-2px);
}

#password-error {
    color: #e74c3c;
    margin-top: 1rem;
    font-size: 0.9rem;
} 