/* Responsive Styles */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .search-bar input {
    width: 160px;
  }
  
  .search-bar input:focus {
    width: 200px;
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    width: 100%;
    padding-right: 0;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-image {
    width: 100%;
    height: 400px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    width: 100%;
    margin-bottom: var(--spacing-lg);
  }
  
  .about-images {
    width: 100%;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .disclaimer-content {
    flex-direction: column-reverse;
  }
  
  .disclaimer-image {
    width: 100%;
    margin-top: var(--spacing-lg);
  }
  
  .disclaimer-text {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    margin-bottom: var(--spacing-md);
  }
  
  .footer-links {
    margin-bottom: var(--spacing-md);
  }
  
  .footer-links ul {
    justify-content: center;
  }
  
  .footer-social ul {
    justify-content: center;
  }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md) 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-menu li {
    margin: var(--spacing-xs) 0;
  }
  
  .search-bar {
    display: none;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .slide-content {
    flex-direction: column;
    height: auto;
  }
  
  .slide-text {
    padding-right: 0;
    margin-bottom: var(--spacing-md);
  }
  
  .slide-image {
    width: 100%;
    height: 200px;
  }
  
  .footer-links ul {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    margin: var(--spacing-xs) 0;
  }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 var(--spacing-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  #hero {
    height: auto;
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
  }
  
  .hero-image {
    height: 300px;
  }
  
  .about-images {
    flex-direction: column;
  }
  
  .slider-btn {
    width: 30px;
    height: 30px;
  }
}