/* c:\xampp\htdocs\meu_gamificador\assets\css\style.css */

:root {
    --primary-color: #d4af37; /* Gold VIP */
    --secondary-color: #ffd700; /* Bright Gold */
    --accent-color: #6366f1; /* Indigo Neon for contrast */
    --bg-color: #0f172a; /* Slate 900 */
    --surface-color: #1e293b; /* Slate 800 */
    --text-color: #f8fafc; /* Slate 50 */
    --text-muted: #94a3b8; /* Slate 400 */
    --success-color: #10b981; /* Emerald */
    --warning-color: #f59e0b; /* Amber */
    
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(212, 175, 55, 0.3); /* Gold border */
    --glass-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Typography & Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Buttons Premium */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0f172a; /* Dark text on gold */
    border: none;
    border-radius: 50rem;
    padding: 0.75rem 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    color: #000;
}

.btn-premium:active {
    transform: scale(0.98);
}

/* App Bottom Navigation (B2C Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: translateY(-3px);
}

/* Cartela de Selos (Core Drive 2) */
.cartela-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 1.5rem;
}

.selo-slot {
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.selo-slot.filled {
    background: var(--bg-gradient-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.selo-slot.filled::after {
    content: '\F26A'; /* Bootstrap icon bi-star-fill */
    font-family: 'bootstrap-icons';
    color: #0f172a;
    font-size: 1.2rem;
}

.selo-slot.next-empty {
    border: 2px dashed var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) inset;
    animation: pulseBorder 1.5s infinite;
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Animations */
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* VIP Stats Counter B2B */
.vip-stat-card {
    border-left: 4px solid var(--primary-color) !important;
}
.carousel-item img {
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Progress Bar Custom */
.progress-glass {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 50rem;
    overflow: hidden;
}
.progress-glass .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

/* Ligas Badges */
.badge-liga {
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.liga-bronze { background: linear-gradient(135deg, #cd7f32, #8b5a2b); color: white; }
.liga-prata { background: linear-gradient(135deg, #c0c0c0, #808080); color: white; }
.liga-ouro { background: linear-gradient(135deg, #ffd700, #daa520); color: #333; }
.liga-diamante { background: linear-gradient(135deg, #b9f2ff, #00bfff); color: #004d66; box-shadow: 0 0 15px rgba(0, 191, 255, 0.5); }
