:root {
  --ink: #102525;
  --muted: #5b6762;
  --paper: #fbf8ef;
  --line: #ded9ca;
  --teal: #0e7c75;
  --mint: #58d6b5;
  --gold: #f4c95d;
  --coral: #db6b55;
  --night: #0b181b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 37, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 24, 27, 0.78), rgba(11, 24, 27, 0.08));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: var(--night);
  background: var(--gold);
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 18, 18, 0.86), rgba(6, 18, 18, 0.45) 48%, rgba(6, 18, 18, 0.18)),
    linear-gradient(0deg, rgba(6, 18, 18, 0.78), rgba(6, 18, 18, 0.05) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 82px;
}

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

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.84);
}

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

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

.btn.primary {
  color: var(--night);
  background: var(--gold);
}

.btn.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn.ghost {
  color: var(--ink);
  background: #ece6d8;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-band {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.split,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.split p,
.feature-grid p,
.contact-grid p {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(16, 37, 37, 0.08);
}

.game-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  background-image: url("/assets/images/slot-covers-grid.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  cursor: pointer;
}

.slot-cat {
  background-position: left top;
}

.slot-heist {
  background-position: right top;
}

.slot-dragon {
  background-position: left bottom;
}

.slot-sweets {
  background-position: right bottom;
}

.game-body {
  padding: 18px;
}

.game-body p {
  min-height: 86px;
  margin: 0 0 16px;
  color: var(--muted);
}

.text-btn {
  border: 0;
  padding: 0;
  color: var(--teal);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fffdfa;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
}

.responsible {
  padding-top: 78px;
}

.notice {
  border-left: 8px solid var(--coral);
  padding: clamp(26px, 5vw, 54px);
  color: var(--white);
  background: var(--ink);
}

.notice p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
}

.notice h2 {
  max-width: 930px;
}

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

summary {
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-band {
  background: #eef7f3;
}

address {
  font-style: normal;
  color: var(--ink);
}

address a {
  color: var(--teal);
  font-weight: 800;
}

.owner {
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d2ca;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfb;
}

.contact-form textarea {
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #dff5eb;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--night);
  font-size: 14px;
}

.age-gate,
.game-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 18, 18, 0.78);
  backdrop-filter: blur(12px);
}

.age-gate[hidden],
.game-modal[hidden],
.denied[hidden] {
  display: none;
}

.age-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.age-panel h2 {
  font-size: clamp(28px, 5vw, 44px);
}

.age-panel p:not(.eyebrow) {
  color: var(--muted);
}

.denied {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 24px;
  text-align: center;
  color: var(--white);
  background: var(--night);
}

.denied h1 {
  font-size: clamp(40px, 8vw, 80px);
}

.modal-shell {
  width: min(1120px, 100%);
  height: min(760px, calc(100svh - 36px));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--white);
  background: #102525;
}

.modal-top h2 {
  font-size: 18px;
}

.close-modal {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--night);
}

.error-wrap {
  max-width: 620px;
  color: var(--white);
}

.error-wrap p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .game-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-bottom: 44px;
  }

  .section-inner {
    padding: 58px 0;
  }

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

  .game-body p {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
