:root {
  --ink: #17171b;
  --ink-2: #1f1f25;
  --ink-3: #2a2a32;
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --paper-3: #e2d9c7;
  --red: #e0342f;
  --red-deep: #a91f1f;
  --teal: #17a398;
  --teal-deep: #0b6e68;
  --gold: #e3b34f;
  --gold-soft: #f2d492;
  --text: #232028;
  --text-soft: #6c6564;
  --line: rgba(246, 241, 231, 0.14);
  --line-dark: rgba(35, 32, 40, 0.14);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-1: 0 10px 30px rgba(23, 23, 27, 0.18);
  --shadow-2: 0 20px 50px rgba(23, 23, 27, 0.26);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
a {
  font-family: inherit;
}

a {
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* Trust strip */
.trust-strip {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  white-space: nowrap;
}

.trust-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 30s linear infinite;
}

.trust-group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
  align-items: center;
}

.trust-group span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.trust-group span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe3ae;
  display: inline-block;
}

@keyframes trust-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .trust-strip:hover .trust-track {
    animation-play-state: paused;
  }
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 23, 27, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--paper);
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-name em {
  font-style: normal;
  color: var(--gold-soft);
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
  flex: 0 0 auto;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 231, 0.62);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  min-width: 34px;
}

.lang-btn.is-active {
  background: var(--paper);
  color: var(--ink);
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 11px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.official-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

@media (max-width: 399px) {
  .official-link {
    display: none;
  }
}

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(224, 52, 47, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.btn-wide {
  width: 100%;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 4px;
  cursor: pointer;
}

.text-btn svg {
  width: 16px;
  height: 16px;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn:active {
  transform: translateY(0);
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 46px 0 34px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 30px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-sub {
  margin: 0 0 22px;
  max-width: 560px;
  color: rgba(246, 241, 231, 0.78);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 460px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--gold-soft);
}

.hero-stat span {
  display: block;
  color: rgba(246, 241, 231, 0.66);
  font-size: 11px;
  margin-top: 2px;
}

.hero-stage {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fan {
  position: relative;
  width: 280px;
  height: 220px;
}

.hero-card {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 108px;
  height: 158px;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  transform-origin: 50% 110%;
  animation: fan-float 5.5s ease-in-out infinite;
}

.hero-card--1 {
  transform: rotate(-30deg) translateX(-60px);
}

.hero-card--2 {
  transform: rotate(-20deg) translateX(-38px);
  animation-delay: 0.4s;
}

.hero-card--3 {
  transform: rotate(-10deg) translateX(-16px);
  animation-delay: 0.8s;
}

.hero-card--4 {
  transform: rotate(0deg) translateX(6px);
  animation-delay: 1.2s;
}

.hero-card--5 {
  transform: rotate(10deg) translateX(28px);
  animation-delay: 1.6s;
}

.hero-card--6 {
  transform: rotate(20deg) translateX(50px);
  animation-delay: 2s;
}

.hero-card--7 {
  transform: rotate(30deg) translateX(72px);
  animation-delay: 2.4s;
}

@keyframes fan-float {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

.hero-fly-card {
  position: absolute;
  right: 7%;
  bottom: 16px;
  width: 72px;
  height: 104px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38);
  animation: fly-card 4.6s ease-in-out infinite;
}

@keyframes fly-card {
  0%, 100% {
    transform: rotate(10deg) translate(0, 0);
  }
  50% {
    transform: rotate(16deg) translate(10px, -18px);
  }
}

.hero-chip {
  position: absolute;
  left: 5%;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 5px solid var(--red);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-chip span {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Sections */
.section {
  padding: 54px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head--light {
  color: var(--paper);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
}

.section-head--light .section-eyebrow {
  color: var(--gold-soft);
}

.section-head--light .section-eyebrow::before {
  background: var(--gold);
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text);
}

.section-head--light h2 {
  color: var(--paper);
}

.section-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.section-head--light .section-sub {
  color: rgba(246, 241, 231, 0.72);
}

.card-pick,
.decks,
.why {
  background: var(--paper);
  color: var(--text);
}

/* Pick a card */
.pick-stage {
  display: grid;
  gap: 20px;
}

.card-fan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 12px 8px 0;
}

.pick-card {
  appearance: none;
  position: absolute;
  top: 6px;
  width: 88px;
  height: 128px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 50% 108%;
  transition: transform 0.22s ease, filter 0.22s ease;
  z-index: 2;
}

.pick-card--red:nth-child(1) {
  transform: rotate(-28deg) translateX(-70px);
}

.pick-card--blue:nth-child(2) {
  transform: rotate(-14deg) translateX(-38px);
}

.pick-card--gold:nth-child(3) {
  transform: rotate(0deg) translateX(0);
  z-index: 5;
}

.pick-card--blue:nth-child(4) {
  transform: rotate(14deg) translateX(38px);
}

.pick-card--red:nth-child(5) {
  transform: rotate(28deg) translateX(70px);
}

.pick-back {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.18);
  box-shadow: 0 12px 22px rgba(23, 23, 27, 0.2);
}

@media (hover: hover) {
  .pick-card:hover {
    transform: translateY(-10px) translateX(var(--fan-x, 0)) rotate(var(--fan-rot, 0));
    filter: brightness(1.06);
  }
}

.pick-card.is-shuffling {
  animation: card-shake 0.7s ease-in-out;
  pointer-events: none;
}

@keyframes card-shake {
  0%, 100% {
    transform: rotate(var(--fan-rot, 0)) translateX(var(--fan-x, 0)) translateY(0);
  }
  25% {
    transform: rotate(var(--fan-rot, 0)) translateX(var(--fan-x, 0)) translateY(-14px);
  }
  50% {
    transform: rotate(calc(var(--fan-rot, 0) * -1)) translateX(calc(var(--fan-x, 0) * -1)) translateY(2px);
  }
  75% {
    transform: rotate(var(--fan-rot, 0)) translateX(var(--fan-x, 0)) translateY(-8px);
  }
}

.pick-card:disabled {
  pointer-events: none;
}

.pick-copy {
  text-align: center;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pick-prompt {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.pick-hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

/* Deal status */
.deal-status {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-soft);
}

.deal-status p {
  margin: 0;
  font-weight: 700;
}

.deal-cards {
  position: relative;
  width: 150px;
  height: 96px;
}

.deal-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 58px;
  height: 84px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.2);
  box-shadow: 0 10px 18px rgba(23, 23, 27, 0.22);
  animation: deal-spin 0.9s ease-in-out infinite;
}

.deal-card--a {
  margin-left: -52px;
  animation-delay: 0s;
}

.deal-card--b {
  margin-left: -14px;
  animation-delay: 0.16s;
}

.deal-card--c {
  margin-left: 24px;
  animation-delay: 0.32s;
}

@keyframes deal-spin {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}

/* Pick result */
.pick-result {
  display: grid;
  gap: 26px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.match-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  perspective: 1000px;
}

.match-card {
  position: relative;
  width: 168px;
  height: 244px;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.match-card.is-flipped {
  transform: rotateY(0deg);
}

.match-card-face,
.match-card-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.match-card-back {
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.22);
  box-shadow: 0 16px 30px rgba(23, 23, 27, 0.26);
  transform: rotateY(180deg);
}

.match-card-face {
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 27, 0.12);
  box-shadow: 0 16px 30px rgba(23, 23, 27, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.match-card-face:empty::after {
  content: "?";
  font-family: Georgia, serif;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.face-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
}

.face-corner b {
  font-family: Georgia, serif;
}

.face-corner svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.face-corner--tl {
  top: 9px;
  left: 9px;
}

.face-corner--br {
  bottom: 9px;
  right: 9px;
  transform: rotate(180deg);
}

.face-center {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: center;
  justify-items: center;
  width: 70%;
}

.face-center.is-letter {
  display: flex;
  font-family: Georgia, serif;
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--face-color, var(--ink));
}

.face-pip {
  width: 100%;
}

.face-pip svg {
  width: 100%;
  height: auto;
}

.face-pip.is-empty {
  opacity: 0;
}

.match-panel {
  text-align: center;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-badge::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
}

.result-badge::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
}

.match-panel h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--text);
}

