/* =========================================================
   BONYEL YOUTUBE
========================================================= */

.bonyel-youtube-page {
    min-height: 100vh;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 20, 35, .075),
            transparent 28%
        ),
        #020505;

    font-family: Inter, Arial, sans-serif;
}

.youtube-container {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.youtube-hero {
    position: relative;
    overflow: hidden;

    min-height: 330px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, .07);

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(255, 0, 25, .16),
            transparent 24%
        ),
        linear-gradient(
            115deg,
            #030505 0%,
            #060606 55%,
            #120204 100%
        );
}

.youtube-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .32;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.youtube-hero .youtube-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;

    min-height: 330px;
}

.youtube-hero-content {
    max-width: 700px;
}

.youtube-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 16px;

    color: #ff2432;

    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .18em;
}

.youtube-eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff1725;

    box-shadow:
        0 0 12px rgba(255, 23, 37, .8);
}

.youtube-hero h1 {
    max-width: 720px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.045em;
}

.youtube-hero h1 strong {
    display: block;

    margin-top: 8px;

    color: #ff1725;
}

.youtube-hero-content > p {
    max-width: 580px;

    margin: 24px 0 0;

    color: #969c9b;

    font-size: 15px;
    line-height: 1.65;
}

.youtube-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.youtube-hero-brand svg {
    width: 27px;
    height: 27px;

    fill: #ff1725;
}


/* =========================================================
   HERO DECORATION
========================================================= */

.youtube-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 290px;
}

.youtube-play-glow {
    position: relative;

    width: min(210px, 65%);
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 35, 50, .2);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 20, 35, .16),
            rgba(255, 20, 35, .03) 45%,
            transparent 70%
        );

    box-shadow:
        0 0 100px rgba(255, 0, 20, .12);
}

.youtube-play-glow::before,
.youtube-play-glow::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.youtube-play-glow::before {
    inset: -34px;
}

.youtube-play-glow::after {
    inset: -70px;
}

.youtube-play-glow svg {
    width: 82px;
height: 82px;

    fill: #ff1725;

    filter:
        drop-shadow(0 0 30px rgba(255, 20, 35, .4));
}


/* =========================================================
   CHANNELS SECTION
========================================================= */

.youtube-channels-section {
    padding: 80px 0 40px;
}

.youtube-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 30px;
}

.youtube-section-kicker {
    display: block;

    margin-bottom: 8px;

    color: #ff2432;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
}

.youtube-section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(29px, 3vw, 40px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.03em;
}

.youtube-section-heading > p {
    max-width: 340px;

    margin: 0;

    color: #858b8a;

    font-size: 12px;
    line-height: 1.55;
    text-align: right;
}


/* =========================================================
   GRID
========================================================= */

.youtube-channels-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CHANNEL CARD
========================================================= */

.youtube-channel-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            rgba(12, 13, 13, .99),
            rgba(2, 4, 4, .99)
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .32);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.youtube-channel-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 30, 45, .65);

    box-shadow:
        0 22px 45px rgba(0, 0, 0, .45),
        0 0 25px rgba(255, 20, 35, .06);
}


/* =========================================================
   COVER
========================================================= */

.youtube-channel-cover {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 7;

    overflow: hidden;

    background: #090909;
}

.youtube-channel-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .35s ease;
}

.youtube-cover-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, .12) 100%
        );
}

.youtube-channel-card:hover .youtube-channel-cover img {
    transform: scale(1.025);
}


/* =========================================================
   BODY
========================================================= */

.youtube-channel-body {
    padding: 0 15px 16px;
}


/* =========================================================
   CHANNEL INFO
========================================================= */

.youtube-channel-info {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: -24px;
}

.youtube-channel-logo {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    border: 2px solid #ff1827;
    border-radius: 50%;

    background: #050505;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .45);
}

.youtube-channel-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.youtube-channel-name {
    min-width: 0;

    padding-top: 31px;
}

