.anime-page {
    min-height: 100vh;
    padding: 72px 5% 48px;
    background: #08080d;
    color: #fff;
}

.anime-header {
    max-width: 1400px;
    margin: 0 auto 28px;
}

.anime-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.anime-title {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
}

.anime-search {
    display: flex;
    width: min(460px, 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.anime-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 13px 14px;
    font: inherit;
}

.anime-search button,
.anime-filter-btn {
    border: 0;
    background: #7c3aed;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    padding: 0 18px;
}

.anime-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.anime-filter-btn {
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.anime-filter-btn.active {
    background: #7c3aed;
    border-color: #a78bfa;
}

.anime-results {
    max-width: 1400px;
    margin: 0 auto;
}

.anime-section {
    margin-top: 34px;
}

.anime-section-title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 900;
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.anime-card {
    cursor: pointer;
}

.anime-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #151520;
}

.anime-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.anime-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .82));
    opacity: .92;
}

.anime-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: #7c3aed;
    color: #fff;
    display: grid;
    place-items: center;
}

.anime-card-title {
    margin: 10px 0 4px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.anime-card-meta {
    color: #a0a0a0;
    font-size: 13px;
}

.anime-empty {
    color: #a0a0a0;
    padding: 26px 0;
}

@media (max-width: 760px) {
    .anime-page {
        padding-left: 92px;
        padding-right: 16px;
    }

    .anime-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .anime-title {
        font-size: 32px;
    }

    .anime-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }
}
