:root {
  --ink: #17202f;
  --muted: #647084;
  --line: #dce4ef;
  --paper: #ffffff;
  --mist: #f6f9fc;
  --navy: #141b3d;
  --teal: #00a6a6;
  --lime: #a8e14a;
  --coral: #ff6b5f;
  --violet: #7657ff;
  --gold: #ffbf3f;
  --shadow: 0 18px 42px rgba(20, 27, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--mist);
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 228, 239, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 30deg, var(--coral), var(--gold), var(--lime), var(--teal), var(--violet), var(--coral));
  box-shadow: 0 10px 22px rgba(118, 87, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #3e4b60;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-links a:hover {
  background: #eef5f9;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #eef5f9;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 27, 61, 0.96), rgba(20, 27, 61, 0.72) 48%, rgba(20, 27, 61, 0.22)),
    url("../images/hero.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 68px 0 92px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  color: #102239;
  background: var(--lime);
  box-shadow: 0 14px 24px rgba(168, 225, 74, 0.24);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

main > section,
.content-page {
  padding: 72px 0;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.disclaimer {
  color: #fff;
  background: var(--navy);
}

.disclaimer .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.disclaimer h2 {
  color: var(--lime);
}

.disclaimer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.game-card,
.review-card,
.faq-item,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(20, 27, 61, 0.06);
}

.game-card {
  overflow: hidden;
}

.demo-card {
  position: relative;
}

.demo-card::before {
  content: "DEMO";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #101729;
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.thumb {
  aspect-ratio: 1.45 / 1;
  background-image: url("../images/games-sheet.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.demo-card .thumb {
  aspect-ratio: 1 / 1;
  background-image: url("../images/demo-slots.png");
  background-size: 200% 200%;
}

.thumb-1 { background-position: 0% 0%; }
.thumb-2 { background-position: 100% 0%; }
.thumb-3 { background-position: 0% 100%; }
.thumb-4 { background-position: 0% 100%; }
.thumb-5 { background-position: 50% 100%; }
.thumb-6 { background-position: 100% 100%; }

.demo-card .thumb-4 { background-position: 100% 100%; }

.game-body {
  padding: 18px;
}

.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #233047;
  background: #edf7f0;
  font-size: 0.78rem;
  font-weight: 900;
}

.rating {
  color: #7a4c00;
  font-weight: 900;
}

.game-body h3 {
  font-size: 1.25rem;
}

.game-body p,
.review-card p,
.info-card p,
.faq-panel {
  color: var(--muted);
}

.game-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.small-btn {
  flex: 1;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7fafc;
  font-weight: 900;
  text-align: center;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.small-btn.accent {
  color: #fff;
  border-color: transparent;
  background: var(--violet);
}

.benefits {
  background: #fff;
}

.benefit-grid,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 22px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #eef8f7;
  color: var(--teal);
  font-size: 1.25rem;
}

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

.review-card {
  padding: 22px;
}

.review-card strong {
  display: block;
  margin-top: 16px;
}

.stats {
  color: #fff;
  background: linear-gradient(135deg, #141b3d, #20366d 56%, #006d76);
}

.stat {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
}

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

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  font-size: 1.35rem;
}

.faq-panel {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.open .faq-panel {
  display: block;
}

.contact {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 12px;
}

.form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd7e5;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #101729;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 13, 24, 0.78);
  backdrop-filter: blur(10px);
}

.age-gate.show {
  display: flex;
}

.age-box {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.age-box h2 {
  font-size: 2rem;
}

.age-box p {
  color: var(--muted);
}

.age-box .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #f3f7fb;
}

.denied {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: #101729;
  text-align: center;
}

.denied.show {
  display: grid;
}

.game-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 10, 22, 0.82);
  backdrop-filter: blur(10px);
}

.game-modal.show {
  display: flex;
}

.game-modal-panel {
  width: min(1180px, 100%);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #101729;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.game-modal-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(90deg, #141b3d, #243874);
}

.game-modal-bar h2 {
  margin-top: 5px;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
}

.modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.game-frame-wrap {
  min-height: 560px;
  background: #050814;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  background: #050814;
}

.modal-note {
  margin: 0;
  padding: 12px 18px;
  color: rgba(255, 255, 255, 0.72);
  background: #101729;
  font-size: 0.92rem;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(420px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie.hide {
  display: none;
}

.cookie p {
  margin: 0 0 12px;
  color: var(--muted);
}

.page-hero {
  color: #fff;
  background: linear-gradient(135deg, #141b3d, #213b7a 58%, #00858a);
  padding: 76px 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.article {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.article h2 {
  margin-top: 34px;
  font-size: 1.7rem;
}

.article p,
.article li {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav-links.open {
    display: grid;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(20, 27, 61, 0.94), rgba(20, 27, 61, 0.72)),
      url("../images/hero.png") center / cover no-repeat;
  }

  .hero-inner {
    min-height: 560px;
  }

  .disclaimer .wrap,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .games-grid,
  .demo-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1160px);
  }

  .wrap,
  .hero-inner,
  .article {
    width: min(100% - 24px, 1160px);
  }

  .games-grid,
  .demo-grid,
  .reviews-grid,
  .benefit-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .game-modal {
    padding: 0;
  }

  .game-modal-panel {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }

  .game-frame-wrap,
  .game-frame-wrap iframe {
    min-height: calc(100vh - 148px);
  }

  main > section,
  .content-page {
    padding: 54px 0;
  }

  .hero-inner {
    padding: 48px 0 72px;
  }

  .actions,
  .game-actions {
    flex-direction: column;
  }

  .btn,
  .small-btn {
    width: 100%;
  }
}
