/* BIFF3EN_HERO_V4 */
:root {
    --b3-v4-bg: #08050f;
    --b3-v4-panel: rgba(17, 10, 30, 0.88);
    --b3-v4-panel-2: rgba(25, 14, 45, 0.82);
    --b3-v4-line: rgba(185, 119, 255, 0.22);
    --b3-v4-text: #ffffff;
    --b3-v4-muted: rgba(255,255,255,.78);
    --b3-v4-soft: rgba(255,255,255,.58);
    --b3-v4-purple: #bb67ff;
    --b3-v4-purple-2: #8f35ff;
    --b3-v4-pink: #ff4fd8;
    --b3-v4-blue: #21d4ff;
    --b3-v4-yellow: #ffc94d;
    --b3-v4-shadow: 0 22px 65px rgba(0,0,0,.45);
}

.b3-v4-hero-shell {
    position: relative;
    max-width: 1460px;
    margin: 26px auto 42px;
    padding: 0 22px;
    z-index: 2;
}

.b3-v4-stage {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 32px 36px 28px;
    border: 1px solid var(--b3-v4-line);
    background:
        radial-gradient(circle at 10% 18%, rgba(170, 72, 255, .18), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(255, 0, 170, .13), transparent 24%),
        radial-gradient(circle at 78% 82%, rgba(80, 0, 180, .22), transparent 30%),
        linear-gradient(135deg, rgba(9,6,18,.98) 0%, rgba(15,7,28,.98) 42%, rgba(22,9,36,.96) 100%);
    box-shadow: var(--b3-v4-shadow);
}

.b3-v4-stage::before,
.b3-v4-stage::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.b3-v4-stage::before {
    left: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(183,93,255,.28) 0%, rgba(183,93,255,0) 70%);
    filter: blur(22px);
}

.b3-v4-stage::after {
    right: -100px;
    bottom: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255,0,166,.18) 0%, rgba(255,0,166,0) 72%);
    filter: blur(26px);
}

.b3-v4-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 28px;
    align-items: center;
    min-height: 710px;
    z-index: 2;
}

.b3-v4-copy {
    position: relative;
    z-index: 4;
    max-width: 760px;
    padding: 10px 0 4px 4px;
}

.b3-v4-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #d79bff;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.b3-v4-kicker .spark {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: radial-gradient(circle at center, #ff58d7 0%, #b04cff 58%, #7f25ff 100%);
    clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 64%, 50% 100%, 35% 64%, 0% 50%, 35% 35%);
    box-shadow: 0 0 24px rgba(187,103,255,.55);
}

.b3-v4-title {
    margin: 0;
    color: var(--b3-v4-text);
    font-weight: 1000;
    line-height: .92;
    letter-spacing: -.06em;
    font-size: clamp(4rem, 6.8vw, 7.25rem);
    text-wrap: balance;
}

.b3-v4-title .accent {
    background: linear-gradient(90deg, #ff66d9 0%, #d46dff 38%, #9f4fff 68%, #c889ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.b3-v4-sub {
    margin: 22px 0 0;
    color: var(--b3-v4-muted);
    font-size: clamp(1.12rem, 1.55vw, 1.55rem);
    line-height: 1.45;
    max-width: 760px;
}

.b3-v4-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.b3-v4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 66px;
    padding: 0 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.12rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0,0,0,.22);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.b3-v4-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0,0,0,.30);
    border-color: rgba(255,255,255,.22);
}

.b3-v4-btn--primary {
    background: linear-gradient(90deg, #aa41ff 0%, #c25bff 42%, #7c3bff 100%);
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 18px 48px rgba(146, 56, 255, .34);
}

.b3-v4-btn--ghost {
    background: rgba(255,255,255,.045);
}

.b3-v4-btn--mini {
    min-height: 58px;
    padding: 0 24px;
    font-size: 1rem;
    border-radius: 20px;
}

.b3-v4-community {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.b3-v4-avatars {
    display: inline-flex;
    align-items: center;
}

.b3-v4-avatars img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.88);
    box-shadow: 0 6px 18px rgba(0,0,0,.30);
    margin-left: -10px;
    background: #140b21;
}

