/* Thiệp Cưới - GOLD */
:root { --gold:#c9a227; --gold-light:#e8cf8a; --ink:#171310; --panel:#221c16; --cream:#faf6ec; --muted:#8a7c5e; --line:#e3d8bd; }
.wedding-gold { max-width: 512px; margin: 0 auto; overflow: hidden; color: var(--ink); background: var(--cream); font-family: Georgia, 'Times New Roman', serif; line-height: 1.6; }
.wedding-gold * { box-sizing: border-box; }
.wedding-gold img { display: block; max-width: 100%; }
.section { padding: 56px 24px; }
.eyebrow { margin: 0; color: var(--gold); font: 600 10px/1.7 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }

.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; color: #fff; background-size: cover; background-position: center; }
.hero .eyebrow { color: var(--gold-light); }
.couple-names { margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 400; font-size: clamp(28px, 8vw, 42px); }
.couple-names em { color: var(--gold-light); font-style: italic; }
.date-intro strong { display: inline-block; padding: 10px 26px; border: 1px solid var(--gold-light); border-radius: 999px; letter-spacing: .12em; font-size: 15px; }
.guest-line { margin: 0; color: var(--muted); font: 14px Arial, sans-serif; }.guest-line strong { color: var(--gold-light); }

.countdown { width: 100%; max-width: 340px; text-align: center; background: var(--panel); color: #fff; padding: 18px 14px; border-radius: 12px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown-grid div { padding: 16px 4px; border: 1px solid rgba(201,162,39,.35); border-radius: 8px; }
.countdown-grid strong { display: block; font-size: 26px; color: var(--gold-light); }
.countdown-grid span { display: block; margin-top: 4px; color: var(--muted); font: 10px Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; }

.family { border-top: 1px solid var(--line); text-align: center; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.parent-card { display: grid; gap: 3px; }
.parent-card strong { font: 700 10px Arial, sans-serif; letter-spacing: .03em; }
.parent-card p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.announcement { padding: 42px 0; }
.announcement h2 { margin: 16px 0; color: var(--gold); font-size: 28px; font-weight: 400; }
.roles { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font: 10px Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.roles em { color: var(--gold); font-style: normal; }
.portrait { aspect-ratio: 3/4; overflow: hidden; margin: 0 auto; max-width: 320px; border: 6px solid var(--cream); outline: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.quote { position: relative; text-align: center; background: var(--panel); color: var(--gold-light); }
.quote-mark { display: block; margin-bottom: 8px; color: var(--gold); font-size: 48px; font-family: Georgia, serif; line-height: 1; }
.quote p { margin: 0 auto; max-width: 380px; font-style: italic; font-size: 17px; line-height: 1.7; }

.event { text-align: center; background: #fff; }
.event-heading h2 { margin: 7px 0; color: var(--gold); font-size: 26px; font-weight: 400; }
.event-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; }
.event-time { display: grid; gap: 5px; margin: 32px 0 24px; }
.event-time strong { font-size: 20px; text-transform: uppercase; }
.event-time span { color: var(--gold); font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.venue-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-cards-single { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.venue-card { padding: 26px 18px; border: 1px solid var(--gold); border-radius: 4px; }
.venue-card h2 { margin: 8px 0; color: var(--ink); font-size: 24px; font-weight: 400; }
.venue-card > p:last-of-type { margin: 0 0 18px; color: var(--muted); font: 12px/1.6 Arial, sans-serif; }

.mung-cuoi { text-align: center; background: #fff; }
.mung-cuoi h2 { margin: 0 0 22px; color: var(--gold); font-size: 26px; font-weight: 400; }
.mung-cuoi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mung-cuoi-card { padding: 16px; border: 1px solid var(--line); border-radius: 4px; }
.mung-cuoi-card img { width: 100%; margin-bottom: 10px; border-radius: 4px; }
.mung-cuoi-card p { margin: 3px 0; font-size: 12px; }

.button, .attendance button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--ink); border-radius: 0; padding: 10px 24px; color: #fff; background: var(--ink); font: 700 11px Arial, sans-serif; letter-spacing: .1em; text-decoration: none; cursor: pointer; text-transform: uppercase; }
.button-dark { width: 100%; border-color: var(--gold); background: var(--gold); color: var(--ink); }

.dress-code { text-align: center; background: var(--cream); }
.dress-code h2 { margin: 0 0 6px; color: var(--gold); font-size: 24px; font-weight: 400; }
.dress-code > p { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.swatches { display: flex; justify-content: center; gap: 22px; }
.swatch { display: grid; justify-items: center; gap: 8px; }
.swatch span { display: block; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); }
.swatch small { color: var(--muted); font: 10px Arial, sans-serif; letter-spacing: .04em; }

.rsvp { text-align: center; background: #fff; }
.rsvp-form { display: grid; gap: 15px; margin-top: 26px; text-align: left; }
.rsvp-form input, .rsvp-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 11px 0; color: var(--ink); background: transparent; font: 14px Arial, sans-serif; outline: 0; }
.rsvp-form textarea { resize: vertical; }
.attendance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.attendance button { color: var(--muted); background: transparent; border-color: var(--line); }
.attendance button.is-selected { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.form-status { min-height: 20px; margin: 0; text-align: center; color: var(--gold); font: 12px Arial, sans-serif; }

.gallery { background: var(--cream); }
.gallery h2 { margin-bottom: 22px; text-align: center; color: var(--gold); font-size: 26px; font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-item { aspect-ratio: 3/4; overflow: hidden; }
.gallery-item img { transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.thank-you { min-height: 240px; display: grid; place-content: center; gap: 12px; padding: 32px; color: #fff; background-size: cover; background-position: center; text-align: center; }
.thank-you h2 { color: var(--gold-light); font-size: 42px; font-style: italic; font-weight: 400; }
.thank-you p { margin: 0; font: 14px/1.6 Arial, sans-serif; }
.thank-you span { font-size: 22px; }

.music-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 22px; cursor: pointer; }
.music-toggle[aria-pressed='true'] { animation: gold-pulse 1.5s infinite; }
@keyframes gold-pulse { 50% { transform: scale(1.08); } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (min-width: 768px) { .music-toggle { top: 20px; bottom: auto; } .section { padding-left: 32px; padding-right: 32px; } }
