.popular-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    color: var(--text-soft);
    font-size: 10px;
}

.popular-breadcrumb strong {
    color: var(--text);
}

.popular-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 30px;
    margin-bottom: 35px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.popular-hero span {
    color: var(--primary);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.popular-hero h1 {
    margin: 5px 0;
    font-size: 29px;
}

.popular-hero p {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
}

.popular-hero-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0,191,166,.1);
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

.podium {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: end;
    gap: 15px;
    margin-bottom: 55px;
}

.podium-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    text-align: center;
}

.podium-card.first {
    padding-top: 28px;
    padding-bottom: 28px;
    border-color: var(--primary);
}

.podium-position {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 10px;
    font-weight: 900;
}

.podium-card.first .podium-position {
    background: var(--primary);
    color: white;
}

.podium-cover {
    display: block;
    width: 125px;
    height: 175px;
    margin: auto;
    overflow: hidden;
    border-radius: 6px;
}

.podium-card.first .podium-cover {
    width: 145px;
    height: 205px;
}

.podium-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.podium-card:hover .podium-cover img {
    transform: scale(1.04);
}

.podium-info h2 {
    margin: 13px 0 4px;
    font-size: 14px;
}

.podium-card.first .podium-info h2 {
    font-size: 16px;
}

.podium-info h2 a:hover {
    color: var(--primary);
}

.podium-info p {
    margin: 0;
    color: var(--text-soft);
    font-size: 9px;
}

.podium-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 9px;
}

.star {
    color: #ccc;
    font-size: 11px;
    letter-spacing: -2px;
}

.star.active {
    color: var(--yellow);
}

.podium-rating strong {
    margin-left: 5px;
    color: var(--text-soft);
    font-size: 9px;
}

.podium-views {
    display: block;
    margin-top: 7px;
    color: var(--text-light);
    font-size: 8px;
}

.ranking-section {
    margin-bottom: 50px;
}

.ranking-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.ranking-heading h2 {
    margin: 0;
    font-size: 19px;
}

.ranking-heading p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 10px;
}

.ranking-period {
    display: flex;
    gap: 4px;
}

.ranking-period button {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text-soft);
    cursor: pointer;
    font-size: 8px;
}

.ranking-period button.active,
.ranking-period button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.ranking-list {
    border-top: 1px solid var(--border);
}

.ranking-item {
    display: grid;
    grid-template-columns: 45px 70px minmax(0, 1fr) 200px 30px;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.ranking-number {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.ranking-cover {
    width: 70px;
    height: 95px;
    overflow: hidden;
    border-radius: 5px;
}

.ranking-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.ranking-item:hover .ranking-cover img {
    transform: scale(1.04);
}

.ranking-info {
    min-width: 0;
}

.ranking-status {
    display: inline-block;
    padding: 3px 5px;
    border-radius: 3px;
    background: rgba(0,191,166,.1);
    color: var(--primary);
    font-size: 7px;
    font-weight: 800;
}

.ranking-info h3 {
    margin: 6px 0 3px;
    font-size: 13px;
}

.ranking-info h3 a:hover {
    color: var(--primary);
}

.ranking-info p {
    margin: 0;
    color: var(--text-soft);
    font-size: 9px;
}

.ranking-genres {
    display: flex;
    gap: 4px;
    margin-top: 7px;
}

.ranking-genres span {
    padding: 3px 5px;
    border-radius: 3px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 7px;
}

.ranking-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ranking-stats div {
    min-width: 0;
}

.ranking-stats span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 7px;
}

.ranking-stats strong {
    display: block;
    font-size: 9px;
    white-space: nowrap;
}

.ranking-stats .star {
    font-size: 8px;
}

.ranking-arrow {
    color: var(--text-light);
    font-size: 18px;
    text-align: center;
}

.ranking-arrow:hover {
    color: var(--primary);
}

.popular-footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
}

.popular-footer-card > div > span {
    color: var(--primary);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.popular-footer-card h2 {
    margin: 5px 0;
    font-size: 18px;
}

.popular-footer-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 10px;
}

.popular-footer-card > a {
    flex-shrink: 0;
    padding: 11px 15px;
    border-radius: 5px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 800;
}

@media (max-width: 850px) {

    .podium-cover {
        width: 105px;
        height: 150px;
    }

    .podium-card.first .podium-cover {
        width: 125px;
        height: 175px;
    }

    .ranking-item {
        grid-template-columns: 35px 65px minmax(0, 1fr) 30px;
    }

    .ranking-stats {
        display: none;
    }

}

@media (max-width: 600px) {

    .popular-hero {
        padding: 25px 20px;
    }

    .popular-hero h1 {
        font-size: 23px;
    }

    .popular-hero-icon {
        width: 50px;
        height: 50px;
    }

    .podium {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .podium-card.first {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .podium-card.second {
        grid-column: 1;
        grid-row: 2;
    }

    .podium-card.third {
        grid-column: 2;
        grid-row: 2;
    }

    .podium-card.first .podium-cover {
        width: 130px;
        height: 185px;
    }

    .podium-card:not(.first) .podium-cover {
        width: 90px;
        height: 130px;
    }

    .ranking-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-period {
        width: 100%;
    }

    .ranking-period button {
        flex: 1;
    }

    .ranking-item {
        grid-template-columns: 30px 65px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-arrow {
        display: none;
    }

    .ranking-info h3 {
        font-size: 12px;
    }

    .ranking-genres {
        display: none;
    }

    .popular-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 400px) {

    .podium {
        gap: 8px;
    }

    .podium-card {
        padding: 14px;
    }

    .podium-card:not(.first) .podium-cover {
        width: 75px;
        height: 110px;
    }

}