/* assets/css/produto-detalhe.css */
/* Estilos exclusivos e mágicos para a página de detalhes do produto */

:root {
    --magic-gold: #fbbf24;
    --magic-gold-dark: #b45309;
    --magic-purple: #8b5cf6;
    --magic-neon-green: #00ff8c;
    --magic-cyan: #06b6d4;
    --card-bg-dark: #0f172a;
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* =========================================
   ANIMAÇÕES GERAIS
   ========================================= */

@keyframes rotate-border {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes border-pulse-gold {
    0% { border-color: #d97706; box-shadow: 0 0 5px rgba(217, 119, 6, 0.3); }
    50% { border-color: #fbbf24; box-shadow: 0 0 15px rgba(251, 191, 36, 0.6); }
    100% { border-color: #d97706; box-shadow: 0 0 5px rgba(217, 119, 6, 0.3); }
}

@keyframes border-pulse-green {
    0% { border-color: #15803d; box-shadow: 0 0 5px rgba(21, 128, 61, 0.3); }
    50% { border-color: #84cc16; box-shadow: 0 0 15px rgba(132, 204, 22, 0.6); }
    100% { border-color: #15803d; box-shadow: 0 0 5px rgba(21, 128, 61, 0.3); }
}

@keyframes border-pulse-cyan {
    0% { border-color: #0e7490; box-shadow: 0 0 5px rgba(14, 116, 144, 0.3); }
    50% { border-color: #22d3ee; box-shadow: 0 0 15px rgba(34, 211, 238, 0.6); }
    100% { border-color: #0e7490; box-shadow: 0 0 5px rgba(14, 116, 144, 0.3); }
}

/* === NOVAS ANIMAÇÕES MÁGICAS SUAVES (SOFT GLOW) === */
@keyframes magic-soft-glow-gold {
    0%, 100% { box-shadow: 0 0 4px rgba(251, 191, 36, 0.2); border-color: rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 0 12px rgba(251, 191, 36, 0.5); border-color: rgba(251, 191, 36, 0.9); }
}

@keyframes magic-soft-glow-green {
    0%, 100% { box-shadow: 0 0 4px rgba(74, 222, 128, 0.2); border-color: rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.5); border-color: rgba(74, 222, 128, 0.9); }
}

@keyframes magic-soft-glow-cyan {
    0%, 100% { box-shadow: 0 0 4px rgba(34, 211, 238, 0.2); border-color: rgba(34, 211, 238, 0.4); }
    50% { box-shadow: 0 0 12px rgba(34, 211, 238, 0.5); border-color: rgba(34, 211, 238, 0.9); }
}

/* === ANIMAÇÕES DE ÍCONES DE STATUS === */
@keyframes coin-float-shine {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4)); }
    50% { transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.8)); }
}

@keyframes gift-float-shine {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.4)); }
    50% { transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 0 15px rgba(74, 222, 128, 0.8)); }
}

@keyframes crown-float-royal {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6)); 
    }
    50% { 
        transform: translateY(-6px) rotate(5deg); 
        filter: drop-shadow(0 0 25px rgba(234, 179, 8, 1)); 
    }
}

.magic-coin-icon {
    display: inline-block;
    color: #fbbf24; /* Gold */
    animation: coin-float-shine 3s ease-in-out infinite;
    position: relative; z-index: 1;
}

.magic-gift-icon {
    display: inline-block;
    color: #4ade80; /* Green-400 */
    animation: gift-float-shine 3s ease-in-out infinite;
    position: relative; z-index: 1;
}

.magic-vip-icon {
    display: inline-block;
    color: #facc15; /* Yellow-400 */
    animation: crown-float-royal 3s ease-in-out infinite;
    position: relative; z-index: 1;
}

