* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 20px;
}

#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.falling-heart {
    position: absolute;
    top: -20px;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(360deg);
    }
}

.container {
    width: 100%;
    max-width: 450px;
    z-index: 2;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.5s ease;
}

.hidden {
    display: none !important;
}

.active {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2 {
    color: #d63384;
    margin-bottom: 15px;
}

p {
    color: #555;
    margin-bottom: 20px;
}

/* BOTÃO SPOTIFY */
.music-spotify-btn {
    display: inline-block;
    background-color: #1DB954;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
    transition: transform 0.2s;
}

.music-spotify-btn:active {
    transform: scale(0.95);
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-height: 60px;
    position: relative;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-yes {
    background-color: #ff4757;
    color: white;
}

.btn-no {
    background-color: #747d8c;
    color: white;
}

.btn-primary, .btn-secondary {
    background-color: #ff4757;
    color: white;
    margin-top: 15px;
}

.envelope-wrapper {
    cursor: pointer;
    margin: 20px 0;
}

.envelope {
    width: 120px;
    height: 80px;
    background: #ff6b81;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.heart-seal {
    font-size: 30px;
}

.paper {
    background: #fffdf9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.photo-card img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}
