/* Pilotta.Club public website — shared styles (v3 look, 2026-11-29).
   Same world as the app's "Royale" skin (src/ui/v3.css): royal-blue felt with a
   leather-dark edge, gold trim, Marcellus for display and Manrope for text.
   Self-contained: fonts are self-hosted (OFL, assets/fonts/OFL.txt), no CDN, no JS.
   Layout: one 1120px column; sections open with a centred suit-ornament heading. */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/marcellus-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/marcellus-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/manrope-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }

:root {
  color-scheme: dark;
  --felt1: #2f5f8c;      /* app Royale felt, centre */
  --felt2: #1c3f63;
  --felt3: #0c1f36;      /* felt edge */
  --night: #081526;      /* leather-dark page ground */
  --glass: rgba(255,255,255,.045);
  --line: rgba(224,180,90,.22);
  --line-soft: rgba(255,255,255,.08);
  --ink: #e6ecf5;
  --ink-dim: #a9b8cc;
  --white: #fff;
  --gold: #e0b45a;
  --gold-dim: #c9a24b;
  --gold-light: #ffe7a6;
  --blue: #9cc7ff;
  --green: #6ee29a;
  --red: #ff8b8b;
  --display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--night);
  background-image: radial-gradient(120% 70% at 50% 0%, var(--felt2) 0%, var(--felt3) 55%, var(--night) 100%);
  background-attachment: fixed;
  font: 17px/1.7 var(--text);
  -webkit-text-size-adjust: 100%;
}

body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/img/felt.webp) 0 0 / 512px 512px; opacity: .22; mix-blend-mode: soft-light; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wide { max-width: var(--wrap); }

a { color: var(--gold-light); text-decoration-color: rgba(255,231,166,.4); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; letter-spacing: .01em; }
b, strong { color: var(--white); font-weight: 700; }

/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8,21,38,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand .wm { font-family: var(--display); font-size: 1.8rem; letter-spacing: 3px; line-height: 1;
  background: linear-gradient(180deg, #f4dd97, #c9a24b 60%, #a67d2e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .clb { width: 1.6rem; height: 1.6rem; flex: none; margin-top: -2px; }
.brand:hover .wm { filter: brightness(1.12); }
.site-head nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-head nav a { text-decoration: none; color: var(--ink-dim); font-size: 1rem; font-weight: 600; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--white); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; color: var(--gold-light) !important; }

/* ---- buttons ---- */
.cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  color: #241703; background: linear-gradient(180deg, var(--gold-light) -40%, var(--gold) 45%, var(--gold-dim) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.cta:hover { color: #241703; filter: brightness(1.06); }
.cta.ghost { background: rgba(8,21,38,.55); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.cta.ghost:hover { color: var(--white); border-color: var(--gold); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-note { color: var(--ink-dim); font-size: .85rem; margin-top: 14px; }

.play-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15;
  color: #241703; padding: 10px 24px 10px 18px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light) -40%, var(--gold) 45%, var(--gold-dim) 100%);
  box-shadow: 0 8px 22px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45); }
.play-btn:hover { color: #241703; filter: brightness(1.06); }
.play-btn svg { width: 22px; height: 24px; flex: none; }
.play-btn svg path { fill: #241703; }
.play-btn small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.play-btn b { font-size: 1.12rem; font-weight: 800; color: inherit; }

/* ---- hero ---- */
.hero2 { position: relative; display: flex; align-items: center; min-height: 600px;
  background: var(--night) url(/assets/img/hero-terrace.webp) center right / cover no-repeat; }
.hero2::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,21,38,.95) 0%, rgba(8,21,38,.82) 36%, rgba(8,21,38,.2) 72%, rgba(8,21,38,0) 100%); }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(8,21,38,0), var(--felt3)); }
.hero2 .wrap { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: 80px; }
.hero2 .inner { max-width: 560px; }
.eyebrow { display: inline-block; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.hero2 .icon { width: 76px; height: 76px; border-radius: 18px; display: block; margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 1px var(--line); }
.hero2 h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.08; color: var(--white); margin: 0 0 18px; }
.hero2 h1 em { font-style: normal; color: var(--gold-light); }
.hero2 .lead { font-size: 1.1rem; color: var(--ink); margin: 0 0 28px; max-width: 34em; }
.hero2 .cta-row { justify-content: flex-start; }
.hero2 .cta-note { color: var(--ink-dim); }

