* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #fff0f5 0%, #ffe4ec 30%, #ffd6e0 60%, #ffb6c8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== COVER / ENVELOPE ===== */
.cover {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 100;
}

.envelope {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 2px solid rgba(214, 51, 132, 0.15);
    box-shadow: 0 20px 60px rgba(214, 51, 132, 0.12);
    animation: fadeIn 1s ease-out;
}

.envelope-icon {
    font-size: 55px;
    color: #ec4899;
    margin-bottom: 20px;
    animation: gentle-bounce 3s ease-in-out infinite;
}

.envelope h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    color: #d63384;
    margin-bottom: 10px;
}

.envelope p {
    color: #a24c6e;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.open-btn {
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.35);
}

.open-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.45);
}

.open-btn:active {
    transform: scale(0.97);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    display: none;
    opacity: 0;
    animation: revealContent 0.8s ease-out forwards;
}

.main-content.show {
    display: block;
    opacity: 1;
}

@keyframes revealContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== COVER HIDE ===== */
.cover.hide {
    animation: coverFadeOut 0.6s ease-out forwards;
}

@keyframes coverFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(1.1); pointer-events: none; }
}

/* ===== FLOATING HEARTS ===== */
.heart-float {
    position: fixed;
    bottom: -50px;
    font-size: 1.3rem;
    color: #f472b6;
    opacity: 0.5;
    animation: heart-rise 7s ease-in infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heart-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { opacity: 0.3; }
    100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}

/* ===== PETALS ===== */
.petal {
    position: fixed;
    top: -20px;
    width: 12px;
    height: 12px;
    background: #ffb6c1;
    border-radius: 50% 0 50% 50%;
    opacity: 0.5;
    animation: petal-fall 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes petal-fall {
    0% { transform: translateY(-5vh) rotate(0deg) translateX(0); opacity: 0.5; }
    50% { transform: translateY(50vh) rotate(180deg) translateX(30px); opacity: 0.4; }
    100% { transform: translateY(110vh) rotate(360deg) translateX(-20px); opacity: 0; }
}

/* ===== LANDING ===== */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.landing-icon {
    font-size: 60px;
    color: #ec4899;
    animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.landing h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2.2rem, 7vw, 4rem);
    color: #d63384;
    margin: 20px 0 10px;
    animation: fadeInUp 1s ease-out;
}

.landing .subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: #a24c6e;
    max-width: 500px;
    line-height: 1.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-hint a {
    color: #d63384;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-hint .arrow {
    font-size: 1.2rem;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 70px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.video-section h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #d63384;
    margin-bottom: 30px;
}

.video-section h2 i {
    margin-right: 8px;
}

.video-wrapper {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(214, 51, 132, 0.15);
    border: 2px solid rgba(214, 51, 132, 0.2);
    background: #000;
    position: relative;
}

.video-wrapper video {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* ===== CUSTOM VIDEO CONTROLS ===== */
.video-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ctrl-btn {
    background: none;
    border: none;
    color: #f9a8d4;
    font-size: 1rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ctrl-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f472b6, #ec4899);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer .hearts {
    font-size: 1.4rem;
    color: #ec4899;
    margin-bottom: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.footer .hearts i {
    margin: 0 3px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.footer p {
    color: #a24c6e;
    font-size: 0.85rem;
}

.footer p i {
    color: #ec4899;
}

/* ===== SPARKLE ===== */
.sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 1.5rem;
    color: #f472b6;
    animation: sparkle-fade 0.7s ease-out forwards;
}

@keyframes sparkle-fade {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
