@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: #ffffff;
    color: #ffffff;
}

main {
    width: 100%;
}

.categories-hero {
    width: 100%;
    padding: 5rem 3rem 0.75rem 3.5rem;
}

.categories-hero-inner {
    margin: 0 auto;
    text-align: center;
}

.categories-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: #000000;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.categories-hero p {
    margin: 10px auto 0;
    width: min(100%, 700px);
    color: #535353;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.45;
    font-weight: 400;
}

.hero-search {
    margin: 38px auto 0;
    width: min(100%, 800px);
    height: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f3f3f3;
}

.hero-search .fa-magnifying-glass {
    font-size: 1.2rem;
    color: #000000;
    flex-shrink: 0;
}

.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
}

.hero-search input::placeholder {
    color: #868686;
    font-size: 0.9rem;
    font-weight: 300;
}

.hero-search button {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #f6f8ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-search button:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.08);
}

.hero-search button:focus-visible,
.hero-search input:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

.hero-search .fa-arrow-right {
    font-size: 1.3rem;
    color: #000000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.categories-filter {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 24px 86px;
}

.categories-filter-inner {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 5px 30px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.349);
    background: rgba(255, 255, 255, 0.02);
    color: #1d1d1d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.category-chip:hover {
    border-color: #8f48ff;
    background: rgba(255, 255, 255, 0.08);
}

.category-chip.is-active {
    border-color: #8f48ff;
    background: linear-gradient(180deg, #8f48ff 0%, #5931d4 100%);
    color: #ffffff;
}

.categories-cards-section {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 94px 0.75rem 94px;
}

.categories-cards-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.category-showcase-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-showcase-thumb {
    width: 100%;
    aspect-ratio: 7 / 11;
    background: #535353 center / cover no-repeat;
}

.category-showcase-meta {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

.category-showcase-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.3;
}

.category-showcase-text p {
    margin: 4px 0 0;
    color: #535353;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.2;
}

.category-showcase-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #b18cff 0%, #8f48ff 50%, #6130d9 100%);
    color: #ffffff;
    font-size: 0.8rem;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.category-showcase-card:hover .category-showcase-arrow {
    transform: translate(1px, -1px);
    filter: brightness(1.07);
}
.trending-tags-section {
    padding: 100px 54px 104px;
}

.trending-tags-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trending-tags-inner h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.2;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.01em;
}

.trending-tags-list {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.trending-tag {
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.349);
    background: rgba(255, 255, 255, 0.02);
    color: #1d1d1d;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 1rem;
    line-height: 1;
    font-weight: 300;
}

.trending-tag:hover {
    color: #000000;
}

@media (max-width: 991px) {
    .categories-hero {
        padding: 64px 24px 36px;
    }

    .categories-hero h1 {
        max-width: 620px;
        margin: 0 auto;
    }

    .categories-hero p {
        margin-top: 14px;
        max-width: 620px;
        font-size: 1.12rem;
    }

    .hero-search {
        min-height: 64px;
        margin-top: 30px;
        padding: 9px 12px 9px 18px;
    }

    .hero-search input {
        font-size: 1.02rem;
    }

    .hero-search button {
        width: 46px;
        height: 46px;
    }

    .categories-filter {
        padding: 0 24px 68px;
    }

    .categories-filter-inner {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
        gap: 12px;
    }

    .category-chip {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 9px 24px;
        font-size: 1rem;
    }

    .categories-cards-section {
        padding: 0 24px 72px;
    }

    .categories-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .category-showcase-text h3 {
        font-size: 1.32rem;
    }

    .category-showcase-text p {
        font-size: 1.04rem;
    }

    .category-showcase-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .trending-tags-section {
        padding: 24px 30px 48px;
    }

    .trending-tags-list {
        gap: 12px;
    }

    .trending-tag {
        padding: 11px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .categories-hero {
        padding: 42px 20px 26px;
    }

    .categories-hero h1 {
        font-size: clamp(1.7rem, 8vw, 1.5rem);
        line-height: 1.16;
    }

    .categories-hero p {
        margin-top: 12px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-search {
        min-height: 56px;
        margin-top: 24px;
        gap: 10px;
        padding: 8px 10px 8px 14px;
    }

    .hero-search .fa-magnifying-glass {
        font-size: 0.95rem;
    }

    .hero-search input {
        font-size: 0.95rem;
    }

    .hero-search button {
        width: 38px;
        height: 38px;
    }

    .hero-search .fa-arrow-right {
        font-size: 1rem;
    }

    .categories-filter {
        padding: 0 20px 50px;
    }

    .categories-filter-inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .category-chip {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .categories-cards-section {
        padding: 0 20px 56px;
    }

    .categories-cards-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
    }

    .category-showcase-meta {
        margin-top: 10px;
        gap: 10px;
    }

    .category-showcase-text h3 {
        font-size: 1.15rem;
    }

    .category-showcase-text p {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .category-showcase-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    .trending-tags-section {
        padding: 20px 20px 36px;
    }

    .trending-tags-inner h2 {
        font-size: 1.5rem;
    }

    .trending-tags-list {
        margin-top: 20px;
        gap: 10px;
    }

    .trending-tag {
        width: calc(50% - 6px);
        padding: 10px 12px;
        font-size: 0.9rem;
        text-align: center;
    }
}