@font-face {
  font-family: "Norwester";
  src: url("../assets/fonts/norwester.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05060a;
  --panel: #0b0e18;
  --panel-blue: #10162a;
  --blue: #486fe8;
  --blue-bright: #7e9cff;
  --gold: #f0c950;
  --gold-soft: #ffe9a0;
  --ink: #f8f5e9;
  --muted: #aeb5c9;
  --line: rgba(126, 156, 255, .2);
  --shell: min(1180px, calc(100% - 40px));
  --display: "Norwester", Impact, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 650; }
body::before, body::after { content: ""; position: fixed; z-index: 0; width: 74vw; height: 26vw; min-width: 520px; min-height: 190px; pointer-events: none; border-radius: 50%; filter: blur(52px); }
body::before { left: -18vw; top: 8vh; background: radial-gradient(ellipse, rgba(240,201,80,.13), rgba(240,201,80,.045) 43%, transparent 72%); animation: gold-wave-one 17s ease-in-out infinite alternate; }
body::after { right: -24vw; bottom: 4vh; background: radial-gradient(ellipse, rgba(240,201,80,.1), rgba(240,201,80,.032) 46%, transparent 74%); animation: gold-wave-two 21s ease-in-out infinite alternate; }
a { color: inherit; }
button { font: inherit; }
img, video { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 10px 14px; transform: translateY(-150%); border-radius: 999px; background: var(--gold); color: #08090c; font-weight: 900; }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font: 27px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.brand > span:last-child > span { color: var(--gold); }
.brand-mark { position: relative; display: block; width: 42px; height: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: #000; transition: transform .3s ease, box-shadow .3s ease; }
.brand-mark img { position: absolute; width: 337.5%; max-width: none; left: -111.25%; top: -39.7%; }
.brand:hover .brand-mark { transform: rotate(8deg); box-shadow: 0 0 22px rgba(240,201,80,.28); }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a { color: var(--muted); font: .95rem/1 var(--display); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover { color: var(--gold-soft); }
.site-header .nav-contact { padding: 8px 12px; border: 1px solid rgba(240,201,80,.45); border-radius: 999px; color: var(--gold); }
.site-header .nav-contact:hover { background: var(--gold); color: #08090c; }

.hero { display: grid; gap: 6px; max-width: 980px; padding-block: 8px 14px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 6px; color: var(--gold); font: .76rem/1 var(--body); font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); animation: pulse 2.2s ease-in-out infinite; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
h1 { color: var(--blue-bright); font-size: clamp(3.8rem, 8vw, 7rem); line-height: .88; }
h1 em { color: var(--blue-bright); font-style: normal; }
.hero-intro { max-width: 820px; margin: 4px 0 0; color: var(--ink); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.45; }
.hero-intro strong { color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -3% -2% -4% 7%; border-radius: 50%; background: rgba(126,156,255,.025); filter: blur(30px); }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(240,201,80,.45); border-radius: 14px; background: #020205; box-shadow: 0 24px 65px rgba(0,0,0,.5), 0 0 55px rgba(72,111,232,.1); }
.video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(2,3,8,.22); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #020205; }
.sound-toggle { position: absolute; z-index: 4; left: 7px; bottom: 7px; display: flex; align-items: center; gap: 4px; min-height: 27px; padding: 5px 8px; border: 1px solid rgba(240,201,80,.7); border-radius: 999px; background: rgba(3,4,9,.88); color: #fff; font: .6rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.45); backdrop-filter: blur(8px); }
.sound-toggle:hover { background: var(--gold); color: #08090c; }
.sound-icon { color: var(--gold); font: .72rem/1 Arial, sans-serif; }
.sound-toggle:hover .sound-icon { color: #08090c; }

.story { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding-block: 14px; }
.story-heading h2, .support-intro h2 { font-size: clamp(3rem, 5.8vw, 5.8rem); line-height: .9; }
.story-carousel { min-width: 0; }
.story-track { display: block; overflow: hidden; margin: -7px; padding: 7px; }
.story-card { display: flex; width: 100%; flex-direction: column; min-height: 0; padding: 11px 13px; border: 1px solid rgba(240,201,80,.38); border-radius: 10px; background: linear-gradient(135deg, rgba(72,111,232,.13), rgba(8,10,17,.88)); box-shadow: 0 0 22px rgba(240,201,80,.12), inset 0 0 24px rgba(240,201,80,.035); }
.story-card[hidden] { display: none; }
.story-card > span { color: var(--gold); font: .74rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.story-card > p { max-width: 760px; margin: 13px 0 0; color: var(--ink); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.4; }
.quote-card { border-left: 4px solid var(--gold); }
.quote-card > p { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 780; line-height: 1.35; }
.story-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; color: var(--muted); font: .76rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.story-controls > div { display: flex; gap: 7px; }
.story-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(240,201,80,.5); border-radius: 50%; background: rgba(240,201,80,.035); color: var(--gold); cursor: pointer; box-shadow: 0 0 0 1px rgba(240,201,80,.06), 0 0 12px rgba(240,201,80,.06); transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.story-controls button:hover:not(:disabled), .story-controls button:active:not(:disabled) { transform: scale(1.05); border-color: var(--blue-bright); background: rgba(72,111,232,.14); color: var(--blue-bright); box-shadow: 0 0 18px rgba(72,111,232,.5); }
.story-controls button:disabled { opacity: .3; cursor: default; }

.support { padding-block: 16px; }
.support-intro { max-width: 760px; }
.support-intro > p:last-child { max-width: 640px; margin: 9px 0 0; color: var(--muted); line-height: 1.45; }
.instagram-card { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-top: 10px; padding: 9px 12px; border: 1px solid rgba(240,201,80,.35); border-radius: 9px; background: linear-gradient(110deg, rgba(240,201,80,.06), rgba(72,111,232,.06)); text-decoration: none; }
.instagram-card strong { color: var(--ink); font: 1rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.instagram-card i { color: var(--blue-bright); font: 1.35rem/1 Arial, sans-serif; font-style: normal; }
.instagram-card:hover { border-color: var(--gold); }
.instagram-card:hover i { color: var(--gold-soft); }
.wallet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.wallet-card { position: relative; overflow: hidden; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, rgba(72,111,232,.12), rgba(8,10,17,.9)); isolation: isolate; }
.wallet-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(126,156,255,.19), transparent 55%); opacity: 0; transition: opacity .25s ease; }
.wallet-card:hover::before { opacity: 1; }
.wallet-topline { display: flex; justify-content: space-between; color: var(--gold); font: .75rem/1 var(--display); letter-spacing: .12em; }
.wallet-card h3 { display: flex; align-items: baseline; gap: 13px; margin-top: 7px; font-size: clamp(2.35rem, 4vw, 3.7rem); line-height: .9; }
.wallet-card h3 strong { color: var(--ink); font: inherit; font-weight: 400; }
.wallet-card h3 > span { color: var(--blue-bright); font-size: .47em; letter-spacing: .04em; white-space: nowrap; }
.wallet-card h3 em { color: var(--gold); font-style: normal; }
.wallet-address { margin: 7px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.27); color: var(--muted); font: .8rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.wallet-actions button { min-height: 38px; border-radius: 7px; font: .8rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.copy-button { border: 1px solid var(--gold); background: var(--gold); color: #090a0e; }
.copy-button:hover { background: var(--gold-soft); }
.qr-button { border: 1px solid var(--blue-bright); background: transparent; color: var(--blue-bright); }
.qr-button:hover { background: var(--blue); color: #fff; }
.support-note { margin: 7px 0 0; padding: 9px 11px; border-left: 3px solid var(--gold); background: rgba(240,201,80,.06); color: var(--muted); font-size: .84rem; line-height: 1.4; }
.support-note strong { color: var(--gold-soft); }

.closing { margin-bottom: 14px; padding: clamp(15px, 2.3vw, 24px); border: 1px solid rgba(240,201,80,.35); border-radius: 12px; background: radial-gradient(circle at 80% 30%, rgba(72,111,232,.21), transparent 45%), var(--panel); }
.closing > p { max-width: 960px; margin: 0; color: var(--ink); font: clamp(2.4rem, 5.4vw, 5.3rem)/.96 var(--display); text-transform: uppercase; }
.closing > p span { color: #fff; }
.closing > p em { display: block; color: var(--gold); font-style: normal; }
.closing > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; color: var(--gold); font: .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.closing-name { color: var(--blue-bright); }
.closing a { color: var(--gold); text-decoration: none; }
.closing a:hover { color: var(--gold-soft); }

.site-footer { padding-block: 10px; background: rgba(0,0,0,.22); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 44px; align-items: center; }
.footer-brand { font-size: 24px; }
.footer-grid p { margin: 8px 0 0; color: #73798a; font-size: .78rem; }
.footer-grid > a { color: var(--muted); font: .88rem/1 var(--display); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.footer-grid > a:hover { color: var(--gold-soft); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 26px; min-width: 210px; padding: 12px 18px; transform: translate(-50%, 150%); border: 1px solid var(--gold); border-radius: 999px; background: #101116; color: var(--gold-soft); text-align: center; font-size: .86rem; opacity: 0; transition: transform .28s ease, opacity .28s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); }
.modal-panel { position: relative; width: min(100%, 540px); max-height: calc(100vh - 36px); overflow: auto; padding: 26px; border: 1px solid var(--blue-bright); border-radius: 16px; background: #090b12; box-shadow: 0 30px 100px rgba(0,0,0,.72); }
.modal-panel h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 7vw, 4rem); }
.modal-panel img { display: block; width: 100%; border-radius: 10px; background: #fff; }
.modal-panel > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #05060a; color: var(--gold); font-size: 1.4rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@keyframes pulse { 50% { transform: scale(1.25); opacity: .68; } }
@keyframes gold-wave-one { from { transform: translate3d(-5vw, -3vh, 0) rotate(-8deg) scaleX(.88); } to { transform: translate3d(34vw, 42vh, 0) rotate(13deg) scaleX(1.2); } }
@keyframes gold-wave-two { from { transform: translate3d(8vw, 5vh, 0) rotate(9deg) scaleX(1.1); } to { transform: translate3d(-37vw, -34vh, 0) rotate(-14deg) scaleX(.86); } }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 22px, 620px); }
  .site-header { min-height: 56px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .site-header .nav-contact { padding: 9px 12px; }
  .hero { padding-block: 7px 13px; gap: 6px; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .hero-intro { margin-top: 5px; font-size: .96rem; }
  .hero-visual { padding: 0; }
  .sound-toggle { left: 5px; bottom: 5px; min-height: 24px; padding: 4px 6px; font-size: .54rem; }
  .story { padding-block: 12px; gap: 5px; }
  .story-heading h2, .support-intro h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .story-card { min-height: 0; padding: 10px 11px; }
  .story-card > p { margin-top: 12px; }
  .support { padding-block: 14px; }
  .wallet-grid { margin-top: 7px; }
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-card { padding: 10px; }
  .wallet-card h3 { gap: 9px; margin-top: 6px; }
  .instagram-card { margin-top: 8px; padding: 8px 11px; }
  .closing { margin-bottom: 12px; padding: 14px 12px; }
  .closing > div { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
