:root {
  --paper: #FFF1DB;
  --paper-2: #FFFDF7;
  --ink: #0F1720;
  --ink-soft: #5A6472;
  --teal: #2EA39A;
  --gold: #F4B000;
  --gold-deep: #8A6400;
  --purple: #7A4DCC;
  --line: rgba(15, 23, 32, 0.12);
  --line-soft: rgba(15, 23, 32, 0.06);
  --radius: 16px;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--ink); text-decoration: none;
}
.brand-light { color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  border-radius: 999px; padding: 13px 24px; border: 0;
  text-decoration: none; cursor: pointer; transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { filter: brightness(1.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; margin-top: 18px; }

.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 241, 219, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px;
  align-items: center; min-height: 600px;
}
.hero-content { position: relative; z-index: 1; color: var(--paper); text-align: left; padding: 56px 0; }
.hero-content h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.3vw, 64px);
  line-height: 1.02; letter-spacing: -0.02em; color: var(--paper);
}
.hero-content h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 1.7vw, 21px); font-weight: 600; color: #ECE7DB;
  max-width: 34ch; margin: 20px 0 30px;
}
.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-top: 26px;
}
.trust li {
  font-size: 14px; font-weight: 700; color: var(--paper);
  border: 1px solid rgba(255, 241, 219, 0.28); border-radius: 999px; padding: 8px 16px;
}
.hero-cards { position: relative; align-self: stretch; perspective: 1500px; }
.hero-cards-grid {
  position: absolute; top: 50%; left: 6%; width: 150%;
  transform: translateY(-50%) rotateY(-26deg) rotateX(8deg) rotate(-3deg);
  transform-style: preserve-3d;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hero-cards .gcard { min-height: 162px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38); }
.hero-cards .gcard-art { width: 150px; height: 150px; top: -24px; right: -20px; }
.hero-cards .gcard-name { opacity: 0.5; }

.section { padding: 64px 0; }
.section-soft { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.01em; }
.section .lead { font-size: 17px; font-weight: 600; color: var(--ink-soft); margin-top: 10px; max-width: 58ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.gcard {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 12px; min-height: 120px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0) 55%);
}
.gcard-art {
  position: absolute; top: -16px; right: -14px; width: 94px; height: 94px;
  object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.30)); pointer-events: none;
}
.gcard-name { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.1; }
.gcard-players { position: relative; z-index: 1; font-size: 12.5px; font-weight: 700; opacity: 0.88; margin-top: 2px; }
.gcard-link { transition: transform 0.12s ease; }
.gcard-link:hover { transform: translateY(-3px); }

.catalogue {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 16px; margin-top: 32px;
}
.catalogue .gcard { min-height: 132px; }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; max-width: 720px; }
.phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone-shot {
  width: 100%; aspect-ratio: 9 / 17; object-fit: cover; object-position: top center;
  border-radius: 24px; border: 7px solid var(--ink); background: var(--paper-2);
}
.phone figcaption { font-family: var(--font-display); font-weight: 600; font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; max-width: 760px; margin-left: auto; margin-right: auto; }
.plan { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.plan-featured { border: 2px solid var(--gold); }
.plan-badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800;
  border-radius: 999px; padding: 5px 14px;
}
.plan-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }
.plan-eyebrow-pro { color: var(--gold-deep); }
.plan-price { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 6px 0 16px; }
.plan-feats { list-style: none; }
.plan-feats li { position: relative; padding-left: 28px; font-weight: 600; font-size: 15px; margin: 11px 0; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}
.plan-featured .plan-feats li::before { border-color: var(--gold-deep); }

.footer { background: var(--ink); color: #C9CDD2; padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: #ECE7DB; text-decoration: none; font-weight: 700; font-size: 14px; }
.footer-nav a:hover { color: var(--gold); }
.footer-edit { font-size: 13px; font-weight: 600; width: 100%; color: #8A9099; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-content { text-align: center; padding: 56px 0 60px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .trust { justify-content: center; }
  .hero-cards { display: none; }
}

@media (max-width: 640px) {
  .phones { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .phone-shot { border-width: 5px; border-radius: 18px; }
  .phone figcaption { font-size: 13px; }
  .pricing { grid-template-columns: 1fr; }
  .footer-inner { gap: 12px; }
}
