/* Wed Nijiy — shared styles (landing, pass, host) */
:root {
    --ink: #14040b;
    --plum: #2a0716;
    --wine: #5a0f2e;
    --gold: #e8c27a;
    --gold-2: #c9a24b;
    --cream: #fbf1df;
    --muted: rgba(251, 241, 223, .72);
    --line: rgba(232, 194, 122, .28);
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --hi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wn-hi { font-family: var(--hi); letter-spacing: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }

.wn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, #fbe6a8, #c9a24b 55%, #e9c779);
    color: #2a1206; font: 600 15px/1 var(--sans); text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(201, 162, 75, .7), inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.wn-btn:hover { transform: translateY(-2px); }
.wn-btn--ghost { background: rgba(255, 255, 255, .06); color: var(--cream); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(10px); }
.wn-btn--sm { padding: 10px 18px; font-size: 13px; }

/* header */
.wn-top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 44px); background: linear-gradient(180deg, rgba(20, 4, 11, .85), rgba(20, 4, 11, 0)); }
.wn-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.wn-logo-mark { width: 26px; height: 26px; align-self: center; border-radius: 8px; background: radial-gradient(circle at 50% 38%, #fff3cf, #e8c27a 45%, #8a5a1e); box-shadow: 0 0 18px rgba(232, 194, 122, .55); }
.wn-logo b { font: 700 24px/1 var(--serif); letter-spacing: .02em; color: var(--gold); }
.wn-logo em { font: 400 13px/1 var(--hi); font-style: normal; color: var(--muted); }
.wn-nav { display: flex; gap: 22px; margin-left: auto; }
.wn-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.wn-nav a:hover { color: var(--gold); }
.wn-top-cta { padding: 10px 18px; font-size: 13px; }

/* hero with WebGL carousel */
.wn-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse 90% 70% at 70% 45%, #4a0c26 0%, #22050f 55%, #0d0207 100%); }
.wn-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.wn-hero-canvas:active { cursor: grabbing; }
.wn-hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 120px clamp(18px, 6vw, 80px) 80px; pointer-events: none; }
.wn-hero-copy a, .wn-hero-copy button { pointer-events: auto; }
.wn-eyebrow { margin: 0 0 16px; color: var(--gold); font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.wn-eyebrow .wn-hi { text-transform: none; letter-spacing: .02em; font-size: 15px; }
.wn-hero h1 { font-size: clamp(46px, 7vw, 92px); line-height: .95; letter-spacing: -.01em; text-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.wn-hero h1 em { font-style: italic; background: linear-gradient(90deg, #fff1c8, #e8c27a 45%, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wn-lead { margin: 22px 0 28px; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; max-width: 52ch; }
.wn-lead b { color: var(--cream); }
.wn-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.wn-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.wn-chips li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); }
.wn-chips b { color: var(--gold); }
.wn-drag-hint { position: absolute; right: clamp(16px, 4vw, 44px); bottom: 22px; z-index: 2; margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 241, 223, .5); }

/* sections */
.wn-section { padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 80px); max-width: 1240px; margin: 0 auto; }
.wn-section h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.wn-sub { color: var(--muted); max-width: 60ch; line-height: 1.7; margin: 14px 0 0; }
.wn-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-top: 38px; }
.wn-tcard { padding: 14px 14px 18px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.wn-tcard-art { position: relative; aspect-ratio: 3 / 4; border-radius: 120px 120px 14px 14px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, var(--c3), var(--c1) 70%); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c2) 70%, transparent); margin-bottom: 14px; }
.wn-tcard-art i { position: absolute; inset: 16% 22% 0; border-radius: 80px 80px 0 0; border: 2px solid var(--c2); border-bottom: 0; opacity: .8; }
.wn-tcard-art span { position: relative; font-size: 22px; color: var(--c2); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.wn-tcard h3 { font-size: 24px; }
.wn-tcard p { margin: 6px 0 14px; color: var(--muted); font-size: 13px; }
.wn-tcard.is-soon { opacity: .75; }
.wn-soon { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--line); font-size: 12px; color: var(--gold); }
.wn-steps { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.wn-steps li, .wn-feats article { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(90, 15, 46, .35), rgba(255, 255, 255, .02)); }
.wn-steps b { font: 700 40px/1 var(--serif); color: var(--gold); }
.wn-steps h3, .wn-feats h3 { font-size: 26px; margin: 12px 0 8px; }
.wn-steps p, .wn-feats p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.wn-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 38px; }
.wn-feats i { font-style: normal; font-size: 26px; color: var(--gold); }
.wn-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.wn-form { display: grid; gap: 14px; padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.wn-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.wn-form input, .wn-form select, .wn-form textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--cream); font: 15px/1.4 var(--sans); }
.wn-form input:focus, .wn-form select:focus, .wn-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 194, 122, .18); }
.wn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wn-form-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--gold); }
.wn-foot { padding: 34px 18px 44px; text-align: center; color: rgba(251, 241, 223, .5); font-size: 13px; border-top: 1px solid var(--line); }
.wn-foot b { color: var(--gold); }

