/**
 * Mirror League Responsive CSS
 * Additional mobile fixes beyond the main.css
 * Version: 1.0.0
 */

/* Tablet Landscape (992px - 1200px) */
@media (max-width: 1200px) {
    .wrap {
        max-width: 960px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .team-card {
        width: 150px;
    }
    
    .mission-grid {
        gap: 1rem;
    }
    
    .partner-grid {
        gap: 1rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-between;
        gap: 1rem;
    }
    
    .stat-n {
        font-size: 1.8rem;
    }
    
    .about-badge {
        bottom: -10px;
        right: -5px;
        padding: 0.8rem 1rem;
    }
    
    .about-badge .big {
        font-size: 1.5rem;
    }
    
    .pillars {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        width: 130px;
        padding: 1rem 0.8rem;
    }
    
    .team-emblem {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .team-city {
        font-size: 0.9rem;
    }
    
    .feature {
        padding: 0.75rem;
    }
    
    .mission-card {
        padding: 1.2rem;
    }
    
    .mc-num {
        font-size: 2.5rem;
    }
    
    .partner-card {
        padding: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .socials {
        justify-content: center;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .hero-eyebrow {
        font-size: 0.55rem;
        gap: 0.4rem;
    }
    
    .hero-eyebrow::before {
        width: 20px;
    }
    
    .hero-desc {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        margin-top: 1.8rem;
        padding-top: 1.5rem;
    }
    
    .stat-n {
        font-size: 1.5rem;
    }
    
    .stat-l {
        font-size: 0.55rem;
    }
    
    .hero-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 0.8rem;
    }
    
    .badge-yr {
        font-size: 1.3rem;
    }
    
    .badge-lbl {
        font-size: 0.5rem;
    }
    
    .ticker-track span {
        font-size: 0.7rem;
        padding: 0 1rem;
    }
    
    .ticker-track span::after {
        font-size: 0.3rem;
    }
    
    .teams-intro p {
        font-size: 0.85rem;
    }
    
    .teams-track {
        gap: 0.8rem;
    }
    
    .team-card {
        width: 110px;
    }
    
    .team-emblem {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-city {
        font-size: 0.8rem;
    }
    
    .team-sub {
        font-size: 0.5rem;
    }
    
    .feature-name {
        font-size: 0.65rem;
    }
    
    .feature-desc {
        font-size: 0.7rem;
    }
    
    .mc-title {
        font-size: 1.1rem;
    }
    
    .mc-text {
        font-size: 0.75rem;
    }
    
    .q-text {
        font-size: 1.3rem;
    }
    
    .q-author {
        font-size: 0.6rem;
        margin-top: 1rem;
    }
    
    .p-title {
        font-size: 0.9rem;
    }
    
    .p-text {
        font-size: 0.7rem;
    }
    
    .logo-tagline {
        font-size: 1rem;
    }
    
    .cta-meta {
        font-size: 0.65rem;
    }
    
    .footer-desc {
        font-size: 0.75rem;
    }
    
    .footer-col a {
        font-size: 0.75rem;
    }
}

/* Very Small Devices (up to 380px) */
@media (max-width: 380px) {
    .hero-h1 {
        font-size: 2.8rem;
    }
    
    .hero-sub {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .team-card {
        width: 100px;
    }
    
    .team-emblem {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .team-city {
        font-size: 0.7rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover, 
    .team-card:hover,
    .mission-card:hover,
    .partner-card:hover {
        transform: none;
    }
    
    .team-card:active {
        transform: scale(0.98);
        background: var(--gold-ghost);
    }
    
    .btn:active {
        transform: scale(0.96);
    }
}

/* Dark Mode Support (if user prefers) */
@media (prefers-color-scheme: light) {
    body {
        background: #f5f5f5;
        color: #1a1a1a;
    }
    
    .ticker {
        background: #c9a84c;
    }
    
    #quote {
        background: #c9a84c;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-grid {
        animation: none;
    }
    
    .ticker-track,
    .teams-track {
        animation: none;
    }
    
    .sr {
        opacity: 1;
        transform: none;
    }
}