/* ===== VARIÁVEIS CSS ===== */
        :root {
            /* Cores */
            --bg-body: #f8fafc;
            --panel: #ffffff;
            --accent-primary: #16A34A;
            --accent-secondary: #0f766e;
            --gradient-primary: linear-gradient(135deg, #16A34A 0%, #0f766e 100%);
            --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-tertiary: #94a3b8;
            --border-light: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --info: #3b82f6;
            
            /* Sombras */
            --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --shadow-accent: 0 10px 15px -3px rgba(22, 163, 74, 0.3);
            --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.15);
            
            /* Bordas */
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-2xl: 48px;
            
            /* Espaçamentos */
            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 16px;
            --space-lg: 24px;
            --space-xl: 32px;
            --space-2xl: 48px;
            --space-3xl: 64px;
        }

        /* ===== ANIMAÇÕES ===== */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

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

        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }

        /* ===== RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--bg-body);
            color: var(--text-primary);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        button, input, textarea {
            font-family: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        ::selection {
            background: rgba(22, 163, 74, 0.2);
            color: var(--text-primary);
        }

        /* ===== TIPOGRAFIA ===== */
        h1, h2, h3, h4 {
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: clamp(2rem, 5vw, 3rem);
        }

        h2 {
            font-size: clamp(1.5rem, 4vw, 2.25rem);
        }

        h3 {
            font-size: 1.375rem;
        }

        p {
            margin-bottom: 1rem;
        }

        .text-sm {
            font-size: 0.875rem;
        }

        .text-xs {
            font-size: 0.75rem;
        }

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

        .text-accent {
            color: var(--accent-primary);
        }

        .font-bold {
            font-weight: 700;
        }

        .font-black {
            font-weight: 900;
        }

        /* ===== LAYOUT ===== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
        }

        .section {
            margin-bottom: var(--space-3xl);
            animation: slideIn 0.6s ease-out;
        }

        .grid {
            display: grid;
            gap: var(--space-xl);
        }

        .grid-2-col {
            grid-template-columns: 1.3fr 0.7fr;
        }

        .flex {
            display: flex;
        }

        .flex-col {
            flex-direction: column;
        }

        .items-center {
            align-items: center;
        }

        .justify-between {
            justify-content: space-between;
        }

        .gap-xs {
            gap: var(--space-xs);
        }

        .gap-sm {
            gap: var(--space-sm);
        }

        .gap-md {
            gap: var(--space-md);
        }

        .gap-lg {
            gap: var(--space-lg);
        }

        .gap-xl {
            gap: var(--space-xl);
        }

        .w-full {
            width: 100%;
        }

        /* ===== COMPONENTES ===== */
        /* Header */
        .header {
            background: var(--panel);
            padding: var(--space-md) 0;
            border-bottom: 1px solid var(--border-light);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.95);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-img {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-md);
            object-fit: contain;
        }

        .logo-text {
            font-weight: 900;
            font-size: 1.375rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav {
            display: flex;
            gap: var(--space-xl);
        }

        .nav-link {
            color: var(--text-secondary);
            font-weight: 600;
            font-size: 0.9375rem;
            transition: all 0.3s ease;
            position: relative;
            padding: 8px 0;
        }

        .nav-link i {
            margin-right: 6px;
            font-size: 0.875rem;
        }

        .nav-link:hover {
            color: var(--accent-primary);
            transform: translateY(-2px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            background: var(--gradient-dark);
            border-radius: var(--radius-2xl);
            padding: var(--space-3xl) var(--space-2xl);
            color: white;
            position: relative;
            overflow: hidden;
            margin: var(--space-2xl) 0;
            box-shadow: var(--shadow-xl);
            animation: slideIn 0.8s ease-out;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
            opacity: 0.15;
            filter: blur(60px);
            animation: float 6s ease-in-out infinite;
        }

        .hero::after {
            content: "";
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
            opacity: 0.1;
            filter: blur(50px);
            animation: float 8s ease-in-out infinite reverse;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
        }

        .hero-title {
            font-size: clamp(2.25rem, 6vw, 3.5rem);
            margin-bottom: var(--space-lg);
            line-height: 1.1;
        }

        .hero-title span {
            background: linear-gradient(45deg, #16A34A, #84cc16);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .hero-title span::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(45deg, #16A34A, #84cc16);
            border-radius: 2px;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: var(--space-2xl);
            max-width: 600px;
            line-height: 1.6;
        }

        .hero-stats {
            display: flex;
            gap: var(--space-2xl);
            margin-top: var(--space-2xl);
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(45deg, #fff, #e2e8f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 0.875rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Cards */
        .card {
            background: var(--panel);
            border-radius: var(--radius-xl);
            padding: var(--space-2xl);
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: var(--shadow-lg);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: var(--shadow-xl), var(--shadow-glow);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card:hover::before {
            opacity: 1;
        }

        .card-highlight {
            border: 2px solid var(--accent-primary);
            background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
            position: relative;
            overflow: hidden;
        }

        .card-highlight::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(22, 163, 74, 0.02) 100%);
        }

        /* Section Titles */
        .section-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: var(--space-xl);
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            position: relative;
            padding-bottom: var(--space-sm);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .section-title-icon {
            font-size: 1.375rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Result Cards */
        .results-stack {
            display: flex;
            flex-direction: column;
            gap: var(--space-lg);
        }

        .result-card {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: var(--space-xl);
            padding: var(--space-xl);
            border-radius: var(--radius-xl);
            background: var(--panel);
            border-left: 6px solid var(--lot-color);
            border: 1px solid var(--border-light);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .result-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--lot-color, #64748b) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }

        .result-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: color-mix(in srgb, var(--lot-color) 40%, transparent);
        }

        .result-card:hover::before {
            opacity: 0.03;
        }

        .result-card > * {
            position: relative;
            z-index: 1;
        }

        /* Balls */
        .ball {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            font-size: 14px;
            font-weight: 900;
            letter-spacing: .02em;
            background: radial-gradient(circle at 30% 25%, #fff 0%, #fff 45%, #f8fafc 100%);
            border: 1px solid rgba(15, 23, 42, .14);
            box-shadow: 0 8px 16px rgba(15, 23, 42, .08), 
                        inset 0 1px 0 rgba(255, 255, 255, .9),
                        inset 0 -1px 0 rgba(15, 23, 42, .1);
            color: var(--text-primary);
            user-select: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .ball::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            right: 2px;
            bottom: 2px;
            border-radius: 999px;
            background: radial-gradient(circle at 30% 25%, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
            z-index: 0;
        }

        .ball span {
            position: relative;
            z-index: 1;
        }

        .ball:hover {
            transform: scale(1.15) rotate(15deg);
            box-shadow: 0 12px 24px rgba(15, 23, 42, .15), 
                        inset 0 1px 0 rgba(255, 255, 255, .95),
                        inset 0 -1px 0 rgba(15, 23, 42, .15);
        }

        .ball-group {
            display: flex;
            gap: var(--space-sm);
            flex-wrap: wrap;
            justify-content: center;
        }

        /* Badges */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: .02em;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(15, 23, 42, .1);
            white-space: nowrap;
            backdrop-filter: blur(4px);
            transition: all 0.3s ease;
        }

        .badge:hover {
            transform: scale(1.05);
        }

        .badge-success {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
            border-color: rgba(16, 185, 129, 0.2);
            color: var(--success);
        }

        .badge-premium {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
            border-color: rgba(245, 158, 11, 0.2);
            color: var(--warning);
        }

        .badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: currentColor;
            box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
            animation: pulse 2s infinite;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: var(--radius-lg);
            font-weight: 700;
            font-size: 0.9375rem;
            gap: 10px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            text-align: center;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
        }

        .btn-secondary {
            background: white;
            color: var(--text-primary);
            border: 2px solid var(--border-light);
            backdrop-filter: blur(4px);
        }

        .btn-secondary:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-block {
            width: 100%;
        }

        /* Bolão premium */
/* Bolão premium */
.premium-price {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;

    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    margin: var(--space-md) 0 var(--space-lg);
    position: relative;
}


.premium-price::before {
    content: '💰';
    position: absolute;
    left: -28px;
    top: 0.15em;
    font-size: 1.2rem;
    opacity: 0.75;
    animation: float 3s ease-in-out infinite;
}


        .progress-bar {
            width: 100%;
            height: 8px;
            background: var(--border-light);
            border-radius: 999px;
            overflow: hidden;
            margin: var(--space-md) 0;
        }

        .progress-fill {
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 999px;
            transition: width 1s ease;
        }

        /* Quick Links */
        .quick-links {
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }

        .quick-link {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            padding: 16px 20px;
            border-radius: var(--radius-lg);
            background: white;
            border: 1px solid var(--border-light);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .quick-link::before {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.05), transparent);
            transition: left 0.6s;
        }

        .quick-link:hover::before {
            left: 100%;
        }

        .quick-link:hover {
            border-color: var(--accent-primary);
            transform: translateX(8px);
            box-shadow: var(--shadow-md);
        }

        .quick-link-icon {
            font-size: 1.5rem;
            width: 32px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .quick-link:hover .quick-link-icon {
            transform: scale(1.2);
        }

        .quick-link-text {
            flex: 1;
            font-weight: 600;
            font-size: 0.9375rem;
        }

        .quick-link-arrow {
            color: var(--text-tertiary);
            transition: transform 0.3s ease;
        }

        .quick-link:hover .quick-link-arrow {
            transform: translateX(4px);
            color: var(--accent-primary);
        }

        /* Wisdom Card */
        .wisdom-card {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-left: 6px solid var(--accent-primary);
            position: relative;
        }

        .wisdom-card::before {
            content: '💡';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 2rem;
            opacity: 0.1;
        }

        /* Loading Skeleton */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: var(--radius-md);
        }

        .skeleton-text {
            height: 1rem;
            margin-bottom: 0.5rem;
        }

        /* ===== RESPONSIVIDADE ===== */
        @media (max-width: 1024px) {
            .grid-2-col {
                grid-template-columns: 1fr;
            }
            
            .hero {
                padding: var(--space-2xl);
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 var(--space-md);
            }
            
            .hero {
                padding: var(--space-xl);
                text-align: center;
                border-radius: var(--radius-xl);
            }
            
            .hero-stats {
                justify-content: center;
                gap: var(--space-xl);
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .result-card {
                grid-template-columns: 1fr;
                text-align: center;
                gap: var(--space-md);
            }
            
            .nav {
                gap: var(--space-md);
                font-size: 0.875rem;
            }
            
            .card {
                padding: var(--space-xl);
            }
            
            .btn {
                padding: 12px 20px;
            }
        }

        @media (max-width: 640px) {
            .header .flex {
                flex-direction: column;
                gap: var(--space-md);
            }
            
            .nav {
                width: 100%;
                justify-content: space-around;
                gap: var(--space-sm);
            }
            
            .nav-link {
                font-size: 0.8125rem;
                padding: 6px 0;
            }
            
            .hero-title {
                font-size: 1.75rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .premium-price {
                font-size: 2rem;
            }
            
            .ball {
                width: 40px;
                height: 40px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .hero-stats {
                flex-direction: column;
                gap: var(--space-lg);
            }
            
            .quick-link {
                padding: 14px 16px;
            }
            
            .quick-link-icon {
                font-size: 1.25rem;
            }
            
            .btn {
                padding: 10px 16px;
                font-size: 0.875rem;
            }
            
            .card {
                padding: var(--space-lg);
                border-radius: var(--radius-lg);
            }
        }

        /* ===== UTILITÁRIOS ===== */
        .mb-xs { margin-bottom: var(--space-xs); }
        .mb-sm { margin-bottom: var(--space-sm); }
        .mb-md { margin-bottom: var(--space-md); }
        .mb-lg { margin-bottom: var(--space-lg); }
        .mb-xl { margin-bottom: var(--space-xl); }
        .mb-2xl { margin-bottom: var(--space-2xl); }

        .mt-xs { margin-top: var(--space-xs); }
        .mt-sm { margin-top: var(--space-sm); }
        .mt-md { margin-top: var(--space-md); }
        .mt-lg { margin-top: var(--space-lg); }
        .mt-xl { margin-top: var(--space-xl); }
        .mt-2xl { margin-top: var(--space-2xl); }

        .text-center { text-align: center; }
        .text-right { text-align: right; }
        .text-left { text-align: left; }

        .pointer { cursor: pointer; }
        .shadow-hover { transition: box-shadow 0.3s ease; }
        .shadow-hover:hover { box-shadow: var(--shadow-lg); }

        .animate-float { animation: float 6s ease-in-out infinite; }
        .animate-pulse { animation: pulse 2s ease-in-out infinite; }
        .animate-slide-in { animation: slideIn 0.6s ease-out; }
        
        /* assets/css/hero-animations.css */
/* Animações específicas para a seção hero */

/* Contadores animados */
@keyframes count-up {
  0% {
    transform: translateY(10px);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-number {
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
  animation: count-up 0.5s ease-out forwards;
}

/* Efeito de digitação */
@keyframes typing-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  background-color: currentColor;
  margin-left: 2px;
  animation: typing-cursor 1s infinite;
}

/* Efeitos de hover nos stats */
.hero-stat {
  transition: transform 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-5px);
}

.hero-stat:hover .stat-number {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(var(--primary-rgb, 59, 130, 246), 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-stat {
    width: 100%;
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ===== ESTILO ÚNICO CAIXA - SEM DUPLICAÇÕES ===== */

/* Card principal */
.result-card-caixa {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card-caixa:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Cabeçalho */
.card-header-caixa {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  min-height: 60px;
}

.lottery-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.lottery-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.lottery-info {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
  color: rgba(255,255,255,0.9);
}

/* Badges */
.accumulated-badge,
.winners-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.accumulated-badge {
  background: #dc2626;
  color: white;
}

.winners-badge {
  background: #059669;
  color: white;
}

/* Números sorteados */
.card-body-caixa {
  padding: 16px;
  background: #f8f9fa;
}

.numbers-section h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ========== GRID CORRETO ========== */

/* Grid padrão para Mega-Sena, Quina, etc. */
.ball-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Grid especial LOTOFÁCIL e LOTOMANIA - 5x5 COLADINHO */
.ball-grid.lotofacil-grid,
.ball-grid.lotomania-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 2px !important; /* Coladinhas mas visíveis */
  width: 100% !important;
  margin-bottom: 16px !important;
}

/* Bolas base */
.ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Bolas dentro do grid especial - TAMANHO FIXO */
.ball-grid.lotofacil-grid .ball,
.ball-grid.lotomania-grid .ball {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
}

.ball::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 70%);
}

.ball span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Prêmios */
.prizes-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.prize-box {
  background: white;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.prize-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.prize-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.prize-date {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Local */
.location-section {
  background: white;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.location-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.location-value {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.location-city {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* Botões */
.card-footer-caixa {
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 8px;
}

.btn-statistics,
.btn-history,
.btn-generate {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-history {
  background: #0DB14B;
  color: white;
}

.btn-history:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-statistics,
.btn-generate {
  background: #f8f9fa;
  color: #555;
  border: 1px solid #ddd;
}

.btn-statistics:hover,
.btn-generate:hover {
  background: #e9ecef;
  border-color: #ccc;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .prizes-section {
    grid-template-columns: 1fr;
  }
  
  .card-footer-caixa {
    flex-wrap: wrap;
  }
  
  .btn-statistics,
  .btn-history,
  .btn-generate {
    min-width: calc(33.333% - 6px);
    font-size: 11px;
    padding: 8px 6px;
  }
  
  .ball {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 36px !important;
    height: 36px !important;
  }
  
  .ball-grid.lotofacil-grid,
  .ball-grid.lotomania-grid {
    gap: 1px !important;
  }
}

@media (max-width: 480px) {
  .ball {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 32px !important;
    height: 32px !important;
  }
  
  .btn-statistics,
  .btn-history,
  .btn-generate {
    font-size: 10px;
    padding: 6px 4px;
  }
}

/* ========== FORÇAR GRID LOTOFÁCIL/LOTOMANIA ========== */
/* COLE NO FINAL DO ARQUIVO PARA SOBREESCREVER TUDO */

.ball-grid.lotofacil-grid,
.ball-grid.lotomania-grid {
  /* FORÇA GRID 5x5 */
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 3px !important;
  width: 100% !important;
  max-width: 240px !important;
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
}

.ball-grid.lotofacil-grid .ball,
.ball-grid.lotomania-grid .ball {
  /* FORÇA TAMANHO FIXO */
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  
  /* RESETA TUDO */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: var(--cor-loteria, #666) !important;
  border-radius: 50% !important;
  
  /* TEXTO */
  color: white !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  text-align: center !important;
  
  /* FLEX CENTRALIZADO */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  /* EFEITOS */
  box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

/* EFEITO DE BOLA */
.ball-grid.lotofacil-grid .ball::before,
.ball-grid.lotomania-grid .ball::before {
  content: '' !important;
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  right: 2px !important;
  bottom: 2px !important;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 70%) !important;
  border-radius: 50% !important;
  z-index: 1 !important;
}

.ball-grid.lotofacil-grid .ball span,
.ball-grid.lotomania-grid .ball span {
  position: relative !important;
  z-index: 2 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .ball-grid.lotofacil-grid,
  .ball-grid.lotomania-grid {
    gap: 2px !important;
    max-width: 210px !important;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .ball-grid.lotofacil-grid,
  .ball-grid.lotomania-grid {
    gap: 1px !important;
    max-width: 185px !important;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    font-size: 13px !important;
  }
}

/* REMOVE QUALQUER FLEXBOX QUE ESTEJA INTERFERINDO */
.ball-grid.lotofacil-grid {
  display: grid !important;
}

.ball-grid.lotomania-grid {
  display: grid !important;
}

/* DESABILITA FLEXBOX PARA ESSES GRIDS */
.ball-grid.lotofacil-grid,
.ball-grid.lotomania-grid {
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  justify-content: normal !important;
  align-items: normal !important;
}

/* ========== RESTAURA CORES DAS LOTERIAS ========== */

/* MEGA-SENA - Verde (#0DB14B) */
.result-card-caixa[style*="border-left: 4px solid #0DB14B"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #0DB14B"] .btn-history {
  background: #0DB14B !important;
}

.ball-grid:not(.lotofacil-grid):not(.lotomania-grid) .ball[style*="background: #0DB14B"],
.result-card-caixa[style*="border-left: 4px solid #0DB14B"] .ball-grid .ball {
  background: #0DB14B !important;
}

/* LOTOFÁCIL - Roxo (#8e2c8f) */
.result-card-caixa[style*="border-left: 4px solid #8e2c8f"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #8e2c8f"] .btn-history {
  background: #8e2c8f !important;
}

.ball-grid.lotofacil-grid .ball {
  background: #8e2c8f !important;
}

/* LOTOMANIA - Laranja (#ef7d00) */
.result-card-caixa[style*="border-left: 4px solid #ef7d00"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #ef7d00"] .btn-history {
  background: #ef7d00 !important;
}

.ball-grid.lotomania-grid .ball {
  background: #ef7d00 !important;
}

/* QUINA - Azul (#2e3192) */
.result-card-caixa[style*="border-left: 4px solid #2e3192"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #2e3192"] .btn-history {
  background: #2e3192 !important;
}

.result-card-caixa[style*="border-left: 4px solid #2e3192"] .ball-grid .ball {
  background: #2e3192 !important;
}

/* DUPLA SENA - Vermelho (#d32f2f) */
.result-card-caixa[style*="border-left: 4px solid #d32f2f"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #d32f2f"] .btn-history {
  background: #d32f2f !important;
}

.result-card-caixa[style*="border-left: 4px solid #d32f2f"] .ball-grid .ball {
  background: #d32f2f !important;
}

/* TIMEMANIA - Verde (#00A859) */
.result-card-caixa[style*="border-left: 4px solid #00A859"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #00A859"] .btn-history {
  background: #00A859 !important;
}

.result-card-caixa[style*="border-left: 4px solid #00A859"] .ball-grid .ball {
  background: #00A859 !important;
}

/* DIA DE SORTE - Amarelo (#F2C94C) */
.result-card-caixa[style*="border-left: 4px solid #F2C94C"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #F2C94C"] .btn-history {
  background: #F2C94C !important;
}

.result-card-caixa[style*="border-left: 4px solid #F2C94C"] .ball-grid .ball {
  background: #F2C94C !important;
  color: #333 !important; /* Texto escuro para contraste */
}

/* SUPER SETE - Verde claro (#9ccf3a) */
.result-card-caixa[style*="border-left: 4px solid #9ccf3a"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #9ccf3a"] .btn-history {
  background: #9ccf3a !important;
}

.result-card-caixa[style*="border-left: 4px solid #9ccf3a"] .ball-grid .ball {
  background: #9ccf3a !important;
}

/* +MILIONÁRIA - Azul (#2e3192) */
.result-card-caixa[style*="border-left: 4px solid #2e3192"] .card-header-caixa,
.result-card-caixa[style*="border-left: 4px solid #2e3192"] .btn-history {
  background: #2e3192 !important;
}

.result-card-caixa[style*="border-left: 4px solid #2e3192"] .ball-grid .ball {
  background: #2e3192 !important;
}

/* ========== CORREÇÃO PARA BOLAS DIA DE SORTE ========== */
.ball[style*="background: #F2C94C"] span {
  color: #333 !important;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5) !important;
}

/* ========== SISTEMA UNIFICADO - TODOS CENTRALIZADOS ========== */

/* Centraliza TODOS os grids */
.ball-grid {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Grid especial Lotofácil/Lotomania */
.ball-grid.lotofacil-grid,
.ball-grid.lotomania-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 4px !important;
  width: fit-content !important;
  max-width: 240px !important;
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
  justify-items: center !important;
}

/* Bolas dentro do grid */
.ball-grid.lotofacil-grid .ball,
.ball-grid.lotomania-grid .ball {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: bold !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Responsivo */
@media (max-width: 768px) {
  .ball-grid.lotofacil-grid,
  .ball-grid.lotomania-grid {
    gap: 3px !important;
    max-width: 210px !important;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .ball-grid.lotofacil-grid,
  .ball-grid.lotomania-grid {
    gap: 2px !important;
    max-width: 185px !important;
  }
  
  .ball-grid.lotofacil-grid .ball,
  .ball-grid.lotomania-grid .ball {
    width: 35px !important;
    height: 35px !important;
    font-size: 13px !important;
  }
}

.trevos-section {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.trevos-section h4 {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trevos-grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.trevo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  position: relative;
}

.trevo-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.trevo-number {
  font-size: 0.9rem;
  margin-top: 2px;
  font-weight: 800;
}

/* ===== CARDS DE HISTÓRIAS/SABEDORIA ===== */

.story-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.2);
}

/* Linha colorida no topo */
.story-accent {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  position: absolute;
  top: 0;
  left: 0;
}

/* Conteúdo principal */
.story-content {
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Ícone circular */
.story-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease;
}

.story-card:hover .story-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Texto */
.story-text {
  flex: 1;
}

.story-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-title i {
  color: #667eea;
  font-size: 1.3rem;
}

.story-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* Destaques no texto */
.highlight {
  background: linear-gradient(120deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: #5a67d8;
}

/* Botão */
.story-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.story-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.story-btn i:last-child {
  font-size: 0.9rem;
  margin-left: auto;
}

/* ===== VERSÃO ALTERNATIVA (mais compacta) ===== */
.wisdom-card.compact {
  max-width: 400px;
}

.wisdom-card.compact .story-content {
  padding: 25px;
  gap: 20px;
}

.wisdom-card.compact .story-icon {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.wisdom-card.compact .story-title {
  font-size: 1.3rem;
}

.wisdom-card.compact .story-description {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 20px;
  }
  
  .story-icon {
    margin: 0 auto;
  }
  
  .story-title {
    justify-content: center;
  }
  
  .story-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== HEADER COM MAIS VIDA ===== */
.header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* LOGO ANIMADO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.logo:hover .logo-img {
    transform: rotate(15deg) scale(1.1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-glow {
    opacity: 1;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    gap: 2px;
}

.logo-text-main {
    background: linear-gradient(90deg, #4299e1, #38b2ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-pb {
    background: linear-gradient(90deg, #ed8936, #e53e3e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* NAVEGAÇÃO ANIMADA */
.nav {
    display: flex;
    gap: 2px;
}

.nav-item {
    position: relative;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e0;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(56, 178, 172, 0.1));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    transform: scale(1.1) rotate(5deg);
}

.nav-label {
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-hover {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4299e1, #38b2ac);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-item:hover .nav-hover {
    width: 80%;
}

/* INDICADOR DE PÁGINA ATIVA */
.header-active-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #4299e1 0%, 
        #38b2ac 33%, 
        #ed8936 66%, 
        #e53e3e 100%);
    opacity: 0.7;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav-label {
        display: none;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}
/* ADICIONE ISSO NO FINAL DO home.css (ou em um novo sidebar.css) */

/* ===== SIDEBAR MODERNA ===== */
.card-sidebar {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  margin-bottom: var(--space-xl);
}

.card-sidebar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.2);
}

/* Header */
.sidebar-header {
  background: var(--gradient-primary);
  padding: var(--space-lg) var(--space-xl);
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

.sidebar-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* Favicon no header */
.sidebar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}

.sidebar-favicon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card-sidebar:hover .sidebar-favicon {
  transform: scale(1.1) rotate(5deg);
}


.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: white;
}

.sidebar-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

/* Conteúdo */
.sidebar-content {
  padding: var(--space-xl);
  min-height: 200px;
}

/* Loading */
.sidebar-loading {
  text-align: center;
  padding: var(--space-xl) 0;
}

.sidebar-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(22, 163, 74, 0.1);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sidebar-loading-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Items das loterias (gerados pelo JS) */
.sidebar-lottery-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.sidebar-lottery-item:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.sidebar-lottery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-lottery-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-lottery-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sidebar-lottery-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  animation: pulse 2s infinite;
}

/* Cores dos badges */
.badge-typical {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.badge-typical::before {
  background: var(--success);
}

.badge-atypical {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.badge-atypical::before {
  background: var(--warning);
}

.badge-rare {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.badge-rare::before {
  background: var(--danger);
}

.sidebar-lottery-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-lottery-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sidebar-pill {
  background: rgba(22, 163, 74, 0.1);
  color: var(--accent-primary);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(22, 163, 74, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sidebar-pill::before {
  content: '📊';
  font-size: 0.7rem;
}

.sidebar-lottery-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.sidebar-stat::before {
  content: '•';
  color: var(--accent-primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Footer */
.sidebar-footer {
  padding: 0 var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-md);
  padding-top: var(--space-xl);
}

.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(15, 118, 110, 0.05) 100%);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(22, 163, 74, 0.1);
  transition: all 0.3s ease;
}

.sidebar-cta:hover {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(15, 118, 110, 0.1) 100%);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sidebar-cta-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-cta-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sidebar-cta-text {
  font-weight: 600;
  font-size: 0.9375rem;
}

.sidebar-cta-arrow {
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.sidebar-cta:hover .sidebar-cta-arrow {
  transform: translateX(4px);
  color: var(--accent-primary);
}

/* Separador */
.sidebar-divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-md) 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .sidebar-header {
    padding: var(--space-md) var(--space-lg);
  }
  
  .sidebar-content {
    padding: var(--space-lg);
  }
  
  .sidebar-lottery-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sidebar-lottery-badge {
    align-self: flex-start;
  }
}

/* ===== SIDEBAR EMERGENCIAL - ADICIONE NO FINAL DO home.css ===== */
.sidebar-lottery-item {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.sidebar-lottery-item:hover {
  border-color: #16A34A;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sidebar-lottery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-lottery-name {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-lottery-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-typical {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.badge-atypical {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.badge-rare {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.sidebar-lottery-desc {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-lottery-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sidebar-pill {
  background: rgba(22, 163, 74, 0.1);
  color: #16A34A;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.sidebar-lottery-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-stat {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

/* Loading da sidebar */
.sidebar-loading {
  text-align: center;
  padding: 40px 0;
}

.sidebar-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(22, 163, 74, 0.1);
  border-top-color: #16A34A;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.sidebar-loading-text {
  color: #64748b;
  font-size: 14px;
}

/* FORÇA o prêmio a ser "hero" (pra confirmar que está aplicando) */
.card.card-highlight .premium-price{
  display:flex !important;
  align-items:baseline !important;
  gap:10px !important;
  white-space:nowrap !important;
  margin: 14px 0 18px !important;

  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.card.card-highlight .premium-price .currency{
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.card.card-highlight .premium-price .amount{
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 520px){
  .card.card-highlight .premium-price .currency{ font-size: 1.35rem !important; }
  .card.card-highlight .premium-price .amount{ font-size: 2.6rem !important; }
}

.sidebar-contest{
  margin-left: 6px;
  font-size: .8em;
  opacity: .7;
  font-weight: 600;
}
/* ================================
   POWERBALL (EUA) - ajustes isolados
   Não mexe no restante do CSS
================================ */

/* 5 brancas */
.ball.ball-pb-white{
  background: #ffffff !important;
  color: #111111 !important;
  border: 2px solid rgba(0,0,0,.15) !important;
}

/* 1 vermelha (Powerball) */
.ball.ball-pb-red{
  background: #e53935 !important;
  color: #ffffff !important;
  border: none !important;
}

/* Mantém o mesmo brilho/efeito da bola que você já usa */
.ball.ball-pb-white::after,
.ball.ball-pb-red::after{
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35) 0%, transparent 70%);
}
/* ================================
   POWERBALL - bolas (isolado)
================================ */
.ball.ball-pb-white{
  background: #ffffff !important;
  color: #111 !important;
  border: 2px solid rgba(0,0,0,.2) !important;
}

.ball.ball-pb-red{
  background: #e53935 !important;
  color: #fff !important;
  border: none !important;
}
.card-header-caixa.powerball{
  background: linear-gradient(135deg, #1c1c1c, #2a2a2a) !important;
}
.result-card-caixa.powerball{
  border-left-color: #e53935 !important;
}

.prize-subvalue {
  font-size: 0.9rem;
  color: #555;
  margin-top: 4px;
}



