* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0f1015;
    color: #f0f0f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 85px 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.container.container-wide {
    max-width: 600px;
}

h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Barra de navegação com botões */
.nav-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #c4c6d6;
    background-color: #1a1b24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    color: #ffffff;
    background-color: #262835;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 94, 98, 0.35);
}

/* Moldura para mídias (Vídeos / Embeds) */
.media-wrapper {
    position: relative;
    width: 100%;
    background-color: #1a1b24;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-shorts {
    padding-bottom: 177.77%; /* Proporção 9:16 Shorts */
}

.video-widescreen {
    padding-bottom: 56.25%; /* Proporção 16:9 tradicional */
}

.media-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Container específico para o Embed do Instagram */
.instagram-wrapper {
    height: 520px;
    max-height: 75vh;
}

.instagram-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.profile-link-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(253, 29, 29, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-link-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Carrossel de Trabalhos Sociais */
.carousel-container {
    position: relative;
    width: 100%;
    background-color: #1a1b24;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #12131a;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* Setas do carrossel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(15, 16, 21, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    outline: none;
}

.carousel-arrow:hover,
.carousel-arrow:active {
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev {
    left: 12px;
}

.carousel-arrow.next {
    right: 12px;
}

/* Indicadores de bolinhas (dots) */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
    outline: none;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    width: 24px;
    border-radius: 12px;
}

/* Card da Biografia / Sobre */
.about-card {
    background-color: #1a1b24;
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.about-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ff9966;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cfd2e3;
    margin-bottom: 16px;
    text-align: justify;
}

.about-card .highlight-box {
    background: rgba(255, 94, 98, 0.08);
    border-left: 4px solid #ff5e62;
    padding: 16px 18px;
    border-radius: 0 12px 12px 0;
    margin: 22px 0 18px 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
}

.about-card .disclaimer {
    font-style: italic;
    color: #8c8fa6;
    font-size: 0.86rem;
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    text-align: center;
}

/* Seção da Carteirinha de Fã-Clube */
.card-generator {
    background-color: #1a1b24;
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 24px;
    text-align: left;
    color: #f0f0f5;
}

.card-generator h2 {
    font-size: 1.25rem;
    color: #f0c449;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 800;
}

.card-generator .desc {
    font-size: 0.9rem;
    color: #a4a7be;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #d1d4e6;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background-color: #101117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #f0c449;
    box-shadow: 0 0 0 3px rgba(240, 196, 73, 0.25);
    background-color: #161822;
}

.photo-options {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #242735;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #313547;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.action-btn.btn-gold {
    background: linear-gradient(135deg, #f0c449, #ca952d);
    color: #070e1c;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(240, 196, 73, 0.35);
}

.action-btn.btn-gold:hover {
    background: linear-gradient(135deg, #ffd35e, #dfa737);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 196, 73, 0.5);
}

/* Modal / Área da Câmera */
.camera-box {
    display: none;
    background-color: #0c0d12;
    border: 1px solid rgba(240, 196, 73, 0.3);
    border-radius: 14px;
    padding: 12px;
    margin-top: 14px;
    text-align: center;
}

.camera-box.active {
    display: block;
}

.camera-box video {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transform: scaleX(-1);
    background: #000;
}

.camera-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

/* Preview da Foto */
.photo-preview-wrap {
    display: none;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    background: #12141c;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px dashed rgba(240, 196, 73, 0.35);
}

.photo-preview-wrap.active {
    display: flex;
}

.photo-preview-wrap img {
    width: 60px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #f0c449;
}

.photo-preview-wrap span {
    font-size: 0.88rem;
    color: #9fe2a8;
    font-weight: 600;
}

/* Área de Exibição do Canvas da Carteirinha */
.id-card-display {
    display: none;
    margin-top: 24px;
    text-align: center;
}

.id-card-display.active {
    display: block;
}

#cardCanvas {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(202, 149, 45, 0.4);
    display: block;
    margin: 0 auto;
    background: #ffffff;
}

.card-download-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #6b6d85;
}

/* Efeito de corações flutuantes subindo (estilo neve invertida) */
#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    z-index: 9999;
}

.floating-heart {
    position: absolute;
    bottom: -60px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform, opacity;
    animation: floatUp var(--duration, 6s) linear forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: var(--target-opacity, 0.7);
    }
    85% {
        opacity: var(--target-opacity, 0.7);
    }
    100% {
        transform: translateY(calc(-100vh - 100px)) translateX(var(--drift, 20px)) rotate(var(--rot, 15deg));
        opacity: 0;
    }
}

/* Botão Flutuante de Contratação (WhatsApp) */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.2px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.whatsapp-float-btn:hover {
    transform: translateX(-50%) translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
    filter: brightness(1.06);
}

.whatsapp-float-btn:active {
    transform: translateX(-50%) scale(0.97);
}

.whatsapp-float-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.whatsapp-float-btn:hover svg {
    transform: scale(1.1) rotate(-8deg);
}

