/* 
@media (max-width: 640px) {
   
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
  
    body {
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: 100%;
    }
    
   
    .navbar {
        will-change: border-color, box-shadow;
        contain: layout style paint;
    }
    
   
    .floating-shape {
        animation: none !important;
        will-change: auto;
    }
   
    .hero, .gender-section, .about-section, .contact-section {
        will-change: auto;
        contain: layout style;
    }
    
   
    button, a, input, select, textarea {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
  
    .gender-card, .stat-item, .profile-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        will-change: transform;
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .navbar {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98) !important;
    }
}


@media (max-width: 480px) {
  
    .floating-shape {
        display: none;
    }
    
  
    .card, .modal-content {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
 
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}


@media (hover: hover) and (min-width: 1024px) {
    .navbar, .hero, .gender-section, .about-section {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    input[type="checkbox"],
    input[type="radio"] {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
}


@supports (scroll-behavior: smooth) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
        html {
            scroll-behavior: smooth;
        }
    }
}


body {
    text-rendering: optimizeLegibility;
    -webkit-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: auto;
}


.navbar.scrolled {
    will-change: border-color, box-shadow;
}


@supports (padding: max(0px)) {
    body {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
} */
