/* ============================================================
   VT PULSE — CATÁLOGO EDITORIAL
============================================================ */

:root {
    --primary: #ff3b8d;
    --primary-soft: rgba(255, 59, 141, 0.12);

    --bg: #030305;
    --surface: #0b0b11;
    --surface-2: #11111a;

    --text: #ffffff;
    --muted: #8d8d98;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1500px;
}


/* ============================================================
   BASE
============================================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Saira Condensed', sans-serif;
    overflow-x: hidden;
}

button,
input {
    font-family: inherit;
}


/* ============================================================
   HERO
============================================================ */

.catalog-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255, 59, 141, 0.09),
            transparent 35%
        ),
        #030305;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 59, 141, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 59, 141, 0.07) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 25%,
            black
        );

    opacity: 0.45;
}

.hero-inner {
    position: relative;

    max-width: var(--container);
    min-height: 420px;

    margin: auto;
    padding: 70px 35px 50px;

    display: grid;

    grid-template-columns:
        minmax(420px, 0.9fr)
        minmax(500px, 1.1fr);

    align-items: center;

    gap: 70px;

    z-index: 2;
}


/* COPY */

.hero-copy {
    position: relative;
    z-index: 4;
}

.hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
}

.hero-eyebrow span {
    display: block;

    width: 34px;
    height: 3px;

    background: var(--primary);
}


.hero-copy h1 {
    margin:
        18px 0
        18px;

    font-family:
        'Oswald',
        sans-serif;

    font-size:
        clamp(
            60px,
            7vw,
            108px
        );

    line-height: 0.87;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.hero-copy h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(
            255,
            255,
            255,
            0.45
        );
}

.hero-copy p {
    max-width: 520px;

    margin: 30px 0;

    color: #aaa;

    font-size: 18px;
    line-height: 1.5;
}


.hero-stat {
    display: flex;
    align-items: baseline;

    gap: 12px;

    margin-top: 35px;
}

.hero-stat strong {
    color: var(--primary);

    font-family:
        'Oswald',
        sans-serif;

    font-size: 42px;

    line-height: 1;
}

.hero-stat span {
    color: #777;

    font-weight: 700;

    letter-spacing: 2px;

    font-size: 12px;
}


/* COLLAGE */

.hero-collage {
    position: relative;

    height: 350px;

    pointer-events: none;
}

.hero-person {
    position: absolute;

    overflow: hidden;

    background: #111;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.6);

    transition:
        transform .4s ease;
}

.hero-person img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        brightness(.85)
        contrast(1.05);
}

.hero-person span {
    position: absolute;

    left: 15px;
    bottom: 14px;

    padding: 3px 8px;

    background:
        var(--primary);

    color: white;

    font-family:
        'Oswald',
        sans-serif;

    font-size: 11px;

    letter-spacing: 1px;

    text-transform:
        uppercase;
}


.hero-person-1 {
    width: 44%;
    height: 90%;

    left: 10%;
    bottom: -30px;

    z-index: 3;

    transform:
        rotate(-3deg);
}

.hero-person-2 {
    width: 39%;
    height: 80%;

    right: 8%;
    top: -10px;

    z-index: 2;

    transform:
        rotate(3deg);
}

.hero-person-3 {
    width: 32%;
    height: 62%;

    right: 36%;
    top: 25px;

    z-index: 1;

    opacity: .55;
}


.hero-bottom-line {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary) 20%,
            var(--primary) 70%,
            transparent
        );
}


/* ============================================================
   CONTAINER
============================================================ */

.catalog-container {
    max-width: var(--container);

    margin: auto;

    padding:
        55px 35px
        100px;
}


/* ============================================================
   EXPLORER
============================================================ */

.explorer {
    margin-bottom: 70px;
}


.explorer-top {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 16px;
}


.search-wrapper {
    position: relative;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid rgba(
            255,
            255,
            255,
            .18
        );

    transition:
        border-color .25s ease;
}

.search-wrapper:focus-within {
    border-color:
        var(--primary);
}

.search-index {
    margin-right: 18px;

    color:
        var(--primary);

    font-family:
        'Oswald',
        sans-serif;

    font-weight: 700;

    font-size: 13px;
}

.search-wrapper input {
    flex: 1;

    height: 64px;

    border: 0;
    outline: 0;

    background:
        transparent;

    color: white;

    font-size: 22px;
}

