/* Responsive CSS */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .brand-name {
    font-size: 4rem;
  }
  
  .tagline {
    font-size: 1.6rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .brand-name {
    font-size: 3.5rem;
  }
  
  .tagline {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .brand-name {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Navigation Menu Toggle */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-xxl) var(--spacing-md);
    transition: right 0.3s ease;
    z-index: 100;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .menu-toggle {
    display: flex;
    z-index: 101;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Sections Adjustments */
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .glass-panel {
    padding: var(--spacing-lg);
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    margin-top: var(--spacing-sm);
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .brand-name {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-button {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .modal-content {
    width: 95%;
    padding: var(--spacing-md);
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
  .brand-name {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .logo {
    font-size: 1.6rem;
  }
}