
@media (max-width: 1023px) {
  h1 {
    font-size: var(--text-3xl);
  }
  h2 {
    font-size: var(--text-2xl);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 767px) {
  section {
    padding: 48px 0;
  }
  
  h1 {
    font-size: var(--text-2xl);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }

  .disclaimer-bar {
    flex-direction: column;
    text-align: center;
  }

  
  #ai-chat-window {
    width: 95vw !important;
    height: 80vh !important;
    bottom: 80px !important;
    right: 2.5vw !important;
  }
  
  
  .game-container canvas,
  .game-container .slot-machine-wrapper {
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    margin: 0 auto;
  }
}


@media (max-width: 320px) {
  body {
    min-width: 320px;
  }
  .container {
    padding: 0 16px;
  }
  .logo-abbr {
    font-size: var(--text-lg);
  }
  .btn {
    padding: 10px 16px;
  }
}