@media (max-width: 720px) {
  .hero2 { min-height: 0; align-items: flex-end; padding-top: 230px;
    background-image: url(/assets/img/hero-terrace-800.webp); background-position: 72% top; background-size: auto 340px; }
  .hero2::before { background: linear-gradient(180deg, rgba(8,21,38,0) 0px, rgba(8,21,38,.35) 160px, var(--night) 330px); }
  .hero2 .wrap { padding-top: 0; padding-bottom: 46px; }
  .hero2 .icon { width: 60px; height: 60px; border-radius: 15px; margin-bottom: 16px; }
}

/* ---- sections ---- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line-soft); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.suits { color: var(--gold); letter-spacing: .6em; font-size: .9rem; margin-bottom: 10px; padding-left: .6em; }
.suits .r { color: #e07a6b; }
section h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); color: var(--white); margin: 0 0 10px; line-height: 1.15; }
.sec-head p { color: var(--ink-dim); margin: 0; }

.split { display: grid; gap: 48px; grid-template-columns: 1.05fr 1fr; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split.rev > :first-child { order: 2; }
.split > div { min-width: 0; }
.split h2 { margin-top: 0; }
.split p { color: var(--ink); }
.pic { width: 100%; height: auto; display: block; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px var(--line); }
@media (max-width: 820px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 26px; }
  .split.rev > :first-child { order: 0; }
  section { padding: 54px 0; }
}

/* screenshots in phone frames */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.shots figure { margin: 0; }
.shots .phone { border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #26364d, #0a1322 60%);
  box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(0,0,0,.6); }
.shots img { width: 100%; height: auto; aspect-ratio: 412/915; border-radius: 23px; display: block; background: var(--felt3); }
.shots figcaption { color: var(--ink); font-size: .92rem; font-weight: 600; margin-top: 14px; text-align: center; }
.shots figcaption small { display: block; color: var(--ink-dim); font-weight: 400; font-size: .82rem; }
.shots .more { display: none; }
@media (max-width: 900px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 4px 4px 18px; margin: 0 -22px; padding-left: 22px; }
  .shots figure { flex: 0 0 62vw; max-width: 250px; scroll-snap-align: center; }
  .shots .more { display: block; }
}

/* feature cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.card .pip { font-size: 1.25rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.card .pip.r { color: #e07a6b; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--white); }
.card p { margin: 0; color: var(--ink-dim); font-size: .95rem; line-height: 1.6; }
.card.link { text-decoration: none; display: block; color: inherit; }
.card.link:hover { border-color: var(--gold); }
.card .step { color: var(--gold); font-size: .75rem; letter-spacing: .14em; font-weight: 700; }

/* crew */
.crew-block { margin-top: 44px; text-align: center; }
.crew-block h3 { margin: 0 0 6px; color: var(--white); font-size: 1.45rem; }
.crew-block p { margin: 0 auto; color: var(--ink-dim); max-width: 34em; }
.crew { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; margin-top: 24px; }
.crew figure { margin: 0; width: 84px; text-align: center; }
.crew img { width: 72px; height: 72px; border-radius: 50%; display: block; margin: 0 auto;
  background: var(--felt2); box-shadow: 0 0 0 2px var(--gold-dim), 0 6px 16px rgba(0,0,0,.45); }
.crew figcaption { color: var(--ink); font-size: .82rem; font-weight: 600; margin-top: 8px; }

/* trailer */
.video { width: 100%; max-width: 900px; margin: 0 auto; display: block; aspect-ratio: 16/9; background: #000;
  border-radius: 18px; box-shadow: 0 22px 60px rgba(0,0,0,.55), 0 0 0 1px var(--line); }

/* privacy + final call */
.promise { max-width: 760px; margin: 0 auto; text-align: center; }
.promise p { color: var(--ink-dim); }
.final-cta .box { text-align: center; max-width: 760px; margin: 0 auto; padding: 46px 26px;
  border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 50% 0%, var(--felt1) 0%, var(--felt2) 45%, var(--felt3) 100%);
  box-shadow: 0 22px 60px rgba(0,0,0,.45), inset 0 0 0 6px rgba(8,21,38,.35); }