.b3-v4-avatars img:first-child {
    margin-left: 0;
}

.b3-v4-community-text strong {
    display: block;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
}

.b3-v4-community-text span {
    display: block;
    margin-top: 5px;
    color: var(--b3-v4-soft);
    font-size: .98rem;
}

.b3-v4-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.b3-v4-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(8,8,16,.66);
    border: 1px solid rgba(255,255,255,.11);
    color: rgba(255,255,255,.92);
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.b3-v4-collage {
    position: relative;
    min-height: 670px;
    z-index: 3;
}

.b3-v4-collage::before {
    content: "";
    position: absolute;
    inset: 34px 30px 44px 18px;
    border-radius: 40px;
    background:
        radial-gradient(circle at 40% 16%, rgba(197, 96, 255, .24), transparent 28%),
        radial-gradient(circle at 70% 66%, rgba(255, 0, 153, .12), transparent 28%),
        linear-gradient(135deg, rgba(28,11,48,.88) 0%, rgba(48,16,74,.62) 100%);
    filter: blur(0);
}

.b3-v4-mainframe {
    position: absolute;
    inset: 76px 74px 78px 78px;
    border-radius: 42px;
    padding: 8px;
    background: linear-gradient(180deg, rgba(238,219,255,.96), rgba(177,107,255,.95));
    box-shadow: 0 0 0 5px rgba(167, 87, 255, .10), 0 28px 68px rgba(91,26,148,.42);
    transform: rotate(-1.5deg);
}

.b3-v4-mainframe::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 54px;
    border: 4px solid rgba(196,126,255,.18);
    box-shadow: 0 0 34px rgba(182,102,255,.48);
    pointer-events: none;
}

.b3-v4-mainimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
    display: block;
    filter: saturate(1.02) contrast(1.02);
}

.b3-v4-sticker {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 5;
    text-decoration: none;
    color: inherit;
}

.b3-v4-sticker .frame {
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(245,241,255,.97), rgba(170,102,255,.95));
    box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.b3-v4-sticker img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.b3-v4-s1 { width: 168px; height: 208px; left: 20px; bottom: 28px; transform: rotate(-8deg); }
.b3-v4-s2 { width: 164px; height: 200px; right: 10px; top: 36px; transform: rotate(7deg); }
.b3-v4-s3 { width: 128px; height: 168px; left: 210px; top: 8px; transform: rotate(-5deg); }
.b3-v4-s4 { width: 162px; height: 196px; right: 14px; bottom: 34px; transform: rotate(6deg); }
.b3-v4-s5 { width: 128px; height: 122px; left: 198px; bottom: 42px; transform: rotate(-2deg); }

.b3-v4-doodle {
    position: absolute;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: .01em;
    z-index: 6;
    pointer-events: none;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0,0,0,.18);
}

