:root {
  --ink: #252338;
  --ink-soft: #4d4865;
  --purple: #46405e;
  --cream: #f6f7ed;
  --paper: #ffffff;
  --green: #76bd6c;
  --green-soft: #e6f1df;
  --mint: #43d7b0;
  --red: #ed5f69;
  --yellow: #ffc95c;
  --blue: #16a9d6;
  --pink: #f27b9d;
  --line: rgba(37, 35, 56, 0.1);
  --shadow: 0 24px 70px rgba(45, 44, 64, 0.12);
  --shadow-soft: 0 12px 32px rgba(45, 44, 64, 0.09);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 237, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(37, 35, 56, 0.06);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.brand-mark {
  width: 52px;
  height: 42px;
  position: relative;
  display: inline-block;
}

.mini-card {
  position: absolute;
  width: 24px;
  height: 30px;
  border-radius: 6px;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(37, 35, 56, 0.12);
  transform-origin: 50% 100%;
}

.mini-card.red {
  left: 2px;
  top: 8px;
  background: var(--red);
  transform: rotate(-19deg);
}

.mini-card.yellow {
  left: 17px;
  top: 1px;
  background: var(--yellow);
  transform: rotate(-6deg);
}

.mini-card.blue {
  left: 25px;
  top: 8px;
  background: var(--blue);
  transform: rotate(12deg);
}

.mini-card.mint {
  left: 12px;
  top: 10px;
  background: var(--mint);
  transform: rotate(4deg);
}

.main-nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 800;
}

.main-nav > a:not(.nav-cta),
.legal-nav > a:not(.nav-cta) {
  color: var(--ink-soft);
}

.main-nav > a:hover,
.legal-nav > a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 8px 20px rgba(70, 64, 94, 0.18);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 76px 0 110px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -150px;
  height: 240px;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.blob-one {
  width: 560px;
  height: 560px;
  right: -210px;
  top: -180px;
  background: rgba(67, 215, 176, 0.1);
}

.blob-two {
  width: 400px;
  height: 400px;
  left: -210px;
  bottom: 0;
  background: rgba(22, 169, 214, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--purple);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(118, 189, 108, 0.16);
}

.hero h1,
.legal-hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--purple);
}

.hero h1 strong {
  color: var(--red);
  text-shadow: 4px 4px 0 #fff, 7px 7px 0 rgba(37, 35, 56, 0.12);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 26px rgba(118, 189, 108, 0.27);
}