.youtube-channel-name h3 {
    display: flex;
    align-items: center;
    gap: 5px;

    margin: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.15;
    font-weight: 850;
}

.youtube-channel-name p {
    margin: 4px 0 0;

    color: #929897;

    font-size: 11px;
    line-height: 1.2;
}


/* =========================================================
   VERIFIED
========================================================= */

.youtube-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 15px;
    height: 15px;
}

.youtube-verified svg {
    display: block;

    width: 15px;
    height: 15px;

    overflow: visible;
}

.youtube-verified circle {
    fill: #ffffff;
}

.youtube-verified path {
    fill: none;

    stroke: #000000;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SUBSCRIBE
========================================================= */

.youtube-subscribe-button {
    width: 100%;
    min-height: 43px;

    margin-top: 17px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 7px;

    color: #ffffff;
    background: #ff1725;

    text-decoration: none;

    font-size: 12px;
    font-weight: 850;

    box-shadow:
        0 8px 22px rgba(255, 20, 35, .16);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.youtube-subscribe-button svg {
    width: 18px;
    height: 18px;

    fill: currentColor;
}

.youtube-subscribe-button:hover {
    color: #ffffff;

    background: #ff0015;

    transform: translateY(-2px);

    box-shadow:
        0 10px 26px rgba(255, 20, 35, .28);
}


/* =========================================================
   STATS
========================================================= */

.youtube-channel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 18px;
    padding-top: 16px;

    border-top:
        1px solid rgba(255, 255, 255, .08);
}

.youtube-channel-stats > div {
    min-width: 0;

    padding: 0 8px;

    text-align: center;

    border-right:
        1px solid rgba(255, 255, 255, .08);
}

.youtube-channel-stats > div:last-child {
    border-right: 0;
}

.youtube-channel-stats strong {
    display: block;

    min-height: 18px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1;
    font-weight: 850;
}

.youtube-channel-stats span {
    display: block;

    margin-top: 7px;

    color: #929897;

    font-size: 9px;
    line-height: 1.15;
}


/* =========================================================
   TOTAL
========================================================= */

.youtube-total-section {
    padding: 45px 0 100px;
}

.youtube-total-card {
    position: relative;

    overflow: hidden;

    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 50px;

    padding: 42px 48px;

    border: 1px solid rgba(255, 30, 45, .65);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at 100% 50%,
            rgba(255, 20, 35, .13),
            transparent 38%
        ),
        #060707;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .35),
        0 0 35px rgba(255, 20, 35, .04);
}

.youtube-total-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -90px;
    top: -100px;

    border-radius: 50%;

    background: rgba(255, 20, 35, .1);

    filter: blur(70px);

    pointer-events: none;
}

.youtube-total-heading {
    position: relative;
    z-index: 2;
}

