:root {
  color-scheme: dark;
  --bg: #03120b;
  --bg-deep: #010805;
  --felt: #075b32;
  --felt-dark: #03351f;
  --panel: rgba(6, 31, 20, 0.86);
  --panel-strong: rgba(2, 18, 11, 0.92);
  --panel-border: rgba(242, 201, 76, 0.32);
  --text: #f6fbf7;
  --text-muted: #c8d8cf;
  --gold: #f2c94c;
  --gold-soft: #ffe28a;
  --red: #d3443d;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(1, 8, 5, 0.74), rgba(1, 8, 5, 0.94)),
    url("./assets/brand/murlan-hero.jpg") center / cover no-repeat;
}

body::after {
  content: "♣    ♠    ♥    ♦    ♣    ♠    ♥    ♦";
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
  color: rgba(242, 201, 76, 0.07);
  font-size: 44px;
  line-height: 2.35;
  word-spacing: 28px;
  transform: rotate(-8deg) scale(1.15);
  transform-origin: center;
  pointer-events: none;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-soft);
}

.page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: var(--line);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(630px, 68svh);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.26);
  border-radius: 8px;
  background: url("./assets/brand/murlan-hero.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 8, 5, 0.94) 0%, rgba(1, 8, 5, 0.74) 45%, rgba(1, 8, 5, 0.18) 100%),
    linear-gradient(0deg, rgba(1, 8, 5, 0.74) 0%, rgba(1, 8, 5, 0.05) 52%);
}

.hero-suits {
  position: absolute;
  right: -30px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.11);
  font-size: 42px;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-7deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 70px 42px 54px;
}

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

.title {
  margin: 8px 0 0;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hero-title {
  font-size: 86px;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.52);
}

.subtitle {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-subtitle {
  max-width: 660px;
  color: #eef8f1;
  font-size: 21px;
}

.hero-card-fan {
  position: absolute;
  right: 58px;
  bottom: 36px;
  z-index: 1;
  width: 330px;
  height: 270px;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  width: 126px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.hero-card-back {
  right: 22px;
  bottom: 26px;
  transform: rotate(16deg);
}

.hero-card-left {
  left: 18px;
  bottom: 0;
  transform: rotate(-17deg);
}

.hero-card-center {
  left: 104px;
  bottom: 24px;
  z-index: 2;
  transform: rotate(-2deg);
}

.hero-card-right {
  left: 188px;
  bottom: 4px;
  transform: rotate(17deg);
}

.cta-row,
.release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row {
  margin-top: 26px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.store-pill-link {
  background: rgba(242, 201, 76, 0.12);
  color: var(--text);
}

.store-pill-link:hover {
  border-color: rgba(242, 201, 76, 0.62);
  color: var(--gold);
}

.store-pill-disabled {
  background: rgba(2, 18, 11, 0.7);
  color: var(--text-muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}

.stat {
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 11, 0.76);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--gold);
  font-size: 29px;
  line-height: 1.05;
}

.stat span {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 750;
}

.section-band {
  padding: 52px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-header.compact {
  max-width: 680px;
}

.section-header h2,
h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.section-header p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 17px;
}

.table-showcase {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(242, 201, 76, 0.2);
  border-radius: 8px;
  background: rgba(2, 18, 11, 0.74);
  box-shadow: var(--shadow);
}

.felt-table {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 2px solid rgba(242, 201, 76, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt-dark) 100%);
}

.felt-table::before {
  content: "♣ ♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣ ♠ ♥ ♦";
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, 0.08);
  font-size: 38px;
  line-height: 2.4;
  word-spacing: 36px;
  transform: rotate(-8deg) scale(1.12);
}

.seat {
  position: absolute;
  z-index: 1;
  min-width: 128px;
  padding: 9px 12px;
  border: 1px solid rgba(242, 201, 76, 0.34);
  border-radius: 8px;
  background: rgba(1, 8, 5, 0.62);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

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

.seat-left {
  top: 44%;
  left: 18px;
}

.seat-right {
  top: 44%;
  right: 18px;
}

.played-pile {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.played-pile img {
  width: 104px;
  margin-left: -24px;
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.played-pile img:first-child {
  margin-left: 0;
}

.table-wordmark {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 1;
  color: rgba(242, 201, 76, 0.32);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
  transform: translateX(-50%);
}

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

.feature-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 11, 0.76);
}

.feature-card {
  min-height: 170px;
  padding: 20px;
}

h3 {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

p,
ul {
  margin: 0;
}

.feature-card p,
.release-band p,
.faq-list p {
  color: var(--text-muted);
}

.release-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
}

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

.release-copy h2 {
  margin-top: 8px;
}

.release-copy p {
  margin-top: 12px;
  font-size: 17px;
}

.release-links {
  justify-content: flex-end;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
}

.faq-list p {
  margin-top: 10px;
}

.header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin: 8px 0 24px;
}

.meta {
  color: var(--text-muted);
  font-size: 14px;
  text-align: right;
}

.panel {
  padding: 26px 24px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.panel + .panel {
  margin-top: 14px;
}

.legal-page h2 {
  color: var(--gold);
  font-size: 28px;
}

ul {
  padding-left: 20px;
}

li + li,
p + p,
p + ul,
ul + p {
  margin-top: 10px;
}

.note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(242, 201, 76, 0.08);
  color: var(--text-muted);
}

.footer {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .hero-card-fan {
    right: 24px;
    opacity: 0.68;
  }

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

  .release-band {
    grid-template-columns: 1fr;
  }

  .release-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, var(--max));
    padding-top: 18px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    min-height: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(1, 8, 5, 0.94), rgba(1, 8, 5, 0.66)),
      linear-gradient(0deg, rgba(1, 8, 5, 0.76), rgba(1, 8, 5, 0.12));
  }

  .hero-copy {
    padding: 44px 20px 34px;
  }

  .title {
    font-size: 40px;
  }

  .hero-title {
    font-size: 62px;
  }

  .subtitle,
  .hero-subtitle,
  .section-header p:not(.eyebrow),
  .release-copy p {
    font-size: 16px;
  }

  .hero-card-fan {
    right: -16px;
    bottom: 18px;
    transform: scale(0.78);
    transform-origin: bottom right;
  }

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

  .section-band {
    padding: 38px 0;
  }

  .section-header h2,
  h2 {
    font-size: 30px;
  }

  .table-showcase {
    padding: 10px;
  }

  .felt-table {
    min-height: 320px;
  }

  .seat {
    min-width: 106px;
    font-size: 12px;
  }

  .seat-left {
    top: 18px;
    left: 14px;
  }

  .seat-right {
    top: 18px;
    right: 14px;
  }

  .seat-top {
    display: none;
  }

  .played-pile img {
    width: 82px;
    margin-left: -19px;
  }

  .meta {
    text-align: left;
  }
}