@media (max-width: 860px) {
    .wn-nav { display: none; }
    .wn-top-cta { margin-left: auto; }
    .wn-hero { align-items: flex-end; }
    .wn-hero-copy { padding: 54vh 18px 60px; background: linear-gradient(180deg, transparent 50vh, rgba(13, 2, 7, .82) 60vh); max-width: none; width: 100%; }
    .wn-logo em { display: none; }
    .wn-contact { grid-template-columns: 1fr; }
    .wn-form-row { grid-template-columns: 1fr; }
    .wn-drag-hint { display: none; }
}

/* ---------- pass page ---------- */
.wn-pass-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(ellipse at 50% 30%, #4a0c26, #14040b 70%); }

/* ---------- host dashboard ---------- */
.wn-host { min-height: 100vh; background: #12050b; }
.wn-host-top { display: flex; align-items: center; gap: 14px; padding: 18px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.wn-host-top form { margin-left: auto; }
.wn-host main { padding: 24px clamp(16px, 4vw, 40px) 60px; max-width: 1280px; margin: 0 auto; }
.wn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.wn-stat { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.wn-stat b { display: block; font: 700 30px/1.1 var(--serif); color: var(--gold); }
.wn-stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.wn-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.wn-tabs button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: 600 13px var(--sans); }
.wn-tabs button.is-on { background: var(--gold); color: #2a1206; border-color: var(--gold); }
.wn-panel { display: none; }
.wn-panel.is-on { display: block; }
.wn-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.wn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wn-table th, .wn-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(232, 194, 122, .12); white-space: nowrap; }
.wn-table th { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; background: rgba(255, 255, 255, .03); }
.wn-table td.wrap { white-space: normal; min-width: 180px; color: var(--muted); }
.wn-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); }
.wn-badge.received { background: rgba(112, 200, 140, .15); color: #9be3b0; border-color: rgba(112, 200, 140, .4); }
.wn-badge.pending, .wn-badge.pledged { background: rgba(232, 194, 122, .12); color: var(--gold); }
.wn-mini { display: inline-flex; gap: 6px; }
.wn-mini button { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; font-size: 12px; }
.wn-inline-form { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr auto; gap: 10px; margin: 0 0 16px; }
.wn-inline-form input, .wn-inline-form select, .wn-settings input, .wn-settings textarea { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--cream); font: 14px var(--sans); width: 100%; }
.wn-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wn-settings label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.wn-settings .full { grid-column: 1 / -1; }
.wn-flash { padding: 12px 16px; border-radius: 14px; background: rgba(112, 200, 140, .12); color: #9be3b0; margin-bottom: 16px; }
.wn-errors { padding: 12px 16px; border-radius: 14px; background: rgba(220, 80, 80, .14); color: #ffb3b3; margin-bottom: 16px; }
@media (max-width: 760px) { .wn-inline-form, .wn-settings { grid-template-columns: 1fr; } }
