@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --noir-900: #06060c;
  --noir-800: #0c0c16;
  --noir-700: #12121f;
  --surface-600: #1a1a2b;
  --surface-500: #242438;
  --line: rgba(232, 197, 71, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #e8c547;
  --gold-deep: #c9a227;
  --gold-soft: #f5e6a6;
  --neon: #2ee6b0;
  --neon-deep: #12b487;
  --magenta: #ff4d94;
  --text-100: #f7f7fc;
  --text-300: #d2d2e2;
  --text-500: #a0a0bb;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --glow-gold: 0 0 70px rgba(232, 197, 71, 0.16);
  --glow-neon: 0 0 60px rgba(46, 230, 176, 0.18);
  --font-display: "Space Grotesk", "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--noir-900);
  color: var(--text-100);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-100);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1rem; color: var(--text-300); }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover { color: var(--gold-soft); }

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

.btn-gold,
.btn-ghost,
.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.18s ease;
  line-height: 1;
}

.btn-gold {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #16160f;
  box-shadow: 0 12px 34px rgba(232, 197, 71, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: #0a0a06;
  box-shadow: 0 16px 44px rgba(232, 197, 71, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  border-color: var(--line-soft);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  transform: translateY(-2px);
}

.btn-neon {
  background: linear-gradient(140deg, var(--neon), var(--neon-deep));
  color: #04140f;
  box-shadow: var(--glow-neon);
}

.btn-neon:hover {
  transform: translateY(-2px);
  color: #04140f;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(180deg, rgba(6, 6, 12, 0.94), rgba(6, 6, 12, 0.72));
  border-bottom: 1px solid transparent;
  transition: border-color 0.28s ease, background 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header--scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 6, 12, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-100);
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--text-100); }

.brand__logo {
  border-radius: 10px;
  box-shadow: var(--glow-gold);
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .navbar-nav .nav-link.site-nav__link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--text-300);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header .navbar-nav .nav-link.site-nav__link:hover,
.site-header .navbar-nav .nav-link.site-nav__link:focus,
.site-header .navbar-nav .nav-link.site-nav__link:focus-visible,
.site-header .navbar-nav .nav-link.site-nav__link:active,
.site-header .navbar-nav .nav-link.site-nav__link:visited {
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.05);
}

.site-header .navbar-nav .nav-link.site-nav__link.active,
.site-header .navbar-nav .nav-link.site-nav__link.show,
.site-header .navbar-nav .nav-link.site-nav__link--active,
.site-header .navbar-nav .nav-link.site-nav__link--active:hover,
.site-header .navbar-nav .nav-link.site-nav__link--active:focus,
.site-header .navbar-nav .nav-link.site-nav__link--active:active {
  color: var(--noir-900);
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  font-weight: 600;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(232, 197, 71, 0.08);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-300);
  flex-wrap: wrap;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-300);
}

.header-contact i {
  color: var(--gold);
  font-size: 0.85rem;
}

.header-contact a {
  color: var(--text-300);
}

.header-contact a:hover {
  color: var(--gold-soft);
}

.site-burger {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(232, 197, 71, 0.08);
  color: var(--gold);
  box-shadow: none;
}

.site-burger:hover,
.site-burger:focus-visible {
  border-color: var(--gold);
  background: rgba(232, 197, 71, 0.16);
  color: var(--gold-soft);
}

.site-burger:focus {
  box-shadow: 0 0 0 0.2rem rgba(232, 197, 71, 0.25);
}

.site-burger__box {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
}

.site-burger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.site-burger__line:nth-child(1) { top: 0; }
.site-burger__line:nth-child(2) { top: 6px; }
.site-burger__line:nth-child(3) { top: 12px; }

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(2) {
  opacity: 0;
}

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 10%, rgba(46, 230, 176, 0.12), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 77, 148, 0.12);
  border: 1px solid rgba(255, 77, 148, 0.35);
  color: var(--magenta);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}

.hero__title {
  margin-bottom: 1.2rem;
}

