/* Reset dan Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Soft pastel gradient: pinkish to light peach */
    background: linear-gradient(135deg, #ffd3e0 0%, #fbd1d1 100%);
    color: #4a4a4a;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animasi Background Dinamis */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 182, 193, 0.5), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Screen Management */
.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    z-index: -1;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(255, 140, 165, 0.15);
    text-align: center;
    max-width: 90%;
}

/* Typography */
h1 {
    font-family: 'Dancing Script', cursive;
    color: #c25975;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Play Button */
.glow-btn {
    background: linear-gradient(45deg, #ff758c 0%, #ff7eb3 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.4);
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 117, 140, 0.6);
}

.glow-btn svg {
    transition: transform 0.3s ease;
}

.glow-btn:hover svg {
    transform: scale(1.2);
}

/* Main Screen Content */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 4rem 1rem;
    z-index: 10;
}

.title {
    font-size: 4rem;
    color: #d85a7f;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-align: center;
}

/* Photo Frame */
.photo-frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 10px;
    background: white;
    box-shadow: 0 10px 25px rgba(216, 90, 127, 0.2);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 3px solid #ffccde;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fdf2f6;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: #c58ba0;
    font-size: 0.9rem;
    font-weight: 600;
    /* padding: 1.5rem; */
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Message Card */
.message-card {
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
}

.message {
    color: #5d5d5d;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #b06279;
}

.divider {
    height: 2px;
    width: 60px;
    background: #ffb6c1;
    margin: 1.5rem auto;
    border-radius: 2px;
}

.highlight {
    font-weight: 700;
    color: #c25975;
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #d85a7f;
    margin-bottom: 0;
}

/* Animations */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: var(--delay, 0s);
}

.animate-slide-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Resposive Design --- */

/* Tablet & Smaller Laptops */
@media screen and (max-width: 768px) {
    .title {
        font-size: 3.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .photo-frame {
        width: 220px;
        height: 220px;
    }

    .glass-card {
        padding: 2rem;
    }

    .signature {
        font-size: 1.8rem;
    }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
    .title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .photo-frame {
        width: 180px;
        height: 180px;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .quote {
        font-size: 1rem;
    }

    .message.text {
        font-size: 0.9rem;
    }

    .highlight {
        font-size: 0.95rem;
    }

    .signature {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    .glow-btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
}