/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav Buttons Container */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Enhanced Header Responsiveness */
.site-header {
  position: relative;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0f1526, #0c1222);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }
  
  .nav.open {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 12px;
  }
  
  .nav-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
  }
  
  .nav-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Overlay for mobile menu */
  .nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .nav.open::before {
    opacity: 1;
  }
}
.site-header.container {
  z-index: 2;
}
@media (max-width: 480px) {
  .site-header {
    padding: 15px 15px 0;
  }
  
  .logo img {
    width: 100%;
    height: 32px;
  }
  
  .nav {
    width: 100%;
    right: -100%;
  }
}

/* Enhanced Hero Responsiveness */
@media (max-width: 1024px) {
  .modal-dialog {
    padding-bottom: 60px;
    height: 100%;
    overflow: auto;
  }
.modal-left, .modal-right {
    width: 100%;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-art {
    order: -1;
    height: 280px;
  }
  
  .crate {
    position: relative;
    right: auto;
    top: auto;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 36px;
    line-height: 1.1;
  }
  
  .hero-sub {
    font-size: 16px;
    max-width: none;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-points {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .hero-art {
    height: 240px;
  }
  
  .crate {
    width: 240px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 15px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-sub {
    font-size: 14px;
  }
  
  .hero-art {
    height: 200px;
  }
  
  .crate {
    width: 200px;
    height: 160px;
  }
}
