:root {
    --primary-color: #d63e5e;
    --accent-color: #f7e8e8;
    --text-color: #331d1d;
    --glow-color: rgba(214, 62, 94, 0.4);
    --bg-overlay: rgba(255, 240, 240, 0.6);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('assets/background.png') no-repeat center center fixed;
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: #8c5e5e;
    margin-bottom: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.message {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #4a2c2c;
}

.message.highlight {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

footer {
    margin-top: 3rem;
}

.music-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.music-player p {
    font-size: 0.9rem;
    color: #6e4a4a;
}

.btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--glow-color);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #b52e4b;
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--glow-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Hearts Background Effect */
.heart {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.3;
    pointer-events: none;
    animation: float 6s infinite linear;
}

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