/* ==========================================================================
   RESPONSIVE DESIGN (Ferrari Design System)
   ========================================================================== */

@media (max-width: 1400px) {
    .f-editorial-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .f-editorial-wrapper {
        grid-template-columns: 1fr 300px;
    }
    .f-sidebar-left { display: none; }
    .f-hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .f-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .f-hero-visual { height: 400px; clip-path: none; order: -1; }
    .f-hero-content { padding: 3rem 5%; }
    
    .f-editorial-wrapper {
        grid-template-columns: 1fr;
        padding-top: 3rem; gap: 3rem;
    }
    .f-sidebar-right { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .f-ad-sticky { position: static; }
    
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    /* Header/Nav Beautification */
    .header-inner { 
        flex-direction: column; 
        justify-content: center; 
        height: auto; 
        padding: 1rem 0; 
        gap: 1rem; 
    }
    .main-nav, .f-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-nav a, .f-nav a { 
        margin: 0; 
        font-size: 1rem;
        padding: 0.5rem;
        position: relative;
    }
    .main-nav a.active::after, .f-nav a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--f-red);
    }
    
    /* Footer Beautification */
    .footer-inner, .footer-flex { 
        flex-direction: column; 
        align-items: center;
        gap: 2.5rem; 
        text-align: center; 
        padding-bottom: 2rem;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links, .f-footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    .footer-links a, .f-footer-links a { 
        text-align: center; 
        margin: 0;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-links a:active, .f-footer-links a:active {
        background: var(--f-red);
        border-color: var(--f-red);
    }
    
    .f-massive-title { font-size: 1.75rem; }
    .f-article-title { font-size: 1.25rem; }
    
    .game-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    
    .f-sidebar-right { grid-template-columns: 1fr; }
    
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero-section { padding: 5rem 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .f-massive-title { font-size: 1.25rem; }
    .btn, .f-btn-primary { padding: 0.8rem 2rem; font-size: 1.2rem; }
    .card-image { height: 180px; }
    .f-hero-visual { height: 250px; }
}