/* Responsive Styles */

/* Desktop (Large) */
@media (max-width: 1200px) {
  .container {
    max-width: 100rem;
  }
  
  .hero-content h1 {
    font-size: 4.8rem;
  }
}

/* Desktop (Medium) */
@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* 9px */
  }
  
  .container {
    max-width: 90rem;
  }
  
  .hero-content h1 {
    font-size: 4.2rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px */
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    height: 100vh;
    background-color: var(--color-darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: right var(--transition-medium);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    margin: var(--space-md) 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 100;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content, .hero-image {
    flex: initial;
    max-width: 100%;
  }
  
  .hero-content p {
    max-width: 100%;
  }
  
  .about .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .about-content, .about-image {
    flex: initial;
    max-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Mobile (Large) */
@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 3.6rem;
  }
  
  .about-content h2, 
  .games h2 {
    font-size: 3rem;
  }
  
  .contact-form-container {
    padding: var(--space-md);
  }
  
  .policy-content {
    padding: var(--space-md);
  }
}

/* Mobile (Small) */
@media (max-width: 390px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .logo {
    font-size: 2.4rem;
  }
  
  .btn {
    padding: var(--space-xs) var(--space-sm);
  }
}