:root {
    --accent-color: #ffc107;
}

#ranking-list .ranking-item {
    /*border-bottom: 1px solid #e9ecef;*/
    padding: 10px 0;
}

    #ranking-list .ranking-item img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

.crown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    color: #ffc107;
    font-size: 1.2rem;
}

.crown-0 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    color: #ffc107;
    font-size: 1.2rem;
}

.crown-1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    color: #d0d1d4;
    font-size: 1.2rem;
}




.crown-2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    color: #c77b30;
    font-size: 1.2rem;
}

.crown-shadow-0 {
    box-shadow: 0px 1px 15px 1px #ffc107;
}

.crown-shadow-1 {
    box-shadow: 0px 1px 15px 1px #d0d1d4;
}

.crown-shadow-2 {
    box-shadow: 0px 1px 15px 1px #c77b30;
}












:root {
    --brand: #00ed3b;
    --bg: #0b0f10;
    --card: #12181a;
    --muted: #c7d1cc;
    --ink: #e2e7e3;
    --danger: #ff4d4f;
    --warn: #f6c23e;
    --ok: #1fbf75;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
    --radius: 16px;
}

.rules-banner {
    background: linear-gradient(180deg,#0b0f10 0%,#0f1416 100%);
    border: 1px solid #1b2326;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.rules-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 22px;
    align-items: center;
}

@media (max-width: 980px) {
    .rules-wrap {
        grid-template-columns: 1fr;
        gap: 12px
    }
}

/* Imagem à esquerda */
.rules-art {
    position: relative;
    min-height: 260px;
    border-right: 1px solid #1b2326;
    background: radial-gradient(700px 220px at 25% 20%, rgba(0,237,59,.10), transparent 60%), #0f1416;
    display: grid;
    place-items: center;
}

@media (max-width:980px) {
    .rules-art {
        border-right: none;
        border-bottom: 1px solid #1b2326
    }
}

.rules-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .9;
    filter: saturate(1.05) contrast(1.02);
}

.rules-art .glow {
    position: absolute;
    inset: auto -20% -20% auto;
    width: 60%;
    height: 60%;
    background: radial-gradient(closest-side, rgba(0,237,59,.22), transparent 70%);
    pointer-events: none;
}

/* Texto à direita */
.rules-copy {
    padding: clamp(18px, 4vw, 28px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--muted);
    background: #0f1416;
    border: 1px solid #1b2326;
    border-radius: 999px;
}

.rules-title {
    margin: 10px 0 6px;
    font-size: clamp(22px, 4.4vw, 34px);
    line-height: 1.15
}

.rules-sub {
    margin: 0 0 10px;
    color: var(--muted)
}

.rules-desc {
    margin: 0;
    color: #a7b2ad
}

.rules-list {
    margin: 12px 0 0 18px;
    color: #a7b2ad
}

    .rules-list li {
        margin: 4px 0
    }

/* KPIs de pontuação */
.kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px
}

@media (max-width:640px) {
    .kpis {
        grid-template-columns: 1fr
    }
}

.kpi {
    background: #0f1416;
    border: 1px solid #1b2326;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .kpi .icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg,var(--brand),#52ffa0);
        color: #0b0f10;
        font-weight: 900;
    }

    .kpi .meta {
        line-height: 1.2
    }

        .kpi .meta strong {
            display: block;
            font-size: 14px
        }

        .kpi .meta span {
            font-size: 12px;
            color: var(--muted)
        }

/* Critério de desempate */
.note {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px dashed #2a3437;
    border-radius: 12px;
    color: #a7b2ad;
    background: #0f1416;
}

/* CTA */
.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px
}

.btn {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #0b0f10;
    font-weight: 800;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,237,59,.18);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .2s ease;
}

    .btn:focus {
        outline: 2px solid #86ffb2;
        outline-offset: 2px
    }

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(0,237,59,.26)
    }

    .btn:active {
        transform: translateY(0)
    }

    .btn.secondary {
        background: #121a1d;
        color: var(--ink);
        border: 1px solid #1b2326;
        box-shadow: none
    }

/* Acessibilidade visual / animação de entrada */
.reveal {
    opacity: 0;
    transform: translateY(6px);
    transition: all .25s ease
}

    .reveal.show {
        opacity: 1;
        transform: none
    }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none
    }
}