/* ==========================================================================
   CSS LINK IN BIO & PÁGINA CAMALEÃO — VIRALINK (GALAXY NEON EDITION)
   * Foco: Animações de fundo, UI de App Nativo e Alta Conversão com CTAs.
   ========================================================================== */

/* --- VARIÁVEIS GLOBAIS --- */
:root {
    --bg-dark: #0a0f1a; 
    --card-bg: rgba(17, 24, 39, 0.85); 
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --whatsapp-color: #25D366;
    --whatsapp-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --telegram-color: #0088cc;
    --telegram-gradient: linear-gradient(135deg, #00A3E0 0%, #0088cc 100%);
    --neon-green: #00ff88;
    --buy-gradient: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%); /* Cor quente para compra */
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* ==========================================
   EFEITO DE FUNDO: GALÁXIA 3D & NEON
   ========================================== */
.galaxy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0f1a 0%, #050810 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 15s infinite ease-in-out alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-green);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #0088cc;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(0, 255, 136, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrbCenter 20s infinite linear;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

@keyframes floatOrbCenter {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg); }
}

.stars-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="150" cy="80" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="80" cy="150" r="0.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
}


/* --- CONTAINER PRINCIPAL (Estilo Mobile App) --- */
.vip-hub {
    width: 100%;
    max-width: 500px; 
    padding: 40px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 1; 
}

.vip-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    backdrop-filter: blur(10px); 
}

/* ==========================================
   1. HEADER / AVATAR
   ========================================== */
.vip-header {
    text-align: center;
    margin-bottom: 10px;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
}

.vip-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain; 
    background: #ffffff; 
    border: 3px solid var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    padding: 8px; 
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #3b82f6; 
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 3px solid var(--bg-dark);
}

.vip-header h1 {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.vip-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
}

.emoji-shake {
    display: inline-block;
    animation: shake 2.5s infinite;
    transform-origin: center bottom;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
}

/* ==========================================
   MODO PRODUTO E MODO COLEÇÃO (VITRINE)
   ========================================== */

/* Selo de Oferta Verificada */
.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 65, 108, 0.15);
    border: 1px solid rgba(255, 65, 108, 0.4);
    color: #ff416c;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -10px;
    animation: pulse-red 2s infinite;
}

/* [NOVO] Cabeçalho da Coleção (Hook) */
.collection-intro {
    text-align: center;
    margin-bottom: -10px;
}

.collection-hook-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 2px 15px rgba(0, 255, 136, 0.3);
}

.collection-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* [NOVO] Grid da Coleção (2 colunas no celular) */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    width: 100%;
}

/* Card Principal do Produto (Serve para single e grid) */
.product-card-glass {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* [NOVO] Ajuste específico para itens dentro do grid (Coleção) */
.collection-item {
    padding: 15px;
    border-radius: 16px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.collection-item .product-image-wrapper {
    margin-bottom: 12px;
    border-radius: 12px;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ff416c;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 8px 40px;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
}

.collection-item .discount-tag {
    font-size: 0.8rem;
    padding: 4px 25px;
    top: 10px;
    right: -25px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #e2e8f0;
}

/* [NOVO] Título menor para itens na grade */
.product-title-sm {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #e2e8f0;
    flex-grow: 1; /* Empurra o botão pro fundo se o título for curto */
}

.product-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
}

.collection-item .product-price-box {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
}

.price-old {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 5px;
}

.price-new {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    line-height: 1;
}

.collection-item .price-new {
    font-size: 1.5rem;
}

.store-info {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.collection-item .store-info {
    font-size: 0.75rem;
    margin-top: 5px;
}

/* Botão de Compra Pulsante */
.btn-buy-pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--buy-gradient);
    color: #fff;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 65, 108, 0.4);
    animation: heartbeat 2s infinite;
    transition: transform 0.2s;
}

/* [NOVO] Botão menor para o Grid */
.btn-buy-sm {
    padding: 12px 10px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-buy-pulse:active {
    transform: scale(0.96);
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(255, 65, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.03); }
    28% { transform: scale(1); }
    42% { transform: scale(1.03); }
    70% { transform: scale(1); }
}

