:root {
  --felt: #06281e;
  --felt-deep: #021912;
  --panel: rgba(4, 38, 29, 0.72);
  --panel-strong: rgba(2, 18, 14, 0.88);
  --gold: #d9ae38;
  --gold-light: #ffe083;
  --cream: #fff4d6;
  --muted: rgba(255, 244, 214, 0.72);
  --red: #a91f34;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(2, 25, 18, 0.58), rgba(2, 25, 18, 0.76)),
    url("./assets/table-green.jpg") center / cover fixed,
    var(--felt);
}

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

.page {
  overflow: hidden;
}

.hero {
  min-height: 94vh;
  display: grid;
  place-items: center;
  padding: 56px 22px 64px;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(217, 174, 56, 0.16);
  transform: rotate(18deg);
}

.hero::before {
  left: -90px;
  top: 16%;
}

.hero::after {
  right: -110px;
  bottom: 12%;
}

.hero__content,
.section,
.multiplayer,
.feature {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__emblem {
  width: min(330px, 66vw);
  display: block;
  margin: 0 auto 14px;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 224, 131, 0.16);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
}

.language-note {
  display: inline-flex;
  margin: 16px auto 0;
  border: 1px solid rgba(217, 174, 56, 0.5);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(2, 18, 14, 0.48);
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 224, 131, 0.1);
}

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

.actions--stores {
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.store-badge:focus-visible {
  border-radius: 8px;
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.store-badge img {
  display: block;
  width: auto;
  height: 56px;
}

.store-badge--google img {
  height: 70px;
}

.section,
.multiplayer,
.feature {
  padding: 80px 0;
}

.section + .multiplayer,
.multiplayer + .feature {
  margin-top: clamp(34px, 4.5vw, 58px);
}

.section__header {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.card,
.feature {
  border: 2px solid rgba(217, 174, 56, 0.48);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 224, 131, 0.1), 0 26px 50px rgba(0, 0, 0, 0.25);
}

.card {
  min-height: 180px;
  padding: 22px;
}

.card--wide {
  grid-column: span 3;
}

.card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 950;
}

.card p,
.multiplayer p,
.feature p {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.45;
}

.multiplayer {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  border: 2px solid rgba(217, 174, 56, 0.48);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(120deg, rgba(2, 18, 14, 0.92), rgba(4, 54, 41, 0.72)),
    var(--panel-strong);
  box-shadow: inset 0 1px 0 rgba(255, 224, 131, 0.1), 0 26px 50px rgba(0, 0, 0, 0.25);
}

.multiplayer__copy {
  max-width: 680px;
}

.multiplayer__copy > p {
  max-width: 640px;
}

.multiplayer__copy h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

.multiplayer__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.multiplayer__points article {
  border: 1px solid rgba(217, 174, 56, 0.28);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 244, 214, 0.055);
}

.multiplayer__points span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 950;
}

.multiplayer__points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  line-height: 1.15;
}

.multiplayer__points p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.32;
}

.network-table {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
  aspect-ratio: 0.92;
  border: 2px solid rgba(217, 174, 56, 0.48);
  border-radius: 20px;
  padding: 18px;
  background:
    linear-gradient(150deg, rgba(255, 224, 131, 0.1), transparent 42%),
    rgba(1, 18, 13, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 224, 131, 0.1), 0 18px 34px rgba(0, 0, 0, 0.25);
}

.network-table__felt {
  position: absolute;
  inset: 18px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at center, rgba(217, 174, 56, 0.18), transparent 33%),
    linear-gradient(145deg, rgba(6, 64, 48, 0.96), rgba(2, 28, 20, 0.96));
}

.network-table__felt::before,
.network-table__felt::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(217, 174, 56, 0.26);
  border-radius: 999px;
}

.network-table__felt::after {
  inset: 30%;
  opacity: 0.82;
}

.network-table__seat {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 82px;
  height: 110px;
  border: 2px solid rgba(255, 224, 131, 0.78);
  border-radius: 18px;
  padding: 12px 8px 10px;
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.14), rgba(2, 18, 14, 0.88)),
    var(--felt-deep);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.28);
}

.network-table__seat::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 244, 214, 0.42);
}

.network-table__seat img {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(217, 174, 56, 0.82);
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 244, 214, 0.14);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.24);
}

