:root {
  color-scheme: dark;
  --bg: #10130f;
  --panel: #1b2119;
  --panel-2: #232a20;
  --felt: #17623e;
  --felt-dark: #0e3f29;
  --gold: #f2bd57;
  --red: #e0534d;
  --cream: #f4ead2;
  --muted: #aeb5a5;
  --line: rgba(244, 234, 210, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(242, 189, 87, 0.13), transparent 28rem),
    linear-gradient(135deg, #10130f 0%, #151b15 45%, #231717 100%);
  color: var(--cream);
}

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

.app-shell {
  min-height: 100vh;
}

.hero {
  min-height: 92vh;
  padding: 22px clamp(18px, 4vw, 56px) 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #201304;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--cream);
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

h3 {
  margin: 0;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.showdown p,
.insight-card p,
.ritual-list p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow) {
  font-size: 1.08rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.deal-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.deal-button {
  background: var(--gold);
  color: #201304;
}

.button.secondary {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

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

.felt {
  position: relative;
  width: min(620px, 92vw);
  aspect-ratio: 1.2;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, var(--felt), var(--felt-dark));
  border: 16px solid #6f3f1e;
  box-shadow: var(--shadow), inset 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.felt::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 2px dashed rgba(244, 234, 210, 0.24);
  border-radius: inherit;
}

.center-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: rgba(244, 234, 210, 0.88);
}

.center-mark strong {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.center-mark small {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.pot-stack {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
}

.pot-stack span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 20deg,
    var(--red) 0 16deg,
    var(--cream) 16deg 28deg
  );
  border: 3px solid #15110d;
}

.seat {
  position: absolute;
  width: 108px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(20, 24, 18, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 3;
}

.seat b,
.seat span {
  display: block;
  overflow-wrap: anywhere;
}

.seat b {
  font-size: 0.92rem;
}

.seat span {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.seat-1 {
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
}

.seat-2 {
  right: 24px;
  top: 38px;
}

.seat-3 {
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
}

.seat-4 {
  right: 42px;
  bottom: 28px;
}

.seat-5 {
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
}

.seat-6 {
  left: 42px;
  bottom: 28px;
}

.seat-7 {
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
}

.seat-8 {
  left: 24px;
  top: 38px;
}

.status-strip,
.section-grid,
.showdown,
.insights,
.rituals {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-strip article {
  min-height: 108px;
  padding: 18px;
  background: rgba(27, 33, 25, 0.9);
}

.status-strip span,
.insight-card span,
.ritual-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.status-strip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.6vw, 2.6rem);
}

.section-grid,
.insights,
.rituals {
  padding: 72px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.player-grid,
.insight-grid,
.ritual-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.player-card,
.insight-card,
.ritual-list article,
.showdown {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 33, 25, 0.82);
}

.player-card {
  min-height: 236px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--gold);
  font-weight: 900;
}

.player-card strong {
  margin-top: 16px;
  font-size: 1.2rem;
}

.player-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.player-card em {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(242, 189, 87, 0.32);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.player-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.showdown {
  margin-top: 72px;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.prophecy {
  grid-column: 1 / -1;
  min-height: 56px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--cream) !important;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card,
.ritual-list article {
  padding: 22px;
}

.insight-card.live {
  border-color: rgba(242, 189, 87, 0.5);
}

.insight-card strong,
.ritual-list strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.rituals {
  padding-bottom: 60px;
}

.ritual-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .showdown {
    grid-template-columns: 1fr;
  }

  .hero-board {
    min-height: 440px;
  }

  .status-strip,
  .player-grid,
  .insight-grid,
  .ritual-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .felt {
    width: min(440px, 90vw);
    border-width: 10px;
  }

  .seat {
    width: 82px;
    min-height: 50px;
    padding: 7px;
  }

  .seat b {
    font-size: 0.78rem;
  }

  .seat-3 {
    right: -18px;
  }

  .seat-7 {
    left: -18px;
  }

  .status-strip,
  .player-grid,
  .insight-grid,
  .ritual-list {
    grid-template-columns: 1fr;
  }
}
