/* jpc styles - rebuilt 03.08.2026 after client dark-theme brief
   @mike: kept Literata for body, Sora for UI. Don't swap without design OK */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c1117;
  --ink2: #121820;
  --panel: #18212b;
  --lift: #213040;
  --amber: #d4923a;
  --amber2: #e8b56a;
  --sage: #7ba88a;
  --txt: #e6ebf0;
  --muted: #9aa8b5;
  --faint: #6b7a88;
  --line: rgba(230, 235, 240, 0.12);
  --lineA: rgba(212, 146, 58, 0.45);
  --r: 10px;
  --max: 1120px;
  --hh: 72px;
  --fontUI: "Sora", sans-serif;
  --fontBody: "Literata", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fontBody);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--txt);
  background: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber2);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--amber2);
  outline-offset: 3px;
}

.skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 10000;
  font-family: var(--fontUI);
  font-weight: 600;
}
.skipLink:focus {
  left: 1rem;
  top: 1rem;
}

/* header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--ink2);
  border-bottom: 1px solid var(--line);
}

.headerInner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--hh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logoLink {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--txt);
  text-decoration: none;
  font-family: var(--fontUI);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logoLink:hover {
  color: var(--amber2);
}
.logoImg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-family: var(--fontUI);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--amber2);
}

.burgerBtn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--txt);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.burgerIcon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.burgerIcon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
  z-index: 950;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--ink2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 960;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.is-open {
  transform: translateX(0);
}

.mobileNavTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navCloseBtn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--txt);
  font-size: 1.35rem;
  cursor: pointer;
  font-family: var(--fontUI);
}

.mobileNavList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobileNavList a {
  display: block;
  padding: 0.85rem 0.75rem;
  font-family: var(--fontUI);
  font-weight: 600;
  color: var(--txt);
  text-decoration: none;
  border-radius: 4px;
}
.mobileNavList a:hover,
.mobileNavList a[aria-current="page"] {
  background: var(--lift);
  color: var(--amber2);
}

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;

  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* hero-baner typo kept from first sprint, wired in HTML too */
.hero-section,
.hero-baner {
  position: relative;
  min-height: calc(100vh - var(--hh));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.heroMedia {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.heroMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroShade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(12, 17, 23, 0.94) 0%,
    rgba(12, 17, 23, 0.78) 48%,
    rgba(12, 17, 23, 0.45) 100%
  );
}

.heroCopy {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
  max-width: 640px;
}

.heroCopy h1,
.pageIntro h1,
.legalPage h1 {
  font-family: var(--fontUI);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--txt);
}
.heroCopy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.leadText {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 34em;
}

.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.card-btn,
.btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  font-family: var(--fontUI);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.card-btn {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.card-btn:hover {
  background: var(--amber2);
  border-color: var(--amber2);
  color: var(--ink);
  transform: translateY(-1px);
}

.btnGhost {
  background: transparent;
  color: var(--txt);
  border-color: var(--line);
}
.btnGhost:hover {
  border-color: var(--amber);
  color: var(--amber2);
}

.content-section {
  padding: 4.5rem 0;
}
.content-section + .content-section {
  border-top: 1px solid var(--line);
}
.content-section ~ .content-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* typo class from old homepage draft - still used */
.secton-dark {
  background: var(--ink2);
}

.sectionHead {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.sectionHead h2,
.pageIntro h2,
.legalPage h2 {
  font-family: var(--fontUI);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--txt);
}
.sectionHead p,
.pageIntro p {
  margin: 0;
  color: var(--muted);
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.featCard {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition:
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.featCard:hover {
  border-color: var(--lineA);
  transform: translateY(-3px);
}

.featCard h3,
.stepCard h3,
.genreCard h3,
.game-card h3,
.pricin-card h3,
.legalPage h3 {
  font-family: var(--fontUI);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--txt);
}

.featCard p,
.stepCard p,
.genreCard p,
.game-card p,
.pricin-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.cardsRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.game-card,
.pricin-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.game-card:hover,
.pricin-card:hover {
  border-color: var(--lineA);
  transform: translateY(-4px);
}

.cardMedia {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  contain: paint;
}
.cardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardBody {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.genreGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.genreCard {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.genreThumb {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
}
.genreThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stepsRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.stepCard {
  position: relative;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.stepCard::before {
  counter-increment: step;
  content: counter(step) ".";
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--fontUI);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--amber2);
}

.bulletList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.bulletList li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
}
.bulletList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--sage);
}