.hero__title span {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-300);
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero__note {
  font-size: 0.82rem;
  color: var(--text-500);
  max-width: 560px;
}

.hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -80px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--band {
  background: linear-gradient(180deg, var(--noir-900), var(--noir-800) 50%, var(--noir-900));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section--bg {
  background-size: cover;
  background-position: center;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section__title {
  max-width: 820px;
}

.section__lead {
  max-width: 680px;
  color: var(--text-300);
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
}

.panel {
  background: linear-gradient(165deg, var(--surface-600), var(--noir-700));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.panel--glow {
  border-color: var(--line);
  box-shadow: var(--glow-gold);
}

.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--surface-600), var(--noir-700));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--glow-gold);
}

.game-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #141426, #0a0a14);
  overflow: hidden;
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(6, 6, 12, 0.8);
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.game-card__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.game-card__title {
  font-size: 1.3rem;
  margin: 0;
}

.game-card__meta {
  font-size: 0.85rem;
  color: var(--text-500);
  margin: 0;
}

.game-card__play {
  margin-top: auto;
  align-self: flex-start;
}

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 197, 71, 0.1);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.feature-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-300);
  margin: 0;
}

.step-card {
  position: relative;
  padding: 1.9rem 1.5rem 1.6rem;
  background: linear-gradient(160deg, var(--surface-600), var(--noir-700));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  height: 100%;
}

.step-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.step-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card__text {
  font-size: 0.95rem;
  color: var(--text-300);
  margin: 0;
}

.notice {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 77, 148, 0.3);
  background: rgba(255, 77, 148, 0.07);
}

.notice__icon {
  flex: 0 0 auto;
  color: var(--magenta);
  font-size: 1.4rem;
  line-height: 1.4;
}

.notice__text {
  margin: 0;
  color: var(--text-100);
  font-size: 0.97rem;
}

.notice--gold {
  border-color: var(--line);
  background: rgba(232, 197, 71, 0.07);
}

.notice--gold .notice__icon {
  color: var(--gold);
}

.stat {
  text-align: center;
  padding: 1.2rem 0.6rem;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  background: linear-gradient(140deg, var(--gold-soft), var(--gold), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat__label {
  font-size: 0.86rem;
  color: var(--text-500);
  letter-spacing: 0.04em;
}

.quote {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  height: 100%;
}

.quote__text {
  font-size: 0.98rem;
  color: var(--text-100);
  margin-bottom: 1rem;
}

.quote__author {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.hero-slider {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--noir-800);
}

.hero-slider .carousel-item img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.hero-slider .carousel-indicators [data-bs-target] {
  background-color: var(--gold);
  width: 26px;
  height: 3px;
  border-radius: 999px;
  opacity: 0.4;
}

.hero-slider .carousel-indicators .active {
  opacity: 1;
}

.hero-slider .carousel-caption {
  background: linear-gradient(0deg, rgba(6, 6, 12, 0.85), transparent);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.6rem 1.4rem;
  text-align: left;
}

.accordion-item {
  background: var(--surface-600);
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--surface-600);
  color: var(--text-100);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.15rem 1.3rem;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--gold);
  background: var(--surface-500);
  box-shadow: inset 0 -1px 0 var(--line-soft);
}

.accordion-button::after {
  filter: invert(0.85) sepia(0.5) saturate(4) hue-rotate(2deg);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}

.accordion-body {
  color: var(--text-300);
  font-size: 0.97rem;
  padding: 0.4rem 1.3rem 1.3rem;
  background: var(--surface-500);
}

.contact-form {
  background: linear-gradient(165deg, var(--surface-600), var(--noir-700));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-300);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background: var(--noir-800);
  border: 1px solid var(--line-soft);
  color: var(--text-100);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.form-control::placeholder {
  color: var(--text-500);
  opacity: 1;
}

.form-control:focus,
.form-select:focus {
  background: var(--noir-800);
  color: var(--text-100);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.18);
}

