:root {
  --color-bg-primary: #f7f3ef;
  --color-bg-secondary: #f0ebe6;
  --color-bg-card: rgba(255, 252, 249, 0.92);
  --color-rose: #c9a0a8;
  --color-rose-light: #e8b4b8;
  --color-rose-dark: #a88088;
  --color-sage: #8fb5a0;
  --color-sage-light: #a8c5b5;
  --color-sage-dark: #6d9580;
  --color-champagne: #c9a87c;
  --color-champagne-dark: #a88a5c;
  --color-text-primary: #3d3530;
  --color-text-secondary: rgba(61, 53, 48, 0.78);
  --color-text-muted: rgba(61, 53, 48, 0.55);
  --gradient-hero: linear-gradient(160deg, #faf7f4 0%, #eef4f0 45%, #f5ebe8 100%);
  --gradient-accent: linear-gradient(135deg, #e8b4b8 0%, #c9a87c 100%);
  --gradient-sage: linear-gradient(135deg, #a8c5b5 0%, #8fb5a0 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 252, 249, 0.95) 0%, rgba(245, 240, 235, 0.9) 100%);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-sm: 0 2px 12px rgba(61, 53, 48, 0.06);
  --shadow-md: 0 8px 28px rgba(61, 53, 48, 0.08);
  --shadow-lg: 0 20px 48px rgba(61, 53, 48, 0.1);
  --shadow-glow-rose: 0 8px 32px rgba(201, 160, 168, 0.25);
  --shadow-glow-sage: 0 8px 32px rgba(143, 181, 160, 0.25);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  --header-height: 76px;
  --container-max: 1160px;
  --container-wide: 1320px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  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,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

main {
  padding-top: var(--header-height);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: 88px 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201, 168, 124, 0.12);
  border: 1px solid rgba(201, 168, 124, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-champagne-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.page-hero {
  padding: 72px 0 56px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(232, 180, 184, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(168, 197, 181, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 18px;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.legal-wrap {
  padding: 64px 0 108px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.legal-content h2 {
  font-size: 1.625rem;
  margin: 44px 0 18px;
  color: var(--color-rose-dark);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 28px 0 14px;
  color: var(--color-sage-dark);
}

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

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

.legal-content a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */
.header {
  height: var(--header-height);
  background: rgba(247, 243, 239, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  transition: opacity var(--transition-fast);
}

.header__logo:hover {
  opacity: 0.82;
}

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

.header__logo-text em {
  font-style: italic;
  color: var(--color-rose-dark);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.65);
}

.header__nav-link--active {
  color: var(--color-rose-dark);
}

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

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(61, 53, 48, 0.12);
  color: var(--color-text-primary);
}

.header__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  flex-shrink: 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

.header__backdrop {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0;
  background: rgba(61, 53, 48, 0.25);
  border: none;
  z-index: 1001;
}

.header__mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: rgba(247, 243, 239, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
  padding: 20px 28px 36px;
  z-index: 1002;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
}

.header__mobile-menu--open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.header__mobile-link:hover,
.header__mobile-link--active {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-rose-dark);
}

.header__mobile-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(61, 53, 48, 0.08);
}

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

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

.btn--primary {
  background: var(--gradient-accent);
  color: #fffaf8;
  box-shadow: var(--shadow-glow-rose);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text-primary);
  border: 1.5px solid rgba(61, 53, 48, 0.14);
}

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

.btn--lg {
  padding: 18px 38px;
  font-size: 1rem;
}

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

/* Hero */
.hero {
  padding: 56px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 197, 181, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  padding-left: 24px;
  border-left: 3px solid var(--color-sage);
}

.hero__visual {
  position: relative;
}

.hero__mascot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-champagne-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__pill {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(61, 53, 48, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.features-grid .feature-card:first-child {
  grid-row: span 2;
}

.features-grid--row {
  grid-template-columns: repeat(3, 1fr);
}

.features-grid--row .feature-card:first-child {
  grid-row: auto;
}

.feature-card {
  padding: 32px 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--gradient-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8faf9;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--color-rose-dark);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.games-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.games-bento .game-card:nth-child(1) {
  grid-column: span 3;
}

.games-bento .game-card:nth-child(2) {
  grid-column: span 3;
}

.games-bento .game-card:nth-child(3),
.games-bento .game-card:nth-child(4),
.games-bento .game-card:nth-child(5),
.games-bento .game-card:nth-child(6) {
  grid-column: span 2;
}

.game-card {
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.game-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  background: rgba(255, 252, 249, 0.92);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.game-card__title {
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.game-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

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

.games-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.games-aside-card {
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

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

.games-aside-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.game-launcher {
  width: 100%;
}

.game-launcher__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #2a2420;
}

.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;
  background: rgba(45, 38, 34, 0.52);
  padding: 24px;
  text-align: center;
}

.game-launcher__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fffaf8;
}

.game-launcher__note {
  font-size: 0.875rem;
  color: rgba(255, 250, 248, 0.82);
  max-width: 420px;
}

.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%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: #2a2420;
}

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

.games-player-section {
  padding-top: 0;
}

.games-player-section .container--wide {
  max-width: var(--container-wide);
}

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

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

.game-frame__label {
  margin-bottom: 16px;
}

.game-frame__label h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.game-frame__label p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid__text p {
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-grid__image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
}

.faq__question {
  padding: 22px 52px 22px 24px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-sage-dark);
  border-bottom: 2px solid var(--color-sage-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition-fast);
}

.faq__item[open] .faq__question::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__answer {
  padding: 0 24px 22px;
}

.faq__answer p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.faq__answer a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact */
.contact-page {
  padding-bottom: 88px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
}

.contact-card {
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.contact-card h2 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--color-rose-dark);
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-wrap {
  padding: 36px;
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

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

.contact-form-wrap > p {
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(61, 53, 48, 0.12);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(143, 181, 160, 0.2);
}

.contact-form__input:invalid:not(:placeholder-shown),
.contact-form__textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-rose);
}

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

.contact-form__note a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(61, 53, 48, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

.modal__dialog {
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(12px);
  transition: transform var(--transition-base);
}

.modal--open .modal__dialog {
  transform: translateY(0);
}

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}

.modal__title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--color-rose-dark);
}

.modal__text {
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(61, 53, 48, 0.08);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

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

.footer__logo img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

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

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

.footer__age-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fffaf8;
  box-shadow: var(--shadow-glow-rose);
}

.footer__age-text h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-rose-dark);
}