.search-wrapper input::placeholder {
    color: #555;
}


.filter-toggle {
    width: 150px;

    border: 1px solid var(--border);

    background:
        transparent;

    color: white;

    cursor: pointer;

    font-family:
        'Oswald',
        sans-serif;

    font-weight: 700;

    letter-spacing: 1px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    transition:
        .25s ease;
}

.filter-toggle span {
    color: var(--primary);

    font-size: 25px;

    line-height: 1;
}

.filter-toggle:hover,
.filter-toggle.active {
    border-color:
        var(--primary);

    background:
        rgba(
            255,
            59,
            141,
            .05
        );
}


/* QUICK BAR */

.quick-bar {
    min-height: 64px;

    border-bottom:
        1px solid var(--border);

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 30px;
}

.quick-left {
    color: var(--primary);

    font-family:
        'Oswald',
        sans-serif;

    font-size: 13px;

    letter-spacing: 1px;
}


.quick-languages {
    display: flex;

    gap: 28px;
}

.quick-lang {
    position: relative;

    border: 0;

    padding: 22px 0;

    background:
        transparent;

    color: #666;

    cursor: pointer;

    font-family:
        'Oswald',
        sans-serif;

    font-weight: 700;

    letter-spacing: 1px;
}

.quick-lang::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -1px;

    height: 2px;

    background:
        var(--primary);

    transition:
        .25s ease;
}

.quick-lang:hover,
.quick-lang.active {
    color: white;
}

.quick-lang.active::after {
    right: 0;
}


/* ============================================================
   FILTER PANEL
============================================================ */

.filter-panel {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    border-bottom:
        1px solid transparent;

    transition:
        max-height .55s
        cubic-bezier(
            .16,
            1,
            .3,
            1
        ),
        opacity .3s ease,
        padding .4s ease;
}

.filter-panel.open {
    max-height: 700px;

    opacity: 1;

    padding:
        40px 0;

    border-bottom:
        1px solid var(--border);
}


.filter-panel-head {
    display: flex;

    justify-content:
        space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 30px;
}

.filter-panel-head > div {
    display: flex;
    align-items: center;

    gap: 15px;
}

.section-number {
    color: var(--primary);

    font-family:
        'Oswald',
        sans-serif;

    font-size: 12px;
}

.filter-panel h2,
.catalog-heading h2 {
    margin: 0;

    font-family:
        'Oswald',
        sans-serif;

    font-size: 30px;

    letter-spacing: 1px;
}

#clear-filters {
    border: 0;

    background:
        transparent;

    color: #777;

    cursor: pointer;

    font-weight: 700;

    letter-spacing: 1px;
}

#clear-filters:hover {
    color: var(--primary);
}


.filters-content {
    display: grid;

    gap: 30px;
}

.filter-section h3 {
    margin:
        0 0 12px;

    color: #666;

    font-family:
        'Oswald',
        sans-serif;

    font-size: 12px;

    letter-spacing: 2px;
}

.filter-options {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.filter-options label {
    cursor: pointer;
}

.filter-options input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.filter-options span {
    display: block;

    padding:
        9px 15px;

    border:
        1px solid var(--border);

    color: #888;

    font-size: 13px;

    font-weight: 600;

    transition:
        .2s ease;
}

.filter-options label:hover span {
    color: white;

    border-color:
        rgba(
            255,
            255,
            255,
            .28
        );
}

.filter-options input:checked + span {
    color: white;

    border-color:
        var(--primary);

    background:
        var(--primary-soft);
}


/* ============================================================
   CATÁLOGO — GRID EDITORIAL
============================================================ */

.catalog-stage {
    position: relative;
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-auto-rows: 308px;

    gap: 12px;
}


/* CABEÇALHO */

.catalog-heading {
    grid-column: 1 / -1;

    width: 100%;

    min-height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    padding-bottom: 18px;
    margin-bottom: 26px;

    border-bottom: 1px solid var(--border);
}

.catalog-heading > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.catalog-caption {
    color: #555;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* ============================================================
   GRID
============================================================ */

.grid {
    display: contents;
}


/* ============================================================
   CARD
============================================================ */

.vtuber-card {
    position: relative;
    width: 100%;

    /*
        Todos ficam exatamente com a mesma dimensão.
    */
    height: 308px;

    min-width: 0;

    overflow: hidden;

    cursor: pointer;

    background: #09090d;

    border: 1px solid rgba(255,255,255,.07);

    isolation: isolate;

    transition:
        border-color .3s ease,
        transform .35s cubic-bezier(.16,1,.3,1);
}


.vtuber-card::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 22px;
    height: 22px;

    z-index: 6;

    background:
        linear-gradient(
            135deg,
            transparent 50%,
            rgba(255,59,141,.22) 50%
        );

    opacity: 0;

    transition: opacity .3s ease;
}


/* ============================================================
   IMAGEM
============================================================ */

.card-media {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


.card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s
        cubic-bezier(.16,1,.3,1),
        filter .4s ease;

    filter:
        brightness(.72)
        saturate(.9)
        contrast(1.05);
}


.card-darken {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3,3,5,1) 0%,
            rgba(3,3,5,.92) 13%,
            rgba(3,3,5,.54) 35%,
            rgba(3,3,5,.08) 68%
        );

    transition:
        background .4s ease;
}