.youtube-total-heading > span {
    color: #ff2432;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.youtube-total-heading h2 {
    margin: 8px 0 0;

    color: #ffffff;

    font-size: clamp(27px, 3vw, 39px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.youtube-total-heading p {
    margin: 12px 0 0;

    color: #888e8d;

    font-size: 12px;
}

.youtube-total-stats {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.youtube-total-stats > div {
    padding: 8px 20px;

    text-align: center;

    border-right:
        1px solid rgba(255, 255, 255, .1);
}

.youtube-total-stats > div:last-child {
    border-right: 0;
}

.youtube-total-stats strong {
    display: block;

    color: #ffffff;

    font-size: clamp(26px, 3vw, 42px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.youtube-total-stats span {
    display: block;

    margin-top: 9px;

    color: #8e9493;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .youtube-channels-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .youtube-hero h1 {
        font-size: 54px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .youtube-channels-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .youtube-hero .youtube-container {
        grid-template-columns: 1fr .55fr;
    }

    .youtube-play-glow {
        width: 170px;
    }

    .youtube-play-glow svg {
        width: 70px;
        height: 70px;
    }

    .youtube-total-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .youtube-container {
        width: min(100% - 28px, 440px);
    }


    /* HERO */

    .youtube-hero {
        min-height: auto;

        padding: 45px 0 42px;
    }

    .youtube-hero .youtube-container {
        display: block;

        min-height: auto;
    }

    .youtube-hero-content {
        text-align: center;
    }

    .youtube-eyebrow {
        justify-content: center;

        font-size: 9px;
    }

    .youtube-hero h1 {
        font-size: clamp(36px, 4.1vw, 58px);
    }

    .youtube-hero-content > p {
        margin: 20px auto 0;

        max-width: 370px;

        font-size: 13px;
    }

    .youtube-hero-brand {
        margin-top: 22px;
    }

    .youtube-hero-decoration {
        display: none;
    }


    /* SECTION */

    .youtube-channels-section {
        padding: 55px 0 25px;
    }

    .youtube-section-heading {
        display: block;

        margin-bottom: 23px;

        text-align: center;
    }

    .youtube-section-heading > p {
        max-width: 320px;

        margin: 13px auto 0;

        text-align: center;
    }


    /* CARDS */

    .youtube-channels-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .youtube-channel-card {
        width: 100%;

        margin: 0 auto;
    }

    .youtube-channel-cover {
        aspect-ratio: 16 / 6.7;
    }

    .youtube-channel-body {
        padding: 0 14px 16px;
    }

    .youtube-channel-logo {
        width: 60px;
        height: 60px;

        flex-basis: 60px;
    }

    .youtube-channel-name h3 {
        font-size: 17px;
    }

    .youtube-subscribe-button {
        min-height: 46px;

        font-size: 13px;
    }

    .youtube-channel-stats strong {
        font-size: 18px;
    }


    /* TOTAL */

    .youtube-total-section {
        padding: 35px 0 70px;
    }

    .youtube-total-card {
        display: block;

        padding: 30px 18px;

        text-align: center;
    }

    .youtube-total-heading h2 {
        font-size: 29px;
    }

    .youtube-total-stats {
        margin-top: 30px;
    }

    .youtube-total-stats > div {
        padding: 5px 8px;
    }

    .youtube-total-stats strong {
        font-size: 24px;
    }

    .youtube-total-stats span {
        font-size: 8px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .youtube-total-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .youtube-total-stats > div {
        border-right: 0;
    }

}
/* =========================================================
   YOUTUBE TOPBAR
========================================================= */

.youtube-topbar {
    position: relative;
    z-index: 50;

    width: 100%;
    height: 64px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, .07);

    background: rgba(2, 5, 5, .97);
}

.youtube-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.youtube-topbar-logo {
    color: #ffffff;

    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .05em;

    text-decoration: none;
}

.youtube-topbar-logo:hover {
    color: #ff1725;
}

.youtube-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.youtube-nav a {
    position: relative;

    padding: 23px 0 21px;

    color: #8e9493;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;

    text-decoration: none;

    transition:
        color .2s ease;
}

.youtube-nav a:hover {
    color: #ffffff;
}

.youtube-nav a.active {
    color: #ffffff;
}

.youtube-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    border-radius: 2px;

    background: #ff1725;

    box-shadow:
        0 0 10px rgba(255, 23, 37, .55);
}


/* =========================================================
   YOUTUBE TOPBAR — MOBILE
========================================================= */

@media (max-width: 620px) {

    .youtube-topbar {
        height: auto;
        min-height: 58px;
    }

    .youtube-topbar-inner {
        gap: 18px;
    }

    .youtube-topbar-logo {
        font-size: 16px;
    }

    .youtube-nav {
        flex: 1;

        justify-content: flex-end;

        gap: 15px;
    }

    .youtube-nav a {
        padding: 22px 0 20px;

        font-size: 8px;
    }

}