/* =========================
   ANIMA DIRECTORY (PRO)
   ========================= */

.anima-dir {
    --bg: #07070a;
    --panel: rgba(255,255,255,.04);
    --panel2: rgba(I: rgba(255,255,255,.06);
    --border: rgba(255,255,255,.10);
    --soft: rgba(255,255,255,.07);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.62);
    --muted2: rgba(255,255,255,.42);
    --cyan: rgba(0,240,255,1);
    --mag: rgba(255,0,153,1);
    --shadow: 0 18px 50px rgba(0,0,0,.45);
    background: radial-gradient(1200px 600px at 12% 0%, rgba(0,240,255,.10), transparent 60%), radial-gradient(900px 500px at 88% 10%, rgba(255,0,153,.08), transparent 55%), var(--bg);
    padding-bottom: 80px;
}

/* HERO */
.anima-dir-hero {
    position: relative;
    padding: 44px 18px 22px;
}

.anima-dir-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 260px at 50% 0%, rgba(0,240,255,.20), transparent 60%), radial-gradient(900px 260px at 10% 10%, rgba(255,0,153,.12), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.04), transparent 70%);
    pointer-events: none;
}

.anima-dir-hero__noise {
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
}

.anima-dir-hero__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 28px 22px 22px;
    overflow: hidden;
}

    .anima-dir-hero__inner:before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(90deg, rgba(255,0,153,.45), rgba(0,240,255,.45));
        opacity: .18;
        filter: blur(14px);
        pointer-events: none;
    }

.anima-dir-hero__kicker {
    letter-spacing: .22em;
    font-weight: 800;
    font-size: 12px;
    color: rgba(0,240,255,.75);
    text-transform: uppercase;
}

.anima-dir-hero__title {
    margin: 10px 0 6px;
    color: var(--text);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
}

.anima-dir-hero__sub {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

/* SEARCH */
.anima-dir-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.35);
    box-shadow: inset 0 0 0 1px rgba(0,240,255,.06);
}

.anima-dir-search__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: rgba(0,240,255,.85);
    background: rgba(0,240,255,.08);
    border: 1px solid rgba(0,240,255,.18);
    flex: 0 0 auto;
}

.anima-dir-search input {
    flex: 1 1 auto;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

    .anima-dir-search input::placeholder {
        color: rgba(255,255,255,.38);
    }

/* TOOLBAR */
.anima-dir-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    flex-wrap: wrap;
}

.anima-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}

.anima-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    color: rgba(255,255,255,.82);
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

    .anima-tab:hover {
        transform: translateY(-1px);
        border-color: rgba(0,240,255,.22);
    }

    .anima-tab.active {
        background: rgba(0,240,255,.10);
        border-color: rgba(0,240,255,.50);
        box-shadow: 0 0 0 1px rgba(0,240,255,.10);
    }

.anima-tab__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0,240,255,.9);
    box-shadow: 0 0 16px rgba(0,240,255,.35);
}

    .anima-tab__dot.is-green {
        background: rgba(94, 255, 150, .95);
        box-shadow: 0 0 16px rgba(94,255,150,.25);
    }

    .anima-tab__dot.is-amber {
        background: rgba(255, 196, 0, .95);
        box-shadow: 0 0 16px rgba(255,196,0,.25);
    }

.anima-tab__count {
    margin-left: -4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

/* select */
.anima-select {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}

.anima-select__label {
    color: rgba(255,255,255,.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.anima-select select {
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.30);
    color: rgba(255,255,255,.88);
    outline: none;
}

/* CONTENT */
.anima-dir-content {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 0 18px;
}

.anima-dir-status {
    margin: 14px 0 16px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
}

.anima-dir-status__text {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.02);
}

/* GRID */
.anima-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1100px) {
    .anima-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 800px) {
    .anima-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 520px) {
    .anima-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.anima-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,.35);
    transform: translateZ(0);
    transition: transform .20s ease, border-color .20s ease;
}

    .anima-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0,240,255,.24);
    }

.anima-card__cover {
    height: 106px;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.anima-card__glow {
    content: "";
    position: absolute;
    inset: -40px -30px auto -30px;
    height: 160px;
    background: radial-gradient(220px 120px at 20% 40%, rgba(0,240,255,.18), transparent 62%), radial-gradient(260px 140px at 80% 10%, rgba(255,0,153,.14), transparent 62%);
    pointer-events: none;
    opacity: .9;
}

.anima-card__body {
    position: relative;
    padding: 18px 16px 14px;
    text-align: center;
}

.anima-card__avatar {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid rgba(10,12,18,1);
    box-shadow: 0 14px 26px rgba(0,0,0,.45);
    background: rgba(0,0,0,.35);
}

    .anima-card__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.anima-card__name {
    margin-top: 52px;
    font-weight: 900;
    font-size: 16px;
    color: rgba(255,255,255,.92);
}

    .anima-card__name a {
        color: inherit;
        text-decoration: none;
    }

        .anima-card__name a:hover {
            text-decoration: underline;
        }

.anima-card__meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.anima-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,240,255,.08);
    border: 1px solid rgba(0,240,255,.22);
    color: rgba(0,240,255,.88);
    font-weight: 900;
    font-size: 12px;
}

.anima-handle {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    font-weight: 700;
}

.anima-card__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.anima-btn {
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .04em;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.92);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

    .anima-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(0,240,255,.20);
    }

.anima-btn--primary {
    background: linear-gradient(135deg, rgba(0,240,255,.22), rgba(255,0,153,.12));
    border-color: rgba(0,240,255,.40);
    box-shadow: 0 0 0 1px rgba(0,240,255,.10), 0 18px 40px rgba(0,240,255,.06);
}

.anima-btn--ghost {
    background: rgba(0,0,0,.22);
}

.anima-card__hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,.42);
}

/* EMPTY */
.anima-empty {
    margin: 26px 0;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    text-align: center;
}

.anima-empty__icon {
    font-size: 28px;
}

.anima-empty__title {
    margin-top: 8px;
    font-weight: 900;
    color: rgba(255,255,255,.90);
}

.anima-empty__sub {
    margin-top: 6px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

/* SKELETON */
.anima-card--skel .anima-card__cover {
    background: rgba(255,255,255,.06);
}

.anima-skel-line {
    height: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.10), rgba(255,255,255,.05));
    background-size: 200% 100%;
    animation: skel 1.1s infinite linear;
}

    .anima-skel-line.short {
        width: 60%;
        margin-top: 8px;
    }

.anima-skel-avatar {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    margin: -48px auto 10px;
    background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.10), rgba(255,255,255,.05));
    background-size: 200% 100%;
    animation: skel 1.1s infinite linear;
}

.anima-skel-row {
    height: 36px;
    margin-top: 12px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.10), rgba(255,255,255,.05));
    background-size: 200% 100%;
    animation: skel 1.1s infinite linear;
}

@keyframes skel {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.anima-rel-btn.state-pending {
    background: linear-gradient(90deg, rgba(0,255,255,.20), rgba(255,0,200,.18));
    border: 1px solid rgba(0,255,255,.35);
    box-shadow: 0 0 18px rgba(0,255,255,.10);
}

.anima-rel-btn.state-active {
    background: linear-gradient(90deg, rgba(0,255,140,.22), rgba(0,255,255,.16));
    border: 1px solid rgba(0,255,140,.35);
}

.anima-rel-btn.loading {
    opacity: .85;
    cursor: progress;
}
