:root {
  --bg: #07101f;
  --bg-soft: #0d1830;
  --panel: rgba(12, 22, 44, 0.84);
  --panel-strong: #101b33;
  --surface-plain: #f3eee6;
  --surface-champagne: #d9c2a2;
  --surface-night: #0d1421;
  --surface-plum: #2d2030;
  --surface-ink: #13181f;
  --surface-stone: #efe7dd;
  --line: rgba(143, 170, 220, 0.22);
  --text: #edf3ff;
  --muted: #9fb2d9;
  --text-dark: #1a1a1a;
  --muted-dark: #51483f;
  --accent: #57d0ff;
  --accent-strong: #8d7dff;
  --gold: #d59d48;
  --success: #2fd27c;
  --danger: #ff5b62;
  --warning: #f7d774;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87, 208, 255, 0.15), transparent 34%),
    radial-gradient(circle at top right, rgba(141, 125, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #091121 0%, #07101f 38%, #050b16 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.25;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #a8e8ff;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.top-strip {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.84rem;
  color: #d7e5ff;
  background: linear-gradient(90deg, rgba(38, 56, 102, 0.95), rgba(20, 33, 65, 0.95));
  border-bottom: 1px solid rgba(151, 183, 255, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 31, 0.74);
  border-bottom: 1px solid var(--line);
}

.header-shell,
.footer-grid,
.legal-footer__inner,
.age-gate__links,
.cookie-banner__panel,
.cookie-modal__actions {
  display: flex;
  gap: 16px;
}

.header-shell {
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 199, 102, 0.18), rgba(213, 157, 72, 0.3));
  border: 1px solid rgba(236, 196, 130, 0.24);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.site-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 56px 0 0;
}

.hero-grid,
.stack-grid,
.play-grid,
.contact-placeholder,
.resource-grid,
.legal-grid,
.stat-grid,
.faq-grid,
.footer-grid,
.cards-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.editorial-home {
  background: #080d14;
}

.hero-editorial {
  padding-bottom: 46px;
}

.hero-editorial__grid,
.story-grid,
.statement-grid,
.intro-band,
.copy-columns,
.games-stage {
  display: grid;
  gap: 0;
}

.hero-editorial__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #12161d;
  border: 1px solid rgba(255, 214, 151, 0.14);
  min-height: 680px;
}

.hero-editorial__copy {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-editorial__copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.hero-editorial__copy p {
  max-width: 54ch;
}

.hero-editorial__media {
  margin: 0;
  min-height: 680px;
}

.hero-editorial__media img,
.story-media img,
.statement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-editorial__notes span {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 12px;
  min-width: 120px;
  color: #d8d0c4;
  font-size: 0.9rem;
}

.section-block {
  padding: 80px 0;
}

.section-block--champagne {
  background: var(--surface-champagne);
  color: var(--text-dark);
}

.section-block--night {
  background: linear-gradient(180deg, #0e1523 0%, #121c2d 100%);
}

.section-block--plum {
  background: linear-gradient(180deg, #2d2030 0%, #241a26 100%);
}

.section-block--ink {
  background: var(--surface-ink);
}

.section-block--stone {
  background: var(--surface-stone);
  color: var(--text-dark);
}

.section-block--plain {
  background: var(--surface-plain);
  color: var(--text-dark);
}

.section-block--champagne h2,
.section-block--stone h2,
.section-block--plain h2,
.section-block--champagne h3,
.section-block--stone h3,
.section-block--plain h3,
.section-block--champagne p,
.section-block--stone p,
.section-block--plain p,
.section-block--champagne li,
.section-block--stone li,
.section-block--plain li {
  color: inherit;
}

.section-block--champagne p,
.section-block--stone p,
.section-block--plain p,
.section-block--champagne li,
.section-block--stone li,
.section-block--plain li {
  color: var(--muted-dark);
}

.intro-band {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 32px;
}

.kicker {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
}

.block-heading {
  margin-bottom: 30px;
  max-width: 760px;
}

.block-heading--wide {
  max-width: 940px;
}

.block-heading h2,
.intro-band h2,
.story-copy h2,
.statement-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.games-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.slot-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 221, 175, 0.12);
}

.slot-panel__head {
  margin-bottom: 18px;
}

.slot-panel__head h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.slot-panel__head p {
  margin: 0;
}

.slot-frame {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #070b12;
}

.slot-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-grid,
.statement-grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.statement-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.story-copy,
.statement-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-media,
.statement-media {
  margin: 0;
  min-height: 560px;
}

.story-list {
  margin: 26px 0 0;
  padding-left: 18px;
}

.story-list li + li {
  margin-top: 10px;
}

.facts-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.facts-ribbon div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.facts-ribbon strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.copy-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.copy-columns h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.compliance-flow {
  border-top: 1px solid rgba(30, 24, 18, 0.18);
  padding-top: 18px;
}

.faq-simple__list {
  border-top: 1px solid rgba(24, 24, 24, 0.14);
}

.faq-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(24, 24, 24, 0.14);
}

