/* Responsive Styles */

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 3rem;
  }
  
  .features-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .features-text, .features-image {
    width: 100%;
  }
  
  .features-image {
    height: 300px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95);
    padding: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 240, 0.2);
    z-index: 100;
  }
  
  .nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-logo {
    margin-bottom: 10px;
  }
  
  .footer-logo .logo {
    justify-content: center;
  }
  
  .contact-container, .legal-content {
    padding: 30px 20px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .logo-icon {
    width: 30px;
    height: 30px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .features, .games {
    padding: 60px 0;
  }
  
  .game-section, .contact-section, .legal-section {
    padding: 40px 0;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .small-btn {
    padding: 7px 15px;
    font-size: 0.8rem;
  }
  
  .features-text h3 {
    font-size: 1.3rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .popup-content {
    padding: 30px 20px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .features-text h3 {
    font-size: 1.2rem;
  }
}