.form-check-input {
  background-color: var(--noir-800);
  border-color: var(--line-soft);
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.form-check-label {
  color: var(--text-300);
  font-size: 0.9rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-500);
  margin-top: 0.8rem;
}

.map-frame {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  filter: grayscale(0.3) contrast(1.05);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.site-footer {
  background: linear-gradient(180deg, var(--noir-800), var(--noir-900));
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-100);
  margin-bottom: 1rem;
}

.footer__text {
  font-size: 0.9rem;
  color: var(--text-500);
  margin-bottom: 1.1rem;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__link {
  color: var(--text-300);
  font-size: 0.92rem;
}

.footer__link:hover {
  color: var(--gold-soft);
}

.footer__contacts {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--text-300);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__contact-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer__contact-row i {
  color: var(--gold);
  margin-top: 0.25rem;
}

.footer__contact-row a {
  color: var(--text-300);
}

.footer__contact-row a:hover {
  color: var(--gold-soft);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--text-300);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer__social-link:hover {
  color: var(--gold);
  border-color: var(--line);
  transform: translateY(-2px);
}

.footer__warning {
  margin-top: 2.4rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(232, 197, 71, 0.06);
  font-size: 0.9rem;
  color: var(--text-100);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-500);
}

.footer__legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal a {
  color: var(--text-500);
}

.footer__legal a:hover {
  color: var(--gold-soft);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 6, 12, 0.92);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.age-gate__panel {
  width: min(520px, 100%);
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-600), var(--noir-800));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), var(--glow-gold);
}

.age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  box-shadow: var(--glow-gold);
}

.age-gate__title {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin-bottom: 0.7rem;
}

.age-gate__text {
  color: var(--text-300);
  font-size: 0.98rem;
  margin-bottom: 1.7rem;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.age-gate__btn {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.age-gate__btn--confirm {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #16160f;
  box-shadow: 0 12px 34px rgba(232, 197, 71, 0.3);
}

.age-gate__btn--confirm:hover {
  transform: translateY(-2px);
}

.age-gate__btn--exit {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--text-300);
}

.age-gate__btn--exit:hover {
  color: var(--text-100);
  border-color: var(--line);
}

.age-gate__fine {
  margin-top: 1.1rem;
  font-size: 0.76rem;
  color: var(--text-500);
}

.game-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 6, 12, 0.94);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.game-modal__panel {
  width: min(1120px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--noir-800);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.game-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(232, 197, 71, 0.05);
}

.game-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--gold);
  margin: 0;
}

.game-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text-300);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.game-modal__close:hover {
  color: var(--gold);
  border-color: var(--line);
}

.game-modal__body {
  background: #000;
  aspect-ratio: 16 / 10;
}

.game-modal__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.perle-cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1900;
  width: min(1120px, calc(100% - 28px));
}

.perle-cookie__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(26, 26, 43, 0.97), rgba(12, 12, 22, 0.97));
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), var(--glow-gold);
}

.perle-cookie__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(232, 197, 71, 0.1);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.3rem;
}

.perle-cookie__body {
  flex: 1 1 auto;
  min-width: 180px;
}

.perle-cookie__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-100);
  margin: 0 0 0.25rem;
}

.perle-cookie__text {
  font-size: 0.85rem;
  color: var(--text-300);
  margin: 0;
}

.perle-cookie__link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.perle-cookie__link:hover {
  color: var(--gold-soft);
}

.perle-cookie__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.6rem;
}

.perle-cookie__btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.16s ease;
  white-space: nowrap;
}

.perle-cookie__btn--ghost {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--text-300);
}

.perle-cookie__btn--ghost:hover {
  color: var(--text-100);
  border-color: var(--line);
}

.perle-cookie__btn--gold {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #16160f;
  box-shadow: 0 10px 26px rgba(232, 197, 71, 0.28);
}

.perle-cookie__btn--gold:hover {
  transform: translateY(-2px);
}

.policy-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1.2rem;
}

.policy-block h2,
.policy-block h3 {
  color: var(--text-100);
}

