/* Responsive: tablet 1024, mobile 768, small 480 */

@media (max-width: 1024px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .site-footer__col--about, .site-footer__col--responsible { grid-column: 1 / -1; }
    .casinos-grid, .slots-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .slot-hero__inner { grid-template-columns: 1fr; }
    .slot-hero__stats { grid-template-columns: repeat(3, 1fr); }
    .mechanic__steps, .bonus-rounds, .features-grid, .crash-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-header__nav { display: none; }
    .site-header__burger { display: inline-flex; }
    .site-header__cta {
        display: inline-flex;
        margin-left: auto;
        margin-right: 8px;
        padding: 8px 14px;
        min-height: 38px;
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }
    .site-header__mobile[hidden] { display: none; }
    .site-header__mobile {
        display: block;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        z-index: 90;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        animation: mobileMenuIn 0.2s ease;
    }
    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    /* Brand text can be compact on mobile */
    .site-header__brand { font-size: 1.05rem; }

    .hero { padding: 36px 0 32px; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }

    .section { padding: 32px 0; }

    .casinos-grid, .slots-grid, .blog-grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }

    .slot-hero__actions { flex-direction: column; align-items: stretch; }
    .slot-hero__actions .btn { width: 100%; }
    .slot-hero__stats { grid-template-columns: repeat(2, 1fr); }

    .filters__row { flex-direction: column; align-items: stretch; }
    .filters__label { min-width: 0; }

    .catalog-hero__stats { gap: 8px; }

    .author-box { flex-direction: column; text-align: center; }
    .author-box__head { justify-content: center; }
    .author-box__cred { justify-content: center; }

    .back-to-top {
        right: 14px; bottom: 14px;
        width: 44px; height: 44px;
    }
}

@media (max-width: 480px) {
    /* Keep brand visible on small screens - just make it compact */
    .site-header__brand { font-size: 0.88rem; letter-spacing: -0.02em; }
    .site-header__logo { gap: 6px; }
    .site-header__logo-icon { width: 24px; height: 24px; }
    .site-header__cta { padding: 7px 10px; font-size: 0.8rem; min-height: 34px; }
}

@media (max-width: 480px) {
    .hero__stats { grid-template-columns: 1fr 1fr; }
    .hero__title { font-size: 1.6rem; }
    .slot-hero__stats { grid-template-columns: 1fr; }
    .promo-cta__code-wrap { flex-direction: column; }
    .promo-cta__code { font-size: 1.3rem; }
    .page-404__code { font-size: 4rem; }
    /* Small mobile: force back-to-top visible */
    .back-to-top { right: 10px; bottom: 10px; width: 42px; height: 42px; }
}
