:root {
  --color-primary: #1a4d8f;
  --color-secondary: #c41e3a;
  --color-accent: #d4af37;
  --color-background: #0a0e27;
  --color-surface: #1a1f3a;
  --color-surface-light: #2a2f4a;
  --color-text: #ffffff;
  --color-text-secondary: #b8c5d6;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(180deg, var(--color-background) 0%, #0f1535 100%);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

header {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: var(--spacing-xs) 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-normal);
}

nav a:hover {
  color: var(--color-accent);
}

nav a:hover::after {
  width: 100%;
}

nav a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
}

main {
  min-height: calc(100vh - 400px);
}

.hero {
  padding: var(--spacing-xxl) 0;
  text-align: center;
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(26, 77, 143, 0.3) 0%, rgba(10, 14, 39, 0.7) 70%);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.5;
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.5;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.game-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.game-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.game-card-content {
  padding: var(--spacing-md);
}

.game-card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.game-card-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.tag {
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-accent);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: linear-gradient(135deg, var(--color-accent), #b8941f);
  color: var(--color-background);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-surface-light);
  color: var(--color-text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
}

.info-section {
  background: var(--color-surface);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-xl) 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.info-section h2 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.info-section h3 {
  color: var(--color-text);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.info-section p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.info-section ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

.info-section li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}

.disclaimer {
  background: rgba(196, 30, 58, 0.1);
  border: 2px solid var(--color-secondary);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin: var(--spacing-lg) 0;
  text-align: center;
}

.disclaimer-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: var(--color-text);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  border: 3px solid var(--color-text);
  margin: 0 auto;
}

