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

body {
    font-family: 'Poppins', sans-serif;
    background: #faf7f5 url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&auto=format&fit=crop&q=80') center/cover no-repeat fixed;
    color: #444;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Opening */
.opening {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    text-align: center;
    padding: 20px;
}

.opening-content {
    max-width: 90%;
}

.small-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #888;
}

.guest-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 15px 0;
    color: #5d4e46;
}

.btn-open {
    margin-top: 30px;
    padding: 12px 30px;
    background: #8b6f47;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-open:hover {
    background: #6b5536;
}

/* Main Content */
.main-content {
    display: none;
    min-height: 100vh;
    padding-bottom: 50px;
}

.hero {
    text-align: center;
    padding: 100px 20px 60px;
    color: #5d4e46;
}

.hero h1 {
    font-size: 4rem;
    margin: 20px 0;
}

.hero h1 span {
    margin: 0 20px;
    font-size: 2.5rem;
}

.date {
    font-size: 1.3rem;
    margin-top: 10px;
    letter-spacing: 3px;
}

.flower-top, .flower-bottom {
    font-size: 1.5rem;
    letter-spacing: 10px;
    color: #c9b29c;
}

/* Quote */
.quote {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255,255,255,0.8);
    margin: 40px 20px;
    border-radius: 15px;
}

.ayat {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}

.sura {
    margin-top: 20px;
    font-weight: 500;
    color: #8b6f47;
}

/* Mempelai */
.mempelai {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    gap: 20px;
}

.mempelai h3 {
    font-size: 2rem;
    color: #5d4e46;
}

.and {
    font-size: 2rem;
    color: #c9b29c;
}

/* Acara */
.acara {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.9);
    margin: 20px;
    border-radius: 15px;
}

.acara h2 {
    margin-bottom: 20px;
    color: #8b6f47;
}

.time, .location {
    margin: 15px 0;
    line-height: 1.6;
}

.btn-map {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #8b6f47;
    color: white;
    text-decoration: none;
    border-radius: 50px;
}

/* Countdown */
.countdown {
    text-align: center;
    padding: 60px 20px;
    color: #5d4e46;
}

#timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

#timer div {
    background: rgba(255,255,255,0.9);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
}

#timer span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

#timer small {
    font-size: 0.8rem;
    color: #888;
}

/* RSVP */
.rsvp {
    padding: 60px 20px;
    text-align: center;
    background: rgba(255,255,255,0.9);
    margin: 20px;
    border-radius: 15px;
}

.rsvp input, .rsvp select, .rsvp textarea {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: block;
}

.rsvp button {
    margin-top: 10px;
    padding: 12px 30px;
    background: #8b6f47;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.ucapan {
    margin: 40px 0 20px;
}

/* Music */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

#toggleMusic {
    padding: 10px 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero h1 span { font-size: 2rem; }
}