/* ============================================================
   BEN'S LINE DANCE — TOP 10 V3
   ============================================================ */

.top10-main {
    background: var(--cream, #FAF8F4);
    padding: 70px 0 110px;
}

/* ============================================================
   HERO
   ============================================================ */

.top10-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(111, 138, 106, .28), transparent 34%),
        linear-gradient(135deg, #5C7358 0%, #4D634A 48%, #394A38 100%);
    color: #fff;
}

.top10-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(42, 54, 41, .28),
            transparent 65%
        );
    pointer-events: none;
}

.top10-hero .container {
    position: relative;
    z-index: 2;
}

.top10-hero .hero-content {
    max-width: 900px;
    padding: 90px 0 85px;
}

.top10-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.top10-hero h1 {
    margin: 0;
    max-width: 820px;
    color: #fff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 900;
}

.top10-hero h1 span {
    display: block;
    color: #E4EAD8;
}

.top10-hero .hero-text {
    max-width: 700px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 160px;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.hero-stat > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    color: #E4EAD8;
}

.hero-stat strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.1;
}

.hero-stat small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ============================================================
   INTRO
   ============================================================ */

.top10-intro {
    max-width: 850px;
    margin: 0 auto;
    padding: 75px 20px 55px;
    text-align: center;
}

.top10-intro .section-kicker {
    color: #6F8A6A;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.top10-intro h2 {
    margin: 10px 0 14px;
    color: #5A4634;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.top10-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: #746A60;
    font-size: 16px;
    line-height: 1.75;
}

/* ============================================================
   SECTION
   ============================================================ */

.top10-section {
    position: relative;
    margin: 0 auto 60px;
    max-width: 1180px;
    padding: 34px;
    border: 1px solid rgba(90,70,52,.09);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(61, 49, 39, .07);
    overflow: hidden;
}

.top10-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #5C7358,
        #6F8A6A,
        #A7B69E
    );
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.top10-section-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(90,70,52,.10);
}

.top10-section-title {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.top10-section-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 21px;
    background: #EEF2EA;
    color: #5C7358;
    font-size: 28px;
    box-shadow: inset 0 0 0 1px rgba(92,115,88,.08);
}

.top10-section-title > div:last-child {
    min-width: 0;
}

.top10-section-title .section-kicker {
    display: block;
    margin-bottom: 5px;
    color: #6F8A6A;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.top10-section-title h2 {
    margin: 0;
    color: #3E352D;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -.04em;
}

.top10-section-title p {
    margin: 8px 0 0;
    color: #85796D;
    font-size: 14px;
}

.top10-count {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #F4EFE7;
    color: #5A4634;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.top10-count::before {
    content: "TOP";
    color: #6F8A6A;
    font-size: 10px;
    letter-spacing: .1em;
}

/* ============================================================
   LIST
   ============================================================ */

.top10-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* ============================================================
   CARD
   ============================================================ */

.top10-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(90,70,52,.09);
    border-radius: 20px;
    background: #FAF8F4;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.top10-card:hover {
    transform: translateY(-2px);
    border-color: rgba(111,138,106,.28);
    box-shadow: 0 12px 28px rgba(61,49,39,.09);
}

/* ============================================================
   #1 — FEATURED
   ============================================================ */

.top10-card:first-child {
    grid-column: 1 / -1;
    min-height: 170px;
    padding: 26px;
    border-color: rgba(111,138,106,.28);
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(111,138,106,.13),
            transparent 34%
        ),
        linear-gradient(135deg, #fff 0%, #F3F6EF 100%);
    box-shadow: 0 16px 38px rgba(70,88,67,.12);
}

.top10-card:first-child .top10-rank {
    width: 78px;
    height: 78px;
    font-size: 25px;
    border-radius: 23px;
    background: #5C7358;
    color: #fff;
    box-shadow: 0 10px 24px rgba(92,115,88,.25);
}

.top10-card:first-child .top10-rank i {
    color: #E6EBD8;
}

.top10-card:first-child .top10-dance-info strong {
    font-size: 24px;
}

.top10-card:first-child .top10-vote-count strong {
    font-size: 25px;
}

/* ============================================================
   RANK
   ============================================================ */

.top10-rank {
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 18px;
    background: #EFEAE2;
    color: #5A4634;
    font-size: 18px;
    font-weight: 900;
}

.top10-rank i {
    color: #8A755E;
    font-size: 11px;
}

/* ============================================================
   DANCE INFO
   ============================================================ */

.top10-dance-info {
    min-width: 0;
}

