/* Responsive Styles */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 576px) {
  :root {
    --header-height: 100px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .logo-orb {
    width: 60px;
    height: 60px;
  }
  
  .logo-orb img {
    width: 45px;
    height: 45px;
  }
  
  nav ul {
    gap: var(--space-2);
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: var(--space-1);
  }
  
  .section {
    padding: calc(var(--header-height) + var(--space-4)) var(--space-2) var(--space-4);
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links ul {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Header hide on scroll */
@media (min-width: 768px) {
  .header-hide {
    transform: translateY(-100%);
  }
}

/* Game Page Responsive */
@media (max-width: 768px) {
  .game-container {
    height: 400px;
  }
  
  .game-controls {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
  .legal-document {
    padding: var(--space-2);
  }
  
  .legal-document h2 {
    font-size: 1.5rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
  .contact-form {
    width: 100%;
  }
  
  .modal-content {
    width: 90%;
  }
}