/* Efeito de texto gradiente dourado para o VIP */
.text-vip-gradient {
    background: linear-gradient(to right, #fcd34d, #f59e0b, #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* =========================================
   NOVA CLASSE: CAIXA DO BLOCO 3 (MAGIC BORDER - FLUXO CONTÍNUO)
   ========================================= */
.magic-box-premium {
    position: relative;
    background: rgba(15, 23, 42, 0.6); /* Fundo base translúcido */
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden;
    z-index: 1;
    /* Removemos a borda padrão para usar o efeito */
    border: none;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.6);
    /* CORREÇÃO CRÍTICA: Força aceleração de GPU para evitar que a borda suma no Chrome/Edge ao redimensionar */
    transform: translateZ(0); 
    will-change: transform;
}

/* A Luz Giratória (Atrás) - AGORA COM VERDE CLARO PREENCHENDO */
.magic-box-premium::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    /* CORREÇÃO: Aumentado para 400% e centralizado com precisão */
    width: 400%; height: 400%;
    transform: translate(-50%, -50%);
    z-index: -2;
    /* Gradiente profissional contínuo: Ouro -> Verde Claro -> Ciano -> Verde Claro -> Ouro */
    background: conic-gradient(
        from 0deg,
        #fbbf24 0%,      /* Ouro */
        #bef264 35%,     /* Verde Claro (Lime-300) - Conexão */
        #22d3ee 50%,     /* Ciano - Centro oposto */
        #bef264 65%,     /* Verde Claro (Lime-300) - Conexão */
        #fbbf24 100%     /* Volta ao Ouro */
    );
    animation: rotate-border 6s linear infinite;
}

/* A Máscara Interna (Para criar a espessura da borda) */
.magic-box-premium::after {
    content: '';
    position: absolute;
    /* CORREÇÃO: Aumentado para 2px para garantir visibilidade da borda em todos os monitores */
    inset: 2px; 
    background: rgba(15, 23, 42, 0.98); /* Fundo quase sólido para legibilidade e contraste */
    border-radius: calc(0.75rem - 2px); /* Ajuste perfeito do raio */
    z-index: -1;
}

/* =========================================
   NOVA CLASSE: IMAGEM MÁGICA (BORDA 1PX VIVA)
   ========================================= */
.magic-image-wrapper {
    position: relative;
    /* Padding de 1px cria o espaço para a borda brilhar */
    padding: 1px; 
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden;
    background: #1f2937; /* Fallback */
    /* Sombra profunda para destacar o brilho */
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.5); 
    transform: translateZ(0); /* Força GPU */
    will-change: transform;
}

/* ATUALIZAÇÃO DO GRADIENTE PARA INCLUIR MAIS UMA COR (ROSE/RED) */
.magic-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 300%; height: 300%; /* Grande o suficiente para cobrir na rotação */
    transform: translate(-50%, -50%);
    z-index: 0; /* Fica atrás do inner */
    /* Gradiente Mágico Vivo: Cyan -> Magenta -> Rose (NOVO) -> Gold -> Neon Green -> Cyan */
    background: conic-gradient(
        from 0deg,
        #22d3ee 0%,      /* Cyan */
        #e879f9 20%,     /* Magenta */
        #f43f5e 40%,     /* Rose (NOVA COR PARA PREENCHIMENTO) */
        #fbbf24 60%,     /* Gold */
        #4ade80 80%,     /* Neon Green */
        #22d3ee 100%     /* Loop Cyan */
    );
    animation: rotate-border 4s linear infinite;
}

/* O container interno que segura a imagem e cobre o centro do gradiente */
.magic-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f172a; /* Fundo escuro */
    border-radius: calc(0.75rem - 1px); /* Raio ajustado */
    overflow: hidden;
    z-index: 1; /* Fica acima do gradiente */
}

/* === SUPER ZOOM Styles === */
/* Garantia que o cursor apareça */
#product-image-container:hover #product-image {
    cursor: crosshair;
    /* Desabilita transição durante o movimento para rastreamento instantâneo */
    transition: transform 0.1s linear; 
}


/* =========================================
   BOTÕES MÁGICOS (NOVA IMPLEMENTAÇÃO)
   ========================================= */

/* Estrutura Base */
.btn-magic-base {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem; 
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    border-radius: 0.6rem; 
    overflow: hidden;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    letter-spacing: 0.05em;
    /* Borda inicial de 1px definida pelas classes filhas */
}

.btn-magic-base:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-magic-base i,
.btn-magic-base span {
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
}

/* === 1. BOTÃO COMPRA (ADQUIRIR) - NOVA ESTILO OURO === */
.btn-magic-gold {
    background: rgba(251, 191, 36, 0.05); /* Fundo translúcido inicial */
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    /* Animação suave da borda */
    animation: magic-soft-glow-gold 3s infinite ease-in-out;
}

