:root {
  --ink: #10091f;
  --ink-soft: #1b1030;
  --paper: #f5efe5;
  --paper-soft: #e8dece;
  --gold: #f2b84b;
  --gold-light: #ffd984;
  --plum: #652559;
  --green: #55bd78;
  --red: #e2545c;
  --blue: #4e8cdc;
  --line: rgba(255, 255, 255, .13);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--gold); }

.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .8rem 1rem; color: var(--ink); background: var(--gold); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.ambient { position: fixed; z-index: -2; width: 45rem; height: 45rem; border-radius: 50%; filter: blur(110px); opacity: .14; pointer-events: none; }
.ambient-one { top: -24rem; right: -15rem; background: #ad3e9a; }
.ambient-two { bottom: -25rem; left: -20rem; background: #d3912e; }
.grain { position: fixed; z-index: 90; inset: 0; opacity: .045; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; width: min(100% - 3rem, 1240px); margin: 1.2rem auto; padding: .75rem 1rem; border: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(16, 9, 31, .78); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; }
.brand-mark { display: block; width: 2.6rem; aspect-ratio: 1; border-radius: .7rem; object-fit: cover; box-shadow: 0 0 25px rgba(242,184,75,.22); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--display); font-size: 1.08rem; letter-spacing: .03em; }
.brand small { margin-top: .12rem; color: rgba(245,239,229,.56); font-size: .57rem; text-transform: uppercase; letter-spacing: .18em; }
.desktop-nav { display: flex; gap: 2rem; font-size: .8rem; }
.desktop-nav a { position: relative; color: rgba(245,239,229,.7); text-decoration: none; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -.45rem; left: 0; height: 1px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.sound-toggle { display: flex; gap: .6rem; align-items: center; border: 0; color: rgba(245,239,229,.7); background: none; cursor: pointer; font-size: .72rem; }
.sound-bars { display: flex; gap: 2px; align-items: center; height: 14px; }
.sound-bars i { width: 2px; height: 45%; background: var(--gold); animation: equalize .8s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { height: 100%; animation-delay: -.4s; }
.sound-bars i:nth-child(3) { height: 70%; animation-delay: -.15s; }
.motion-paused .sound-bars i { animation-play-state: paused; height: 2px; }

.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 100svh; width: min(100% - 3rem, 1240px); margin: 0 auto; padding: 9rem 0 6rem; }
.eyebrow, .kicker { margin: 0 0 1.4rem; color: var(--gold); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow > span { width: 2.4rem; height: 1px; background: var(--gold); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
h1 { max-width: 720px; font-size: clamp(4.3rem, 8.5vw, 8.2rem); }
h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-lead { max-width: 600px; margin: 2rem 0; color: rgba(245,239,229,.7); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.75; }
.hero-lead strong { color: var(--paper); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; gap: 1.2rem; align-items: center; justify-content: center; min-height: 3.35rem; padding: .8rem 1.35rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 700; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--gold); color: var(--ink); background: var(--gold); box-shadow: 0 12px 40px rgba(242,184,75,.15); }
.button-primary:hover { background: var(--gold-light); }
.button-secondary:hover { color: var(--ink); background: var(--paper); }
.availability { display: flex; gap: .8rem; align-items: center; margin-top: 2rem; color: rgba(245,239,229,.77); }
.availability strong, .availability small { display: block; }
.availability strong { font-size: .76rem; }
.availability small { margin-top: .15rem; color: rgba(245,239,229,.4); font-size: .68rem; }
.pulse-dot { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); }
.pulse-dot::after { position: absolute; inset: -.45rem; border: 1px solid var(--green); border-radius: inherit; content: ""; animation: pulse 1.8s infinite; }

.hero-art { position: relative; display: grid; min-height: 610px; place-items: center; perspective: 1000px; }
.royal-card { position: relative; width: min(430px, 82vw); aspect-ratio: .79; padding: 3rem 2.6rem 2.4rem; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 2.2rem; background: linear-gradient(145deg, rgba(103,38,91,.9), rgba(31,15,54,.94)); box-shadow: 0 45px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.13); transform: rotate(3deg); transition: transform .2s ease-out; }
.card-glow { position: absolute; top: -10rem; left: -6rem; width: 22rem; height: 22rem; border-radius: 50%; background: rgba(242,184,75,.16); filter: blur(35px); }
.crown { position: relative; z-index: 2; margin-bottom: 1.4rem; color: var(--gold); font-size: 3rem; text-align: center; text-shadow: 0 0 30px rgba(242,184,75,.4); animation: float 3.6s ease-in-out infinite; }
.mini-board { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .62fr 1fr; grid-template-rows: 1fr .62fr 1fr; aspect-ratio: 1; padding: .5rem; border: 1px solid rgba(255,255,255,.24); border-radius: 1.1rem; background: #efe5d6; box-shadow: 0 24px 45px rgba(0,0,0,.3); transform: rotate(-3deg); }
.home { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; padding: .8rem; border-radius: .45rem; }
.home i { display: block; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.3); }
.home-red { background: var(--red); }.home-green { background: var(--green); }.home-blue { background: var(--blue); }.home-gold { background: var(--gold); }
.track { opacity: .5; background-image: linear-gradient(90deg, transparent 47%, rgba(16,9,31,.24) 48%, rgba(16,9,31,.24) 52%, transparent 53%), linear-gradient(0deg, transparent 47%, rgba(16,9,31,.24) 48%, rgba(16,9,31,.24) 52%, transparent 53%); background-size: 33.333% 33.333%; }
.board-center { display: grid; place-items: center; color: var(--paper); background: conic-gradient(var(--green) 0 25%, var(--gold) 0 50%, var(--blue) 0 75%, var(--red) 0); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.board-center span { font-family: var(--display); font-size: 1.25rem; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.dice { position: absolute; z-index: 4; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); width: 4.2rem; aspect-ratio: 1; padding: .65rem; border-radius: 1rem; background: var(--paper); box-shadow: 0 12px 25px rgba(0,0,0,.32); }
.dice i { width: .48rem; height: .48rem; margin: auto; border-radius: 50%; background: var(--plum); }
.dice-one { top: 17%; right: -1rem; transform: rotate(14deg); animation: diceFloat 4s ease-in-out infinite; }
.dice-one i:nth-child(1) { grid-area: 1/1; }.dice-one i:nth-child(2) { grid-area: 1/3; }.dice-one i:nth-child(3) { grid-area: 2/2; }.dice-one i:nth-child(4) { grid-area: 3/1; }.dice-one i:nth-child(5) { grid-area: 3/3; }
.dice-two { bottom: 21%; left: -1rem; transform: rotate(-15deg); animation: diceFloat 4.5s .4s ease-in-out infinite reverse; }
.dice-two i:nth-child(1) { grid-area: 1/1; }.dice-two i:nth-child(2) { grid-area: 1/3; }.dice-two i:nth-child(3) { grid-area: 3/1; }.dice-two i:nth-child(4) { grid-area: 3/3; }
.card-caption { display: flex; align-items: end; justify-content: space-between; margin-top: 1.6rem; }
.card-caption span { font-family: var(--display); font-size: 1.55rem; }
.card-caption small { max-width: 150px; color: rgba(245,239,229,.55); font-size: .65rem; line-height: 1.4; text-align: right; }
.orbit { position: absolute; border: 1px solid rgba(242,184,75,.15); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::after { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.orbit-one { width: 510px; height: 510px; }.orbit-two { width: 600px; height: 600px; animation-direction: reverse; animation-duration: 25s; }
.scroll-cue { position: absolute; bottom: 2.1rem; left: 0; display: flex; gap: .7rem; align-items: center; color: rgba(245,239,229,.42); font-size: .62rem; text-decoration: none; text-transform: uppercase; letter-spacing: .18em; }
.scroll-cue span { display: inline-block; width: 1px; height: 2rem; background: linear-gradient(var(--gold), transparent); animation: scrollCue 1.5s infinite; }

.section { width: min(100% - 3rem, 1240px); margin: 0 auto; padding: 8rem 0; }
.section-label { display: flex; gap: .8rem; align-items: center; margin-bottom: 5rem; color: rgba(245,239,229,.42); font-size: .65rem; text-transform: uppercase; letter-spacing: .18em; }
.section-label::after { flex: 1; height: 1px; content: ""; background: var(--line); }
.section-label span { color: var(--gold); }
.story { border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem,8vw,8rem); }
.story-copy { padding-top: .6rem; color: rgba(245,239,229,.63); line-height: 1.8; }
.story-copy p { margin: 0 0 1.4rem; }
.story-copy .lead-quote { margin-bottom: 2rem; color: var(--paper); font-family: var(--display); font-size: clamp(1.35rem,2vw,1.8rem); line-height: 1.4; }
.signature { margin-top: 2.6rem; color: var(--gold); font-family: var(--display); font-size: 1.55rem; font-style: italic; }
.signature span { display: block; margin-top: .3rem; color: rgba(245,239,229,.35); font-family: var(--sans); font-size: .6rem; font-style: normal; text-transform: uppercase; letter-spacing: .17em; }

.game { width: 100%; max-width: none; padding-right: max(1.5rem, calc((100% - 1240px)/2)); padding-left: max(1.5rem, calc((100% - 1240px)/2)); background: var(--paper); color: var(--ink); }
.game .section-label { color: rgba(16,9,31,.45); }.game .section-label::after { background: rgba(16,9,31,.13); }
.game-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 5rem; align-items: end; }
.game-intro > p { max-width: 520px; margin: 0 0 .5rem; color: rgba(16,9,31,.61); line-height: 1.75; }
.feature-stage { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 500px; margin-top: 5rem; overflow: hidden; border: 1px solid rgba(16,9,31,.13); border-radius: 1.5rem; background: #ede3d4; box-shadow: 0 35px 80px rgba(45,25,39,.1); }
.feature-tabs { display: flex; flex-direction: column; border-right: 1px solid rgba(16,9,31,.13); }
.feature-tab { position: relative; flex: 1; display: grid; grid-template-columns: 2.3rem 1fr; align-content: center; padding: 1.6rem 2rem; border: 0; border-bottom: 1px solid rgba(16,9,31,.12); color: rgba(16,9,31,.48); background: transparent; text-align: left; cursor: pointer; transition: color .25s, background .25s; }
.feature-tab:last-child { border-bottom: 0; }.feature-tab:hover { color: var(--ink); }.feature-tab.is-active { color: var(--paper); background: var(--ink-soft); }
.feature-tab > span { grid-row: 1/3; color: var(--gold); font-family: var(--display); font-size: .9rem; }
.feature-tab strong, .feature-tab small { display: block; }.feature-tab strong { font-family: var(--display); font-size: 1.45rem; font-weight: 400; }.feature-tab small { margin-top: .3rem; opacity: .6; font-size: .68rem; }
.feature-visual { position: relative; overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(101,37,89,.2), transparent 35%), var(--ink); color: var(--paper); }
.feature-visual::after { position: absolute; right: -10rem; bottom: -13rem; width: 30rem; height: 30rem; border: 1px solid rgba(242,184,75,.15); border-radius: 50%; content: ""; box-shadow: 0 0 0 4rem rgba(242,184,75,.025), 0 0 0 8rem rgba(242,184,75,.025); }
.feature-panel { position: relative; z-index: 2; min-height: 500px; padding: clamp(2.2rem,5vw,5rem); animation: panelIn .45s ease; }
.feature-panel[hidden] { display: none; }
.panel-icon { display: grid; width: 4.5rem; aspect-ratio: 1; place-items: center; margin-bottom: 3rem; border: 1px solid rgba(242,184,75,.4); border-radius: 50%; color: var(--gold); background: rgba(242,184,75,.08); font-size: 1.5rem; }
.panel-number { color: var(--gold); font-size: .62rem; text-transform: uppercase; letter-spacing: .18em; }
.feature-panel h3 { max-width: 600px; margin: 1rem 0; font-family: var(--display); font-size: clamp(2.4rem,4vw,4.2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.feature-panel > p:not(.panel-number) { max-width: 550px; color: rgba(245,239,229,.58); line-height: 1.7; }
.match-line { display: flex; align-items: center; width: min(100%,420px); margin-top: 3rem; }
.match-line .avatar { display: grid; flex: 0 0 auto; width: 3rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-size: .65rem; font-style: normal; font-weight: 800; }
.match-line .rival { color: var(--paper); background: var(--plum); }
.match-line span { position: relative; flex: 1; height: 1px; background: rgba(255,255,255,.17); }.match-line b { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: match 2.4s ease-in-out infinite; }
.invite-card, .rank-card { display: flex; gap: 1rem; align-items: center; justify-content: space-between; width: min(100%,500px); margin-top: 3rem; padding: 1.2rem 1.3rem; border: 1px solid rgba(255,255,255,.14); border-radius: .9rem; background: rgba(255,255,255,.06); font-size: .7rem; }
.invite-card b { color: var(--gold); }.rank-card span { opacity: .5; }.rank-card strong { color: var(--gold); }.rank-card i { padding: .35rem .6rem; border-radius: 999px; color: var(--ink); background: var(--green); font-style: normal; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 5rem; border-top: 1px solid rgba(16,9,31,.14); }
.principle { padding: 2rem 2rem 0 0; }.principle + .principle { padding-left: 2rem; border-left: 1px solid rgba(16,9,31,.14); }
.principle span { color: var(--plum); font-family: var(--display); }.principle h3 { margin: 1.5rem 0 .6rem; font-family: var(--display); font-size: 1.6rem; }.principle p { margin: 0; color: rgba(16,9,31,.57); font-size: .85rem; line-height: 1.65; }

.contact { padding-top: 9rem; padding-bottom: 9rem; }
.contact-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6rem; padding: clamp(2.3rem,6vw,6rem); overflow: hidden; border: 1px solid rgba(242,184,75,.25); border-radius: 2rem; background: linear-gradient(135deg, #261139, #4e1d4b); box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.contact-copy { position: relative; z-index: 2; }.contact-copy > p:not(.kicker) { max-width: 520px; margin: 1.7rem 0 2rem; color: rgba(245,239,229,.61); line-height: 1.7; }
.contact-details { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; margin: 0; font-style: normal; }
.contact-details > div { position: relative; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }.contact-details > div:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.contact-details span, .contact-details a { display: block; }.contact-details span { margin-bottom: .6rem; color: var(--gold); font-size: .58rem; text-transform: uppercase; letter-spacing: .18em; }.contact-details a { padding-right: 3rem; color: var(--paper); font-family: var(--display); font-size: clamp(1.15rem,2vw,1.45rem); line-height: 1.45; text-decoration: none; }.contact-details a:hover { color: var(--gold-light); }
.contact-note { display: block; margin-top: .35rem; color: rgba(245,239,229,.4); font-size: .62rem; font-style: normal; letter-spacing: .04em; }
.copy-button { position: absolute; top: 50%; right: 0; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.65); background: transparent; cursor: pointer; }.copy-button:hover { border-color: var(--gold); color: var(--gold); }
.contact-form { position: relative; z-index: 3; grid-column: 1/-1; margin-top: 1rem; padding-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.form-heading { display: grid; grid-template-columns: .4fr 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
.form-index { color: var(--gold); font-size: .58rem; text-transform: uppercase; letter-spacing: .18em; }
.form-heading h3 { margin: -.35rem 0 0; font-family: var(--display); font-size: clamp(2rem,3vw,3.1rem); font-weight: 400; letter-spacing: -.03em; }
.form-heading p { margin: 0; color: rgba(245,239,229,.55); font-size: .82rem; line-height: 1.65; }
.form-success { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(85,189,120,.45); border-radius: .9rem; background: rgba(85,189,120,.12); }
.form-success > span { display: grid; flex: 0 0 auto; width: 2rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--ink); background: var(--green); font-weight: 800; }
.form-success strong, .form-success small { display: block; }.form-success strong { font-family: var(--display); font-size: 1.1rem; font-weight: 400; }.form-success small { margin-top: .2rem; color: rgba(245,239,229,.56); }
.form-errors { margin-bottom: 1.5rem; color: #ffc4c7; font-size: .75rem; }.form-errors:empty { display: none; }.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: block; }.form-field-wide { grid-column: 1/-1; }
.form-field > span { display: flex; justify-content: space-between; margin: 0 0 .65rem .15rem; color: rgba(245,239,229,.62); font-size: .67rem; font-weight: 700; letter-spacing: .04em; }
.form-field > span em, .form-field > span b { color: rgba(245,239,229,.34); font-size: .58rem; font-style: normal; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: .85rem; outline: 0; color: var(--paper); background: rgba(10,5,22,.3); font: inherit; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-field input { height: 3.5rem; padding: 0 1rem; }.form-field textarea { min-height: 9.5rem; padding: 1rem; resize: vertical; line-height: 1.55; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(245,239,229,.28); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); background: rgba(10,5,22,.5); box-shadow: 0 0 0 3px rgba(242,184,75,.1); }
.form-field > small { display: block; min-height: 1rem; margin: .35rem 0 0 .15rem; color: #ffc4c7; font-size: .65rem; }
.input-validation-error { border-color: var(--red) !important; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-top: 1rem; }
.contact-turnstile { min-height: 65px; }.contact-turnstile .cf-turnstile { max-width: 100%; }
.form-submit-copy { display: flex; gap: 1.5rem; align-items: center; justify-content: flex-end; }.form-submit-copy small { max-width: 260px; color: rgba(245,239,229,.38); font-size: .62rem; line-height: 1.5; text-align: right; }.form-submit-copy .button { flex: 0 0 auto; border: 1px solid var(--gold); cursor: pointer; }
.form-submit-copy .button:disabled { opacity: .62; cursor: wait; transform: none; }
.contact-crown { position: absolute; right: -4rem; bottom: -8rem; color: rgba(242,184,75,.06); font-size: 23rem; line-height: 1; transform: rotate(-12deg); }
.site-footer { display: flex; align-items: center; justify-content: space-between; width: min(100% - 3rem,1240px); margin: 0 auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: rgba(245,239,229,.4); font-size: .68rem; }
.footer-brand .brand-mark { width: 2rem; }.footer-brand strong { color: var(--paper); }.site-footer > div { display: flex; gap: 1.3rem; }.site-footer a { text-decoration: none; }.site-footer a:hover { color: var(--gold); }
.toast { position: fixed; z-index: 80; right: 1.5rem; bottom: 1.5rem; padding: .85rem 1.1rem; border: 1px solid rgba(242,184,75,.3); border-radius: .7rem; color: var(--ink); background: var(--gold-light); box-shadow: 0 15px 45px rgba(0,0,0,.3); font-size: .75rem; font-weight: 700; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .25s, transform .25s; }.toast.is-visible { opacity: 1; transform: translateY(0); }
/* App information stays visible if JavaScript is disabled or fails to initialize. */
.reveal { opacity: 1; transform: none; }.reveal.is-visible { animation: contentReveal .8s cubic-bezier(.2,.7,.2,1); }

@keyframes contentReveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@keyframes equalize { to { height: 25%; } }
@keyframes pulse { from { opacity: .8; transform: scale(.45); } to { opacity: 0; transform: scale(1.35); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes diceFloat { 50% { translate: 0 -12px; rotate: 7deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes panelIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes match { 50% { left: calc(100% - 5px); } }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 1.5rem); }.desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; width: min(100% - 2rem,680px); padding-top: 9rem; text-align: center; }.eyebrow, .hero-actions, .availability { justify-content: center; }.hero-copy { z-index: 4; }.hero-art { min-height: 520px; margin-top: 2rem; }.scroll-cue { display: none; }
  .story-grid, .game-intro, .contact-card { grid-template-columns: 1fr; gap: 3rem; }.section { width: min(100% - 2rem,760px); padding: 6rem 0; }.section-label { margin-bottom: 3.5rem; }
  .game { width: 100%; padding: 6rem 1rem; }.feature-stage { grid-template-columns: 1fr; }.feature-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-right: 0; border-bottom: 1px solid rgba(16,9,31,.13); }.feature-tab { display: block; min-height: 110px; padding: 1rem; border-right: 1px solid rgba(16,9,31,.12); border-bottom: 0; text-align: center; }.feature-tab > span { display: none; }.feature-tab strong { font-size: 1.05rem; }.feature-tab small { display: none; }.feature-panel { min-height: 450px; }
  .principles { grid-template-columns: 1fr; }.principle, .principle + .principle { padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(16,9,31,.14); border-left: 0; }
  .contact { width: min(100% - 2rem,760px); }.site-footer { flex-direction: column; gap: 1.4rem; width: calc(100% - 2rem); text-align: center; }
  .form-heading { grid-template-columns: 1fr; gap: .8rem; }.form-submit-row { grid-template-columns: 1fr; }.form-submit-copy { justify-content: space-between; }
}

@media (max-width: 560px) {
  .site-header { padding: .65rem; }.brand small, .sound-toggle [data-ambience-label] { display: none; }.sound-toggle { padding: .7rem; }
  h1 { font-size: clamp(3.65rem,20vw,5.6rem); }.hero { min-height: auto; }.hero-art { min-height: 440px; }.royal-card { padding: 2.2rem 1.7rem 1.8rem; }.orbit-one { width: 390px; height: 390px; }.orbit-two { display: none; }.dice { width: 3.5rem; }.card-caption { align-items: center; }.card-caption small { display: none; }
  .button { width: 100%; }.section { padding: 5rem 0; }.feature-tabs { overflow-x: auto; }.feature-tab { min-width: 110px; }.feature-panel { min-height: 470px; padding: 2rem 1.4rem; }.panel-icon { margin-bottom: 2rem; }.feature-panel h3 { font-size: 2.5rem; }.invite-card, .rank-card { align-items: flex-start; flex-direction: column; }
  .contact-card { padding: 2.5rem 1.3rem; border-radius: 1.2rem; }.contact-details a { font-size: 1.08rem; }.copy-button { position: static; margin-top: .8rem; }.form-fields { grid-template-columns: 1fr; }.form-field-wide { grid-column: auto; }.form-submit-copy { align-items: stretch; flex-direction: column; }.form-submit-copy small { max-width: none; text-align: left; }.form-submit-copy .button { width: 100%; }.site-footer > p { margin: 0; }
}

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

.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
