/* Responsive Styles */

/* Tablets and smaller desktops */
@media screen and (max-width: 1024px) {
  /* General */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Header */
  .search-container input {
    width: 150px;
  }
  
  /* Hero Section */
  .hero-content {
    padding: 48px 32px;
  }
  
  /* Games Grid */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
}

/* Tablets and large phones */
@media screen and (max-width: 768px) {
  /* General */
  section {
    padding: 64px 0;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  /* Header */
  #nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  #nav-menu.active {
    display: block;
  }
  
  #nav-menu ul {
    flex-direction: column;
    padding: 16px 0;
  }
  
  #nav-menu ul li {
    margin: 0;
  }
  
  #nav-menu ul li a {
    display: block;
    padding: 12px 24px;
  }
  
  #nav-menu ul li a::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .search-container {
    display: none;
    width: 100%;
    position: absolute;
    top: 72px;
    left: 0;
    padding: 16px;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .search-container.active {
    display: block;
  }
  
  .search-container input {
    width: 100%;
  }
  
  /* Hero Section */
  #hero {
    flex-direction: column;
    height: auto;
  }
  
  .hero-content {
    padding: 64px 24px;
    order: 2;
  }
  
  .hero-image {
    min-height: 300px;
    order: 1;
  }
  
  /* About Section */
  #about .container {
    flex-direction: column;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-images {
    order: 1;
    margin-bottom: 32px;
  }
  
  /* Slider */
  .slide {
    flex-direction: column;
  }
  
  .slide-content {
    order: 2;
    padding: 32px;
  }
  
  .slide-image {
    order: 1;
    height: 250px;
  }
  
  /* Disclaimer Section */
  #disclaimer .container {
    flex-direction: column;
  }
  
  .disclaimer-content {
    order: 2;
  }
  
  .disclaimer-image {
    order: 1;
    margin-bottom: 32px;
  }
}

/* Small phones */
@media screen and (max-width: 576px) {
  /* General */
  section {
    padding: 48px 0;
  }
  
  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Games Grid */
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
  
  .footer-newsletter input {
    border-radius: 4px;
    margin-bottom: 8px;
  }
  
  .footer-newsletter button {
    border-radius: 4px;
    width: 100%;
  }
}