.btn-magic-gold:hover {
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%); /* Fundo sólido no hover */
    color: #fffbeb;
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}
.btn-magic-gold i { color: #fbbf24; }
.btn-magic-gold:hover i { color: #fff; text-shadow: 0 0 5px #fbbf24; }


/* === 2. BOTÃO ENTRAR (LOGIN) - NOVA ESTILO OURO === */
.btn-magic-login {
    background: rgba(74, 222, 128, 0.05); /* Fundo translúcido inicial */
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    /* Animação suave da borda */
    animation: magic-soft-glow-green 3s infinite ease-in-out;
}

.btn-magic-login:hover {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%); /* Fundo sólido no hover */
    color: #f0fdf4;
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}
.btn-magic-login i { color: #4ade80; }
.btn-magic-login:hover i { color: #fff; text-shadow: 0 0 5px #4ade80; }


/* === 3. BOTÃO VIP/BAIXAR - NOVA ESTILO CIANO === */
.btn-magic-secondary {
    background: rgba(34, 211, 238, 0.05); /* Fundo translúcido inicial */
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.4);
    /* Animação suave da borda */
    animation: magic-soft-glow-cyan 3s infinite ease-in-out;
}

.btn-magic-secondary:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%); /* Fundo sólido no hover */
    color: #ecfeff;
    border-color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}
.btn-magic-secondary i { color: #22d3ee; }
.btn-magic-secondary:hover i { color: #fff; text-shadow: 0 0 5px #22d3ee; }


/* === 4. BOTÃO DEMO MÁGICO (CYBER BLUE) === */
.btn-magic-demo {
    display: flex; 
    align-items: center;
    justify-content: center;
    width: fit-content; 
    margin: 0 auto; 
    padding: 0.6rem 1.2rem; 
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: 1px solid #60a5fa;
    border-radius: 0.5rem;
    color: white;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}
.btn-magic-demo:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); 
    border-color: #f87171;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}
.btn-magic-demo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.5s;
}
.btn-magic-demo:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* === 5. BOTÃO OUVIR DESCRIÇÃO === */
.btn-magic-audio {
    position: relative;
    display: inline-block;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}
.animate-bounce-slow {
    animation: bounce 2s infinite;
}

/* === 6. NOVO BOTÃO REORDENAR (Ajustado e Profissional) === */
.btn-magic-reorder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Gap ajustado */
    padding: 0.4rem 0.8rem; /* Padding reduzido conforme solicitado para "respeitar o tamanho do título" */
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(239, 68, 68, 0.1); 
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5; 
    border-radius: 0.6rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    width: fit-content; /* Garante que o botão ocupe apenas o espaço necessário */
    min-width: auto; 
}

.btn-magic-reorder:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%); 
    color: white;
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.btn-magic-reorder i {
    transition: transform 0.5s ease;
}

.btn-magic-reorder:hover i {
    transform: rotate(180deg);
    color: #fff;
}

/* =========================================
   MAGIC INFO CARDS & LAYOUT
   ========================================= */

.magic-info-grid {
    display: grid;
    gap: 1rem;
}

.magic-info-card {
    position: relative;
    background: rgba(15, 23, 42, 0.6); 
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.magic-info-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.magic-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--magic-cyan); 
    opacity: 0.8;
    box-shadow: 0 0 10px var(--magic-cyan);
}

.magic-card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.magic-card-content {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.card-type-update {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.3), rgba(15, 23, 42, 0.6));
    border-left: none;
}
.card-type-update::before { background: #3b82f6; box-shadow: 0 0 15px #3b82f6; width: 3px; }

.card-type-summary {
    background: linear-gradient(180deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid rgba(255,255,255,0.05);
}
.card-type-summary::before { background: #10b981; box-shadow: 0 0 10px #10b981; }

/* --- CARD DE LICENÇA OFICIAL (BLINDADO) --- */
.magic-license-official {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    /* GARANTIDO 1px de espessura na borda */
    border: 1px solid #fbbf24; 
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magic-license-official:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #fcd34d;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.25);
    background: linear-gradient(145deg, #241f10, #1a1810);
}

.license-content-safe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

.license-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.license-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.1rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.magic-license-official:hover .license-icon-box {
    background: #fbbf24;
    color: #0f0f0f;
    transform: rotate(15deg);
}

/* ESPAÇAMENTO MELHORADO AQUI */
.license-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 0.3rem; /* Espaço adicionado entre o Título e o Valor */
}

.license-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #d4d4d8;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.license-value {
    font-size: 1rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.4);
    transition: color 0.3s;
}
.magic-license-official:hover .license-value {
    color: #fcd34d;
}

.license-link-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
    flex-shrink: 0;
}