.network-table__seat--top {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.network-table__seat--right {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.network-table__seat--bottom {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.network-table__seat--left {
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.network-table__center {
  position: absolute;
  z-index: 3;
  inset: 37%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(217, 174, 56, 0.76);
  border-radius: 999px;
  background: rgba(2, 18, 14, 0.82);
  text-align: center;
}

.network-table__center span {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.feature {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  align-items: center;
  gap: 32px;
  padding: 38px;
}

.wheel {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.wheel--complete {
  isolation: isolate;
}

.wheel__base {
  width: 100%;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.32));
}

.wheel__pointer {
  position: absolute;
  top: -5.8%;
  left: 50%;
  z-index: 5;
  width: 20%;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.42));
}

.wheel__icon {
  position: absolute;
  left: calc(50% + var(--wheel-icon-x));
  top: calc(50% + var(--wheel-icon-y));
  z-index: 2;
  width: 18%;
  border-radius: 18%;
  transform: translate(-50%, -50%) rotate(var(--wheel-icon-rotation));
  transform-origin: center;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.38));
}

.wheel__icon--plis {
  --wheel-icon-x: 16%;
  --wheel-icon-y: -27.7%;
  --wheel-icon-rotation: 20deg;
}

.wheel__icon--coeurs {
  --wheel-icon-x: 32%;
  --wheel-icon-y: 0%;
  --wheel-icon-rotation: 82deg;
}

.wheel__icon--dames {
  --wheel-icon-x: 16%;
  --wheel-icon-y: 27.7%;
  --wheel-icon-rotation: 142deg;
}

.wheel__icon--dernier {
  --wheel-icon-x: -16%;
  --wheel-icon-y: 27.7%;
  --wheel-icon-rotation: 202deg;
}

.wheel__icon--barbu {
  --wheel-icon-x: -32%;
  --wheel-icon-y: 0%;
  --wheel-icon-rotation: 262deg;
}

.wheel__icon--salade {
  --wheel-icon-x: -16%;
  --wheel-icon-y: -27.7%;
  --wheel-icon-rotation: 322deg;
}

.wheel__center {
  position: absolute;
  z-index: 4;
  width: 43%;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.36));
}

.site-footer {
  width: min(1080px, calc(100vw - 32px));
  margin: 42px auto 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.site-footer a {
  border-bottom: 1px solid rgba(217, 174, 56, 0.42);
  padding-bottom: 4px;
}

.legal-page {
  min-height: 100vh;
  padding: 38px 18px 72px;
}

.back-link {
  display: inline-flex;
  margin: 0 0 26px max(0px, calc((100vw - 980px) / 2));
  color: var(--gold);
  font-size: 1rem;
  font-weight: 950;
}

.legal-card {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 2px solid rgba(217, 174, 56, 0.56);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--panel-strong);
  box-shadow: inset 0 1px 0 rgba(255, 224, 131, 0.1), 0 26px 50px rgba(0, 0, 0, 0.28);
}

.legal-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--gold);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
}

.legal-card p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.58;
}

.legal-date {
  color: var(--cream);
}

@media (max-width: 780px) {
  .hero {
    min-height: 88vh;
    padding-top: 28px;
  }

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

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

  .network-table {
    width: min(82vw, 290px);
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 14px;
  }

  .network-table__felt {
    inset: 14px;
  }

  .network-table__seat {
    width: 68px;
    height: 88px;
    border-radius: 15px;
    padding: 10px 7px 8px;
  }

  .network-table__seat::before {
    top: 8px;
    width: 22px;
    height: 3px;
  }

  .network-table__seat img {
    width: 50px;
    height: 50px;
  }

  .network-table__seat--top {
    top: 3%;
  }

  .network-table__seat--right {
    right: 3%;
  }

  .network-table__seat--bottom {
    bottom: 3%;
  }

  .network-table__seat--left {
    left: 3%;
  }

  .network-table__center {
    inset: 38%;
  }

  .network-table__center span {
    font-size: 0.78rem;
  }

  .card--wide {
    grid-column: span 1;
  }

  .feature {
    padding: 26px;
  }

  .hero__stores {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .store-badge {
    min-width: 0;
  }

  .store-badge img {
    height: 48px;
  }

  .store-badge--google img {
    height: 60px;
  }
}