.splitLayout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.splitMedia {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.splitMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.pageIntro {
  padding: 3.5rem 0 2rem;
}
.pageIntro h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.proseBlock {
  max-width: 72ch;
}
.proseBlock p {
  color: var(--muted);
  margin: 0 0 1.15rem;
}
.proseBlock h2 {
  margin-top: 2.25rem;
}
.proseBlock h3 {
  margin-top: 1.5rem;
  font-family: var(--fontUI);
  font-size: 1.15rem;
  color: var(--txt);
}
.proseBlock ul,
.proseBlock ol {
  color: var(--muted);
  padding-left: 1.25rem;
}
.proseBlock li {
  margin-bottom: 0.45rem;
}

.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}

/* old naming from contact redesign sprint */
.card-form-2026,
.infoBox {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 1.5rem;
}

.formGroup {
  margin-bottom: 1.1rem;
}
.formGroup label {
  display: block;
  font-family: var(--fontUI);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--txt);
}
.formGroup input,
.formGroup textarea,
.formGroup select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink2);
  color: var(--txt);
  font-family: var(--fontBody);
  font-size: 1rem;
}
.formGroup textarea {
  min-height: 140px;
  resize: vertical;
}
.formGroup input:focus,
.formGroup textarea:focus,
.formGroup select:focus {
  border-color: var(--amber);
}

.infoBox h2 {
  margin-top: 0;
}
.infoBox p {
  color: var(--muted);
}

.mapWrap {
  margin-top: 1.25rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}
.mapWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.legalPage {
  padding: 3rem 0 4.5rem;
}
.metaDate {
  font-family: var(--fontUI);
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 2rem;
}
.legalPage p,
.legalPage li {
  color: var(--muted);
}
.legalPage ul,
.legalPage ol {
  padding-left: 1.25rem;
}
.legalPage li {
  margin-bottom: 0.45rem;
}

.main-footer {
  border-top: 1px solid var(--line);
  background: var(--ink2);
  padding: 3rem 0 2rem;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footerBrand {
  font-family: var(--fontUI);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--txt);
  margin: 0 0 0.75rem;
}
.footerBrand a {
  color: inherit;
  text-decoration: none;
}
.footerText {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.footerAddr {
  color: var(--faint);
  font-size: 0.88rem;
  font-family: var(--fontUI);
  line-height: 1.55;
  margin: 0;
}

.footerCol h2 {
  font-family: var(--fontUI);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--txt);
  margin: 0 0 0.85rem;
}
.footerCol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footerCol a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--fontUI);
  font-size: 0.92rem;
}
.footerCol a:hover {
  color: var(--amber2);
}

.footerBottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.88rem;
  font-family: var(--fontUI);
}

.ageBadge {
  color: var(--amber2);
  font-weight: 600;
}

.cookieBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 1rem;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
.cookieBar.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookieInner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--lineA);
  border-radius: var(--r);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.cookieInner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--txt);
  font-size: 0.95rem;
  font-family: var(--fontUI);
  line-height: 1.5;
}
.cookieInner a {
  color: var(--amber2);
  font-weight: 600;
}
.cookieBtns {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
}
.modalOverlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modalBox {
  width: min(440px, 100%);
  background: var(--ink2);
  border: 1px solid var(--lineA);
  border-radius: var(--r);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modalOverlay.is-open .modalBox {
  transform: translateY(0) scale(1);
}
.modalBox h2 {
  font-family: var(--fontUI);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
.modalBox p {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

/* FAQ accordion - how-it-works */
.faqList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.faqItem {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faqQuestion {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faqTrigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--txt);
  font-family: var(--fontUI);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}
.faqTrigger:hover {
  color: var(--amber2);
}
.faqIcon {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--amber2);
  border-bottom: 2px solid var(--amber2);
  transform: rotate(45deg);
  transition: transform 0.28s var(--ease);
  margin-top: -0.2rem;
}
.faqTrigger[aria-expanded="true"] .faqIcon {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.faqPanel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faqPanel[hidden] {
  display: none;
}
.faqPanel.is-open {
  grid-template-rows: 1fr;
}
.faqPanel.is-open[hidden] {
  display: grid;
}
.faqPanel > p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  min-height: 0;
}
.faqPanel.is-open > p {
  padding-bottom: 1.15rem;
}

/* tiny util from contact hotfix 28.07 */
.mt-17 {
  margin-top: 17px;
}

body.nav-locked {
  overflow: hidden;
}

@media (max-width: 960px) {
  .nav-list {
    display: none;
  }
  .burgerBtn {
    display: inline-flex;
  }
  .cardsRow,
  .stepsRow,
  .featureGrid {
    grid-template-columns: 1fr 1fr;
  }
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }
  .contactGrid,
  .splitLayout {
    grid-template-columns: 1fr;
  }
  .genreCard {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 640px) {
  .cardsRow,
  .stepsRow,
  .featureGrid,
  .genreGrid,
  .footerGrid {
    grid-template-columns: 1fr;
  }
  .heroCopy {
    padding: 3rem 0 3.5rem;
  }
  .genreCard {
    grid-template-columns: 1fr;
  }
}

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