/* styles.css version: 1.3 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff0f0;
    background-image: url('backgrounddone.jpg');
    font-family: 'Dancing Script', cursive;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

h1 {
    text-align: center;
    color: #c04f4f;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-family: 'Great Vibes', cursive;
}

.message-box {
    background: #fff5f5;
    border: 2px solid #e0d0c0;
    padding: 2rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #604020;
    line-height: 1.6;
}

.button-container {
    text-align: center;
    margin: 2rem 0;
}

.gift-emoji {
    background: #c04f4f;
    border: 3px solid #884040;
    border-radius: 50%;
    width: clamp(70px, 10vw, 80px);
    height: clamp(70px, 10vw, 80px);
    font-size: clamp(30px, 4vw, 40px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-box {
    background: #fff5f5;
    border: 2px solid #e0d0c0;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Consistent hover effects across devices */
@media (hover: hover) {
    .gift-emoji:hover {
        transform: scale(1.1) rotate(15deg);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        background: #d05f5f;
    }
}

.gift-emoji:active {
    transform: scale(0.9) rotate(-15deg);
}

/* Add to styles.css */
.flower {
    position: fixed;
    animation: float linear;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.9;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-150vh) rotate(360deg);
        opacity: 0;
    }
}