:root {
    --deep-bg: #0f0c29;
    --mid-bg: #302b63;
    --light-bg: #24243e;
    --gold: #f1c40f;
    --soft-white: #f5f5f5;
    --heart-red: #ff4d4d;
    --text-glow: rgba(241, 196, 15, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--deep-bg), var(--mid-bg), var(--light-bg));
    color: var(--soft-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Cinematic Overlay */
.cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Effects Containers */
.stars-container, .hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 10px white; }
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    to {
        transform: translateY(-110vh) rotate(360deg);
    }
}

/* Container */
.container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    z-index: 10;
}

/* Typography */
.glow-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--text-glow);
    margin-bottom: 10px;
}

.title-name {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    color: white;
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 5px;
    opacity: 0.8;
}

/* Photo Styling */
.photo-container {
    position: relative;
    display: inline-block;
    margin: 60px 0;
}

.photo-frame {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.photo-frame:hover {
    transform: scale(1.05) rotate(1deg);
}

.photo-frame img {
    width: 320px;
    height: 450px;
    display: block;
    object-fit: cover;
    border-radius: 3px;
    filter: sepia(20%) contrast(1.1);
}

/* Emotional Card */
.emotional-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 30px;
    margin: 60px 0;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--gold);
    line-height: 1.4;
}

.divider {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 30px auto;
    opacity: 0.5;
}

.description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Footer */
.footer {
    margin-top: 80px;
    opacity: 0.8;
}

.emotional-footer {
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.heart-pulse {
    font-size: 2.5rem;
    color: var(--heart-red);
    animation: heartBeat 1.2s infinite;
    display: inline-block;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--heart-red)); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 20px var(--heart-red)); }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2s; }
.delay-5 { animation-delay: 2.5s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .title-name { font-size: 3rem; }
    .photo-frame img { width: 280px; height: 380px; }
    .emotional-card { padding: 30px; }
}