.match-sub {
  margin: 0 auto 14px;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 14px;
}

.match-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
}

.match-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.match-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 22px;
}

.related-head {
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.related-card {
  display: block;
  min-width: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.related-visual {
  display: block;
  width: 54px;
  height: 76px;
  margin: 0 auto 8px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.14);
  box-shadow: 0 8px 16px rgba(23, 23, 27, 0.16);
}

.related-name {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.related-price {
  display: block;
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
}

/* Trick section */
.trick {
  background: var(--ink);
  color: var(--paper);
}

.trick-grid {
  display: grid;
  gap: 24px;
}

.trick-steps {
  display: grid;
  gap: 10px;
}

.trick-step {
  appearance: none;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  min-height: 76px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.trick-step.is-active {
  background: rgba(224, 52, 47, 0.16);
  border-color: rgba(224, 52, 47, 0.62);
}

.trick-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
}

.trick-step.is-active .trick-step-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.trick-step-copy {
  min-width: 0;
}

.trick-step-copy strong,
.trick-step-copy small {
  display: block;
}

.trick-step-copy strong {
  font-size: 14px;
  margin-bottom: 3px;
}

.trick-step-copy small {
  color: rgba(246, 241, 231, 0.66);
  font-size: 12px;
  line-height: 1.4;
}

.trick-table {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #24443c, #17312d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-2);
}

.table-felt {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.table-card {
  position: absolute;
  bottom: 26px;
  width: 64px;
  height: 92px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34);
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.4s ease;
}

.table-card--a {
  left: 50%;
  margin-left: -74px;
  transform: rotate(-16deg) translateY(0);
}

.table-card--b {
  left: 50%;
  margin-left: -32px;
  transform: rotate(0deg) translateY(0);
  z-index: 2;
}

.table-card--c {
  left: 50%;
  margin-left: 10px;
  transform: rotate(16deg) translateY(0);
}

.trick-table.is-step-1 .table-card {
  bottom: 40px;
}

.trick-table.is-step-1 .table-card--a {
  transform: rotate(-22deg) translateX(-34px);
}

.trick-table.is-step-1 .table-card--b {
  transform: rotate(0deg) translateX(2px);
}

.trick-table.is-step-1 .table-card--c {
  transform: rotate(22deg) translateX(38px);
}

.trick-table.is-step-2 .table-card {
  opacity: 0.35;
  transform: rotate(0deg) scale(0.9);
}

.table-hand {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 120px;
  height: 84px;
  margin-left: -60px;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.hand-card {
  position: absolute;
  bottom: 0;
  width: 54px;
  height: 78px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hand-card--a {
  left: 0;
  transform: rotate(-18deg);
}

.hand-card--b {
  left: 33px;
  transform: rotate(-4deg);
  z-index: 2;
}

.hand-card--c {
  right: 0;
  transform: rotate(18deg);
}

.trick-table.is-step-1 .table-hand {
  opacity: 0;
  transform: translateY(12px);
}

.table-zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 138px;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.35s ease;
  z-index: 3;
}

.trick-table.is-step-1 .table-zoom {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.table-zoom .zoom-card {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.zoom-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.zoom-back {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.25s ease;
}

.zoom-card {
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.trick-table.is-step-2 .zoom-card {
  transform: rotate(-4deg) scale(1.04);
}

.trick-table.is-step-2 .zoom-back {
  opacity: 0;
}

.trick-table.is-step-2 .table-zoom {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.trick-table.is-step-2 .table-hand {
  opacity: 0;
}

.zoom-face .face-corner {
  font-size: 13px;
}

.zoom-face .face-corner svg {
  width: 11px;
  height: 11px;
}

.zoom-face .face-center.is-letter {
  font-size: 2rem;
}

.zoom-face .face-center {
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 66%;
}

.table-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  margin: 0;
  color: rgba(246, 241, 231, 0.9);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.trick-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0 14px;
}

.trick-progress-label {
  color: rgba(246, 241, 231, 0.72);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.trick-progress-track {
  display: block;
  height: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.trick-progress-fill {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: 6px;
  background: var(--red);
  transition: width 0.4s ease;
}

.trick-actions {
  min-height: 116px;
}

.trick-actions .btn {
  min-width: 200px;
}

.trick-done {
  text-align: center;
}

.trick-done-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.trick-done-text {
  margin: 0 0 12px;
  color: rgba(246, 241, 231, 0.72);
  font-size: 13px;
}

/* Deck grid */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.deck-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fffdf8;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.deck-visual {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(23, 23, 27, 0.05), transparent 60%),
    var(--paper-2);
  overflow: hidden;
}

.deck-back {
  position: absolute;
  width: 72px;
  height: 104px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.16);
  box-shadow: 0 12px 22px rgba(23, 23, 27, 0.2);
}

.deck-back::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  top: 50%;
  height: 22px;
  transform: rotate(-8deg);
  background: rgba(246, 241, 231, 0.12);
}

.deck-card:nth-child(2n) .deck-back {
  transform: rotate(7deg);
}

.deck-card:nth-child(3n) .deck-back {
  transform: rotate(-6deg);
}

.deck-card:nth-child(4n) .deck-back {
  transform: rotate(4deg);
}

.deck-body {
  display: block;
  padding: 12px;
  border-top: 1px solid var(--line-dark);
}

.deck-name,
.deck-price,
.deck-line {
  display: block;
}

.deck-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.deck-price {
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.deck-line {
  color: var(--text-soft);
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.35;
}

@media (hover: hover) {
  .deck-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-1);
  }
}

/* Categories */
.categories {
  background: var(--paper-2);
  color: var(--text);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 12px;
  background: #fffdf8;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  text-decoration: none;
}

.category-mark {
  display: block;
  width: 62px;
  height: 88px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 23, 27, 0.16);
  box-shadow: 0 10px 18px rgba(23, 23, 27, 0.18);
}

.category-copy {
  min-width: 0;
}

.category-copy strong,
.category-copy small {
  display: block;
}

.category-copy strong {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.category-copy small {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
}

/* Why */
.why {
  color: var(--text);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fact-card {
  background: #fffdf8;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 18px 16px;
  min-width: 0;
}

.fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--red-deep);
  margin-bottom: 12px;
}

.fact-icon svg {
  width: 24px;
  height: 24px;
}

.fact-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}

.fact-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* Final CTA */
.final-cta {
  background: var(--ink);
  color: var(--paper);
}

.final-cta-inner {
  text-align: center;
  padding: 14px 18px 6px;
}

.final-cta .section-eyebrow {
  color: var(--gold-soft);
}

.final-cta .section-eyebrow::before {
  background: var(--gold);
}

.final-cta h2 {
  color: var(--paper);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .section-sub {
  color: rgba(246, 241, 231, 0.72);
}

.final-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Footer */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  color: rgba(246, 241, 231, 0.66);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  color: var(--paper);
}

.footer p {
  margin: 0;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.5;
}

.footer-link {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 23, 27, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.sticky-cta svg {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (min-width: 560px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .pick-result {
    grid-template-columns: 200px 1fr;
    align-items: center;
    text-align: left;
  }

  .match-panel {
    text-align: left;
  }

  .match-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .match-meta {
    justify-content: flex-start;
  }

  .match-actions {
    align-items: flex-start;
  }

  .related-strip {
    justify-content: flex-start;
  }

  .deck-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .fact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 760px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 74px 0 58px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-fan {
    width: 360px;
    height: 300px;
  }

  .hero-card {
    width: 130px;
    height: 190px;
  }

  .hero-fly-card {
    width: 84px;
    height: 122px;
    right: 2%;
  }

  .hero-chip {
    width: 66px;
    height: 66px;
    left: 0;
  }

  .pick-stage {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 26px;
  }

  .card-fan {
    min-height: 250px;
  }

  .pick-copy {
    text-align: left;
    align-items: flex-start;
  }

  .trick-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }

  .trick-steps {
    gap: 14px;
  }

  .trick-table {
    min-height: 340px;
  }

  .deck-grid {
    gap: 16px;
  }

  .deck-visual {
    min-height: 190px;
  }

  .deck-back {
    width: 86px;
    height: 124px;
  }

  .category-grid,
  .fact-grid {
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 4.4vw, 4rem);
  }

  .hero-fly-card {
    right: -2%;
  }

  .hero-chip {
    left: -8px;
  }

  .pick-result {
    grid-template-columns: 230px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track,
  .hero-card,
  .hero-fly-card,
  .deal-card {
    animation: none;
  }

  .match-card,
  .zoom-card {
    transition: none;
  }
}
