/* =====================================================
   BIFF3EN HOME COMPETITION PROMO V1
   ===================================================== */

.b3-home-comp {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 54px;
    overflow: hidden;
    border: 1px solid rgba(190, 94, 255, .34);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(166, 64, 255, .22),
            transparent 34%
        ),
        radial-gradient(
            circle at 12% 92%,
            rgba(255, 60, 194, .12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(12, 5, 21, .98),
            rgba(18, 7, 32, .98)
        );
    box-shadow:
        0 28px 80px rgba(0,0,0,.42),
        0 0 70px rgba(142, 54, 255, .10);
}

.b3-home-comp::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,.025) 42%,
            transparent 70%
        );
}

.b3-home-comp-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 34px;
    align-items: center;
    padding: 38px 42px;
}

.b3-home-comp-copy {
    min-width: 0;
}

.b3-home-comp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(196, 109, 255, .32);
    border-radius: 999px;
    background: rgba(134, 46, 205, .13);
    color: #e4b8ff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.b3-home-comp h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.3rem);
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.b3-home-comp h2 span {
    display: block;
    margin-top: 8px;
    background:
        linear-gradient(
            90deg,
            #c969ff,
            #ff5bd5,
            #ffffff
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.b3-home-comp-desc {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 1rem;
    line-height: 1.7;
}

.b3-home-comp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.b3-home-comp-pill {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.82);
    font-size: .83rem;
    font-weight: 800;
}

.b3-home-comp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.b3-home-comp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 13px;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.b3-home-comp-btn:hover {
    transform: translateY(-2px);
}

.b3-home-comp-btn.primary {
    background:
        linear-gradient(
            135deg,
            #a743ff,
            #d94bff
        );
    color: #fff;
    box-shadow:
        0 12px 34px rgba(174, 62, 255, .26);
}

.b3-home-comp-btn.secondary {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.055);
    color: #fff;
}

.b3-home-comp-card {
    position: relative;
    padding: 26px;
    border: 1px solid rgba(216, 144, 255, .25);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.025)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06);
}

.b3-home-comp-prize-label {
    color: rgba(255,255,255,.58);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.b3-home-comp-prize {
    margin-top: 6px;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 1000;
    line-height: .95;
    letter-spacing: -.05em;
}

.b3-home-comp-prize small {
    display: block;
    margin-top: 9px;
    color: #dba9ff;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.b3-home-comp-countdown-label {
    margin-top: 26px;
    color: rgba(255,255,255,.52);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.b3-home-comp-countdown {
    margin-top: 7px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

@media (max-width: 820px) {

    .b3-home-comp {
        width: min(100% - 22px, 1180px);
        margin-top: 24px;
    }

    .b3-home-comp-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 22px;
    }

    .b3-home-comp-card {
        padding: 22px;
    }

    .b3-home-comp-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .b3-home-comp-btn {
        width: 100%;
    }
}
/* =====================================================
   BIFF3EN_HOME_COMPETITION_LIVE_TOP3_V1
   ===================================================== */

.b3-home-comp-side {
    display: grid;
    gap: 14px;
}

.b3-home-comp-board {
    padding: 20px;
    border: 1px solid rgba(216,144,255,.22);
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.02)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05);
}

.b3-home-comp-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
    color: rgba(255,255,255,.66);
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.b3-home-comp-live-dot {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid rgba(255,90,201,.35);
    border-radius: 999px;
    background: rgba(255,62,179,.10);
    color: #ff91dc;
    font-size: .62rem;
    letter-spacing: .1em;
}

.b3-home-comp-ranking {
    display: grid;
    gap: 8px;
}

.b3-home-comp-rank {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    background: rgba(4,1,8,.42);
}

.b3-home-comp-rank-pos {
    font-size: 1.2rem;
    text-align: center;
}

.b3-home-comp-rank-player {
    min-width: 0;
}

.b3-home-comp-rank-player strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: .88rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.b3-home-comp-rank-player span {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.42);
    font-size: .68rem;
    font-weight: 800;
}

.b3-home-comp-rank-score {
    color: #e0b0ff;
    font-size: .85rem;
    font-weight: 1000;
    white-space: nowrap;
}

.b3-home-comp-loading {
    padding: 16px 8px;
    color: rgba(255,255,255,.52);
    font-size: .82rem;
    text-align: center;
}

@media (max-width: 820px) {

    .b3-home-comp-side {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   BIFF3EN_HOME_COMPETITION_YOUR_RANK_V1
   ===================================================== */

.b3-home-comp-you {
    margin-top: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(198,112,255,.25);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(149,52,255,.12),
            rgba(255,63,192,.07)
        );
}

.b3-home-comp-you-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.5);
    font-size: .64rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.b3-home-comp-you-value {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255,255,255,.68);
    font-size: .82rem;
}

.b3-home-comp-you-value strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 1000;
}

.b3-home-comp-you-value span {
    color: #dda8ff;
    font-weight: 900;
}

.b3-home-comp-you-value
.b3-home-comp-you-muted {
    color: rgba(255,255,255,.48);
    font-weight: 700;
}
