:root {
  --brand: #ffc827;
  --brand-2: #7a4cff;
  --ink: #fffaf0;
  --text: #1d1828;
  --muted: #f4e8bd;
  --panel: #fff5cf;
  --panel-strong: #ffe28a;
  --deep: #111018;
  --deep-2: #201531;
  --ruby: #c9294e;
  --shadow: 0 22px 70px rgb(0 0 0 / 30%);
  --radius: 8px;
  --container: min(1180px, calc(100% - 32px));
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 900px;
  margin-inline: auto;
}

.center {
  text-align: center;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #111018;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(17 16 24 / 94%);
  border-bottom: 1px solid rgb(255 200 39 / 20%);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand,
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  background: #fff;
  padding: 7px 10px;
}

.brand img,
.footer-logo {
  width: 180px;
  height: auto;
}

.nav-menu,
.nav-actions,
.button-row,
.footer-links,
.fallback-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.nav-menu {
  justify-content: center;
  font-weight: 900;
}

.nav-menu a,
.footer-links a,
.fallback-nav a {
  padding: 7px 2px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--brand);
}

.fallback-nav {
  padding: 14px 0;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 24px;
  background: var(--brand);
  color: #111018;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 14%) inset;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 36px;
  padding: 8px 14px;
}

.btn-large {
  min-width: 210px;
}

.btn-accent {
  background: var(--brand-2);
  color: #fff;
}

.btn-soft {
  background: #fffaf0;
  color: #111018;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgb(17 16 24 / 82%), rgb(17 16 24 / 50)),
    url("../images/crown99-hero-ai.png") center / cover no-repeat;
}

.hero-home {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 58%)),
    url("../images/crown99/head6.webp") center / cover no-repeat;
}

.hero-app {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 88%), rgb(17 16 24 / 62%)),
    url("../images/crown99/head5-1.webp") center / cover no-repeat;
}

.hero-casino {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 88%), rgb(17 16 24 / 62%)),
    url("../images/crown99/head6.webp") center / cover no-repeat;
}

.hero-games {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 88%), rgb(17 16 24 / 62%)),
    url("../images/crown99/head6.webp") center / cover no-repeat;
}

.hero-esports {
  background:
    radial-gradient(circle at 72% 28%, rgb(122 76 255 / 26%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 62%)),
    url("../images/crown99/gpt-cbfybaxb.jpg") center / cover no-repeat;
}

.hero-fish {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 88%), rgb(17 16 24 / 62%)),
    url("../images/crown99/gpt-rivqq8rx-930x620.jpg") center / cover no-repeat;
}

.hero-promotion {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 62%)),
    url("../images/crown99/ff0713747cb66aed65a32-1.jpg") center / cover no-repeat;
}

.hero-vip {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 26%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 60%)),
    url("../images/crown99/gpt-9rz7qt0m.jpg") center / cover no-repeat;
}

.hero-login {
  background:
    radial-gradient(circle at 72% 28%, rgb(122 76 255 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 62%)),
    url("../images/crown99/gpt-cbfybaxb.jpg") center / cover no-repeat;
}

.hero-about {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 200 39 / 24%), transparent 34%),
    linear-gradient(90deg, rgb(17 16 24 / 90%), rgb(17 16 24 / 62%)),
    url("../images/crown99/gpt-rivqq8rx-930x620.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

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

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

h1,
h2,
h3 {
  font-family: Arial Black, Impact, Inter, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 740px;
  color: #fff7d2;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.28;
  font-weight: 750;
}

.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgb(255 255 255 / 8%);
  box-shadow: var(--shadow);
}

.content-section {
  padding: clamp(48px, 7vw, 86px) 0;
  background: var(--deep-2);
}

.section-muted {
  background: #17111f;
}

.section-readable {
  background: #25183a;
}

.content-section p,
.section-heading p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 700;
}

.prose p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 700;
}

.prose p:last-child {
  margin-bottom: 0;
}

.center-copy {
  text-align: center;
  margin-inline: auto;
}

.center-copy h2,
.center-copy p {
  text-align: center;
  margin-inline: auto;
}

.section-heading {
  margin-inline: auto;
  max-width: 980px;
}

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

.info-card {
  min-height: 100%;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel);
  color: var(--text);
}

.info-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
}

.info-card p + p {
  margin-top: 12px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.promo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 200 39 / 22%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
  box-shadow: 0 18px 42px rgb(0 0 0 / 18%);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111018;
}

.promo-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.promo-card h3 {
  color: var(--brand);
}

.promo-card p {
  margin-bottom: 0;
  color: #fff7d2;
  font-size: 1rem;
  line-height: 1.38;
}

.promo-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid rgb(255 200 39 / 22%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
}

.vip-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.vip-table th,
.vip-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgb(255 200 39 / 16%);
  text-align: left;
  vertical-align: top;
}

.vip-table th {
  background: var(--brand);
  color: #111018;
  font-weight: 900;
}

.vip-table td {
  color: #fff7d2;
  font-weight: 750;
}

.vip-table tr:last-child td {
  border-bottom: 0;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.term-card {
  border: 1px solid rgb(255 200 39 / 22%);
  border-radius: var(--radius);
  padding: 20px;
  background: rgb(255 255 255 / 8%);
}

.term-card h3 {
  color: var(--brand);
}

.term-card p {
  margin-bottom: 0;
  color: #fff7d2;
  font-size: 0.98rem;
  line-height: 1.32;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
  box-shadow: var(--shadow);
}

.image-panel img,
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-panel {
  margin-top: 24px;
  border-radius: var(--radius);
  padding: 22px;
  background: rgb(255 255 255 / 8%);
  box-shadow: 0 0 0 1px rgb(255 200 39 / 20%) inset;
}

.download-panel h3 {
  color: var(--brand);
}

.download-panel p {
  margin-bottom: 18px;
}

.download-panel .button-row {
  justify-content: center;
}

.clean-list {
  display: grid;
  gap: 8px;
  margin: 12px auto 20px;
  padding-left: 1.2rem;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.center-copy .clean-list {
  max-width: 680px;
}

.section-cta {
  background:
    linear-gradient(135deg, rgb(255 200 39 / 20%), rgb(122 76 255 / 18%)),
    #17111f;
}

.section-cta p {
  max-width: 880px;
  margin-inline: auto;
}

.section-cta .button-row {
  justify-content: center;
  margin-top: 24px;
}

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

.faq-list details {
  border: 1px solid rgb(255 200 39 / 24%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-weight: 700;
}

.wide-image {
  width: min(1040px, 100%);
  margin: 26px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 50px 0 88px;
  background: #052d3a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  width: 178px;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-weight: 900;
}

.site-footer h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.payment-grid span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #111018;
  font-weight: 900;
}

.copyright {
  margin-top: 32px;
  text-align: center;
  font-weight: 900;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 18px;
  left: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin-inline: auto;
  padding: 14px;
  border-radius: var(--radius);
  background: rgb(17 16 24 / 84%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu,
  .nav-actions {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 16px;
  }

  .nav-menu.is-open,
  .nav-actions.is-open {
    display: flex;
  }

  .nav-menu a,
  .nav-actions a {
    justify-content: center;
    text-align: center;
  }

  .hero-grid,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .button-row {
    justify-content: center;
  }

  .feature-grid,
  .page-grid,
  .promo-grid,
  .glossary-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 22px, 1180px);
  }

  .btn,
  .btn-large {
    width: 100%;
    min-width: 0;
  }

  .feature-grid,
  .page-grid,
  .promo-grid,
  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px;
  }
}
