:root {
    --gold: #d4af37;
    --bg: #fdfaf5;
}

body, html {
    margin: 0; padding: 0;
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    overflow: hidden;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.panel {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
    text-align: center;
}

.blueprint-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--gold) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 1;
}

.reveal-text {
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease-out;
}

.panel.active .reveal-text {
    opacity: 1;
    transform: translateY(0);
}

.house-draw {
    width: 200px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.2;
}

.house-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 3s ease-in-out;
}

.panel.active .house-path {
    stroke-dashoffset: 0;
}

.invitation-wrap {
    padding: 50px 30px;
    background: white;
    border: 1px solid var(--gold);
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    max-width: 380px;
}

.couple-names {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    color: var(--gold);
    margin: 15px 0;
}

#countdown {
    display: flex; justify-content: center; gap: 12px; margin: 25px 0;
}

.unit span { font-weight: 700; font-size: 1.4rem; color: var(--gold); display: block; }
.unit p { font-size: 0.65rem; margin: 0; color: #666; }

.music-toggle {
    background: var(--gold); color: white; border: none;
    padding: 10px 30px; border-radius: 25px; cursor: pointer;
}