﻿/* ==========================================================================
   1. VARIÁVEIS E GLOBAIS
   ========================================================================== */
:root {
    --jn-blue: #007FFF;
    --jn-orange: #FF8C00;
    --jn-dark: #1a1a1a;
    --jn-gold: #b8860b;
    --text-dark: #202124;
    --text-muted: #5f6368;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.blue-text { color: var(--jn-blue); }

/* Carrinho Fixo */
.cart-btn {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--jn-gold);
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    z-index: 1050;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    cursor: pointer;
}
.cart-btn:hover { background: var(--jn-blue); transform: scale(1.1); }

/* ==========================================================================
   2. INTRO E CARROSSEL (SLIDE)
   ========================================================================== */
.store-slide-content {
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.slide-overlay {
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 35px;
    color: white;
}

/* Botão 3D Pretinho do Slide */
.btn-jn-3d-mini {
    display: inline-block;
    background: #000;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 4px 0 #333;
    border: none;
    cursor: pointer;
}

.btn-3d-inner-sm {
    display: block;
    color: #fff;
    padding: 10px 25px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-jn-3d-mini:hover {
    background: var(--jn-orange);
    box-shadow: 0 4px 0 #cc7000;
}

.btn-jn-3d-mini:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #cc7000;
}

/* ==========================================================================
   3. CARDS COM BORDAS ANIMADAS (SEM MOVIMENTO)
   ========================================================================== */
.play-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px; 
    min-height: 220px; 
    display: flex;
    flex-direction: column;
    border: 2px solid transparent; 
    background-clip: padding-box;
    position: relative;
    transition: border-color 0.4s, box-shadow 0.4s;
    outline: 1px solid var(--border-color);
}

/* Efeito de Borda Azul no Hover */
.play-card:hover {
    outline: none;
    border-color: var(--jn-blue);
    box-shadow: 0 0 15px rgba(0, 127, 255, 0.3);
}

/* Ícones de Tecnologia no Topo */
.tech-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.play-card:hover .tech-icons i {
    color: var(--jn-blue);
}

/* Layout Interno do Card */
.play-body {
    margin-bottom: 15px;
}

.play-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.play-content small {
    display: inline-block;
    color: var(--jn-blue) !important; 
    font-size: 0.95rem !important;    
    font-weight: 800 !important;      
    margin-bottom: 10px;      
    letter-spacing: 0.5px;
    opacity: 1 !important;            
}

.play-content small {
    background: rgba(0, 127, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.play-content .badge {
    display: inline-block !important; 
    margin-bottom: 15px !important;   
    padding: 4px 10px !important;     
    font-size: 0.85rem !important;    
    font-weight: 800 !important;      
    border-radius: 6px !important;   
    vertical-align: middle;
}

.bg-success {
    background-color: #28a745 !important; 
}

.play-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.play-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.play-footer {
    margin-top: auto; 
    padding-top: 20px;
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   4. BOTÕES DOS CARDS (SISTEMAS)
   ========================================================================== */
.btn-jn-3d {
    display: block;
    width: 100%;
    background: #000;
    color: #fff !important;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 0 #333;
    transition: 0.2s;
}

.btn-jn-3d:hover {
    background: var(--jn-blue);
    box-shadow: 0 4px 0 #0056b3;
}

.btn-jn-3d:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #0056b3;
}

/* Estilo para Botões de Games (Vermelho) */
.btn-outline-danger {
    border: 2px solid #dc3545;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.4);
}

/* ==========================================================================
   5. ANIMAÇÃO DE SCROLL (FADE IN)
   ========================================================================== */
/* Se estiver usando AOS Library, isso já funciona. 
   Caso contrário, aqui está uma animação nativa simples: */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

.aos-animate {
    opacity: 1;
}




/* ==========================================================================
   JNSOFT PROMO AREA - ESTILO GOOGLE PLAY PREMIUM
   ========================================================================== */

.promo-banner-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #002d5a 50%, #007FFF 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 127, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efeito de Luz Difusa ao fundo */
.promo-banner-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.badge-promo {
    display: inline-block;
    background: var(--jn-orange);
    color: #000;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.orange-text { color: var(--jn-orange); }

/* Cronômetro Visual */
.timer-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.timer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Botão de Promoção 3D (O "Pretinho" com Hover Laranja) */
.btn-jn-promo-3d {
    display: inline-block;
    background: #000;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 6px 0 #333;
    border: none;
}

.btn-3d-inner-promo {
    display: block;
    color: #fff;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-jn-promo-3d:hover {
    background: var(--jn-orange);
    box-shadow: 0 6px 0 #cc7000;
    transform: translateY(-3px);
}

.btn-jn-promo-3d:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #cc7000;
}