* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height para móviles */
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.app {
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height para móviles */
    position: relative;
    overflow: hidden;
}

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    overflow-y: auto; /* Permitir scroll vertical si es necesario */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
}

.scene.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s;
}

.content {
    text-align: center;
    padding: 20px;
    padding-bottom: 40px; /* Más espacio en la parte inferior para los botones */
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
    min-height: min-content; /* Asegurar que el contenido se ajuste */
}

.content.full-height {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height */
    padding: 0;
    display: flex;
    flex-direction: column;
}

.content.full-screen {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height */
    padding: 0;
}

/* INTRO SCENE */
.profile-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 40px rgba(255, 105, 180, 0.4),
        0 0 0 10px rgba(255, 255, 255, 0.1);
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.heart-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(255, 105, 180, 0.6);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8em;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #ffb6c1, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.subtitle {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tap-indicator {
    font-size: 2.5em;
    animation: bounce 2s ease-in-out infinite;
    margin-top: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* HEARTS SCENE */
h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.heart-counter {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.heart-canvas {
    width: 320px;
    height: 320px;
    max-width: 90vw;
    max-height: 45vh;
    position: relative;
    margin: 20px auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.heart-particle {
    position: absolute;
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: particle-appear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes particle-appear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.continue-hearts-btn {
    margin-top: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

/* YES/NO SCENE */
.buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    margin: 10px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.yes-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    transform-origin: center;
}

.no-btn {
    background: linear-gradient(135deg, #a8a8a8 0%, #6c6c6c 100%);
    box-shadow: 0 10px 30px rgba(108, 108, 108, 0.3);
    transform-origin: center;
}

.response {
    margin-top: 30px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.response.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.response-text {
    font-size: 1.3em;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.click-hint {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* QUIZ SCENE */
.quiz-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.question-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #fff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.quiz-btn:hover::before {
    left: 100%;
}

.quiz-btn:active {
    transform: scale(0.95);
}

.quiz-btn.correct {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-color: #38ef7d;
    animation: correct-shake 0.5s ease;
}

.quiz-btn.incorrect {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    border-color: #f45c43;
    animation: incorrect-shake 0.5s ease;
}

@keyframes correct-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes incorrect-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

#quiz-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#quiz-feedback.visible {
    opacity: 1;
    visibility: visible;
}

#quiz-feedback img {
    max-width: 280px;
    max-height: 280px;
    width: 80vw;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

#feedback-text {
    margin-top: 15px;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* TIMELINE SCENE - SOLO FOTOS MÁS GRANDES */
.timeline-header {
    padding: 20px;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.timeline-instruction {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0 10px 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 15px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.timeline-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.timeline-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.timeline-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    animation: slide-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.timeline-item:nth-child(even) {
    transform: translateX(50px);
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.timeline-date {
    font-weight: 700;
    font-size: 1em;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-emoji {
    font-size: 1.3em;
}

.timeline-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}

.continue-btn {
    margin: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

/* REWARD SCENE */
.reward-container {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.reward-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: gift-bounce 1s ease-in-out infinite;
}

@keyframes gift-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.reward-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
}

.reward-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.hearts-number {
    font-size: 1.5em;
    font-weight: 700;
    color: #ff69b4;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
    animation: number-pulse 2s ease-in-out infinite;
}

@keyframes number-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.reward-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 245, 0.95) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 105, 180, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: card-shine 3s linear infinite;
}

@keyframes card-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.card-header {
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

.card-seal {
    font-size: 3em;
    margin-bottom: 10px;
    animation: seal-rotate 4s ease-in-out infinite;
}

@keyframes seal-rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.card-header h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    color: #667eea;
    margin: 0;
    text-shadow: none;
}

.card-body {
    padding: 20px 0;
}

.reward-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.currency {
    font-size: 2.5em;
    font-weight: 700;
    color: #f5576c;
}

.amount {
    font-size: 5em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: amount-glow 2s ease-in-out infinite;
}

@keyframes amount-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    }
}

.reward-description {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5em;
    color: #f5576c;
    margin: 0;
}

.card-footer {
    border-top: 2px solid rgba(102, 126, 234, 0.2);
    padding-top: 15px;
    margin-top: 20px;
}

.valid-text {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
    margin: 0;
}

.continue-reward-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

/* FINAL ANIMATION SCENE - MEJORADA */
.rising-hearts-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.rising-heart {
    position: absolute;
    bottom: -50px;
    font-size: 2em;
    opacity: 0;
    animation: rise-up 4s ease-out forwards;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes rise-up {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: translateY(-50vh) rotate(180deg) scale(1);
    }
    100% {
        transform: translateY(-120vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

.big-heart-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 10;
}

.big-heart-container.visible {
    opacity: 1;
}

.small-heart-particle {
    position: absolute;
    font-size: 1.5em;
    filter: drop-shadow(0 2px 4px rgba(255, 105, 180, 0.5));
}

.heart-message-final {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(255, 105, 180, 0.8),
        0 0 40px rgba(255, 105, 180, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    transition: opacity 1s ease;
}

.final-continue-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    z-index: 101;
}

/* FINAL SCENE */
.final-heart {
    font-size: 5em;
    animation: heart-beat-final 1.5s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes heart-beat-final {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.25);
    }
}

.final-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #fff, #ffb6c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-message {
    font-size: 1.2em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.restart-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.floating-hearts {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    font-size: 2em;
    animation: float-up 4s linear infinite;
    opacity: 0;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 480px) {
    .title {
        font-size: 2.2em;
    }
    
    h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 1.1em;
    }
    
    .heart-canvas {
        width: 280px;
        height: 280px;
        max-height: 35vh; /* Reducir altura máxima en móviles */
    }
    
    .quiz-btn {
        padding: 15px 20px;
        font-size: 1em;
    }
    
    .timeline-photo {
        height: 350px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .letter-title {
        font-size: 2em;
    }
    
    .letter-text {
        font-size: 1.1em;
    }
    
    .heart-message-final {
        font-size: 2.5em;
    }
    
    /* Ajustes adicionales para móviles */
    .content {
        padding: 15px;
        padding-bottom: 30px;
    }
    
    .reward-card {
        padding: 20px;
    }
    
    .amount {
        font-size: 4em;
    }
}

@media (max-width: 360px) {
    .title {
        font-size: 1.9em;
    }
    
    .heart-canvas {
        width: 250px;
        height: 250px;
        max-height: 30vh;
    }
    
    .timeline-photo {
        height: 300px;
    }
    
    .heart-message-final {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.2em;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 1em;
    }
}

/* LANDSCAPE MODE */
@media (orientation: landscape) and (max-height: 500px) {
    .profile-img {
        width: 80px;
        height: 80px;
    }
    
    .title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .heart-canvas {
        height: 200px;
        max-height: 40vh;
    }
    
    .timeline-photo {
        height: 250px;
    }
    
    .letter-container {
        max-height: 75vh;
    }
    
    h2 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 1em;
        margin: 5px;
    }
    
    .content {
        padding: 10px;
        padding-bottom: 20px;
    }
}

/* Ajuste específico para evitar que las barras del navegador cubran contenido */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari */
    .scene {
        min-height: -webkit-fill-available;
    }
    
    .app {
        min-height: -webkit-fill-available;
    }
}