/* RESET PADRÃO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FONTE */
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

/* BODY */
body {
    width: 100%;
    min-height: 100vh;
    font-family: "Play", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* VARIAVEIS */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray: #ffffffa4;
    --color-red: #CD1719;
}

/* CURSOR CUSTOMIZADO */
.cursor,
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-trail {
    width: 10px;
    height: 10px;
    background-color: var(--color-red);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.08s linear;
    z-index: 9998;
}

/* CONTAINER PRINCIPAL */
.container {
    width: 100%;
    min-height: 100vh;
    padding: 25px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
}

/* Camada de fundo performática */
.bg-layer {
    position: absolute;
    inset: -4%;
    background-image: url('../image/bg-red-funky-room.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform;
    z-index: 0;
}

/* CONTAINER CENTRAL */
.link-bio {
    background-color: var(--color-black);
    width: 100%;
    height: auto;
    max-width: 560px;
    border-radius: 12px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 12px;
    position: relative;
    z-index: 1;
}

/* lOGO */
.logo {
    position: relative;
    width: 100%;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.logo .logo-base {
    position: relative;
    z-index: 1;
}

.logo .alternate {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 19%;
    height: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* DESCRIÇÃO */
.descricao {
    color: var(--color-red);
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

/* FAIXA ANIMADA */
.faixa-animada {
    background-color: var(--color-white);
    color: var(--color-red);
    font-weight: normal;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    border-radius: 6px;
    position: relative;
}

.text-faixa {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
}

.text-faixa span {
    display: inline-block;
    padding: 0px;
    font-size: 16px;
}

.faixa-animada .text-faixa span {
    margin-right: 4px;
}

.destaque-text {
    font-weight: bold;
}

@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

/* INGRESSOS */
.ingressos {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.ingressos h2 {
    font-size: 18px;
    color: var(--color-white);
}

.widget {
    background-color: var(--color-red);
    width: 100%;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    border-radius: 6px;
    align-items: center;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.left-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-right: 5px;
}


.calendario {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
    width: 50px;
    height: 50px;
}

.mes {
    background-color: var(--color-black);
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 12px;
    border-radius: 6px 6px 0px 0px;
    font-weight: bold;
}

.dia {
    background-color: var(--color-white);
    width: 100%;
    height: 60%;
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px 6px 6px;
    font-weight: bold;
    font-size: 18px;
}

.info-ingresso {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.info-ingresso .nome {
    color: var(--color-white);
    font-size: 17px;
    font-weight: bold;
}

.info-ingresso .local {
    color: var(--color-gray);
    font-size: 12px;
}

.right-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.right-widget button {
    background-color: var(--color-black);
    outline: none;
    border: none;
    color: var(--color-white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.right-widget a {
    text-decoration: none;
    color: var(--color-white);
}

.right-widget a:hover {
    color: var(--color-black);
}

.destaque-widget {
    background-color: #2317cd;
}

.destaque-widget .dia {
    color: #2317cd;
}

/* BOTÕES */
.right-widget button {
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.right-widget button:hover {
    transform: scale(1.05);
    background-color: var(--color-white);
    color: var(--color-black);
}

/* GALERIA DE FOTOS */
.galeria {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.text-galeria {
    color: var(--color-white);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.text-galeria a {
    color: var(--color-white);
    font-size: 14px;
}

.slider-galeria {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    contain: paint;
    will-change: opacity, background-image;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: transform .08s ease, background .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.bullets {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -25px;
}

.bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    opacity: .6;
    transition: all .2s ease;
}

.bullet.active {
    background-color: var(--color-red);
    opacity: 1;
    z-index: 1;
}

@media (max-width: 480px) {
    .slider-galeria {
        height: 300px;
    }
}

/* VIDEOS */

.videos-slider{position:relative;width:100%;border-radius:12px;overflow:hidden}
.videos-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.videos-track::-webkit-scrollbar{display:none}
.videos-slider .video{min-width:100%;scroll-snap-align:start;aspect-ratio:9/16;border-radius:12px;overflow:hidden}
.videos-slider .video video{width:100%;height:100%;object-fit:cover;border-radius:12px}
.v-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18);border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;cursor:pointer;z-index:5}
.v-arrow.left{left:10px}
.v-arrow.right{right:10px}
.v-bullets{display:flex;justify-content:center;gap:10px;margin-top:8px}
.v-bullet{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.6}
.v-bullet.active{background:var(--color-red);opacity:1}


.videos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.videos h2 {
    font-size: 16px;
    font-weight: normal;
    color: var(--color-white);
    z-index: -1 !important;
}

.video {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* PLAYLIST */
.playlist {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.text-playlist {
    color: var(--color-white);
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
}

/* AJUDA/CONTATO */
.ajuda {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ajuda h2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--color-white);
}

.ajuda span {
    font-size: 14px;
    font-weight: normal;
    color: var(--color-gray);
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-icons i {
    font-size: 30px;
    color: var(--color-red);
    transition: all 0.3s;
}

.social-icons i:hover {
    font-size: 30px;
    color: var(--color-white);
}

/* LOCALIZAÇÃO */
.localizacao {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.localizacao h2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--color-white);
}

/* COPYRIGHT */
.copyright {
    width: 100%;
    border-top: 1px solid var(--color-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 15px;
}

.copyright span {
    color: var(--color-white);
    font-size: 14px;
    font-weight: normal;
}

.copyright a {
    color: var(--color-red);
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
}

.copyright a:hover {
    color: var(--color-white);
}

/* ANIMAÇÕES GERAIS */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* WIDGET DE INGRESSOS */
.widget:nth-child(2) {
    animation-delay: 0.2s;
}

.widget:nth-child(3) {
    animation-delay: 0.4s;
}

/* VÍDEO */
.video {
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
}

.video video {
    opacity: 1;
}

/* ARROWS SLIDER */
.arrow {
    transition: transform 0.3s ease;
}

.arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

/* BULLETS */
.bullet {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.bullet:hover {
    transform: scale(1.2);
    background-color: var(--color-red);
}

/* ANIMAÇÃO DE FADE NAS SEÇÕES PRINCIPAIS */
.link-bio>* {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.link-bio>*:nth-child(1) {
    animation-delay: 0.2s;
}

.link-bio>*:nth-child(2) {
    animation-delay: 0.3s;
}

.link-bio>*:nth-child(3) {
    animation-delay: 0.4s;
}

.link-bio>*:nth-child(4) {
    animation-delay: 0.5s;
}

.link-bio>*:nth-child(5) {
    animation-delay: 0.6s;
}

.link-bio>*:nth-child(6) {
    animation-delay: 0.7s;
}

.link-bio>*:nth-child(7) {
    animation-delay: 0.8s;
}

.link-bio>*:nth-child(8) {
    animation-delay: 0.9s;
}

/* ===== Ver Todas - Modal ===== */
.vt-modal[hidden] {
    display: none !important;
}

.vt-modal {
    position: fixed;
    inset: 0;
    z-index: 99999 !important;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.vt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.vt-dialog {
    position: relative;
    width: min(520px, 92vw);
    max-height: min(80vh, 680px);
    overflow: auto;
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    padding: 22px;
    outline: none;
    transform: translateY(6px) scale(.98);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
}

.vt-modal.is-open .vt-dialog {
    transform: none;
    opacity: 1;
}

.vt-dialog h3 {
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.vt-dialog p {
    margin: 0 0 16px;
    color: #333;
}

.vt-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.vt-close:hover {
    color: #111;
}

.vt-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vt-section {
    display: grid;
    gap: 10px;
}

.vt-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #111;
}

.vt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    align-items: stretch;
}

.vt-grid .vt-btn {
    width: 100%;
    height: 44px;
}

@media (max-width: 480px) {
    .vt-grid {
        grid-template-columns: 1fr;
    }
}


.vt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.vt-btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 8px 18px rgba(205, 23, 25, .35);
}

.vt-btn-primary:hover {
    transform: translateY(-1px);
}

.vt-btn-outline {
    background: transparent;
    color: var(--color-black);
    border: 2px solid #000;
}

.vt-btn-outline:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .vt-actions {
        grid-template-columns: 1fr;
    }

    .vt-dialog {
        width: min(520px, 94vw);
        max-height: 86vh;
    }
}

/* ===== Loja Funky Room ===== */
.loja {
    padding: 48px 0;
}

.loja-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}

.loja-header h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    letter-spacing: .5px;
    color: var(--color-white);
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card-produto {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-produto:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
    border-color: rgba(255, 255, 255, .22);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #000;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback pra browsers/iOS que ignoram aspect-ratio no 1º paint */
@supports not (aspect-ratio: 4 / 5) {
    .card-media {
        position: relative;
    }

    .card-media::before {
        content: "";
        display: block;
        padding-top: 125%;
    }

    .card-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Conteúdo do card */
.produto-info {
    padding: 12px 14px 16px;
    color: var(--color-white);
}

.produto-nome {
    font-size: 1rem;
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--color-white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    min-height: calc(1.2em * 2);
}

.produto-preco {
    font-size: .98rem;
    color: var(--color-gray);
    margin: 0 0 10px;
}

.btn-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    font-weight: 700;
    border-radius: 10px;
    background: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(205, 23, 25, .28);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn-comprar:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(205, 23, 25, .34);
}

/* ===== Mobile tweaks ===== */
@media (max-width: 480px) {
    .grid-produtos {
        gap: 10px;
    }

    .card-produto {
        border-radius: 10px;
    }

    .produto-info {
        padding: 8px 10px 12px;
    }

    .produto-nome {
        font-size: .9rem;
        line-height: 1.18;
        margin-bottom: 4px;
        min-height: calc(1.18em * 2);
    }

    .produto-preco {
        font-size: .88rem;
        margin-bottom: 8px;
    }

    .btn-comprar {
        height: 34px;
        padding: 0 12px;
        font-size: .88rem;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(205, 23, 25, .22);
    }
}

/* Telas ultra estreitas */
@media (max-width: 360px) {
    .grid-produtos {
        gap: 8px;
    }

    .produto-nome {
        font-size: .86rem;
    }

    .produto-preco {
        font-size: .84rem;
    }

    .btn-comprar {
        height: 32px;
        font-size: .82rem;
        padding: 0 10px;
    }
}

/* ===== Modal de Imagem (Loja) ===== */
.pm-modal[hidden] {
    display: none !important;
}

.pm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.pm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.pm-dialog {
    position: relative;
    max-width: min(1000px, 92vw);
    max-height: 92vh;
    margin: 6vh auto 0;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    display: flex;
    flex-direction: column;
    align-items: center;
    outline: none;
    overflow: hidden;
}

.pm-dialog img {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #000;
}

.pm-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(163, 163, 163, 0.5);
    color: var(--color-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .08s ease;
}

.pm-close:hover {
    background: rgba(63, 63, 63, 0.5);
    transform: translateY(-1px);
}

.pm-caption {
    width: 100%;
    padding: 10px 14px;
    color: #ddd;
    font-size: .92rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #000;
}

@media (max-width: 480px) {
    .pm-dialog {
        margin-top: 8vh;
    }

    .pm-close {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .pm-caption {
        font-size: .86rem;
        padding: 8px 10px;
    }
}