/* ============================================================
   NÚMERO
============================================================ */

.card-index {
    position: absolute;

    top: 16px;
    left: 17px;

    z-index: 4;

    color:
        rgba(255,255,255,.46);

    font-family:
        'Oswald',
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    transition:
        color .3s ease,
        transform .3s ease;
}


/* ============================================================
   LINHA ROSA
============================================================ */

.card-line {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 3px;
    height: 0;

    z-index: 7;

    background: var(--primary);

    transition:
        height .5s
        cubic-bezier(.16,1,.3,1);
}


/* ============================================================
   CONTEÚDO
============================================================ */

.card-content {
    position: absolute;
    inset: 0;

    z-index: 5;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 22px;
}


/* TAGS */

.card-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-bottom: 11px;

    opacity: 0;

    transform:
        translateY(8px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.card-tags span {
    padding: 4px 7px;

    background:
        rgba(255,59,141,.92);

    color: white;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .7px;

    text-transform: uppercase;
}


/* ============================================================
   NOME / AGÊNCIA
============================================================ */

.card-main h3 {
    margin: 0;

    max-width: 100%;

    color: white;

    font-family:
        'Oswald',
        sans-serif;

    font-size:
        clamp(
            25px,
            2vw,
            35px
        );

    line-height: .94;

    letter-spacing: -.5px;

    text-transform: uppercase;

    overflow-wrap: anywhere;

    transition:
        transform .35s
        cubic-bezier(.16,1,.3,1);
}


.vtuber-card.long-name
.card-main h3 {
    font-size:
        clamp(
            21px,
            1.7vw,
            29px
        );
}


.vtuber-card.very-long-name
.card-main h3 {
    font-size:
        clamp(
            18px,
            1.45vw,
            24px
        );
}


.card-main p {
    margin: 8px 0 0;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;
}


/* ============================================================
   RODAPÉ DO CARD
============================================================ */

.card-bottom {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 15px;

    margin-top: 14px;
}


.card-languages {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.card-languages span {
    color: #aaa;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.card-open {
    flex-shrink: 0;

    color: #999;

    font-family:
        'Oswald',
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;

    opacity: 0;

    transform:
        translateX(-8px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.card-open b {
    margin-left: 5px;

    color: var(--primary);
}


/* ============================================================
   HOVER
============================================================ */

.vtuber-card:hover {
    border-color:
        rgba(255,59,141,.55);

    transform:
        translateY(-4px);
}


.vtuber-card:hover::after {
    opacity: 1;
}


.vtuber-card:hover
.card-media img {
    transform:
        scale(1.065);

    filter:
        brightness(.98)
        saturate(1.05)
        contrast(1.05);
}


.vtuber-card:hover
.card-darken {
    background:
        linear-gradient(
            to top,
            rgba(3,3,5,1) 0%,
            rgba(3,3,5,.8) 16%,
            rgba(3,3,5,.32) 43%,
            rgba(3,3,5,.02) 76%
        );
}


.vtuber-card:hover
.card-line {
    height: 100%;
}


.vtuber-card:hover
.card-main h3 {
    transform:
        translateX(5px);
}


.vtuber-card:hover
.card-tags {
    opacity: 1;

    transform:
        translateY(0);
}


.vtuber-card:hover
.card-open {
    opacity: 1;

    transform:
        translateX(0);
}


.vtuber-card:hover
.card-index {
    color: var(--primary);

    transform:
        translateX(3px);
}


/* ============================================================
   ANÚNCIO VERTICAL — SIDEBAR VTUBERS
============================================================ */

.catalog-ad,
.catalog-ad-inline {
    position: relative;

    grid-column: span 1;
    grid-row: span 2;

    justify-self: center;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    align-self: stretch;

    overflow: hidden;

    background: #050507;
    border: 1px solid rgba(255,255,255,.07);

    box-sizing: border-box;
}

.catalog-ad .ad-label,
.catalog-ad-inline .ad-label {
    position: absolute;

    top: 10px;
    left: 12px;

    z-index: 5;

    margin: 0;

    color: rgba(255,255,255,.55);

    font-family: 'Oswald', sans-serif;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1px;

    pointer-events: none;
}

.catalog-ad .sidebar-ad,
.catalog-ad-inline .sidebar-ad {
    position: absolute;

    top: 32px;
    left: 0;
    right: 0;
    bottom: 0;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #050507;

    border: 0;
}


.catalog-ad .sidebar-ad a,
.catalog-ad-inline .sidebar-ad a {
    position: absolute;
    inset: 0;

    display: flex;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.catalog-ad .sidebar-ad img,
.catalog-ad-inline .sidebar-ad img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    border-radius: 0;
}




/* ============================================================
   EMPTY
============================================================ */

.catalog-empty {
    grid-column:
        1 / -1;

    min-height: 380px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border:
        1px solid var(--border);
}


.catalog-empty span {
    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


.catalog-empty h3 {
    margin: 10px 0 0;

    font-family:
        'Oswald',
        sans-serif;

    font-size: 32px;
}


.catalog-empty p {
    color: #777;
}


/* ============================================================
   FOOTER AD
============================================================ */

.footer-ad-area {
    margin-top: 80px;
}


.footer-ad-area > span {
    display: block;

    margin-bottom: 8px;

    color: #444;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.footer-ad {
    width: 100%;
    height: 120px;

    overflow: hidden;

    border:
        1px solid var(--border);

    background: #050507;
}


.footer-ad img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ============================================================
   RESPONSIVO
============================================================ */

@media (max-width: 1250px) {

    .hero-inner {
        grid-template-columns:
            1fr 1fr;
    }

    .catalog-stage {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .catalog-hero {
        min-height: 550px;
    }

    .hero-inner {
        min-height: 550px;

        grid-template-columns: 1fr;

        padding-top: 55px;
    }

    .hero-copy h1 {
        font-size:
            clamp(
                58px,
                14vw,
                90px
            );
    }

    .hero-collage {
        position: absolute;

        right: -40px;
        bottom: -10px;

        width: 70%;
        height: 260px;

        opacity: .46;

        z-index: -1;
    }

    .explorer-top {
        grid-template-columns: 1fr;
    }

    .filter-toggle {
        width: 100%;
        height: 50px;
    }


    .catalog-stage {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .catalog-caption {
        display: none;
    }


    .catalog-ad,
    .catalog-ad-inline {
        grid-column: span 1;
        grid-row: span 2;
    }

}


@media (max-width: 600px) {

    .catalog-container {
        padding:
            40px 15px
            70px;
    }

    .hero-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .quick-bar {
        align-items: flex-start;

        flex-direction: column;

        padding: 16px 0;
    }

    .quick-languages {
        width: 100%;

        justify-content:
            space-between;

        gap: 10px;
    }

    .quick-lang {
        padding: 8px 0;
    }

    .filter-panel.open {
        max-height: 1100px;
    }

    .catalog-heading {
        margin-top: 10px;
    }


    .card-content {
        padding: 14px;
    }

    .card-main h3 {
        font-size:
            clamp(
                19px,
                6vw,
                27px
            );
    }

    .vtuber-card.long-name
    .card-main h3 {
        font-size:
            clamp(
                17px,
                5vw,
                23px
            );
    }

    .vtuber-card.very-long-name
    .card-main h3 {
        font-size:
            clamp(
                15px,
                4.5vw,
                20px
            );
    }

    .card-tags {
        display: none;
    }

    .card-open {
        display: none;
    }

    .footer-ad {
        height: 80px;
    }

}