.final-cta .box img { width: 72px; height: 72px; border-radius: 17px; display: block; margin: 0 auto 18px; box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.final-cta .box p { color: var(--ink); margin: 0 0 22px; }

/* ---- article / how-to-play chapters ---- */
main.wrap { max-width: 860px; }
article { padding: 40px 0 12px; }
article h1 { font-size: clamp(1.9rem, 4.8vw, 2.5rem); color: var(--white); margin: 0 0 8px; line-height: 1.15; }
article h2 { font-size: 1.45rem; color: var(--white); margin: 2em 0 .5em; }
article h3 { font-size: 1.12rem; color: var(--gold-light); margin: 1.6em 0 .4em; }
article .kicker { color: var(--gold); font-size: .74rem; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; }
article .lead { font-size: 1.08rem; color: var(--ink-dim); }
article ul, article ol { padding-left: 1.25em; }
article li { margin: .35em 0; }
.g { color: var(--green); } .r { color: var(--red); } .gold { color: var(--gold); }
.hero { padding: 56px 0 40px; text-align: center; }

table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 14px 0; font-variant-numeric: tabular-nums; }
td, th { border: 1px solid var(--line-soft); padding: 8px 12px; text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--glass); font-weight: 700; }
.scroll-x { overflow-x: auto; }

.callout { background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 14px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.callout .lbl { color: var(--gold); font-size: .72rem; letter-spacing: .16em; font-weight: 700; display: block; margin-bottom: 4px; }

.chapter-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap;
  margin: 34px 0 8px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: .93rem; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--ink-dim); font-size: .86rem;
  background: rgba(8,21,38,.6); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer a { text-decoration: none; color: var(--ink); }
footer a:hover { color: var(--gold-light); }
footer p { margin: .5em 0; max-width: 60em; }
.ai-note { font-size: .78rem; opacity: .85; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .site-head .wrap { gap: 10px; }
  .site-head nav { gap: 12px; }
  .site-head nav a { font-size: .84rem; white-space: nowrap; }
  .brand .wm { font-size: 1.15rem; letter-spacing: 1.5px; }
  .brand .clb { width: 1.05rem; height: 1.05rem; }
  .lang { padding: 2px 9px; }
  .shots { margin: 0 -18px; padding-left: 18px; }
}
@media (max-width: 360px) { .site-head nav a:not(.lang) { display: none; } }

/* ==== live hero + motion (2026-11-29, Mike: "add some active live elements") ==== */
.hero2 .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.hero-live { position: relative; width: 300px; justify-self: end; margin-right: 4%; }
.phone.live { border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #2a3b55, #0a1322 60%);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1), 0 0 60px rgba(224,180,90,.12); }
.phone.live video { display: block; width: 100%; height: auto; aspect-ratio: 390/844; border-radius: 26px; background: var(--felt3); }
.hero-live .phone { position: relative; z-index: 2; }
.live-tag { position: absolute; z-index: 3; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: rgba(8,21,38,.92);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px 5px 11px; display: inline-flex; align-items: center; gap: 8px; }
.live-tag b { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 0 rgba(255,90,79,.6); animation: pulse 1.6s infinite; }

@keyframes phone-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,79,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,90,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,79,0); } }

/* Entrance motion. Everything has a visible resting state; the animations only add the arrival.
   With "reduce motion" on (Windows: Settings > Accessibility > Visual effects > Animation effects off)
   the page keeps the live video, the pulse and fades, and drops the flying and sliding. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes reveal { from { opacity: .001; transform: translateY(36px); } }
@keyframes revealfade { from { opacity: .001; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-live .phone { animation: phone-in .9s cubic-bezier(.2,.8,.2,1) backwards .2s; }
  .hero2 .inner > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) backwards; }
  .hero2 .inner > :nth-child(2) { animation-delay: .08s; } .hero2 .inner > :nth-child(3) { animation-delay: .16s; }
  .hero2 .inner > :nth-child(4) { animation-delay: .24s; } .hero2 .inner > :nth-child(5) { animation-delay: .32s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-live .phone { animation: fade 1s ease backwards .2s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: revealfade linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

/* hover life */
.card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(224,180,90,.55); background: rgba(255,255,255,.07); }
.shots .phone { transition: transform .3s ease; }
.shots figure:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.crew img { transition: transform .25s ease; }
.crew figure:hover img { transform: scale(1.1) rotate(-4deg); }
.pic { transition: transform .4s ease; }
.split:hover .pic { transform: scale(1.015); }

.phone-solo { max-width: 300px; margin: 0 auto; }
#style .eyebrow, .split .eyebrow { margin-bottom: 8px; }

@media (max-width: 980px) {
  .hero2 .wrap { grid-template-columns: 1fr; }
  .hero-live { display: none; }
}
.phone-solo .phone.live video { aspect-ratio: 412/915; }
