/* Responsive Design for Drone Xtreme 2.0 */

@media screen and (max-width: 1200px) {
    .hero-main-title {
        font-size: 4rem;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
}

@media screen and (max-width: 992px) {
    section {
        padding: 80px 5%;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-details {
        border-left: none;
        padding-left: 0;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-right {
        height: 400px;
    }
    
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prize-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .reg-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Navbar */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1000;
        position: relative;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Disable mouse follow cursor on touch devices */
    #cursor-drone {
        display: none !important;
    }

    /* Typography */
    .opening-title { font-size: 2.5rem; }
    .hero-main-title { font-size: 3rem; }
    .section-title { font-size: 2rem; }
    .prize-amount { font-size: 4rem; }
    
    /* Layout */
    .experiences-grid, .details-grid, .gallery-grid, .reg-options {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .explore-btn {
        margin-bottom: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .org-logos {
        justify-content: center;
    }
    
    .reg-selection-content {
        padding: 30px 15px;
    }

    /* Disable heavy 3D hover effects on mobile for performance and UX */
    .card-3d {
        transform: none !important;
        transition: none !important;
    }
    
    /* Use touch press feedback instead */
    .experience-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s;
    }
}

@media screen and (max-width: 430px) {
    .opening-title { font-size: 2rem; }
    .hero-main-title { font-size: 2.5rem; }
    .prize-amount { font-size: 3rem; }
    
    .hero-right {
        height: 300px;
    }
    
    .experience-card {
        height: 350px;
    }
    
    .exp-modal-hero {
        height: 200px;
    }
}
@media (max-width: 900px) {

    .register-modal {
        width: 94vw;
        max-height: 90vh;
        padding: 35px 20px 20px;
    }

    .registration-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .registration-image {
        height: 190px;
    }

    .register-header {
        margin-bottom: 25px;
    }

    .register-header h2 {
        font-size: 32px;
    }

    .register-footer {
        flex-wrap: wrap;
        line-height: 1.5;
    }
}


@media (max-width: 500px) {

    .register-modal {
        padding: 30px 14px 18px;
        border-radius: 16px;
    }

    .registration-content {
        padding: 5px 18px 20px;
    }

    .registration-image {
        height: 170px;
    }

    .registration-content h3 {
        font-size: 22px;
    }

    .registration-info {
        grid-template-columns: 1fr;
    }

    .register-header h2 {
        font-size: 28px;
    }

    .register-header p {
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .trophy-img {
        width: 100%;
        max-width: 450px;
        height: 300px;
        object-fit: cover;
    }
}
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        margin-top: 18px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* ================================
   MOBILE RESPONSIVE - NAV LOGO
================================ */

@media (max-width: 768px) {

    .logo {
        height: 60px;
        gap: 3px;
    }

    .nav-logo {
        width: 55px;
        height: 55px;
        transform: scale(1.3);
    }

    .drone-title {
        font-size: 1.35rem;
        letter-spacing: -0.8px;
    }
}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .logo {
        height: 55px;
        gap: 2px;
    }

    .nav-logo {
        width: 48px;
        height: 48px;
        transform: scale(1.2);
    }

    .drone-title {
        font-size: 1.05rem;
        letter-spacing: -0.6px;
    }
}