.policy-block ul {
  color: var(--text-300);
  padding-left: 1.2rem;
}

.policy-block li {
  margin-bottom: 0.45rem;
}

.divider-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  margin: 2.5rem 0;
}

@media (max-width: 991.98px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .site-header .brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
  }

  .site-header .brand__logo {
    width: 52px;
  }

  .site-header .brand span {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .age-badge {
    order: 1;
    flex: 0 0 auto;
  }

  .site-burger {
    order: 2;
    margin-left: 0 !important;
    flex: 0 0 auto;
  }

  .site-header .navbar-collapse {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }

  .header-contacts {
    order: 3;
    width: 100%;
    gap: 0.9rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line-soft);
  }

  .site-nav {
    margin-left: 0;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.6rem 0 0.2rem;
  }

  .site-nav__link {
    display: block;
    padding: 0.7rem 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .perle-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .perle-cookie__icon {
    display: none;
  }

  .perle-cookie__actions {
    width: 100%;
  }

  .perle-cookie__btn {
    flex: 1 1 50%;
  }

  .hero-slider .carousel-item img {
    aspect-ratio: 16 / 11;
  }

  .game-modal__body {
    aspect-ratio: 9 / 13;
  }
}

@media (max-width: 575.98px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .site-nav__list {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .site-nav__link {
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
  }

  .btn-gold,
  .btn-ghost,
  .btn-neon {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
/* --- QA contrast fix: solid gold background behind the gradient for .btn-gold --- */
.btn-gold {
  background-color: #e8c547;
  background-image: linear-gradient(140deg, #f5e6a6, #e8c547 55%, #c9a227);
  color: #16160f;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background-color: #e8c547;
  color: #0a0a06;
}

/* --- Contrast fix: give gradient gold buttons a solid background-color fallback
   so the computed background is the actual gold tone, not the dark page behind it. --- */
.btn-gold {
  background-color: #e8c547;
  background-image: linear-gradient(140deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #16160f;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background-color: #f0d158;
  background-image: linear-gradient(140deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #16160f;
}

/* Accessibility override: guarantee a solid, high-contrast fill for gold buttons
   (gradient-only backgrounds resolve to the dark page backdrop, giving ~1:1 contrast). */
.btn-gold,
a.btn-gold,
button.btn-gold,
.perle-cookie__btn--gold,
.age-gate__btn--confirm {
  background-color: #e8c547;
  background-image: none;
  color: #16160f;
}

.btn-gold:hover,
a.btn-gold:hover,
button.btn-gold:hover,
.perle-cookie__btn--gold:hover,
.age-gate__btn--confirm:hover,
.btn-gold:focus-visible,
a.btn-gold:focus-visible,
button.btn-gold:focus-visible {
  background-color: #f5e6a6;
  background-image: none;
  color: #16160f;
}

/* --- Contrast/visibility fix: AOS fade elements start at opacity:0 until the
   JS animation runs, which makes hero CTAs (.btn-gold) measure/render against
   the dark page background. Keep the transform motion but never hide content. --- */
[data-aos] {
  opacity: 1 !important;
}

/* Keep gold CTA buttons opaque and high contrast even inside faded sections. */
a.btn-gold,
.btn-gold {
  background-color: #e8c547;
  color: #16160f;
}

/* Homepage 18+ age gate: full-screen modal overlay (home only via JS). */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  margin: 0;
  background: rgba(6, 6, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate__panel {
  width: min(520px, 100%);
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), var(--glow-gold);
}

.age-gate__actions {
  flex-direction: column;
  justify-content: stretch;
  flex-wrap: nowrap;
}

.age-gate__btn {
  min-width: 0;
  width: 100%;
}

/* Guarantee a solid gold fill for gold buttons so foreground/background
   contrast is measured against the real gold tone (not the page behind). */
.btn-gold,
button.btn-gold,
a.btn-gold,
.perle-cookie__btn--gold,
.age-gate__btn--confirm {
  background-color: #e8c547 !important;
  background-image: none !important;
  color: #16160f !important;
}

.btn-gold:hover,
button.btn-gold:hover,
a.btn-gold:hover,
.btn-gold:focus-visible,
button.btn-gold:focus-visible,
a.btn-gold:focus-visible,
.perle-cookie__btn--gold:hover,
.age-gate__btn--confirm:hover {
  background-color: #f0d158 !important;
  background-image: none !important;
  color: #16160f !important;
}

/* Cookie banner stays above the age-gate so both can be used on first visit. */
.perle-cookie {
  z-index: 2100;
}

/* --- QA fix: AOS fade animations left content semi-transparent while backgrounds
   were sampled, so dark-on-gold buttons (e.g. .btn-gold) measured as ~1:1.
   Keep the AOS movement, but render every animated block at full opacity. --- */
[data-aos] {
  opacity: 1 !important;
}

[data-aos].aos-animate {
  opacity: 1 !important;
}

/* Belt-and-braces: an animated parent must never wash out the gold buttons. */
.hero__actions,
.game-card__play,
.btn-gold {
  opacity: 1 !important;
}

/* --- Contrast fix: the hero status badge (.hero__badge) uses translucent
   magenta on top of a photo hero, which sampled at ~4.07:1 on narrow
   viewports. Give the pill a solid dark backing and a slightly brighter
   magenta label so the ratio clears 4.5:1 without changing the look. --- */
.hero .hero__badge {
  background: rgba(6, 6, 12, 0.92);
  border-color: rgba(255, 77, 148, 0.55);
  color: #ffa8c6;
}

@media (max-width: 767.98px) {
  .hero .hero__badge {
    background: #06060c;
    border-color: rgba(255, 77, 148, 0.6);
    color: #ffb3cd;
  }
}

/* --- Layout fix: on narrow viewports the fixed cookie-consent banner sat on top of
   the hero copy, so the hero paragraph appeared cut off at the left edge (the
   banner panel overlapped it). Anchor it to the viewport edges with a small
   inset so it no longer clips sibling content, and keep it from exceeding the
   viewport width. --- */
.perle-cookie {
  left: 0;
  right: 0;
  width: auto;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
  transform: none;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .perle-cookie {
    bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .perle-cookie__inner {
    padding: 1rem 1.05rem;
    overflow-wrap: break-word;
  }

  .perle-cookie__body {
    min-width: 0;
  }
}

/* --- Layout fix: on narrow viewports the footer contact rows overflowed the
   viewport because flex children could not shrink below their content width
   (long email address, inline messenger links). Allow the rows to wrap and
   shrink so text stays inside the container instead of being clipped. --- */
.site-footer .footer__grid > div {
  min-width: 0;
}

.site-footer .footer__contacts,
.site-footer .footer__contact-row {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.site-footer .footer__contact-row > span,
.site-footer .footer__contact-row > a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer .footer__contact-row > i {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .site-footer .footer__contact-row {
    gap: 0.5rem;
  }

  .site-footer .footer__contact-row > span,
  .site-footer .footer__contact-row > a {
    flex: 1 1 100%;
  }

  .site-footer .footer__contact-row > span + a,
  .site-footer .footer__contact-row > a + a {
    flex: 1 1 auto;
  }
}

/* --- Layout fix: the footer map iframe was stretched to the full column width with a
   fixed 340px height, which made the footer's contact column far taller than the
   other columns and left a large empty bordered card below the contact details.
   Constrain the footer map to a compact, proportional card so the footer grid keeps
   balanced column heights (and no oversized blank block). --- */
.site-footer .map-frame {
  max-width: 320px;
}

.site-footer .map-frame iframe {
  height: auto;
  aspect-ratio: 16 / 10;
}

@media (max-width: 991.98px) {
  .site-footer .map-frame {
    max-width: 100%;
  }

  .site-footer .map-frame iframe {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575.98px) {
  .site-footer .map-frame iframe {
    aspect-ratio: 4 / 3;
  }
}
