/* Redwood Horizon — Premium Social Casino */

:root {
  --color-bg: #0a0c0b;
  --color-bg-elevated: #121614;
  --color-bg-card: rgba(22, 30, 26, 0.72);
  --color-surface: #161e1a;
  --color-border: rgba(212, 168, 83, 0.14);
  --color-border-strong: rgba(212, 168, 83, 0.28);
  --color-text: #f0ebe3;
  --color-text-muted: rgba(240, 235, 227, 0.62);
  --color-accent: #d4a853;
  --color-accent-light: #e8c47a;
  --color-green: #2d5a45;
  --color-green-bright: #3d7a5c;
  --gradient-hero: linear-gradient(145deg, #0a0c0b 0%, #142019 38%, #1a1510 72%, #0a0c0b 100%);
  --gradient-gold: linear-gradient(135deg, #d4a853 0%, #e8c47a 50%, #b8893a 100%);
  --gradient-card: linear-gradient(160deg, rgba(45, 90, 69, 0.18) 0%, rgba(212, 168, 83, 0.06) 100%);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(212, 168, 83, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --header-height: 72px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container--wide {
  max-width: 1380px;
}

.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

body.mobile-nav-open .site-top {
  z-index: 9500;
}

body.mobile-nav-open main {
  pointer-events: none;
}

main {
  padding-top: var(--header-height);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
}

.section--dark {
  background: var(--color-bg);
}

.section--elevated {
  background: var(--color-bg-elevated);
}

.section--gradient {
  background: var(--gradient-hero);
}

/* Header */
.header {
  position: relative;
  z-index: 9503;
  height: var(--header-height);
  background: rgba(10, 12, 11, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__logo-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.header__logo em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__nav-list {
  display: flex;
  gap: 8px;
}

.header__nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-text);
  background: rgba(212, 168, 83, 0.1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__cta-desktop {
  flex-shrink: 0;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__burger--open .header__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger--open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--open .header__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  border: none;
  z-index: 9501;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.header__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 20px clamp(16px, 4vw, 24px) max(32px, env(safe-area-inset-bottom));
  z-index: 9502;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.header__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__mobile-menu--open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-link {
  display: block;
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.header__mobile-link--active,
.header__mobile-link:hover {
  color: var(--color-text);
  background: rgba(212, 168, 83, 0.08);
}

.header__mobile-cta {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.header__mobile-cta--top {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--gradient-gold);
  color: #1a1510;
  box-shadow: 0 8px 32px rgba(212, 168, 83, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn--secondary:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: var(--color-accent);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* Section headers */
.section__badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.section__header {
  max-width: 640px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.section__subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1rem);
  color: var(--color-text-muted);
  max-width: 56ch;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}

/* Hero — cinematic centered */
.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 48px 0 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 11, 0.72) 0%, rgba(10, 12, 11, 0.45) 42%, rgba(10, 12, 11, 0.94) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 90, 69, 0.22) 0%, transparent 70%);
}

.hero__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.hero__center {
  max-width: 620px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(10, 12, 11, 0.5);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 16px;
  line-height: 1.06;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 auto 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.hero__stat {
  padding: 12px 8px;
  background: rgba(10, 12, 11, 0.55);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.hero__stat-label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Page hero */
.page-hero {
  padding: clamp(64px, 8vw, 100px) 0 clamp(48px, 6vw, 72px);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero__content {
  max-width: 800px;
}

.page-hero__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* Game launcher */
.game-launcher-section {
  padding: clamp(48px, 8vw, 80px) 0;
}

.game-launcher {
  width: 100%;
}

.game-launcher__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

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

.game-launcher__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 32px;
  background: linear-gradient(180deg, rgba(10, 12, 11, 0.35) 0%, rgba(10, 12, 11, 0.82) 100%);
}

.game-launcher__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--color-text);
}

.game-launcher__note {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 440px;
}

.game-launcher__play {
  min-width: 200px;
}

.game-launcher.is-active .game-launcher__preview {
  display: none;
}

.game-launcher__frame {
  display: none;
  width: 100%;
}

.game-launcher.is-active .game-launcher__frame {
  display: block;
}

.game-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-launcher,
.game-launcher__frame,
.game-frame {
  max-width: 100%;
}

/* Games — compact grid */
.games-compact,
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: 0 8px 32px rgba(212, 168, 83, 0.08);
}

.game-card__image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover .game-card__image {
  transform: scale(1.05);
}

.game-card__category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  background: rgba(10, 12, 11, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.game-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card__title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.game-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__footer {
  margin-top: auto;
}

.games-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.games-aside-card {
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.games-aside-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.games-aside-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Studio strip */
.studio-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.studio-strip__image {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.studio-strip__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.studio-strip__content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.studio-strip__list {
  margin: 28px 0 32px;
}

.studio-strip__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.studio-strip__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-gold);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.feature-card:hover {
  border-color: var(--color-border-strong);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats-band__item {
  padding: clamp(28px, 4vw, 40px);
  background: var(--color-bg-elevated);
  text-align: center;
}

.stats-band__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stats-band__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Contact — centered layout */
.contact-section__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.contact-section__header {
  margin-bottom: 28px;
}

.contact-section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.contact-section__header p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.contact-chip {
  padding: 12px 18px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: left;
}

.contact-chip strong {
  display: block;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form-center {
  text-align: left;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-form-center > p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.contact-form-wrap {
  padding: clamp(24px, 3vw, 32px);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-form-wrap h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.contact-form__note a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
}

.contact-info-card {
  padding: 32px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.contact-info-card h3 {
  font-size: 1.0625rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.contact-info-card p,
.contact-info-card address {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.8;
}

/* Legal / content pages */
.legal-content {
  max-width: 820px;
}

.legal-content ul {
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 96px);
}

.about-grid__image img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Age gate */
body.age-gate-open {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 6, 0.92);
  backdrop-filter: blur(12px);
}

.age-gate__dialog {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  text-align: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.age-gate__badge {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 16px;
}

.age-gate__title {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.age-gate__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.age-gate__note {
  font-size: 0.8125rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.age-gate__legal {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.age-gate__legal a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__dialog {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  text-align: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.modal__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.75rem;
  color: var(--color-accent);
  background: rgba(212, 168, 83, 0.12);
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.modal__title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__age-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer__age-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 14px;
}

.footer__age-text h3,
.footer__responsible h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer__age-text p,
.footer__responsible p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__responsible a {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer__info-block h4 {
  font-size: 0.9375rem;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.footer__info-block p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__info-block a {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer__nav-section {
  margin-bottom: 40px;
}

.footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__nav-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer__nav-col li {
  margin-bottom: 10px;
}

.footer__nav-col a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__nav-col a:hover {
  color: var(--color-accent);
}

.footer__company {
  padding: 28px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__company-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.footer__address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative */
.deco-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.deco-orb--green {
  background: var(--color-green-bright);
}

.deco-orb--gold {
  background: var(--color-accent);
}

/* Responsive */
@media (max-width: 1100px) {
  .games-compact,
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer__responsible {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .header__nav {
    display: none;
  }

  .header__cta-desktop {
    display: none;
  }

  .header__actions {
    gap: 0;
  }

  .header__burger {
    display: flex;
  }

  .header__mobile-menu {
    display: flex;
  }

  .studio-strip,
  .contact-page-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .games-notes,
  .about-values,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .footer__info,
  .footer__nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .games-compact,
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .contact-form__row {
    grid-template-columns: 1fr;
  }

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

  .footer__responsible {
    grid-column: auto;
  }

  .footer__info,
  .footer__nav-grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .game-launcher__preview {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
  }

  .game-launcher.is-active .game-frame {
    padding-bottom: 0;
    height: min(82svh, 720px);
    min-height: 480px;
  }

  .game-launcher__overlay {
    padding: 16px;
    gap: 14px;
  }

  .game-launcher__play {
    min-width: 0;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 64px;
  }

  .header__logo {
    font-size: 1rem;
    gap: 8px;
  }

  .header__logo-img {
    width: 34px;
    height: 34px;
  }

  .header__burger {
    width: 40px;
    height: 40px;
  }

  .games-compact,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .game-launcher.is-active .game-frame {
    height: min(78svh, 680px);
    min-height: 440px;
  }
}

@media (max-width: 380px) {
  .header__logo-text {
    display: none;
  }
}