.top10-dance-info strong {
    display: block;
    overflow: hidden;
    color: #3E352D;
    font-size: 17px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top10-song,
.top10-artist {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top10-song {
    margin-top: 7px;
    color: #6F8A6A;
    font-size: 13px;
    font-weight: 800;
}

.top10-song i {
    margin-right: 5px;
}

.top10-artist {
    margin-top: 3px;
    color: #8B8177;
    font-size: 12px;
}

/* ============================================================
   VOTE BLOCK
   ============================================================ */

.top10-vote-block {
    min-width: 145px;
}

.top10-vote-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #8B8177;
    font-size: 11px;
}

.top10-vote-count i {
    color: #6F8A6A;
}

.top10-vote-count strong {
    color: #5A4634;
    font-size: 18px;
}

.top10-vote-count span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============================================================
   POPULARITY
   ============================================================ */

.top10-popularity {
    margin: 9px 0 10px;
}

.top10-popularity-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #E7E4DC;
}

.top10-popularity-track span {
    display: block;
    width: var(--vote-width, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #6F8A6A,
        #A2B29A
    );
}

/* ============================================================
   BUTTON
   ============================================================ */

.top10-vote-form {
    margin: 0;
}

.top10-vote-button {
    width: 100%;
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid #6F8A6A;
    border-radius: 11px;
    background: #6F8A6A;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
    transition: .2s ease;
}

.top10-vote-button:hover {
    background: #5C7358;
    border-color: #5C7358;
    transform: translateY(-1px);
}

.top10-vote-button.voted,
.top10-vote-button:disabled {
    background: #E8ECE5;
    border-color: #D7DED2;
    color: #6F786A;
    cursor: default;
    transform: none;
}

/* ============================================================
   EMPTY
   ============================================================ */

.top10-empty {
    padding: 35px 20px;
    border: 1px dashed #D8D1C8;
    border-radius: 18px;
    background: #FAF8F4;
    color: #8B8177;
    text-align: center;
    font-size: 14px;
}

.top10-empty i {
    display: block;
    margin-bottom: 10px;
    color: #A6B19F;
    font-size: 24px;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .top10-section {
        margin-left: 16px;
        margin-right: 16px;
        padding: 24px;
    }

    .top10-list {
        grid-template-columns: 1fr;
    }

    .top10-card:first-child {
        grid-column: auto;
    }

}

@media (max-width: 700px) {

    .top10-hero .hero-content {
        padding: 65px 0 60px;
    }

    .top10-hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .top10-hero .hero-text {
        font-size: 15px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-stat {
        width: 100%;
    }

    .top10-intro {
        padding: 55px 20px 40px;
    }

    .top10-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .top10-section-title {
        align-items: flex-start;
    }

    .top10-section-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .top10-section-title h2 {
        font-size: 34px;
    }

    .top10-count {
        align-self: flex-start;
    }

    .top10-card,
    .top10-card:first-child {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 13px;
        min-height: 0;
        padding: 15px;
    }

    .top10-card:first-child {
        padding: 18px;
    }

    .top10-rank,
    .top10-card:first-child .top10-rank {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 16px;
    }

    .top10-card:first-child .top10-dance-info strong {
        font-size: 19px;
    }

    .top10-vote-block {
        grid-column: 2;
        min-width: 0;
    }

    .top10-vote-count {
        justify-content: flex-start;
    }

    .top10-dance-info strong {
        white-space: normal;
    }

}

@media (max-width: 450px) {

    .top10-main {
        padding-bottom: 90px;
    }

    .top10-section {
        margin-left: 10px;
        margin-right: 10px;
        padding: 18px;
        border-radius: 23px;
    }

    .top10-section-title {
        gap: 14px;
    }

    .top10-section-title h2 {
        font-size: 29px;
    }

    .top10-section-title p {
        font-size: 12px;
    }

    .top10-card {
        border-radius: 16px;
    }

}


.top10-intro {
    text-align: center;
}

.top10-intro .section-kicker {
    text-align: center;
}

.top10-intro h2 {
    text-align: center;
}

.top10-intro p {
    text-align: center;
}

.top10-admin-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #667261;
    font-size: 12px;
    font-weight: 700;
}

.top10-intro {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 8px 0 34px;
    padding: 30px 32px;
    border: 1px solid var(--bld-border);
    border-radius: var(--bld-radius);
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 28px rgba(49,64,48,.06);
    text-align: center;
}

.top10-admin-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #667261;
    font-size: 12px;
    font-weight: 700;
}

.top10-intro p {
    width: 100%;
    margin: 14px auto 0;
    text-align: center !important;
    line-height: 1.6;
}

.top10-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 85% 20%, rgba(111, 138, 106, .28), transparent 34%),
        linear-gradient(135deg, #5C7358 0%, #4D634A 48%, #394A38 100%);
    color: #fff;
}