.faq-row h3,
.faq-row p {
  margin: 0;
}

.contact-hero {
  padding-bottom: 36px;
}

.page-heading--contact p {
  max-width: 60ch;
}

.about-band,
.contact-layout,
.form-layout {
  display: grid;
  gap: 36px;
}

.about-band {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.about-band__copy p {
  color: var(--muted-dark);
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.contact-details,
.contact-map,
.contact-form-card,
.team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 217, 169, 0.12);
}

.contact-details,
.contact-form-card {
  padding: 28px;
}

.office-list {
  display: grid;
  gap: 18px;
}

.office-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.office-item p {
  margin: 0;
}

.contact-map {
  overflow: hidden;
  min-height: 460px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-card__body {
  padding: 22px;
}

.team-card__body h3 {
  margin: 0 0 6px;
  color: var(--text-dark);
}

.team-role {
  margin: 0 0 14px;
  color: #7b5d35;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.team-card__body p:last-child {
  margin: 0;
  color: var(--muted-dark);
}

.form-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.92rem;
  color: #e6ddd1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 13, 20, 0.38);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  border-radius: 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-notice {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.form-notice strong {
  display: block;
  margin-bottom: 8px;
}

.form-notice--success {
  background: rgba(47, 210, 124, 0.14);
  border: 1px solid rgba(47, 210, 124, 0.34);
  color: #d9ffe9;
}

.form-notice--error {
  background: rgba(255, 91, 98, 0.14);
  border: 1px solid rgba(255, 91, 98, 0.34);
  color: #ffe3e5;
}

.form-notice--error ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dce9ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(171, 198, 255, 0.14);
  font-size: 0.88rem;
}

.hero h1,
.section-heading h2,
.page-heading h1,
.legal-page h1,
.denied-box h1 {
  margin: 18px 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.hero p,
.section-heading p,
.lead,
.legal-page p,
.legal-page li,
.cookie-banner__copy p,
.contact-card p,
.faq-item p,
.game-card p,
.notice-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.inline-actions,
.cookie-banner__actions,
.cookie-modal__actions,
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 16px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.button-primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--accent), #8ce5ff);
  box-shadow: 0 10px 28px rgba(87, 208, 255, 0.22);
}