.license-link-btn:hover {
    background: #fbbf24;
    color: #0f0f0f;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.license-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
}

.magic-license-official:hover .license-bg-glow {
    opacity: 0.2;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
}


/* --- CARD MÁGICO COMPACTO (LICENÇA ATIVA - TIMER) --- */
.magic-license-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at center, #064e3b 0%, #022c22 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 0 30px rgba(52, 211, 153, 0.05);
    border-radius: 1rem; 
    padding: 1rem 1.25rem;
    margin-bottom: 0; 
    position: relative;
    overflow: hidden;
    flex-wrap: nowrap; 
    width: 100%;
    animation: pulse-glow-green 3s infinite;
}

.magic-license-compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #34d399, transparent);
    opacity: 0.7;
}

@keyframes pulse-glow-green {
    0%, 100% { box-shadow: 0 0 15px rgba(52, 211, 153, 0.2); }
    50% { box-shadow: 0 0 25px rgba(52, 211, 153, 0.5); }
}

.license-content-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.license-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px; 
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    font-size: 1.2rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.1);
}

.license-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    overflow: hidden; 
}

.license-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6ee7b7; /* Verde claro */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.license-timer-box {
    display: flex;
    gap: 4px;
    font-family: 'Courier New', monospace; 
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(52, 211, 153, 0.6);
}

.license-download-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0; 
    margin-left: 15px;
}
.license-download-btn:hover {
    background: #10b981;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 20px #34d399;
    border-color: #a7f3d0;
}

/* === CARD PUBLICADOR (CRIADOR) === */
.publisher-card-container {
    position: relative;
    background: linear-gradient(160deg, #1e1b4b 0%, #0f172a 100%); /* Indigo profundo */
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}
.publisher-card-container:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.5);
    transform: translateY(-3px);
}
.publisher-card-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite linear;
    pointer-events: none;
}

/* Estilo específico para o conteúdo do Autor */
.author-magic-compact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.25rem; 
    z-index: 2;
}
.author-magic-avatar-wrapper {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    position: relative;
}
.author-magic-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}
.author-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #0ea5e9;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e1b4b;
}

.author-magic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-magic-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.02em;
}
.author-magic-role {
    font-size: 0.75rem;
    color: #a5b4fc;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* === FANTASTIC PILLS (Categorias e Tags) === */
.fantastic-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.fantastic-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3), 0 0 10px rgba(139, 92, 246, 0.2) inset;
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.fantastic-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--magic-purple), var(--magic-neon-green), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.fantastic-pill:hover::after {
    opacity: 1;
    height: 3px;
    box-shadow: 0 0 10px var(--magic-neon-green);
}

/* === PONTOS FLUTUANTES (Floating Magic) === */
.point-floater-magic {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #fbbf24; /* Gold */
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    transition: transform 5s cubic-bezier(0.19, 1, 0.22, 1), opacity 5s ease;
    transform-origin: center center;
}

.point-floater-magic.negative {
    color: #ef4444; /* Red-500 */
    text-shadow: 0 2px 10px rgba(127, 29, 29, 0.5); 
}

/* === ESTRELAS MÁGICAS (NOVO EFEITO) === */
.rating-star {
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #4b5563; /* Cor base inativa */
}

.rating-star.active {
    color: #fbbf24; /* Ouro */
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
    animation: star-pulse 2s infinite;
}

.rating-star:hover {
    transform: scale(1.3) rotate(15deg);
    color: #fcd34d;
    filter: drop-shadow(0 0 10px #fbbf24);
    cursor: pointer;
}

@keyframes star-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)); }
}

/* === TYPING EFFECT (TERMINAL) === */
.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-loader {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.05);
}

/* === AJUSTE DE FONTE DO CONTADOR DE AVALIAÇÕES === */
#product-rating-count {
    font-size: 18px;   /* Aumentado para 18px conforme solicitado */
    font-weight: 600;  /* Mantém a legibilidade */
    opacity: 0.9;      /* Suaviza levemente o contraste */
    margin-left: 2px;
    vertical-align: 1px;
}