@media (max-width: 992px) {
  .header-inner {
    grid-template-columns: 150px 1fr auto;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #222723;
    transition: left 0.3s;
    padding: 30px;
    overflow-y: auto;
  }

  .header-nav.active {
    left: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .online-counter {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 18px;
  }

  .tournaments-slider {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
  }

  .tournament-card {
    scroll-snap-align: start;
    min-width: 300px;
  }

  .tournaments-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }

  .tournaments-prev,
  .tournaments-next {
    background: #02504b;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
  }

  .minigames-section {
    grid-template-columns: 1fr;
  }

  .wheel-container {
    width: 300px;
    height: 300px;
  }

  #wheelCanvas {
    width: 300px !important;
    height: 300px !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 120px 1fr auto auto;
  }

  .header-buttons {
    position: fixed;
    top: 10px;
    right: 60px;
    z-index: 1001;
  }

  .btn-login,
  .btn-signup {
    padding: 8px 15px;
    font-size: 14px;
  }

  .hero-slider {
    height: 350px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-text {
    font-size: 16px;
  }

  .btn-hero {
    padding: 12px 30px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .jackpots-grid {
    grid-template-columns: 1fr;
  }

  .winners-table {
    font-size: 14px;
  }

  .winners-table th,
  .winners-table td {
    padding: 8px;
  }

  .slot-reels {
    gap: 10px;
  }

  .slot-reel {
    width: 80px;
    height: 80px;
    font-size: 48px;
  }

  .wheel-container {
    width: 250px;
    height: 250px;
  }

  #wheelCanvas {
    width: 250px !important;
    height: 250px !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .widget-content {
    flex-direction: column;
    gap: 15px;
  }

  .widget-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .box {
    padding: 20px;
  }

  .minigames-section {
    gap: 20px;
  }

  .minigame-wrapper {
    min-width: auto;
  }
}
