/* Catch a Card website: one stylesheet, colors from the game (night sky, casino gold, Zix green). */
:root {
  --bg: #050a18;
  --bg2: #0b1330;
  --panel: rgba(14, 24, 58, .72);
  --line: rgba(120, 170, 255, .22);
  --text: #eef2ff;
  --muted: #a9b8d8;
  --gold: #f5c542;
  --gold2: #ffe28a;
  --pink: #ff5fd2;
  --violet: #b45cff;
  --cyan: #7fdcff;
  --zix: #5dffb0;
  --red: #ff4d6d;
  --radius: 22px;
  --max: 1160px;
  --display: "Cinzel", Copperplate, "Copperplate Gothic Bold", Georgia, serif;
  --body: "Nunito", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg); color: var(--text); font: 500 17px/1.6 var(--body);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold2); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: .01em; }
h1 { font-size: clamp(36px, 6.4vw, 70px); }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
.gold {
  background: linear-gradient(180deg, #fff6cf, var(--gold) 55%, #b67c16); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(245, 190, 70, .35));
}
.kicker { font: 800 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; }

/* ---- buttons & sign-up ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 800 16px/1 var(--body); color: #2a1d00; background: linear-gradient(#ffdc6e, #f0b429);
  box-shadow: 0 5px 0 #a87500, 0 12px 26px rgba(0, 0, 0, .4);
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #a87500; }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .06); border: 2px solid rgba(245, 197, 66, .5); box-shadow: none; }
.btn-big { min-height: 56px; padding: 14px 32px; font-size: 19px; }

.notify { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.notify input[type=email] {
  flex: 1 1 240px; min-height: 52px; padding: 0 18px; border-radius: 999px; font: 600 17px var(--body);
  color: var(--text); background: rgba(5, 10, 28, .75); border: 2px solid var(--line);
}
.notify input[type=email]::placeholder { color: #7f8fb3; }
.notify .hp { position: absolute; left: -9999px; }
.notify-msg { min-height: 1.6em; margin-top: 8px; font-weight: 700; color: var(--zix); }
.notify-msg.bad { color: #ff8a7a; }
.soon { display: inline-flex; align-items: center; gap: 10px; font: 800 14px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold2); }
.soon::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--zix); box-shadow: 0 0 12px var(--zix); }

/* ---- top bar ---- */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 10, 24, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 20px var(--display); white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
header.nav nav { display: flex; gap: 2px; margin-left: auto; }
header.nav nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
header.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  header.nav .get { display: none; }
  header.nav nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: rgba(5, 10, 24, .97); border-bottom: 1px solid var(--line);
  }
  header.nav.open nav { display: flex; }
  header.nav nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
}

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(5, 10, 24, .82), rgba(5, 10, 24, .5) 70%), linear-gradient(180deg, rgba(5, 10, 24, .35), rgba(5, 10, 24, .7) 60%, var(--bg)), url("assets/zixship.jpg") center 30% / cover no-repeat;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(32px, 4.6vw, 54px); }
.hero-logo { width: min(440px, 100%); margin: -28px 0 -36px -18px;   /* the art's space background fades into the page */
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 58%, transparent 100%); }
@media (max-width: 900px) { .hero-logo { margin: -24px auto -30px; } }
.hero .cta { margin-top: 26px; display: grid; gap: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.facts li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.stage { position: relative; min-height: 600px; }
.stage .zix { position: absolute; right: -16%; bottom: -6%; width: 62%; filter: drop-shadow(0 0 40px rgba(190, 80, 255, .5)); }
.stage .phone:nth-of-type(1) { position: absolute; left: 0; top: 2%; width: 46%; transform: rotate(-5deg); }
.stage .phone:nth-of-type(2) { position: absolute; left: 34%; top: 10%; width: 46%; transform: rotate(4deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; margin: 8px auto 0; }
}

/* phone frame around real screenshots (no fake hardware lines) */
.phone { border-radius: 13% / 6%; padding: 2.4%; background: linear-gradient(145deg, #3a3f55, #11131c); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 11% / 5.2%; width: 100%; }
.phone.wide { border-radius: 6% / 8%; padding: 1.6%; }
.phone.wide img { border-radius: 5% / 7%; }

/* ---- sections ---- */
section { padding: 84px 0; }
section.alt { background: linear-gradient(180deg, var(--bg), var(--bg2) 20%, var(--bg2) 80%, var(--bg)); }
.head { text-align: center; max-width: 760px; margin: 0 auto 44px; display: grid; gap: 14px; justify-items: center; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .media { order: 2; }
.feature .copy { display: grid; gap: 14px; }
.feature .copy p { color: var(--muted); }
.feature .media { display: flex; gap: 16px; justify-content: center; }
.feature .media .phone { width: min(300px, 48%); }
.feature .media .phone:nth-child(2) { margin-top: 48px; }
.ticks { list-style: none; display: grid; gap: 6px; }
.ticks li { padding-left: 28px; position: relative; color: var(--text); font-weight: 700; }
.ticks li::before { content: "♠"; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .media { order: 0; }
}

/* story */
.story { position: relative; overflow: hidden; isolation: isolate; }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(5, 10, 24, .7) 25%, rgba(5, 10, 24, .7) 75%, var(--bg)), url("assets/zixworld.jpg") center / cover no-repeat; }
.quote { position: relative; padding: 22px 24px 22px 92px; border-radius: var(--radius); background: rgba(6, 34, 24, .82); border: 2px solid rgba(93, 255, 176, .5); font-size: 19px; font-weight: 700; }
.quote img { position: absolute; left: 16px; top: 18px; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--zix); object-fit: cover; }
.quote small { display: block; margin-top: 6px; color: var(--zix); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; list-style: none; counter-reset: ch; }
.chapters li { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-weight: 800; }
.chapters li small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }

