/* Responsive Styles */

/* Tablets and small desktops */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-5);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .site-header {
    padding: var(--space-3) 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo span {
    font-size: 1.5rem;
  }
  
  .main-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    padding: var(--space-4) 0;
    text-align: center;
    gap: var(--space-4);
    z-index: 10;
    border-top: 1px solid var(--color-gray);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
  }
  
  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .contact-form {
    padding: var(--space-4);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    text-align: center;
  }
  
  .footer-logo a {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero {
    padding: var(--space-6) 0;
    min-height: 50vh;
  }
  
  .game-preview {
    height: 240px;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
  
  .game-title {
    font-size: 1.25rem;
  }
  
  .game-card {
    max-width: 350px;
    margin: 0 auto;
  }
}