.footer__age-text p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.footer__responsible h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-sage-dark);
}

.footer__responsible p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.footer__responsible a {
  color: var(--color-text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__logos {
  padding: 32px 0;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

.footer__logos-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  text-align: center;
}

.footer__logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer__org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #3d3530;
  border: 1px solid rgba(61, 53, 48, 0.25);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), background var(--transition-base);
  min-width: 140px;
  height: 52px;
}

.footer__org-logo:hover {
  border-color: var(--color-sage-dark);
  background: #4a403a;
}

.footer__org-logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

.footer__info-block h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-champagne-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer__info-block a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__nav-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(61, 53, 48, 0.08);
}

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

.footer__nav-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-champagne-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
}

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

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

.footer__link {
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.studio-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.studio-strip__image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.studio-strip__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.studio-strip__content p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.studio-strip__list {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-strip__list li {
  padding-left: 20px;
  position: relative;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

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

.home-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.home-contact__intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.home-contact__intro p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.home-contact__perks {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-contact__perk {
  padding: 16px 20px;
  background: var(--gradient-card);
  border: 1px solid rgba(61, 53, 48, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.home-contact__perk strong {
  display: block;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.cta-banner {
  padding: 64px 0;
  background: linear-gradient(160deg, #f0ebe6 0%, #eef4f0 50%, #e8eef4 100%);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

@media (min-width: 1101px) {
  .header__mobile-menu,
  .header__backdrop {
    display: none !important;
  }
}

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

  .header__actions .btn {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__backdrop {
    display: block;
  }
}

@media (max-width: 960px) {
  .hero__layout,
  .about-grid,
  .games-layout,
  .contact-grid,
  .studio-strip,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-left: 0;
    border-left: none;
  }

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

  .games-bento .game-card:nth-child(n) {
    grid-column: span 1;
  }

  .features-grid,
  .features-grid--row {
    grid-template-columns: 1fr;
  }

  .features-grid .feature-card:first-child {
    grid-row: auto;
  }

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

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

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

@media (max-width: 900px) {
  .hero {
    padding: 32px 0 56px;
  }

  .hero__layout {
    text-align: center;
  }

  .hero__actions,
  .hero__pills {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .page-hero {
    padding: 56px 0 40px;
  }

  .legal-wrap {
    padding: 44px 0 80px;
  }

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

@media (max-width: 767px) {
  .games-player-section .container--wide {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .game-launcher__preview {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

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

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

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

  .games-notes {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

  .contact-form-wrap {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