.button-secondary {
  color: var(--purple);
  background: #fff;
  border: 1px solid rgba(70, 64, 94, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero-facts {
  margin-top: 38px;
  display: flex;
  gap: 34px;
}

.hero-facts div {
  display: grid;
  gap: 2px;
}

.hero-facts b {
  font-size: 19px;
}

.hero-facts span {
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.game-table {
  width: min(100%, 590px);
  aspect-ratio: 1.16;
  position: relative;
  border-radius: 48% / 42%;
  background: #cadfb9;
  border: 14px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.table-ring {
  position: absolute;
  inset: 26px;
  border: 4px solid rgba(255, 255, 255, 0.75);
  border-radius: inherit;
}

.center-pile {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
  align-items: center;
}

.deck-card,
.play-card {
  width: 88px;
  height: 126px;
  border-radius: 14px;
  border: 2px solid rgba(37, 35, 56, 0.28);
  box-shadow: 0 10px 18px rgba(37, 35, 56, 0.17);
}

.deck-card {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  font-size: 19px;
  transform: rotate(-2deg);
}

.play-card {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  transform: rotate(2deg);
}

.play-card small,
.play-card em {
  position: absolute;
  font-size: 14px;
  font-style: normal;
}

.play-card small {
  left: 10px;
  top: 8px;
}

.play-card em {
  right: 10px;
  bottom: 8px;
  transform: rotate(180deg);
}

.play-card b {
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 500;
}

.play-red {
  background: var(--red);
}

.player {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
}

.player-top {
  left: 50%;
  top: 7%;
  transform: translateX(-50%);
}

.player-left {
  left: 6%;
  top: 39%;
}

.player-right {
  right: 4%;
  top: 39%;
  flex-direction: row-reverse;
}

.avatar {
  width: 48px;
  height: 48px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(37, 35, 56, 0.16);
}

.avatar::before {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 50%;
  background: #ffd2bd;
}

.avatar span {
  width: 28px;
  height: 17px;
  position: absolute;
  left: 6px;
  bottom: -4px;
  border-radius: 50% 50% 0 0;
  background: rgba(37, 35, 56, 0.8);
}

.avatar-teal {
  background: #cff0e7;
}

.avatar-teal::after,
.avatar-gold::after,
.avatar-coral::after {
  content: "";
  width: 28px;
  height: 13px;
  position: absolute;
  left: 5px;
  top: 3px;
  border-radius: 15px 15px 8px 8px;
}

.avatar-teal::after {
  background: #1f6e75;
}

.avatar-gold {
  background: #fff0c9;
}

.avatar-gold::after {
  background: #efb637;
}

.avatar-coral {
  background: #ffe0dc;
}

.avatar-coral::after {
  background: #d7664c;
}

.player-label {
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 7px 18px rgba(37, 35, 56, 0.09);
  font-size: 12px;
  line-height: 1.2;
}

.player-label small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.turn-pill {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  min-width: 246px;
  padding: 12px 22px;
  text-align: center;
  border-radius: 999px;
  color: var(--purple);
  background: var(--yellow);
  border: 3px solid var(--purple);
  box-shadow: 0 10px 20px rgba(37, 35, 56, 0.14);
  font-size: 16px;
}

.turn-icon {
  margin-right: 8px;
  font-size: 21px;
}

.hand {
  position: absolute;
  left: 50%;
  bottom: -38px;
  height: 132px;
  display: flex;
  align-items: end;
  transform: translateX(-50%);
}

.hand-card {
  width: 66px;
  height: 102px;
  margin-left: -10px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  border: 2px solid rgba(37, 35, 56, 0.2);
  box-shadow: 0 9px 18px rgba(37, 35, 56, 0.16);
  font-family: Arial, sans-serif;
  font-size: 31px;
}

.hand-card:nth-child(1) { transform: rotate(-7deg) translateY(12px); }
.hand-card:nth-child(2) { transform: rotate(-4deg) translateY(4px); }
.hand-card:nth-child(3) { transform: rotate(-2deg); }
.hand-card:nth-child(4) { transform: rotate(1deg); }
.hand-card:nth-child(5) { transform: rotate(4deg) translateY(4px); }
.hand-card:nth-child(6) { transform: rotate(6deg) translateY(10px); }
.hand-card:nth-child(7) { transform: rotate(9deg) translateY(18px); }

.card-green { background: #8fbc67; }
.card-red { background: var(--red); }
.card-yellow { background: var(--yellow); }
.card-wild { background: #14141a; }

.card-wild i,
.show-wild i {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 25%, var(--mint) 25% 50%, var(--blue) 50% 75%, var(--red) 75%);
  border: 4px solid #111;
  box-shadow: 0 0 0 2px #fff;
}

.color-tag,
.shout-tag,
.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 900;
}

.color-tag {
  left: -35px;
  top: 53%;
  color: #fff;
  background: var(--red);
  border: 4px solid #fff;
}

.shout-tag {
  right: -35px;
  top: 45%;
  color: var(--purple);
}

.floating-chip {
  background: var(--paper);
}

.chip-one {
  left: 0;
  top: 60px;
  transform: rotate(-8deg);
}

.chip-two {
  right: 2px;
  bottom: 74px;
  transform: rotate(6deg);
}

.section {
  position: relative;
  padding: 110px 0;
}

.feature-strip {
  z-index: 3;
  background: var(--paper);
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.how-copy h2,
.reward-copy h2,
.download-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p,
.how-copy > p,
.reward-copy p,
.download-card p {
  margin: 0;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--purple);
  font-size: 26px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.accent-purple .feature-icon { background: #e8e2f0; }
.accent-green .feature-icon { background: var(--green-soft); }
.accent-blue .feature-icon { background: #d9f2f9; }
.accent-yellow .feature-icon { background: #fff0cf; }

.modes-section {
  background:
    radial-gradient(circle at 0 100%, rgba(67, 215, 176, 0.12), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(242, 123, 157, 0.1), transparent 30%),
    var(--cream);
}

.split-heading {
  max-width: none;
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 60px;
  align-items: end;
}

.split-heading p {
  justify-self: end;
  max-width: 520px;
}

.mode-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.mode-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.mode-online {
  min-height: 490px;
  padding: 42px;
  color: #fff;
  background: var(--red);
}

.mode-online::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -100px;
  top: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mode-card span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mode-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.mode-card p {
  max-width: 430px;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.mode-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mode-badge {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.mode-avatars {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  display: flex;
  align-items: center;
}

.face {
  width: 70px;
  height: 70px;
  position: relative;
  margin-right: -13px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #fff;
  box-shadow: 0 10px 20px rgba(37, 35, 56, 0.14);
}

.face::before {
  content: "";
  width: 42px;
  height: 42px;
  position: absolute;
  left: 9px;
  top: 10px;
  border-radius: 50%;
  background: #ffd2bd;
}

.face::after {
  content: "";
  width: 43px;
  height: 18px;
  position: absolute;
  left: 9px;
  top: 7px;
  border-radius: 20px 20px 10px 10px;
}

.face-one::after { background: #2d7c83; }
.face-two::after { background: #f0b638; }
.face-three::after { background: #d7664c; }

.mode-avatars b {
  width: 76px;
  height: 76px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff;
  font-size: 34px;
}

.mode-stack {
  display: grid;
  gap: 22px;
}

.mode-lan,
.mode-offline {
  min-height: 234px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mode-lan {
  color: #fff;
  background: var(--blue);
}

.mode-offline {
  color: var(--purple);
  background: var(--yellow);
}

.mode-lan h3,
.mode-offline h3 {
  margin: 8px 0 8px;
  font-size: clamp(36px, 4vw, 52px);
}

.signal {
  width: 115px;
  height: 115px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255,255,255,0.18);
}

.signal i {
  position: absolute;
  left: 50%;
  bottom: 23px;
  border: 7px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.signal i:nth-child(1) { width: 70px; height: 70px; }
.signal i:nth-child(2) { width: 44px; height: 44px; }
.signal i:nth-child(3) {
  width: 12px;
  height: 12px;
  bottom: 15px;
  border: 0;
  background: #fff;
}

.play-symbol {
  width: 95px;
  height: 95px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: var(--yellow);
  background: var(--purple);
  font-size: 32px;
  box-shadow: 0 12px 22px rgba(70, 64, 94, 0.2);
}

.mini-features {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mini-features > div {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-content: center;
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.mini-features span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--purple);
  font-size: 20px;
  font-weight: 900;
}

.mini-features b {
  font-size: 15px;
}

.mini-features small {
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.how-section {
  background: #fff;
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.steps li > span {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--purple);
  font-size: 18px;
}

.steps div {
  display: grid;
  gap: 2px;
}

.steps b {
  font-size: 17px;
}

.steps small {
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.card-showcase {
  min-height: 520px;
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)),
    radial-gradient(circle at 30% 20%, rgba(118, 189, 108, 0.5), transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(22, 169, 214, 0.4), transparent 35%),
    var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}

.show-card {
  width: 150px;
  height: 224px;
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  border: 4px solid rgba(37, 35, 56, 0.25);
  box-shadow: 0 25px 50px rgba(37, 35, 56, 0.2);
}

.show-card small,
.show-card em {
  position: absolute;
  font-size: 24px;
  font-style: normal;
}

.show-card small { left: 14px; top: 10px; }
.show-card em { right: 14px; bottom: 10px; transform: rotate(180deg); }
.show-card b { font-family: Arial, sans-serif; font-size: 70px; font-weight: 500; }

.show-green {
  left: 12%;
  top: 18%;
  background: #8fbc67;
  transform: rotate(-16deg);
}

.show-yellow {
  left: 30%;
  top: 10%;
  background: var(--yellow);
  transform: rotate(-5deg);
}

.show-red {
  left: 49%;
  top: 14%;
  background: var(--red);
  transform: rotate(8deg);
}

.show-wild {
  left: 67%;
  top: 22%;
  background: #17171b;
  transform: rotate(17deg);
}

.showcase-note {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  width: min(84%, 470px);
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.showcase-note span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #fff;
  background: var(--purple);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.reward-section {
  background: var(--cream);
}

.reward-card {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
  padding: 62px;
  border-radius: 44px;
  color: #fff;
  background: var(--purple);
  box-shadow: var(--shadow);
}

.reward-card::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -120px;
  bottom: -240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.reward-copy {
  position: relative;
  z-index: 2;
}

.reward-copy p {
  color: rgba(255,255,255,0.76);
}

.reward-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.reward-list > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 18, 35, 0.15);
}

.reward-list span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff0cf;
  color: var(--purple);
  font-size: 22px;
  font-weight: 900;
}

.reward-list b {
  font-size: 16px;
}

.reward-list em {
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
}

.coin-cloud {
  position: absolute;
  right: 23%;
  top: -30px;
  width: 250px;
  height: 180px;
  pointer-events: none;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #b17a00;
  background: var(--yellow);
  border: 7px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 20px rgba(20, 18, 35, 0.15);
  font-style: normal;
}

.c1 { width: 68px; height: 68px; left: 18px; top: 34px; }
.c2 { width: 88px; height: 88px; left: 78px; top: 8px; }
.c3 { width: 48px; height: 48px; left: 165px; top: 42px; }
.c4 { width: 58px; height: 58px; left: 117px; top: 98px; }
.c5 { width: 42px; height: 42px; left: 39px; top: 112px; }

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 58px 20px 22px;
  font-size: 16px;
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--purple);
  font-size: 20px;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.faq-list details a,
.legal-content a {
  color: #2a7c91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-section {
  background: #fff;
  padding-top: 20px;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.12), transparent 25%),
    var(--red);
  box-shadow: var(--shadow);
}

.download-card p {
  color: rgba(255,255,255,0.8);
}

.light {
  color: rgba(255,255,255,0.8);
}

.download-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-button {
  min-width: 190px;
  min-height: 64px;
  display: grid;
  align-content: center;
  padding: 10px 20px;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
}

.store-button small {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.store-button b {
  font-size: 18px;
}

.button-light {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.58);
}

.site-footer {
  padding: 82px 0 30px;
  color: rgba(255,255,255,0.82);
  background: #29263b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 70px;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  max-width: 360px;
  color: rgba(255,255,255,0.6);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-links b {
  margin-bottom: 6px;
  color: #fff;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.48);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* Privacy policy */
.legal-page {
  background: #fff;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background: var(--cream);
}

.legal-hero .blob-one {
  right: -280px;
  top: -240px;
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
}

.legal-hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(56px, 8vw, 96px);
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.legal-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-meta span {
  padding: 10px 14px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.legal-meta b {
  margin-right: 5px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

.legal-section {
  padding-top: 80px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 780px);
  justify-content: center;
  gap: 70px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 9px;
  padding: 22px;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.legal-toc b {
  margin-bottom: 5px;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 15px;
}

.legal-toc a {
  color: var(--ink-soft);
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content {
  min-width: 0;
  font-family: Arial, sans-serif;
  color: #3f3c52;
}

.legal-content section {
  scroll-margin-top: 120px;
  margin-bottom: 52px;
}

.legal-content h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.legal-content h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 6px;
}

.legal-callout {
  margin-bottom: 50px;
  padding: 24px;
  border-radius: 22px;
  background: var(--green-soft);
  border: 1px solid rgba(118, 189, 108, 0.28);
}

.legal-callout span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--purple);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-callout p {
  margin: 0;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.contact-card > div:last-child {
  display: grid;
}

.contact-card a {
  font-size: 14px;
}

.legal-note {
  padding: 22px;
  border-radius: 18px;
  color: var(--ink-soft);
  background: #fff4d8;
  border: 1px solid rgba(255, 201, 92, 0.48);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .hero-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-facts {
    justify-content: center;
  }

  .hero-visual {
    min-height: 570px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mode-layout {
    grid-template-columns: 1fr;
  }

  .mode-stack {
    grid-template-columns: 1fr 1fr;
  }

  .mini-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-copy {
    max-width: 760px;
  }

  .reward-card,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .coin-cloud {
    right: 8%;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .main-nav {
    display: grid;
  }

  .nav-button {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--line);
  }

  .nav-button span {
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .split-heading p {
    justify-self: start;
  }

  .mode-stack {
    grid-template-columns: 1fr;
  }

  .show-card {
    width: 125px;
    height: 190px;
  }

  .show-card b {
    font-size: 56px;
  }

  .reward-card {
    padding: 42px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-nav .nav-cta {
    display: none;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-toc b {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 90px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    gap: 18px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .game-table {
    border-width: 9px;
    border-radius: 44% / 38%;
  }

  .table-ring {
    inset: 16px;
    border-width: 2px;
  }

  .player-label {
    display: none;
  }

  .avatar {
    width: 38px;
    height: 38px;
  }

  .avatar::before {
    width: 18px;
    height: 18px;
    left: 6px;
    top: 7px;
  }

  .avatar::after {
    width: 21px;
    left: 4px;
  }

  .center-pile {
    gap: 7px;
  }

  .deck-card,
  .play-card {
    width: 58px;
    height: 88px;
    border-radius: 10px;
  }

  .deck-card {
    font-size: 13px;
  }

  .play-card b {
    font-size: 28px;
  }

  .turn-pill {
    min-width: 190px;
    padding: 9px 15px;
    font-size: 12px;
    border-width: 2px;
  }

  .hand {
    bottom: -22px;
    height: 90px;
  }

  .hand-card {
    width: 42px;
    height: 68px;
    margin-left: -6px;
    font-size: 20px;
  }

  .color-tag,
  .shout-tag {
    display: none;
  }

  .floating-chip {
    font-size: 10px;
    padding: 8px 10px;
  }

  .chip-one {
    top: 40px;
  }

  .chip-two {
    bottom: 60px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .how-copy h2,
  .reward-copy h2,
  .download-card h2 {
    font-size: 40px;
  }

  .feature-grid,
  .mini-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .mode-online {
    min-height: 440px;
    padding: 28px;
  }

  .mode-card h3 {
    font-size: 44px;
  }

  .mode-avatars {
    left: 28px;
    right: 28px;
    bottom: 30px;
  }

  .face {
    width: 58px;
    height: 58px;
  }

  .face::before {
    width: 34px;
    height: 34px;
    left: 7px;
    top: 8px;
  }

  .face::after {
    width: 34px;
    left: 7px;
  }

  .mode-avatars b {
    width: 62px;
    height: 62px;
  }

  .mode-lan,
  .mode-offline {
    min-height: 230px;
    padding: 26px;
  }

  .signal,
  .play-symbol {
    width: 80px;
    height: 80px;
    border-radius: 24px;
  }

  .how-grid {
    gap: 44px;
  }

  .card-showcase {
    min-height: 390px;
  }

  .show-card {
    width: 86px;
    height: 134px;
    border-radius: 14px;
    border-width: 3px;
  }

  .show-card small,
  .show-card em {
    font-size: 15px;
  }

  .show-card b {
    font-size: 38px;
  }

  .show-green { left: 7%; top: 18%; }
  .show-yellow { left: 27%; top: 12%; }
  .show-red { left: 47%; top: 17%; }
  .show-wild { left: 67%; top: 23%; }

  .card-wild i,
  .show-wild i {
    width: 23px;
    height: 23px;
    border-width: 3px;
  }

  .showcase-note {
    bottom: 24px;
    font-size: 12px;
  }

  .reward-card,
  .download-card {
    padding: 34px 22px;
    border-radius: 28px;
  }

  .coin-cloud {
    opacity: 0.45;
    right: -65px;
  }

  .faq-grid {
    gap: 34px;
  }

  .download-actions {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .legal-hero {
    padding: 64px 0 54px;
  }

  .legal-hero h1 {
    font-size: 52px;
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-toc b {
    grid-column: auto;
  }

  .legal-content h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
