.top-nav {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.top-nav a {
    padding: 10px 15px;
    border-radius: 999px;

    border: 1px solid rgba(56, 189, 248, 0.5);
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);

    color: #0f172a;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);

    transition: all 0.25s ease;
    text-decoration: none;

    opacity: 0.7;
}

.top-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.top-nav a:active {
    transform: scale(0.95);
}

.top-nav a.active {
    background: #38bdf8;
    color: #020617;
    font-weight: 600;
    opacity: 1;
}

.anime {
    position: relative;
}


.anime-rank {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);

    font-size: 13px;
    font-weight: 700;

    color: #0f172a;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);

    padding: 4px 10px;
    border-radius: 999px;

    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.4);

    z-index: 2;
}

.anime:nth-child(1) .anime-rank {
    background: gold;
}

.anime:nth-child(2) .anime-rank {
    background: #c0c0c0;
}

.anime:nth-child(3) .anime-rank {
    background: #cd7f32;
}

.anime-meta {
    display: block;
    margin-top: 6px;

    font-size: 12px;
    font-weight: 500;

    color: #94a3b8;
    text-align: center;
}