.b3-v4-doodle--pink { color: #ec6bff; }
.b3-v4-doodle--white { color: #ffffff; }
.b3-v4-doodle--yellow { color: #ffd457; }
.b3-v4-doodle--blue { color: #66ddff; }

.b3-v4-d1 { left: -10px; top: 40px; max-width: 160px; font-size: 1.05rem; transform: rotate(-12deg); }
.b3-v4-d2 { left: 88px; bottom: 86px; max-width: 130px; font-size: 1rem; transform: rotate(-16deg); }
.b3-v4-d3 { left: 312px; top: 44px; max-width: 190px; font-size: 1rem; transform: rotate(-6deg); }
.b3-v4-d4 { right: 112px; top: 100px; max-width: 190px; font-size: 1rem; transform: rotate(-10deg); }
.b3-v4-d5 { right: -4px; bottom: 112px; max-width: 124px; font-size: 1rem; transform: rotate(-10deg); }
.b3-v4-d6 { right: 16px; bottom: 16px; max-width: 140px; font-size: 1rem; transform: rotate(-3deg); }
.b3-v4-d7 { left: 176px; bottom: -8px; max-width: 200px; font-size: 1rem; transform: rotate(-6deg); }

.b3-v4-icon {
    position: absolute;
    z-index: 6;
    font-size: 2.9rem;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 16px rgba(255,255,255,.18));
}

.b3-v4-i1 { right: 140px; top: 18px; color: var(--b3-v4-yellow); }
.b3-v4-i2 { right: 62px; top: 260px; color: #ff9657; }
.b3-v4-i3 { left: 166px; bottom: 74px; color: #ff59cb; }

.b3-v4-live-card {
    position: absolute;
    right: 86px;
    bottom: 104px;
    z-index: 6;
    width: 462px;
    max-width: calc(100% - 120px);
    border-radius: 26px;
    padding: 18px 20px;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(11,11,18,.92), rgba(17,18,28,.88));
    border: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 22px 54px rgba(0,0,0,.35);
}

.b3-v4-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.b3-v4-live-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff4b63;
    font-size: 1rem;
    font-weight: 1000;
    text-transform: uppercase;
}

.b3-v4-live-label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff1e40;
    box-shadow: 0 0 12px rgba(255,30,64,.65);
}

.b3-v4-live-body {
    display: grid;
    grid-template-columns: 56px 1fr 136px;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
}

.b3-v4-live-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.85);
}

.b3-v4-live-meta strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
}

.b3-v4-live-meta span {
    display: block;
    color: var(--b3-v4-soft);
    font-size: 1rem;
    margin-top: 4px;
}

.b3-v4-live-thumb {
    width: 136px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.12);
}

.b3-v4-live-stats {
    display: flex;
    gap: 26px;
    margin-top: 14px;
    color: rgba(255,255,255,.90);
    font-size: .96rem;
    flex-wrap: wrap;
}

.b3-v4-live-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.b3-v4-cards {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.b3-v4-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 24px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14,10,24,.92), rgba(16,10,30,.82));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.b3-v4-card:hover {
    border-color: rgba(191,129,255,.24);
    transform: translateY(-2px);
    transition: transform .18s ease, border-color .18s ease;
}

