* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08070d;
    --surface: #12101c;
    --surface-2: #1b1730;
    --line: #2f2a47;
    --text: #f4f2ff;
    --muted: #b9b2d3;
    --accent: #8b3dff;
    --accent-soft: #bb93ff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
}

.shop-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 10%, rgba(139, 61, 255, 0.35), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(187, 147, 255, 0.26), transparent 30%),
        radial-gradient(circle at 50% 92%, rgba(139, 61, 255, 0.2), transparent 38%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.04) 20%, transparent 20%, transparent 45%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.03) 65%, transparent 65%);
}

.container {
    width: min(1160px, calc(100% - 2.2rem));
    margin-inline: auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(8, 7, 13, 0.86);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #231b3f, #0f0d18);
    color: var(--accent-soft);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 1px;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1.4px;
}

nav {
    margin-left: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.7px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.hamburger {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: linear-gradient(135deg, #2e2250, #1a1330);
    color: var(--text);
    font-size: 1.6rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(139, 61, 255, 0.4);
    transform: scale(1.08);
}

.shop-hero {
    padding: 5.2rem 0 2.3rem;
}

.hero-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    font-weight: 700;
}

.shop-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: 1.7px;
    margin: 0.7rem 0;
}

.hero-text {
    color: #d7d1ea;
    max-width: 56ch;
}

.shop-controls {
    padding: 1rem 0 2rem;
}

.controls-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid var(--line);
    background: rgba(18, 16, 28, 0.88);
    color: var(--text);
    padding: 0.48rem 0.8rem;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
}

.chip.is-active {
    background: linear-gradient(140deg, var(--accent), var(--accent-soft));
    border-color: transparent;
    color: #fff;
}

.result-count {
    color: var(--muted);
    font-size: 0.9rem;
}

.products {
    padding-bottom: 4.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    border: 1px solid var(--line);
    background: linear-gradient(155deg, rgba(26, 21, 44, 0.96), rgba(15, 13, 24, 0.98));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #6a4ea9;
}

.product-card.is-hidden {
    display: none;
}

.thumb {
    min-height: 180px;
    border-bottom: 1px solid var(--line);
    display: grid;
    place-items: end start;
    padding: 0.8rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 1.12rem;
    color: #f3ecff;
}

.thumb-1 {
    background: linear-gradient(145deg, #2d1a5a, #110b25);
}

.thumb-2 {
    background: linear-gradient(145deg, #5721ac, #1b0f36);
}

.thumb-3 {
    background: linear-gradient(145deg, #1a1330, #3b246f);
}

.thumb-4 {
    background: linear-gradient(145deg, #241447, #130d23);
}

.thumb-5 {
    background: linear-gradient(145deg, #3d2278, #110c20);
}

.thumb-6 {
    background: linear-gradient(145deg, #201135, #5e31b2);
}

.thumb-7 {
    background: linear-gradient(145deg, #28184f, #151024);
}

.thumb-8 {
    background: linear-gradient(145deg, #3f2690, #181126);
}

.card-body {
    padding: 0.95rem;
}

.card-body h3 {
    margin-bottom: 0.35rem;
    font-size: 1.06rem;
}

.card-body p {
    color: #d8d1ed;
}

.price {
    color: var(--accent-soft);
    margin-top: 0.75rem;
    font-weight: 700;
}

.shop-banner {
    padding-bottom: 4.5rem;
}

.banner-wrap {
    border: 1px solid var(--line);
    background: linear-gradient(140deg, rgba(35, 27, 64, 0.9), rgba(17, 13, 31, 0.9));
    padding: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
    background: linear-gradient(140deg, var(--accent), var(--accent-soft));
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 1.3rem 0 1.8rem;
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hamburger {
        display: block;
    }

    nav {
        order: 3;
        width: 100%;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        padding-bottom: 0.8rem;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-hero {
        padding-top: 3.5rem;
    }
}
