:root {
  --bg: #0d1418;
  --bg-soft: #121d22;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(241, 211, 164, 0.18);
  --text: #eef1ee;
  --muted: #b8c0bc;
  --gold: #f1d3a4;
  --teal: #8ca7a1;
  --teal-deep: #54706b;
  --danger: #d76565;
  --success: #4da36a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: min(1120px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140, 167, 161, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(241, 211, 164, 0.12), transparent 25%),
    linear-gradient(180deg, #0d1418 0%, #11191f 48%, #0d1418 100%);
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 85%);
  pointer-events: none;
  z-index: -1;
}

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

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-solid {
  background: linear-gradient(135deg, var(--gold), #d9b37d);
  color: #11181b;
}

.button-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(13, 20, 24, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .shell,
.site-footer .shell,
.legal-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .shell {
  padding: 18px 0;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(241, 211, 164, 0.18), rgba(140, 167, 161, 0.2));
  border: 1px solid rgba(241, 211, 164, 0.24);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

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

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

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

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

.section {
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.section h1,
.section h2,
.section h3,
.legal-article h1,
.legal-article h2,
.age-card h1,
.blocked-card h1 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero {
  padding: 54px 0 96px;
}

.hero-grid,
.split-panel,
.contact-layout,
.responsible-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  max-width: 11ch;
}

.hero-copy p,
.split-copy p,
.section-copy p,
.form-intro p,
.legal-article p,
.legal-article li,
.responsible-copy p,
.blocked-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy .lede {
  margin: 24px 0 0;
  max-width: 62ch;
}

.hero-actions,
.pill-list,
.quick-topics,
.legal-reference-list,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-media,
.image-card,
.contact-card,
.feature-card,
.game-card,
.staff-card,
.responsible-card,
.faq-card,
.form-card,
.legal-article,
.age-card,
.blocked-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-media {
  overflow: hidden;
  min-height: 620px;
  position: relative;
}

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

.hero-media::after,
.image-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(9, 14, 16, 0.64));
}

.hero-badges {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  max-width: 550px;
}

.hero-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-badge strong {
  display: block;
  margin-bottom: 4px;
}

.split-panel,
.contact-layout,
.responsible-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-card {
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

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

.section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  max-width: 11ch;
}

.section-heading p {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
}

.feature-grid,
.games-grid,
.staff-grid,
.faq-grid,
.responsible-cards {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.game-card,
.staff-card,
.responsible-card,
.faq-card,
.form-card,
.contact-card {
  padding: 24px;
}

.feature-card h3,
.game-card h3,
.staff-card h3,
.responsible-card h3,
.faq-card h3,
.form-card h3,
.contact-card h3 {
  margin: 0 0 14px;
  font-size: 1.22rem;
}

.feature-card p,
.game-card p,
.staff-card p,
.responsible-card p,
.faq-card p,
.form-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-index,
.game-index {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--gold);
  background: rgba(241, 211, 164, 0.12);
}

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

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

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(140, 167, 161, 0.08), transparent 45%, rgba(241, 211, 164, 0.05));
  pointer-events: none;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

.game-actions {
  margin-top: 20px;
}

.staff-grid,
.faq-grid,
.responsible-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-card figure {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 4.2;
}

.staff-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-role,
.muted-note,
.form-note,
.contact-meta {
  display: block;
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-band {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.form-card form,
.age-card form {
  display: grid;
  gap: 16px;
}

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

.field,
.full-field {
  display: grid;
  gap: 8px;
}

.full-field {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

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

input:focus,
textarea:focus {
  border-color: rgba(241, 211, 164, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.quick-topics button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.quick-topics button.is-selected,
.quick-topics button:hover {
  border-color: rgba(241, 211, 164, 0.3);
  color: var(--text);
}

.checklist {
  display: grid;
  gap: 12px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check input {
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  color: var(--gold);
  font-size: 0.95rem;
}

.contact-card a,
.legal-reference-list a,
.responsible-card a,
.legal-article a {
  color: var(--gold);
}

.contact-stack,
.legal-reference-list,
.responsible-list {
  display: grid;
  gap: 12px;
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-article {
  padding: 34px;
}

.legal-article h1 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  margin-bottom: 22px;
}

.legal-article h2 {
  font-size: 2rem;
  margin: 34px 0 14px;
}

.legal-article ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-footer {
  padding: 20px 0 40px;
}

.legal-footer-inner {
  justify-content: center;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--muted);
}

.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  align-items: start;
}

.footer-brand {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--gold);
}

.footer-note {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.65;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.age-shell,
.blocked-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.age-card,
.blocked-card {
  width: min(560px, calc(100vw - 40px));
  padding: 34px;
  text-align: center;
}

.age-card h1,
.blocked-card h1 {
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  margin-bottom: 16px;
}

.age-card p,
.blocked-card p {
  margin: 0 0 24px;
}

.age-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.age-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.blocked-card {
  max-width: 680px;
}

.blocked-reasons {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.blocked-reason {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}

.cookie-banner__panel {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(11, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cookie-banner__eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal[hidden],
.cookie-banner[hidden] {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.cookie-modal__card {
  position: relative;
  width: min(520px, calc(100vw - 40px));
  margin: 12vh auto 0;
  padding: 30px;
  border-radius: 30px;
  background: #10181d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  margin: 18px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(241, 211, 164, 0.95);
  color: #11181b;
  font-weight: 700;
  z-index: 90;
  box-shadow: var(--shadow);
}

.section-divider {
  width: 100%;
  height: 1px;
  margin: 10px 0 0;
  background: linear-gradient(90deg, transparent, rgba(241, 211, 164, 0.35), transparent);
}

.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;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-panel,
  .contact-layout,
  .responsible-grid,
  .feature-grid,
  .games-grid,
  .staff-grid,
  .faq-grid,
  .responsible-cards {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .image-card {
    min-height: 420px;
  }

  .cookie-banner__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header .shell,
  .site-footer .shell,
  .legal-footer .shell,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .form-grid,
  .age-actions {
    grid-template-columns: 1fr;
  }

  .section,
  .hero,
  .legal-page {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .age-card,
  .blocked-card,
  .legal-article,
  .hero-media,
  .image-card,
  .feature-card,
  .game-card,
  .staff-card,
  .responsible-card,
  .faq-card,
  .form-card,
  .contact-card {
    border-radius: 24px;
  }
}