.b3-v4-card-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    font-weight: 1000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.b3-v4-card--social .b3-v4-card-icon { background: rgba(180,85,255,.16); color: #d06aff; }
.b3-v4-card--game   .b3-v4-card-icon { background: rgba(33,212,255,.12); color: #33d4ff; }
.b3-v4-card--shop   .b3-v4-card-icon { background: rgba(255,201,77,.13); color: #ffc94d; }

.b3-v4-card-text strong {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 1000;
}

.b3-v4-card-text span {
    display: block;
    margin-top: 6px;
    color: var(--b3-v4-soft);
    font-size: 1rem;
}

.b3-v4-card-arrow {
    margin-left: auto;
    color: rgba(222,185,255,.88);
    font-size: 1.7rem;
    font-weight: 900;
}

.b3-v4-bottomline {
    position: relative;
    z-index: 4;
    margin-top: 22px;
    text-align: center;
    color: #d85cff;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.b3-v4-bottomline .sep {
    margin: 0 14px;
    color: rgba(255,255,255,.32);
}

@media (max-width: 1360px) {
    .b3-v4-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        min-height: 0;
    }

    .b3-v4-copy {
        max-width: none;
    }

    .b3-v4-collage {
        min-height: 780px;
    }

    .b3-v4-mainframe {
        inset: 104px 88px 86px 84px;
    }

    .b3-v4-live-card {
        right: 100px;
        bottom: 112px;
    }
}

@media (max-width: 1100px) {
    .b3-v4-stage {
        padding: 24px 22px 24px;
    }

    .b3-v4-collage {
        min-height: 680px;
    }

    .b3-v4-mainframe {
        inset: 96px 38px 88px 38px;
    }

    .b3-v4-live-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        max-width: none;
        margin: 26px 18px 0;
    }

    .b3-v4-cards {
        grid-template-columns: 1fr;
    }

    .b3-v4-s1 { left: 4px; bottom: 30px; }
    .b3-v4-s2 { right: 4px; top: 34px; }
    .b3-v4-s3 { left: 120px; top: 10px; }
    .b3-v4-s4 { right: 6px; bottom: 30px; }
    .b3-v4-s5 { left: 96px; bottom: 56px; }
}

@media (max-width: 840px) {
    .b3-v4-hero-shell {
        padding: 0 12px;
        margin-top: 16px;
    }

    .b3-v4-stage {
        border-radius: 24px;
        padding: 18px 16px 18px;
    }

    .b3-v4-title {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .b3-v4-sub {
        font-size: 1.02rem;
    }

    .b3-v4-actions {
        gap: 12px;
    }

    .b3-v4-btn {
        width: 100%;
        min-height: 58px;
        border-radius: 18px;
        font-size: 1rem;
        padding: 0 18px;
    }

    .b3-v4-tag {
        min-height: 36px;
        font-size: .82rem;
        padding: 0 12px;
    }

    .b3-v4-collage {
        min-height: 560px;
    }

    .b3-v4-mainframe {
        inset: 80px 18px 104px 18px;
        border-radius: 28px;
    }

    .b3-v4-mainimg {
        border-radius: 20px;
    }

    .b3-v4-sticker .frame {
        padding: 5px;
        border-radius: 20px;
    }

    .b3-v4-sticker img {
        border-radius: 15px;
    }

    .b3-v4-s1 { width: 110px; height: 138px; left: -2px; bottom: 12px; }
    .b3-v4-s2 { width: 114px; height: 142px; right: -2px; top: 22px; }
    .b3-v4-s3 { width: 92px; height: 118px; left: 76px; top: 6px; }
    .b3-v4-s4 { width: 110px; height: 140px; right: -2px; bottom: 18px; }
    .b3-v4-s5 { width: 94px; height: 92px; left: 74px; bottom: 28px; }

    .b3-v4-d1 { left: -2px; top: 22px; font-size: .78rem; max-width: 112px; }
    .b3-v4-d2 { left: 52px; bottom: 64px; font-size: .78rem; max-width: 108px; }
    .b3-v4-d3 { left: 140px; top: 16px; font-size: .76rem; max-width: 130px; }
    .b3-v4-d4 { right: 78px; top: 80px; font-size: .74rem; max-width: 126px; }
    .b3-v4-d5 { right: -2px; bottom: 82px; font-size: .74rem; max-width: 92px; }
    .b3-v4-d6 { right: 8px; bottom: 8px; font-size: .74rem; max-width: 96px; }
    .b3-v4-d7 { left: 112px; bottom: -4px; font-size: .74rem; max-width: 118px; }

    .b3-v4-icon {
        font-size: 2rem;
    }

    .b3-v4-i1 { right: 94px; top: 26px; }
    .b3-v4-i2 { right: 18px; top: 184px; }
    .b3-v4-i3 { left: 112px; bottom: 36px; }

    .b3-v4-live-card {
        margin: 14px 6px 0;
        padding: 14px 14px;
        border-radius: 18px;
    }

    .b3-v4-live-body {
        grid-template-columns: 46px 1fr;
    }

    .b3-v4-live-thumb {
        grid-column: 1 / -1;
        width: 100%;
        height: 120px;
    }

    .b3-v4-card {
        min-height: 110px;
        padding: 18px 18px;
        border-radius: 22px;
    }

    .b3-v4-card-text strong {
        font-size: 1.28rem;
    }

    .b3-v4-bottomline {
        font-size: .78rem;
        line-height: 1.65;
    }

    .b3-v4-bottomline .sep {
        margin: 0 8px;
    }
}