:root {
  color-scheme: dark;
  --bg: #070806;
  --panel: rgba(13, 18, 14, 0.78);
  --panel-strong: rgba(20, 16, 10, 0.9);
  --text: #f7f1df;
  --muted: #b9aa87;
  --soft: #8f846e;
  --gold: #d8aa43;
  --gold-bright: #f3d27a;
  --green: #20b36b;
  --red: #b8182a;
  --line: rgba(216, 170, 67, 0.2);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 6, 0.08), rgba(7, 8, 6, 0.78)),
    url("./assets/poker-lounge-bg.svg") center top / cover fixed no-repeat,
    radial-gradient(circle at 14% 18%, rgba(184, 24, 42, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(216, 170, 67, 0.15), transparent 24rem),
    linear-gradient(135deg, #090806 0%, #10120d 46%, #07140e 100%);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 6, 0.82);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-link strong,
.brand-link small {
  display: block;
  line-height: 1.2;
}

.brand-link strong {
  font-size: 16px;
  font-weight: 800;
}

.brand-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a {
  border-radius: 6px;
  padding: 9px 11px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(216, 170, 67, 0.1);
  color: var(--gold-bright);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: clamp(32px, 8vw, 96px);
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 88px) clamp(44px, 8vw, 96px);
}

.hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 96px);
  bottom: 20px;
  color: rgba(216, 170, 67, 0.08);
  content: "♠ ♥ ♦ ♣";
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(56px, 10vw, 124px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.75;
}

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

.primary-action,
.record-number {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  padding: 0 22px;
  background: var(--gold);
  color: #1a1107;
  box-shadow: 0 14px 38px rgba(216, 170, 67, 0.26);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--gold-bright);
  outline: none;
  transform: translateY(-1px);
}

.record-number {
  border: 1px solid var(--line);
  padding: 0 18px;
  background: rgba(13, 11, 8, 0.7);
  color: var(--gold-bright);
  font-size: 15px;
}

.brand-medal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(216, 170, 67, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 170, 67, 0.22) 0 34%, transparent 36%),
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(23, 50, 35, 0.9), rgba(10, 11, 8, 0.94));
  box-shadow: var(--shadow);
}

.brand-medal img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.38));
}

.brand-medal span {
  position: absolute;
  bottom: 14%;
  color: rgba(247, 241, 223, 0.16);
  font-size: 44px;
  font-weight: 950;
  letter-spacing: 0;
}

.section {
  padding: clamp(46px, 8vw, 92px) clamp(20px, 6vw, 88px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.48fr);
  gap: 24px;
  align-items: end;
  max-width: 1160px;
  margin: 0 auto 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p,
.record-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.brand-section {
  background: linear-gradient(180deg, rgba(8, 8, 7, 0), rgba(8, 8, 7, 0.72));
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}

.info-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 244, 205, 0.08), rgba(255, 255, 255, 0) 34%),
    var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.info-card h3 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 800;
}

.info-card p {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.55;
}

.record-section {
  padding-bottom: clamp(60px, 8vw, 110px);
}

.record-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.48fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid rgba(216, 170, 67, 0.24);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 98% 0%, rgba(184, 24, 42, 0.16), transparent 18rem),
    linear-gradient(150deg, rgba(20, 16, 10, 0.92), rgba(11, 21, 15, 0.9));
  box-shadow: var(--shadow);
}

.record-panel h2 {
  margin-bottom: 18px;
}

.record-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.record-list div {
  border: 1px solid rgba(216, 170, 67, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(7, 8, 6, 0.42);
}

.record-list dt {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.record-list dd {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.45;
}

.record-list a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(243, 210, 122, 0.36);
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(216, 170, 67, 0.15);
  background: rgba(9, 8, 6, 0.92);
  color: var(--soft);
  font-size: 13px;
}

.site-footer a {
  color: var(--gold-bright);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .hero p {
    font-size: 18px;
  }

  .brand-medal {
    width: min(78vw, 310px);
  }

  .section-heading,
  .record-panel {
    grid-template-columns: 1fr;
  }

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

  .info-card {
    min-height: auto;
  }

  .info-card p {
    font-size: 19px;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .record-number {
    justify-content: center;
    width: 100%;
  }

  .record-list dd {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

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