.button-muted {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.button-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.button-success {
  color: #02110b;
  background: linear-gradient(135deg, #2fd27c, #9cffc9);
}

.button-danger {
  color: #fff;
  background: linear-gradient(135deg, #aa2e3a, #ff5b62);
}

.hero-visual,
.glass-card,
.game-card,
.notice-card,
.faq-item,
.contact-card,
.legal-panel,
.denied-box,
.resource-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-visual {
  border-radius: 30px;
  overflow: hidden;
  padding: 18px;
}

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

.stack-tall,
.stack-small {
  border-radius: 24px;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(195, 216, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.stack-tall img,
.stack-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 28px 0 72px;
}

.section-heading,
.page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cards-grid,
.play-grid,
.resource-grid,
.faq-grid,
.contact-placeholder,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card,
.resource-card,
.faq-item,
.contact-card,
.game-card,
.notice-card,
.legal-panel {
  border-radius: 26px;
  padding: 24px;
}

.glass-card h3,
.resource-card h3,
.faq-item h3,
.contact-card h3,
.game-card h3,
.notice-card h3,
.legal-panel h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 216, 255, 0.14);
  color: #dce9ff;
  font-size: 0.84rem;
}

.notice-card {
  display: grid;
  gap: 8px;
  border-color: rgba(247, 215, 116, 0.34);
  background: linear-gradient(135deg, rgba(247, 215, 116, 0.13), rgba(255, 255, 255, 0.03));
}

.game-card {
  position: relative;
  overflow: hidden;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(87, 208, 255, 0.18), transparent 65%);
}

.game-card__status {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffe5b2;
  background: rgba(255, 181, 72, 0.14);
  border: 1px solid rgba(255, 181, 72, 0.22);
}

.resource-card a,
.contact-card a {
  font-weight: 700;
}

.stat-grid {
  margin-top: 24px;
}

.stat {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(186, 210, 255, 0.12);
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.site-footer,
.legal-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 18, 0.86);
  margin-top: 72px;
}

.footer-grid,
.legal-footer__inner {
  padding: 28px 0;
  align-items: start;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-top: 0;
}

.footer-grid a,
.legal-footer__inner a {
  display: block;
  margin-top: 8px;
}

.footer-meta {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__panel,
.cookie-modal__panel {
  width: min(960px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 31, 0.94);
  box-shadow: var(--shadow);
}

.cookie-banner__panel {
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__copy {
  max-width: 620px;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 10, 0.72);
}

.cookie-modal.is-visible {
  display: grid;
}

.cookie-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted);
}

.cookie-choice input {
  margin-top: 4px;
}

.cookie-choice--fixed {
  opacity: 0.8;
}

.age-shell,
.denied-shell,
.legal-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.age-page,
.denied-page,
.legal-page {
  padding: 42px 0 72px;
}

.age-gate,
.denied-box,
.legal-panel {
  border-radius: 32px;
}

.age-gate {
  padding: 32px;
  background: linear-gradient(160deg, rgba(16, 27, 51, 0.95), rgba(9, 17, 33, 0.95));
  border: 1px solid rgba(176, 204, 255, 0.14);
  box-shadow: var(--shadow);
}

.age-gate__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.age-gate__brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.age-gate h1,
.denied-box h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.age-gate__links {
  margin-top: 18px;
  flex-wrap: wrap;
}

.age-gate__links a {
  color: var(--muted);
}

.denied-box {
  padding: 32px;
}

.denied-list,
.legal-page ul {
  color: var(--muted);
  line-height: 1.8;
}

.legal-page h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 28px;
}

.legal-page .muted-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.isolated-page .legal-panel {
  background: rgba(8, 15, 29, 0.94);
}

.hidden-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .about-band,
  .contact-layout,
  .team-grid,
  .form-layout,
  .hero-editorial__grid,
  .intro-band,
  .story-grid,
  .statement-grid,
  .copy-columns,
  .games-stage,
  .hero-grid,
  .cards-grid,
  .play-grid,
  .resource-grid,
  .faq-grid,
  .contact-placeholder,
  .footer-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-editorial__copy,
  .story-copy,
  .statement-copy {
    padding: 32px 24px;
  }

  .hero-editorial__media,
  .story-media,
  .statement-media {
    min-height: 420px;
  }

  .faq-row {
    grid-template-columns: 1fr;
  }

  .facts-ribbon {
    grid-template-columns: 1fr;
  }

  .cookie-banner__panel,
  .header-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 28px;
  }

  .hero-editorial__copy h1 {
    max-width: none;
  }

  .section-block {
    padding: 56px 0;
  }

  .age-gate,
  .denied-box,
  .glass-card,
  .resource-card,
  .faq-item,
  .contact-card,
  .game-card,
  .notice-card,
  .legal-panel {
    padding: 20px;
    border-radius: 24px;
  }

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

  .brand {
    align-items: flex-start;
  }
}
