/* Mobile Responsive Fixes - ONLY FOR MOBILE, PC STAYS THE SAME */

/* ONLY apply fixes on mobile devices (max-width: 767px) */
@media (max-width: 767px) {
    /* Ensure proper mobile scaling */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        font-size: 16px;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    * {
        box-sizing: border-box;
    }
    
    /* Force mobile container styles */
    .main-index-container {
        padding: 0 !important;
        overflow-x: hidden;
    }
    
    /* Ensure sections are mobile-friendly */
    .top-section {
        padding: 0 1.5rem !important;
        width: 100% !important;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Make images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent horizontal scroll */
    .sectionContent {
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 1.5rem !important;
    }
    
    .sectionLogo {
        width: calc(100% - 1rem) !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 1.5rem 0.5rem !important;
        border-radius: 1rem !important;
    }
    
    .sectionLeft {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Fix data section - make it look better */
    .datas {
        width: calc(100% - 2rem) !important;
        flex-direction: column !important;
        margin: 3rem 1rem !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    
    .dataItem {
        margin-right: 0 !important;
        width: 100% !important;
        text-align: center !important;
        padding: 1.25rem 1rem !important;
        border-bottom: 1px solid rgba(216, 210, 255, 0.09) !important;
    }
    
    .dataItem:last-child {
        border-bottom: none !important;
    }
    
    .dataItem .label {
        font-size: 0.875rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        margin-bottom: 0.25rem !important;
    }
    
    .dataItem .num {
        font-size: 1.75rem !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
    
    /* Responsive text - better sizing */
    .title {
        font-size: 2.25rem !important;
        text-align: center !important;
        line-height: 1.1 !important;
        margin-top: 1.5rem !important;
    }
    
    .subtitle {
        font-size: 2.25rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        justify-content: center !important;
    }
    
    .ignite {
        font-size: 0.75rem !important;
        text-align: center !important;
        margin-top: 6rem !important;
        letter-spacing: 0.05em !important;
    }
    
    .launchBtn {
        width: 13rem !important;
        height: 3.5rem !important;
        font-size: 1rem !important;
        margin: 1.5rem auto !important;
        background-size: contain !important;
    }
    
    .audit {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .audit span {
        font-size: 0.75rem !important;
    }
    
    .c4rLogo, .packsheildLogo {
        width: 7rem !important;
        height: auto !important;
        margin: 0.25rem !important;
    }
    
    /* Fix canvas overflow */
    canvas {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: none !important;
    }
    
    /* Fix background video container */
    .top-section > div:first-child {
        width: 100% !important;
        right: 0 !important;
        left: 0 !important;
        display: none !important;
    }
    
    /* Fix feature sections */
    .feature-section {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 3rem !important;
    }
    
    .sectionTitle {
        font-size: 1.5rem !important;
        line-height: 1.75rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
    }
    
    .sectionDesc {
        font-size: 0.9375rem !important;
        line-height: 1.5rem !important;
        margin-top: 0.75rem !important;
        white-space: pre-wrap !important;
    }
    
    /* Hide desktop-only elements on mobile */
    .home-bg {
        background-size: cover !important;
        background-position: top center !important;
        min-height: 100vh !important;
    }
    
    /* Better spacing for hyperLiq text */
    .hyperLiq {
        padding: 0 1rem !important;
        margin-left: 0.5rem !important;
    }
    
    /* Hide videos on mobile for better performance */
    video {
        display: none !important;
    }
}