/* heroes */
.heroes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.herocard { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 2 / 3; border: 2px solid rgba(var(--c), .7); box-shadow: 0 0 30px rgba(var(--c), .3); }
.herocard img { width: 100%; height: 100%; object-fit: cover; }
.herocard div { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .9) 45%); }
.herocard b { display: block; font: 700 22px var(--display); color: rgb(var(--c)); }
.herocard span { display: block; font-size: 14px; font-weight: 800; }
.herocard em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 800; color: rgb(var(--c)); line-height: 1.3; }
@media (max-width: 980px) {
  .heroes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .herocard { scroll-snap-align: center; }
}

/* cards grid (modes, promise) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.card .ic { font-size: 34px; line-height: 1; }
.card p { color: var(--muted); }

/* worlds */
.worlds { display: grid; gap: 12px; }
.worlds.cities { grid-template-columns: repeat(6, 1fr); }
.worlds.realms { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 860px) { .worlds.cities { grid-template-columns: repeat(3, 1fr); } .worlds.realms { grid-template-columns: repeat(4, 1fr); } }
.group { margin: 34px 0 14px; font-size: 22px; }
.group small { font: 700 14px var(--body); color: var(--violet); margin-left: 8px; letter-spacing: .04em; }
.world { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--line); }
.world img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.world:hover img { transform: scale(1.05); }
.world span { position: absolute; inset: auto 0 0; padding: 30px 10px 10px; font-weight: 800; font-size: 14px; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.world i { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(180, 92, 255, .85); }

/* duo */
.duo .phone.wide { max-width: 900px; margin: 0 auto; }

/* promise */
.promise .card b { font: 700 46px/1 var(--display); color: var(--gold); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* final call */
.final { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 40%, rgba(180, 92, 255, .25), transparent 60%); }
.final .notify { margin: 22px auto 0; justify-content: center; }
.final .claw { width: 220px; margin: 0 auto -10px; transform: rotate(8deg); }

/* footer + documents */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
.doc { width: min(820px, 100% - 32px); margin: 0 auto; padding: 48px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc .updated { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
