/* Cosoon - diadaptasi dari template coming-soon "Cosoon" (Plus Jakarta Sans, kembang api & salju) */
:root {
    --cs-gold: #f2c46d;
    --cs-night: #03171a;
    --cs-night2: #1b2735;
    --cs-glass: rgba(255, 255, 255, .06);
    --cs-line: rgba(255, 255, 255, .14);
    --cs-muted: rgba(255, 255, 255, .62);
    --cs-font: "Plus Jakarta Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cs-font); font-size: 16px; line-height: 1.7; color: #fff; background: var(--cs-night); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cs-gold); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; color: #fff; }
p { margin: 0 0 1em; }
.cs-container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.text-center { text-align: center; }
.cs-muted { color: var(--cs-muted); }

/* Bingkai ganda khas "boom" */
.cs-frame { position: absolute; inset: 14px; border: 12px double rgba(255, 255, 255, .9); pointer-events: none; z-index: 3; }

/* Salju / bintang jatuh */
.cs-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.cs-snow i { position: absolute; top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); animation: cs-fall linear infinite; }
@keyframes cs-fall { to { transform: translate(var(--dx, 20px), calc(100vh + 30px)); } }
.cs-night > .cs-snow { position: fixed; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cs-snow { display: none; } }

/* Tombol */
.cs-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; background: var(--cs-gold); color: #1a1406; font-family: var(--cs-font); font-size: 15px; font-weight: 700; border: 0; cursor: pointer; box-shadow: 0 0 0 0 rgba(242, 196, 109, .5); transition: transform .25s, box-shadow .25s; }
.cs-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(242, 196, 109, .35); color: #1a1406; }
.cs-btn.is-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.cs-btn.is-ghost:hover { border-color: var(--cs-gold); color: var(--cs-gold); box-shadow: none; }
.cs-btn.is-sm { padding: 9px 20px; font-size: 13px; }
.cs-btn svg { width: 18px; height: 18px; }

/* Sampul */
.cs-cover { display: flex; align-items: center; justify-content: center; text-align: center; padding: 50px 30px; background: #000 url('../img/boom.jpg') center/cover no-repeat; overflow: hidden; }
.cs-cover-inner { position: relative; z-index: 4; max-width: 620px; width: 100%; }
.cs-cover .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cs-gold); }
.cs-cover h1 { font-size: 54px; margin: 14px 0 6px; text-shadow: 0 0 24px rgba(255, 255, 255, .35); word-wrap: break-word; }
.cs-cover .date { font-style: italic; color: var(--cs-muted); }
.cs-guest { margin: 30px auto; padding: 18px 20px; max-width: 360px; border-radius: 16px; background: var(--cs-glass); border: 1px solid var(--cs-line); backdrop-filter: blur(6px); }
.cs-guest small { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--cs-muted); }
.cs-guest strong { display: block; font-size: 22px; margin-top: 4px; }

/* Hero - countdown besar */
.cs-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; padding: 90px 0; background: #000 url('../img/boom.jpg') center/cover no-repeat; overflow: hidden; }
.cs-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.cs-hero .kicker { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cs-gold); }
.cs-hero h1 { font-size: 36px; font-weight: 600; margin: 10px 0 8px; }
.cs-hero .tagline { max-width: 560px; margin: 0 auto; font-style: italic; color: var(--cs-muted); }
.cs-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 900px; margin: 44px auto 34px; }
.cs-countdown > div { padding: 8px; }
.cs-countdown b { display: block; font-size: 116px; font-weight: 800; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(255, 255, 255, .35); }
.cs-countdown span { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--cs-gold); }
.cs-countdown > div + div { border-left: 1px solid var(--cs-line); }
.cs-hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 28px; color: var(--cs-muted); font-size: 15px; }
.cs-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cs-hero-meta svg { width: 18px; height: 18px; color: var(--cs-gold); }
.cs-scroll { position: absolute; left: 50%; bottom: 40px; z-index: 4; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.cs-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cs-wheel 1.6s infinite; }
@keyframes cs-wheel { to { transform: translateY(12px); opacity: 0; } }

/* Section malam */
.cs-night { position: relative; background: radial-gradient(ellipse at bottom, var(--cs-night2) 0%, #090a0f 100%); overflow: hidden; }
.cs-section { position: relative; padding: 90px 0; }
.cs-section + .cs-section { border-top: 1px solid rgba(255, 255, 255, .05); }
.cs-head { text-align: center; margin-bottom: 44px; }
.cs-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cs-gold); }
.cs-head h2 { font-size: 36px; margin-top: 8px; text-shadow: 0 0 20px rgba(255, 255, 255, .2); }
.cs-head p { max-width: 640px; margin: 12px auto 0; color: var(--cs-muted); }
.cs-glass { background: var(--cs-glass); border: 1px solid var(--cs-line); border-radius: 22px; backdrop-filter: blur(6px); }

/* Salam */
.cs-greet { max-width: 760px; margin: 0 auto; text-align: center; }
.cs-greet h2 { font-size: 30px; font-weight: 600; margin-bottom: 16px; }
.cs-greet p { color: rgba(255, 255, 255, .8); font-size: 17px; }
.cs-quote { margin: 30px auto 0; padding: 28px; font-style: italic; color: rgba(255, 255, 255, .85); }
.cs-quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 14px; letter-spacing: 1px; color: var(--cs-gold); }

