:root {
    --primary-pink: #ffb7c5;
    --soft-blue: #a2d2ff;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #2d3436;
    --accent-gold: #d4af37;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: #f0f7ff;
    color: var(--text-dark);
}

#app-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Background Section */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/background.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.7);
    /* Agak gelap agar tulisan putih/emas 'keluar' */
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Hilangkan samar-samar agar HD */
    z-index: -1;
}

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
    transition: opacity 1s ease-in-out;
    padding: 2rem;
}

#intro-text {
    font-family: 'Playfair Display', serif;
    color: #e91e63;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.start-btn {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary-pink), #ff9eb5);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
}

.start-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.7);
}

.main-content {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    /* Allow manual scroll */
    z-index: 100;
    padding: 2rem 0;
    scroll-behavior: smooth;
}

#scroll-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50vh;
    /* Extra space at bottom */
}

/* Cards & Glassmorphism - No Box Version */
.glass-card {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    /* Tulisan Putih */
    font-weight: 700;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.photo-frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 10px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-frame:hover {
    transform: rotate(3deg) scale(1.05);
}

/* Typography */
h1 {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #ffd700;
    /* Emas mengkilap */
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Bayangan tajam bukan blur */
}

.date-text {
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.quote-box {
    border-left: 8px solid #ffd700;
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: #fff;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 700;
}

.personal-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    margin: 3rem 0;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hadith-text {
    font-size: 1.2rem;
    color: #fff;
    line-height: 2;
    background: transparent;
    padding: 1rem;
    margin-top: 3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Falling Flowers */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.petal {
    position: absolute;
    background: var(--primary-pink);
    border-radius: 150% 0 150% 0;
    opacity: 0.7;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(540deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 5px;
        width: 100%;
    }

    .glass-card {
        padding: 0.5rem 5px;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

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

    .personal-note {
        font-size: 1.4rem;
        margin: 1.5rem 0;
    }

    .hadith-text {
        padding: 1rem 5px;
        font-size: 0.9rem;
        line-height: 1.6;
    }
}