.game-iframe-container {
  width: 100%;
  max-width: 1000px;
  margin: var(--spacing-xl) auto;
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.game-iframe {
  width: 100%;
  height: 70vh;
  min-height: 600px;
  border: none;
  display: block;
}

.responsible-gaming-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.rg-logo-link {
  background: var(--color-surface-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.rg-logo-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rg-logo-link:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.rg-logo-placeholder {
  width: 120px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

.rg-logo-image {
  width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
}

.rg-logo-name {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.125rem;
}

footer {
  background: var(--color-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.footer-section a {
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--color-accent);
}

.footer-section a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

.footer-rg-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.footer-rg-logo {
  width: 100px;
  height: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs);
  transition: opacity 0.3s ease;
}

.footer-rg-logo:hover {
  opacity: 0.8;
}

.footer-rg-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.footer-disclaimer {
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
  line-height: 1.5;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-surface);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(212, 175, 55, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal h2 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
  text-align: center;
}

.modal p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.modal-buttons .btn {
  min-width: 120px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

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

.cookie-banner-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.feature-card {
  background: var(--color-surface-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
  .container,
  .container-wide {
    padding: 0 var(--spacing-sm);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .responsible-gaming-logos {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .game-iframe {
    min-height: 500px;
  }

  body {
    font-size: 0.9375rem;
  }
}

/* Планшеты */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    padding: var(--spacing-sm) 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    order: 3;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    align-items: flex-start;
  }

  nav a {
    font-size: 1.125rem;
  }

  .hero {
    padding: var(--spacing-xl) 0;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .game-card-title {
    font-size: 1.25rem;
  }

  .game-card-description {
    font-size: 0.9375rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .feature-card {
    padding: var(--spacing-md);
  }

  .feature-card h3 {
    font-size: 1.125rem;
  }

  .feature-card p {
    font-size: 0.9375rem;
  }

  .responsible-gaming-logos {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .rg-logo-image {
    width: 160px;
  }

  .rg-logo-link {
    padding: var(--spacing-md);
  }

  .info-section {
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
  }

  .info-section h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
  }

  .info-section h3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
  }

  .info-section p,
  .info-section ul {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
  }

  .info-section ul {
    margin-left: var(--spacing-md);
  }

  .game-iframe-container {
    margin: var(--spacing-lg) auto;
    border-radius: var(--border-radius-md);
  }

  .game-iframe {
    height: 60vh;
    min-height: 500px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
  }

  .footer-section {
    margin-bottom: var(--spacing-md);
  }

  .footer-section h3 {
    font-size: 1.125rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.875rem;
  }

  .footer-rg-logos {
    gap: var(--spacing-sm);
  }

  .footer-rg-logo {
    width: 80px;
  }

  .modal {
    padding: var(--spacing-md);
    max-width: 90%;
    width: 95%;
  }

  .modal h2 {
    font-size: 1.75rem;
  }

  .modal p {
    font-size: 0.9375rem;
  }

  .cookie-banner {
    padding: var(--spacing-md);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }

  .cookie-banner p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
  }

  .cookie-banner-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner-buttons .btn {
    width: 100%;
  }

  .modal-buttons {
    flex-direction: column;
    width: 100%;
  }

  .modal-buttons .btn {
    width: 100%;
    min-width: auto;
  }

  .btn {
    font-size: 0.9375rem;
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .disclaimer {
    padding: var(--spacing-sm);
    margin: var(--spacing-md) 0;
  }

  .disclaimer p {
    font-size: 0.875rem;
  }

  .age-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-width: 2px;
  }

  body {
    font-size: 0.9375rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    hyphens: auto;
  }

  p,
  li {
    word-wrap: break-word;
  }
}

/* Мобильные устройства */
@media (max-width: 480px) {
  :root {
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }

  .container,
  .container-wide {
    padding: 0 var(--spacing-sm);
  }

  .header-content {
    padding: var(--spacing-xs) 0;
  }

  .logo {
    font-size: 1.125rem;
    gap: var(--spacing-xs);
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .mobile-menu-toggle {
    font-size: 1.25rem;
    padding: var(--spacing-xs);
  }

  nav a {
    font-size: 1rem;
    padding: var(--spacing-xs) 0;
  }

  .hero {
    padding: var(--spacing-lg) 0;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
  }

  .hero p {
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
  }

  .game-grid {
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }

  .game-card {
    border-radius: var(--border-radius-md);
  }

  .game-card-content {
    padding: var(--spacing-sm);
  }

  .game-card-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
  }

  .game-card-description {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
  }

  .game-card-tags {
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
  }

  .tag {
    font-size: 0.75rem;
    padding: calc(var(--spacing-xs) * 0.75) var(--spacing-xs);
  }

  .content-grid {
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
  }

  .feature-card {
    padding: var(--spacing-sm);
  }

  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
  }

  .feature-card p {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .responsible-gaming-logos {
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
  }

  .rg-logo-image {
    width: 140px;
  }

  .rg-logo-link {
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
  }

  .rg-logo-name {
    font-size: 1rem;
  }

  .rg-logo-link p {
    font-size: 0.8125rem;
  }

  .info-section {
    padding: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    border-radius: var(--border-radius-md);
  }

  .info-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }

  .info-section h3 {
    font-size: 1.125rem;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
  }

  .info-section p,
  .info-section li {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
  }

  .info-section ul {
    margin-left: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
  }

  .game-iframe-container {
    margin: var(--spacing-md) auto;
    border-radius: var(--border-radius-md);
    border-width: 1px;
  }

  .game-iframe {
    height: 50vh;
    min-height: 400px;
  }

  .btn {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
  }

  .disclaimer {
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: var(--spacing-sm) 0;
  }

  .disclaimer p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .age-badge {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
    border-width: 2px;
  }

  footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }

  .footer-section {
    margin-bottom: var(--spacing-sm);
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.8125rem;
    margin-bottom: calc(var(--spacing-xs) * 0.75);
  }

  .footer-rg-logos {
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
  }

  .footer-rg-logo {
    width: 70px;
    padding: calc(var(--spacing-xs) * 0.75);
  }

  .footer-bottom {
    padding-top: var(--spacing-sm);
    font-size: 0.75rem;
  }

  .footer-disclaimer {
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .modal {
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    max-width: 95%;
    width: 95%;
  }

  .modal h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .modal p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
  }

  .cookie-banner {
    padding: var(--spacing-sm);
  }

  .cookie-banner-content {
    gap: var(--spacing-sm);
  }

  .cookie-banner p {
    font-size: 0.8125rem;
    margin-bottom: var(--spacing-xs);
  }

  .cookie-banner-buttons {
    gap: var(--spacing-xs);
  }

  .cookie-banner-buttons .btn {
    font-size: 0.8125rem;
    padding: calc(var(--spacing-xs) * 0.75) var(--spacing-xs);
  }

  body {
    font-size: 0.875rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    hyphens: auto;
  }

  p,
  li,
  a {
    word-wrap: break-word;
  }
}

/* Очень маленькие мобильные устройства */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  .rg-logo-image {
    width: 120px;
  }

  .game-iframe {
    min-height: 350px;
  }
}