/* Tokoh */
.cs-hosts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; max-width: 860px; margin: 0 auto; }
.cs-hosts.is-single { max-width: 460px; }
.cs-host { padding: 36px 26px; text-align: center; }
.cs-host img { width: 170px; height: 170px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 8px rgba(242, 196, 109, .18), 0 0 40px rgba(242, 196, 109, .35); }
.cs-host h3 { font-size: 24px; }
.cs-host .role { display: inline-block; margin: 8px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cs-gold); }
.cs-host p { margin: 0 0 4px; color: var(--cs-muted); }
.cs-host .parents { color: #fff; font-weight: 600; }
.cs-ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; }
.cs-ig svg { width: 16px; height: 16px; }

/* Acara */
.cs-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.cs-event { padding: 34px 28px; display: flex; flex-direction: column; }
.cs-event .day { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--cs-line); }
.cs-event .day b { font-size: 64px; font-weight: 800; line-height: .9; color: var(--cs-gold); }
.cs-event .day span { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--cs-muted); line-height: 1.4; }
.cs-event h3 { font-size: 24px; margin-bottom: 12px; }
.cs-row { display: flex; gap: 10px; margin-bottom: 8px; color: rgba(255, 255, 255, .82); }
.cs-row svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--cs-gold); }
.cs-event .cs-btn { margin-top: auto; align-self: flex-start; }
.cs-event .cs-row:last-of-type { margin-bottom: 22px; }
.cs-live { margin-top: 30px; padding: 30px; text-align: center; }

/* Cerita */
.cs-timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.cs-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cs-gold), rgba(242, 196, 109, .05)); }
.cs-story { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 20px; margin-bottom: 24px; align-items: center; }
.cs-story::before { content: ""; position: absolute; left: -32px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--cs-gold); box-shadow: 0 0 14px var(--cs-gold); }
.cs-story img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.cs-story .date { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cs-gold); }
.cs-story h3 { font-size: 22px; margin: 4px 0 8px; }
.cs-story p { color: var(--cs-muted); margin: 0; }

/* Galeri */
.cs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs-gallery a { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .7s; filter: saturate(.9); }
.cs-gallery a:hover img { transform: scale(1.08); filter: saturate(1.1); }
.cs-video { position: relative; padding-top: 56.25%; margin-top: 30px; border-radius: 18px; overflow: hidden; }
.cs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hadiah */
.cs-gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.cs-gift { padding: 30px 24px; text-align: center; }
.cs-gift .bank { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cs-gold); }
.cs-gift .no { display: block; font-size: 26px; font-weight: 800; letter-spacing: 2px; margin: 10px 0 2px; word-break: break-all; }
.cs-gift p { color: var(--cs-muted); }

/* RSVP */
.cs-rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.cs-form { padding: 34px 28px; }
.inv-field { margin-bottom: 16px; }
.inv-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--cs-muted); }
.inv-input { width: 100%; padding: 13px 16px; border: 1px solid var(--cs-line); border-radius: 12px; background: rgba(0, 0, 0, .25); color: #fff; font-family: var(--cs-font); font-size: 15px; outline: none; transition: border-color .2s; }
.inv-input::placeholder { color: rgba(255, 255, 255, .4); }
.inv-input:focus { border-color: var(--cs-gold); }
select.inv-input option { color: #111; }
textarea.inv-input { min-height: 120px; resize: vertical; }
.inv-btn { width: 100%; margin-top: 6px; padding: 14px; border: 0; border-radius: 999px; background: var(--cs-gold); color: #1a1406; font-family: var(--cs-font); font-size: 15px; font-weight: 700; cursor: pointer; }
.inv-btn:hover { filter: brightness(1.08); }
.cs-wishes-box { padding: 30px 24px; }
.cs-wishes-box h3 { font-size: 22px; margin-bottom: 16px; }
.cs-wishes { max-height: 480px; overflow-y: auto; padding-right: 6px; }
.cs-wish { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cs-wish .av { flex: 0 0 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cs-gold), #e9895d); color: #1a1406; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.cs-wish strong { font-weight: 700; }
.cs-wish small { color: var(--cs-gold); font-weight: 600; }
.cs-wish p { margin: 2px 0; color: rgba(255, 255, 255, .82); }
.cs-wish time { font-size: 12px; color: rgba(255, 255, 255, .45); }

/* Penutup */
.cs-closing { position: relative; padding: 120px 0; text-align: center; background: #000 url('../img/boom.jpg') center/cover no-repeat; overflow: hidden; }
.cs-closing h2 { font-size: 46px; font-weight: 800; text-shadow: 0 0 30px rgba(255, 255, 255, .35); margin-bottom: 16px; }
.cs-closing p { max-width: 680px; margin: 0 auto 14px; color: rgba(255, 255, 255, .8); }
.cs-closing .names { font-size: 22px; font-weight: 700; color: var(--cs-gold); }
.cs-footer { padding: 30px 20px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .55); background: #05080b; }
.cs-footer p { margin: 0; }

@media (max-width: 991px) {
    .cs-countdown b { font-size: 80px; }
    .cs-rsvp { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .cs-frame { inset: 8px; border-width: 8px; }
    .cs-cover h1 { font-size: 40px; }
    .cs-hero { padding: 80px 0 100px; }
    .cs-hero h1 { font-size: 28px; }
    .cs-countdown { grid-template-columns: repeat(2, 1fr); gap: 0; margin: 30px auto 26px; }
    .cs-countdown > div { padding: 16px 4px; }
    .cs-countdown > div + div { border-left: 0; }
    .cs-countdown > div:nth-child(even) { border-left: 1px solid var(--cs-line); }
    .cs-countdown > div:nth-child(n+3) { border-top: 1px solid var(--cs-line); }
    .cs-countdown b { font-size: 64px; }
    .cs-countdown span { font-size: 13px; }
    .cs-section { padding: 70px 0; }
    .cs-head h2 { font-size: 28px; }
    .cs-story { grid-template-columns: 1fr; }
    .cs-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cs-closing h2 { font-size: 36px; }
}
