header {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    font-size: 14px;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 25px;
}

.online {
    font-weight: 700;
    font-size: 14px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 4px;
}

.container {
    max-width: 1250px;
    width: 100%;
    margin: 30px auto;
    padding: 0 20px;
    flex-grow: 1;
}

.layout {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

aside {
    width: 270px;
    flex-shrink: 0;
}

.store-content {
    flex-grow: 1;
    width: 100%;
}

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand .footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.copyright, .ip-info {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 30px;
    align-items: center;
    margin-top: 20px;
    color: white;
}

.mir-logo {
    font-weight: 800;
    font-size: 18px;
    color: #00CBFF;
    border: 2px solid #00CBFF;
    padding: 2px 8px;
    border-radius: 4px;
}

.footer-links, .footer-payments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-payments h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-links a, .footer-payments p {
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .layout {
        flex-direction: column;
    }
    aside {
        width: 100%;
    }
    .mode-selector, .category-selector {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .mode-btn, .cat-btn {
        flex: 1 1 calc(33.333% - 10px);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .mode-btn, .cat-btn {
        flex: 1 1 calc(50% - 10px);
    }
    .hero-banner {
        padding: 30px 20px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .mode-btn, .cat-btn {
        flex: 1 1 100%;
    }
    .store-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}