/* Responsive Styles */

/* Tablet (768px and up) */
@media screen and (max-width: 1023px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glow-button, .custom-button {
        font-size: 1.6rem; 
    }

    .hero-video .title {
        font-size: 2.2rem;
    }
    
    .hero-video .large-text {
        font-size: 1.8rem;
    }
    
    .hero-video .hero-buttons-container {
        gap: 1.5rem;
    }
}

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navigation */
    .logo-img {
        height: 2rem !important;
        max-width: 9rem !important;
    }

    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(40, 40, 40, 0.95); /* Matches the header */
    backdrop-filter: blur(4px);         /* Optional blur for modern effect */
    flex-direction: column;
    padding: 1rem 0;
    text-align: center;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }

    /* Active hamburger state */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .glow-button, .custom-button {
        font-size: 1.4rem;
        min-width: 100%;
        box-shadow: 0px 0px 15px 5px rgba(255, 255, 255, 0.2);
    }

    /* Features Section */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* How to Play Section */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 2rem;
    }

    .social-links, .payment-methods {
        justify-content: center;
    }

    .hero-video {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-video .title {
        font-size: 1.8rem;
    }
    
    .hero-video .large-text {
        font-size: 1.4rem;
    }
    
    .hero-video .hero-buttons-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-video .button-column {
        width: 100%;
    }
}

/* Small Mobile (up to 374px) */
@media screen and (max-width: 374px) {
    h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }
    
    .logo-img {
    height: clamp(1.4rem, 4vw, 2rem);
    max-width: clamp(5rem, 15vw, 9rem);
    object-fit: contain;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .glow-button, .custom-button {
        font-size: 1.2rem;
        padding: 8px 16px;
    }

    .hero-video .title {
        font-size: 1.5rem;
    }
    
    .hero-video .large-text {
        font-size: 1.2rem;
    }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 30px;
    }

    .video-container {
        max-height: 60vh;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure logos maintain proper size on high-DPI screens */
    .logo-img {
    height: clamp(1.4rem, 4vw, 2rem);
    max-width: clamp(5rem, 15vw, 9rem);
    object-fit: contain;
    }
    
    .footer-logo-img {
        height: 26px;
        max-width: 110px;
    }
} 