/* Caixa de Recrutamento (A Isca) */
.recruitment-box {
    background: rgba(37, 211, 102, 0.05);
    border: 2px dashed rgba(37, 211, 102, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
}

.recruitment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.recruitment-header h3 {
    color: #25D366;
    font-size: 1.2rem;
    font-weight: 900;
}

.ringing {
    color: #f59e0b;
    font-size: 1.4rem;
    animation: ring 2s infinite;
}

@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    50%, 100% { transform: rotate(0); }
}

.recruitment-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.recruitment-btn {
    animation: pulse-whatsapp 2.5s infinite;
}

/* ==========================================
   2. GRID DE BOTÕES E HUB NORMAL
   ========================================== */
.vip-links-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-group-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.vip-btn {
    flex-grow: 1; 
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.vip-btn:hover {
    transform: translateY(-3px) scale(1.01);
}

.btn-copy-split {
    width: 60px;
    flex-shrink: 0;
    border-radius: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-split.whatsapp-copy {
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.btn-copy-split.whatsapp-copy:hover {
    background: rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

.btn-copy-split.telegram-copy {
    background: rgba(0, 136, 204, 0.2);
    border: 1px solid rgba(0, 136, 204, 0.4);
    color: #00A3E0;
}

.btn-copy-split.telegram-copy:hover {
    background: rgba(0, 136, 204, 0.4);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 2rem;
    margin-right: 15px;
    width: 45px;
    display: flex;
    justify-content: center;
}

.btn-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.btn-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.btn-main-whatsapp {
    background: var(--whatsapp-gradient);
    border: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-main-whatsapp .btn-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-telegram {
    background: var(--telegram-gradient);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

/* --- SEPARADOR --- */
.separator {
    text-align: center;
    position: relative;
    margin: 25px 0 10px 0;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.separator span {
    background: var(--bg-dark); 
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    border-radius: 20px;
}

.btn-niche {
    background: rgba(11, 17, 32, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.btn-niche .btn-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.btn-niche .btn-title {
    font-size: 1rem;
    color: #cbd5e1;
}

.coming-soon {
    opacity: 0.8;
}

.badge-soon {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   3. GATILHO DE COMPARTILHAMENTO
   ========================================== */
.share-trigger-box {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.share-icon-3d {
    font-size: 2.5rem;
    color: #f59e0b;
    filter: drop-shadow(0 5px 10px rgba(245, 158, 11, 0.4));
    animation: float 3s ease-in-out infinite;
}

.share-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.share-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-share-portal {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-share-portal:hover {
    background: rgba(0, 255, 136, 0.15);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* ==========================================
   4. RODAPÉ E ÍCONES SOCIAIS (CÓDIGO LIMPO)
   ========================================== */
.vip-footer {
    text-align: center;
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.btn-back-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.btn-back-site:hover {
    background: rgba(255,255,255,0.05);
}

/* [NOVO] Estilização dos Ícones Sociais (Removido o inline do HTML) */
.social-footer-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-footer-nav a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.2s;
}

.social-footer-nav a:hover {
    transform: translateY(-2px);
}

/* Hover Brands Sociais */
.social-footer-nav a:hover[title="Instagram"] { color: #E1306C; }
.social-footer-nav a:hover[title="Pinterest"] { color: #E60023; }
.social-footer-nav a:hover[title="WhatsApp"] { color: #25D366; }
.social-footer-nav a:hover[title="Telegram"] { color: #0088cc; }

/* [NOVO] Estilização da Margem de Segurança (Removido o inline do HTML) */
.security-info {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.brand-copy {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

/* ==========================================
   5. TOAST DE NOTIFICAÇÃO
   ========================================== */
#vip-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

#vip-toast.toast-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================
   6. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================== */
@media (max-width: 480px) {
    /* No celular pequeno, garante que os cards do grid fiquem bem dispostos (2 lado a lado) */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .collection-item {
        padding: 10px;
    }
    
    .collection-item .price-new {
        font-size: 1.3rem;
    }
    
    .btn-buy-sm {
        font-size: 0.85rem;
        padding: 10px 8px;
    }
    
    .vip-header h1 {
        font-size: 1.5rem;
    }
}
