@charset "UTF-8";
/* ================================================
   Lotérica Globo da Sorte - CSS Personalizado
   ================================================ */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --purple-color: #6f42c1;
    
    /* Cores das Loterias da Caixa */
    
    --dia-de-sorte-color: #10B981;
    --mega-sena-color: #059669;
    --supersete-color: #84CC16;
    --timemania-color: #EAB308;
    --lotomania-color: #F97316;
    
    --dupla-sena-color: #BE185D;
    --lotofacil-color: #7C3AED;
    --quina-color: #1E40AF;
}

/* ================================================
   Global Styles
   ================================================ */
.main-content {
    padding-top: 110px; /* Altura do navbar fixo aumentada para acomodar logo maior */
}

/* ================================================
   Page Headers
   ================================================ */
.page-header {
    padding-top: 110px;
}

.page-header .breadcrumb-item a {
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    text-decoration: underline;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ================================================
   Navigation Styles
   ================================================ */
.navbar {
    min-height: 110px; /* Aumentar altura do navbar para acomodar logo maior */
    padding: 1rem 0; /* Padding vertical para mais altura */
    background: linear-gradient(135deg, #120354 0%, #1a0766 50%, #220a7a 100%) !important;
    box-shadow: 0 4px 20px rgba(18, 3, 84, 0.5);
}

.navbar-brand {
    font-size: 1.2rem; /* Ajustar tamanho para acomodar logo */
    font-weight: bold;
    padding: 0.5rem 0; /* Padding vertical */
}

/* Logo no navbar */
.navbar-logo {
    height: 70px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-logo:hover {
    transform: scale(1.03);
}

.navbar-text {
    color: #fbbf24 !important;
    line-height: 1.2;
}

.navbar-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fbbf24 !important;
}

.navbar-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #fde047 !important;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 50px;
    }
    
    .navbar-title {
        font-size: 1.1rem;
    }
    
    .navbar-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 45px;
    }
    
    .navbar-title {
        font-size: 1rem;
    }
    
    .navbar-subtitle {
        font-size: 0.8rem;
    }
}

.navbar-nav {
    align-items: center; /* Centralizar verticalmente */
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 1rem 1.5rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar-nav .nav-link:hover {
    color: #fbbf24 !important;
    background-color: rgba(251, 191, 36, 0.15);
    transform: translate3d(0, -1px, 0);
}

.navbar-nav .nav-link.active {
    background-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24 !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ================================================
   Menu Mobile Moderno - Design Exclusivo
   ================================================ */

/* Botão hambúrguer personalizado */
.mobile-menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.mobile-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

/* Linhas do hambúrguer */
.hamburger-line {
    width: 20px;
    height: 3px;
    background: #120354;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Animação do hambúrguer quando ativo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay escuro */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 3, 84, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container do menu mobile */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #120354 0%, #1a0766 50%, #220a7a 100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu-container.active {
    right: 0;
}


/* Navegação do menu mobile */
.mobile-menu-nav {
    padding: 2rem 0 1.5rem;
}

.mobile-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.mobile-menu-item:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-left-color: #fbbf24;
    transform: translateX(5px);
}

.mobile-menu-item.active {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.mobile-menu-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
}

/* Separadores do menu mobile */
.mobile-menu-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.3) 20%, rgba(251, 191, 36, 0.5) 50%, rgba(251, 191, 36, 0.3) 80%, transparent 100%);
    margin: 0.5rem 1.5rem;
    border-radius: 1px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mobile-menu-separator:hover {
    opacity: 1;
}

/* Footer do menu mobile */
.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Responsividade */
@media (max-width: 480px) {
    .mobile-menu-container {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu-container.active {
        right: 0;
    }
}

/* Esconder menu desktop no mobile */
@media (max-width: 991px) {
    .navbar-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Prevenir rolagem horizontal */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Garantir que o menu não cause overflow */
.mobile-menu-container {
    max-width: 100vw;
}

/* Garantir que o navbar não cause overflow horizontal */
.navbar {
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar .container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Garantir que elementos do navbar não ultrapassem a largura */
.navbar-brand,
.navbar-nav,
.mobile-menu-toggle {
    max-width: 100%;
    overflow-x: hidden;
}




/* Sombra suave no navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Smooth transition no scroll */
.navbar.scrolled {
    background-color: rgba(0, 123, 255, 0.95) !important;
    transition: all 0.3s ease;
}

/* ================================================
   Novo Menu Elegante - Estilos Adicionais
   ================================================ */
.navbar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 3, 84, 0.1);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.brand-logo-container {
    position: relative;
    margin-right: 1rem;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
    border-radius: 12px;
    animation: logo-glow-pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes logo-glow-pulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon i {
    font-size: 1.2rem;
    color: #fbbf24;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.navbar-nav .nav-link:hover .nav-text {
    color: #fbbf24 !important;
    text-shadow: 0 1px 3px rgba(251, 191, 36, 0.6);
}

.navbar-nav .nav-link.active .nav-text {
    color: #fbbf24 !important;
    text-shadow: 0 1px 3px rgba(251, 191, 36, 0.6);
}

.nav-indicator {
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
    transform: translateX(-50%);
    opacity: 1;
    z-index: 10;
}

/* Posicionar o indicador relativo à navbar-nav */
.navbar-nav {
    position: relative;
}

/* Responsividade para o indicador */
@media (max-width: 991px) {
    .nav-indicator {
        /* Manter visível em mobile também, já que é fixo */
        opacity: 1;
    }
}

.navbar-nav .nav-link:hover .nav-icon {
    background: rgba(251, 191, 36, 0.25);
    transform: scale(1.05);
}

.navbar-nav .nav-link:hover .nav-icon i {
    color: #fde047;
    transform: scale(1.05);
}

.navbar-nav .nav-link.active .nav-icon {
    background: rgba(251, 191, 36, 0.3);
}

.navbar-action {
    display: flex;
    align-items: center;
}

.btn-action {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #120354 !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-action:hover::before {
    left: 100%;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
    color: #120354 !important;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================================
   Hero Section - Nova Versão Estilosa
   ================================================ */
.hero-section {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #302b63 75%, #0f0c29 100%);
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    position: relative;
}

/* Background Banner com Elementos Animados */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Formas flutuantes animadas - Super Otimizadas */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.floating-shapes.loaded {
    opacity: 1;
    transform: translateY(0);
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 70%);
    animation: float-shape-optimized 25s infinite linear;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Desabilitar formas completamente em dispositivos móveis */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .floating-shapes {
        display: none !important;
    }
}

/* Pausar animações quando a página não está visível */
.animations-paused .shape {
    animation-play-state: paused;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 60%;
    animation-delay: -7s;
}

@keyframes float-shape-optimized {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { transform: translate3d(0, -40px, 0) rotate(90deg); opacity: 0.1; }
}

/* Partículas de fundo - Desabilitadas para melhor performance */
.hero-particles {
    display: none !important;
}

/* Desabilitar partículas em dispositivos com baixa performance */
@media (prefers-reduced-motion: reduce) {
    .hero-particles {
        animation: none;
    }
}

@keyframes particle-move {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-50px); }
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Conteúdo da Hero */
.hero-content {
    padding-top: 80px;
    color: white;
}

/* Badge de destaque */
.hero-badge {
    display: inline-block;
}

.badge-text {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Título principal */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.title-highlight {
    display: block;
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.brand-highlight {
    display: block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Descrição */
.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.highlight-text {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Estatísticas */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botões de ação */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-hero-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    border: none;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.6);
    color: white;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

.btn-text {
    display: block;
    font-size: 1rem;
}

.btn-subtitle {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Garantias */
.hero-guarantees {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.guarantee-item i {
    font-size: 1.1rem;
}

/* Visual da Hero */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Círculo principal - Super Otimizado */
.hero-circle {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 70%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-circle-optimized 8s ease-in-out infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-circle.loaded {
    opacity: 1;
    transform: scale(1);
}

.hero-circle.low-performance {
    animation: none;
    background: rgba(255, 255, 255, 0.03);
}

/* Remover backdrop-filter completamente em dispositivos móveis */
@media (max-width: 768px) {
    .hero-circle {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-number{
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
    }
}

/* Simplificar ainda mais em dispositivos pequenos */
@media (max-width: 480px) {
    .hero-circle {
        animation: none;
        background: rgba(255, 255, 255, 0.03);
    }
}

.circle-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

.circle-content {
    position: relative;
    z-index: 2;
}

.hero-main-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: icon-float 4s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-circle-optimized {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -8px, 0) rotate(0.5deg); }
}

/* Elementos flutuantes - Super Otimizados */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.floating-elements.loaded {
    opacity: 1;
    transform: translateY(0);
}

.floating-lucky {
    position: absolute;
    animation: lucky-float-optimized 12s infinite ease-in-out;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Desabilitar elementos flutuantes em dispositivos móveis */
@media (max-width: 768px) {
    .floating-elements {
        display: none !important;
    }
}

/* Pausar animações quando a página não está visível */
.animations-paused .floating-lucky {
    animation-play-state: paused;
}

/* Cards informativos sobre serviços */
.service-info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    min-width: 80px;
    transition: all 0.3s ease;
}

.service-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.service-info-card .card-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.service-info-card .card-icon i {
    font-size: 1.5rem;
}

.service-info-card .card-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Reduzir elementos de sorte flutuantes em dispositivos móveis */
@media (max-width: 768px) {
    .service-info-card {
        padding: 8px;
        min-width: 70px;
    }
    
    .service-info-card .card-icon {
        font-size: 1.2rem;
    }
    
    .service-info-card .card-text {
        font-size: 0.65rem;
    }
    
    .lucky-3, .lucky-4 {
        display: none;
    }
}

.lucky-1 {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
}

.lucky-2 {
    top: 15%;
    right: 8%;
    animation-delay: -2s;
}

.lucky-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: -4s;
}

.lucky-4 {
    bottom: 8%;
    right: 8%;
    animation-delay: -6s;
}

@keyframes lucky-float-optimized {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.4; }
    50% { transform: translate3d(0, -8px, 0) rotate(1deg); opacity: 0.6; }
}

/* Cards flutuantes - Super Otimizados */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: card-float-optimized 15s infinite ease-in-out;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.floating-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Remover cards flutuantes completamente em dispositivos móveis */
@media (max-width: 768px) {
    .floating-card {
        display: none !important;
    }
}

/* Pausar animações quando a página não está visível */
.animations-paused .floating-card {
    animation-play-state: paused;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.card-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-1 {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 70%;
    right: 10%;
    animation-delay: -3s;
}

@keyframes card-float-optimized {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(1deg); }
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 3;
    animation: fade-in-up 2s ease-out 1s both;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
    margin: 0 auto 10px;
    animation: scroll-bounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(6px); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0px);
    }
}

/* Otimizações Adicionais de Performance */
.animations-paused * {
    animation-play-state: paused !important;
}

/* Reduzir motion em dispositivos que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    .hero-section * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Otimizações específicas para dispositivos de baixa performance */
@media (max-width: 480px) {
    .floating-shapes, .hero-particles, .floating-elements, .floating-card {
        display: none !important;
    }
    
    .hero-circle {
        animation: none !important;
    }
}

/* Melhorar performance em telas de alta densidade */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-circle {
        animation-duration: 12s;
    }
    
    .shape {
        animation-duration: 30s;
    }
}

/* Responsividade */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-highlight {
        font-size: 2.5rem;
    }
    
    .brand-highlight {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 2rem;
        align-items: baseline !important;
    }
    
    .hero-circle {
        width: 220px;
        height: 220px;
    }
    
    .hero-main-logo {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .brand-highlight {
        font-size: 2rem;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
        align-items: baseline !important;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 0 !important;
    }
    
    .hero-circle {
        width: 180px;
        height: 180px;
    }
    
    .hero-main-logo {
        width: 70px;
        height: 70px;
    }
}

.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.btn:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ================================================
   Game Cards
   ================================================ */
.game-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

.game-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.game-card .card-body {
    padding: 2rem;
}

.game-card i {
    transition: all 0.3s ease;
}

.game-card:hover i {
    transform: scale(1.1);
}

/* ================================================
   Service Items
   ================================================ */
.service-item {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--light-color);
    transform: translateY(-5px);
}

.service-item i {
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
}

/* ================================================
   Enhanced Service Cards
   ================================================ */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px !important;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.service-card .card-body {
    position: relative;
    z-index: 2;
}

.service-icon-container {
    position: relative;
    overflow: hidden;
}

.service-icon-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-container::before {
    width: 120%;
    height: 120%;
}

.service-card:hover .service-icon-container {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
}

.service-card .btn {
    border-width: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover .btn::before {
    left: 100%;
}

.service-card:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Animações de entrada para os cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de pulse nos ícones */
.service-icon-container i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-card:hover .service-icon-container i {
    animation: none;
    transform: scale(1.1);
}

/* Responsividade para cards de serviços */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-icon-container {
        width: 70px !important;
        height: 70px !important;
    }
    
    .service-icon-container i {
        font-size: 1.8rem !important;
    }
    
    .service-card .card-body {
        padding: 1.5rem !important;
    }
}

/* ================================================
   Result Cards
   ================================================ */
.result-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.result-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Bolinhas dos números com tamanhos adaptativos */
.number-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    animation: bounce 0.6s ease;
    margin: 2px;
}

/* Tamanhos específicos baseados na quantidade de números */
.number-ball.large {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
}

/* Tamanho especial para +Milionária (menor para caber trevos) */
.number-ball.large.milionaria {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.number-ball.medium {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.number-ball.small {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
}

.number-ball.tiny {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================================================
   Footer Styles
   ================================================ */
footer {
    background: linear-gradient(135deg, #120354 0%, #1a0766 50%, #220a7a 100%) !important;
    border-top: 4px solid #fbbf24;
    box-shadow: 0 -4px 20px rgba(18, 3, 84, 0.4);
}

/* Logo no footer */
.footer-logo {
    height: 80px;
    width: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 2px solid rgba(251, 191, 36, 0.3);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
    border-color: #fbbf24;
}

/* Texto do footer em duas linhas */
.footer-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fbbf24 !important;
    line-height: 1.2;
    margin-bottom: -2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fde047 !important;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .footer-logo {
        height: 65px;
        margin-right: 0px !important;
        margin-bottom: 5px !important;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
    
    /* Melhorar disposição do footer no mobile */
    footer .container .row {
        text-align: center;
    }
    
    /* Ajustar espaçamento geral do footer no mobile */
    footer {
        padding: 3rem 0 !important;
    }
    
    /* Centralizar logo e informações da empresa */
    footer .col-lg-4:first-child {
        margin-bottom: 2rem;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    footer .d-flex {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Ocultar navegação no mobile */
    footer .col-lg-2 {
        display: none;
    }
    
    /* Centralizar informações de contato */
    footer .col-lg-4:last-child {
        text-align: center;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    footer .col-lg-4:last-child h6 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Centralizar copyright */
    footer .row:last-child {
        text-align: center;
    }
    
    footer .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    footer .col-md-6:last-child {
        text-align: center !important;
    }
}

/* Regras específicas para mobile pequeno */
@media (max-width: 576px) {
    /* Ajustar espaçamento do footer */
    footer {
        padding: 2rem 0 !important;
    }
    
    /* Centralizar completamente no mobile pequeno */
    footer .container {
        text-align: center;
    }
    
    
    /* Reduzir tamanho dos ícones sociais */
    .social-links a {
        width: 40px;
        height: 40px;
        line-height: 35px;
        margin: 0 0.5rem;
    }
    
    /* Ajustar informações de contato */
    footer .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Centralizar copyright em uma linha */
    footer .row:last-child .col-md-6 {
        margin-bottom: 0.75rem;
    }
    
    footer .row:last-child .col-md-6:last-child {
        margin-bottom: 0;
    }
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fbbf24 !important;
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: #fbbf24;
    color: #120354 !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
    border-color: #fbbf24;
}

footer h5, footer h6 {
    position: relative;
    padding-bottom: 10px;
    color: #fbbf24 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 600;
}

footer h5:after, footer h6:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

/* Centralizar linhas decorativas no mobile */
@media (max-width: 768px) {
    footer h5:after, footer h6:after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    
    /* Garantir que os títulos tenham posição relativa para as linhas */
    footer h5, footer h6 {
        position: relative;
        display: inline-block;
    }
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
}

footer ul li a:hover {
    color: #fbbf24 !important;
    text-decoration: underline !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.contact-info p {
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
}

.contact-info p:hover {
    color: #fbbf24 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.contact-info i {
    color: #fbbf24 !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Melhorar textos gerais do footer */
footer p.text-light {
    color: rgba(255,255,255,0.9) !important;
}

footer small.text-muted {
    color: rgba(255,255,255,0.7) !important;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 768px) {
    .navbar {
        min-height: 85px; /* Reduzir altura no mobile mas acomodar logo */
        padding: 0.8rem 0;
        margin-bottom: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .navbar .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    
    .navbar-brand {
        font-size: 1.2rem;
        padding: 0.3rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.1rem 0;
        font-size: 1rem;
        gap: 0.4rem; /* Espaçamento consistente entre ícone e texto */
    }
    
    .main-content {
        padding-top: 85px; /* Ajustar para altura menor no mobile */
    }
    
    .page-header {
        padding-top: 125px;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-icon {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .number-ball.small {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .result-numbers {
        gap: 5px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 6rem;
    }
    
    .game-card .card-body {
        padding: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .result-numbers {
        gap: 3px;
    }
    
    .number-ball {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .number-ball.small {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

/* ================================================
   Performance Optimizations CSS
   ================================================ */

/* Acelerar GPU para elementos animados */
.gpu-accelerated {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Otimizar transições críticas */
.optimized-transition {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduzir repaints desnecessários */
.no-repaint {
    contain: layout style paint;
}

/* Classes para controle de animações */
.disable-animations * {
    animation: none !important;
    transition: none !important;
}

/* Lazy loading para elementos pesados */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Utility Classes
   ================================================ */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.rounded-lg {
    border-radius: 15px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   Loading Animation
   ================================================ */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ================================================
   Smooth Scrolling
   ================================================ */
html {
    scroll-behavior: smooth;
}

/* ================================================
   Custom Scrollbar (Webkit)
   ================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* ================================================
   Page-specific Styles
   ================================================ */

/* Loterias Page */
.game-detail-card {
    transition: all 0.3s ease;
}

.game-detail-card:hover {
    transform: translateY(-5px);
}

.popularity-stars .fa-star {
    font-size: 0.8rem;
}

.tips-card {
    transition: all 0.3s ease;
}

.tips-card:hover {
    transform: translateY(-5px);
}

/* Resultados Page */
.result-item {
    transition: all 0.3s ease;
}

.numbers-small .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-3px);
}

/* Quem Somos Page */
.values-card {
    transition: all 0.3s ease;
}

.values-card:hover {
    transform: translateY(-5px);
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.certification-item {
    padding: 1rem;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-3px);
}

.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Contato Page */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.social-card {
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

.schedule-item {
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 0;
    transition: all 0.3s ease;
}

.map-container:hover {
    background-color: #e9ecef !important;
}

/* ================================================
   Botão Voltar ao Topo
   ================================================ */
.btn-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: linear-gradient(135deg, #120354, #1a0766) !important;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(18, 3, 84, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.btn-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(18, 3, 84, 0.7);
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #120354 !important;
}

.btn-floating.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.btn-floating.clicked {
    transform: scale(0.95);
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
}

/* Responsividade do botão flutuante */
@media (max-width: 768px) {
    .btn-floating {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .btn-floating i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn-floating {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .btn-floating i {
        font-size: 14px;
    }
}

/* ================================================
   Classes das Loterias da Caixa
   ================================================ */

/* Cores de fundo */

.bg-dia-de-sorte { background-color: var(--dia-de-sorte-color) !important; }
.bg-mega-sena { background-color: var(--mega-sena-color) !important; }
.bg-supersete { background-color: var(--supersete-color) !important; }
.bg-timemania { background-color: var(--timemania-color) !important; }
.bg-lotomania { background-color: var(--lotomania-color) !important; }

.bg-dupla-sena { background-color: var(--dupla-sena-color) !important; }
.bg-lotofacil { background-color: var(--lotofacil-color) !important; }
.bg-quina { background-color: var(--quina-color) !important; }

/* Cores de texto */

.text-dia-de-sorte { color: var(--dia-de-sorte-color) !important; }
.text-mega-sena { color: var(--mega-sena-color) !important; }
.text-supersete { color: var(--supersete-color) !important; }
.text-timemania { color: var(--timemania-color) !important; }
.text-lotomania { color: var(--lotomania-color) !important; }

.text-dupla-sena { color: var(--dupla-sena-color) !important; }
.text-lotofacil { color: var(--lotofacil-color) !important; }
.text-quina { color: var(--quina-color) !important; }



.btn-dia-de-sorte {
    background-color: var(--dia-de-sorte-color);
    border-color: var(--dia-de-sorte-color);
    color: white;
}
.btn-dia-de-sorte:hover {
    background-color: #059669;
    border-color: #059669;
    color: white;
}
.btn-outline-dia-de-sorte {
    color: var(--dia-de-sorte-color);
    border-color: var(--dia-de-sorte-color);
}
.btn-outline-dia-de-sorte:hover {
    background-color: var(--dia-de-sorte-color);
    border-color: var(--dia-de-sorte-color);
    color: white;
}

.btn-mega-sena {
    background-color: var(--mega-sena-color);
    border-color: var(--mega-sena-color);
    color: white;
}
.btn-mega-sena:hover {
    background-color: #047857;
    border-color: #047857;
    color: white;
}
.btn-outline-mega-sena {
    color: var(--mega-sena-color);
    border-color: var(--mega-sena-color);
}
.btn-outline-mega-sena:hover {
    background-color: var(--mega-sena-color);
    border-color: var(--mega-sena-color);
    color: white;
}

.btn-supersete {
    background-color: var(--supersete-color);
    border-color: var(--supersete-color);
    color: white;
}
.btn-supersete:hover {
    background-color: #65A30D;
    border-color: #65A30D;
    color: white;
}
.btn-outline-supersete {
    color: var(--supersete-color);
    border-color: var(--supersete-color);
}
.btn-outline-supersete:hover {
    background-color: var(--supersete-color);
    border-color: var(--supersete-color);
    color: white;
}

.btn-timemania {
    background-color: var(--timemania-color);
    border-color: var(--timemania-color);
    color: white;
}
.btn-timemania:hover {
    background-color: #CA8A04;
    border-color: #CA8A04;
    color: white;
}
.btn-outline-timemania {
    color: var(--timemania-color);
    border-color: var(--timemania-color);
}
.btn-outline-timemania:hover {
    background-color: var(--timemania-color);
    border-color: var(--timemania-color);
    color: white;
}

.btn-lotomania {
    background-color: var(--lotomania-color);
    border-color: var(--lotomania-color);
    color: white;
}
.btn-lotomania:hover {
    background-color: #EA580C;
    border-color: #EA580C;
    color: white;
}
.btn-outline-lotomania {
    color: var(--lotomania-color);
    border-color: var(--lotomania-color);
}
.btn-outline-lotomania:hover {
    background-color: var(--lotomania-color);
    border-color: var(--lotomania-color);
    color: white;
}



.btn-dupla-sena {
    background-color: var(--dupla-sena-color);
    border-color: var(--dupla-sena-color);
    color: white;
}
.btn-dupla-sena:hover {
    background-color: #A21CAF;
    border-color: #A21CAF;
    color: white;
}
.btn-outline-dupla-sena {
    color: var(--dupla-sena-color);
    border-color: var(--dupla-sena-color);
}
.btn-outline-dupla-sena:hover {
    background-color: var(--dupla-sena-color);
    border-color: var(--dupla-sena-color);
    color: white;
}

.btn-lotofacil {
    background-color: var(--lotofacil-color);
    border-color: var(--lotofacil-color);
    color: white;
}
.btn-lotofacil:hover {
    background-color: #6D28D9;
    border-color: #6D28D9;
    color: white;
}
.btn-outline-lotofacil {
    color: var(--lotofacil-color);
    border-color: var(--lotofacil-color);
}
.btn-outline-lotofacil:hover {
    background-color: var(--lotofacil-color);
    border-color: var(--lotofacil-color);
    color: white;
}

.btn-quina {
    background-color: var(--quina-color);
    border-color: var(--quina-color);
    color: white;
}
.btn-quina:hover {
    background-color: #1E3A8A;
    border-color: #1E3A8A;
    color: white;
}
.btn-outline-quina {
    color: var(--quina-color);
    border-color: var(--quina-color);
}
.btn-outline-quina:hover {
    background-color: var(--quina-color);
    border-color: var(--quina-color);
    color: white;
}

/* Cards das loterias com logos oficiais */
.lottery-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lottery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Header específico para logos oficiais */
.lottery-header {
    border: none;
    background: transparent !important;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

/* Garantir que imagens dentro do lottery-header ocupem 100% da largura */
.lottery-header img {
    width: 100% !important;
    height: auto;
    display: block;
}

/* Logo oficial das loterias */
.lottery-official-logo {
    display: block;
    width: 100%;
    height: 75px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 15px 15px 0 0;
}

/* Responsividade para logos nos cards de resultados */
@media (max-width: 1200px) {
    .lottery-official-logo {
        height: 70px; /* Altura menor em tablets */
        width: 100% !important; /* Garantir 100% da largura em tablets */
    }
    
    .home-lottery-logo {
        width: 100% !important; /* Garantir 100% da largura em tablets */
    }
}

@media (max-width: 768px) {
    .lottery-official-logo {
        height: 65px; /* Altura menor em mobile */
        width: 100% !important; /* Garantir 100% da largura no mobile */
    }
    
    .home-lottery-logo {
        width: 100% !important; /* Garantir 100% da largura no mobile */
        max-height: 58px; /* Altura menor em mobile */
        max-width: 100% !important;
        object-fit: cover !important;
    }
    
    /* Regra específica para mobile - sobrescrever qualquer regra do Bootstrap */
    .game-card .card-header .home-lottery-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}

@media (max-width: 576px) {
    .lottery-official-logo {
        height: 65px; /* Altura menor em mobile pequeno */
        width: 100% !important; /* Garantir 100% da largura no mobile */
    }
    
    .home-lottery-logo {
        width: 100% !important; /* Garantir 100% da largura no mobile */
        max-height: 55px; /* Altura menor em mobile pequeno */
        max-width: 100% !important;
        object-fit: cover !important;
    }
    
    /* Regra específica para mobile pequeno - sobrescrever qualquer regra do Bootstrap */
    .game-card .card-header .home-lottery-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}

/* Cards de resultados com largura e altura padronizadas */
.result-item {
    max-width: 480px; /* Largura máxima para manter proporção ideal */
}

.result-card {
    min-height: 420px; /* Altura mínima padrão para todos os cards */
    display: flex;
    flex-direction: column;
}

.result-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Área padronizada para números sorteados */
.result-numbers {
    min-height: 120px; /* Altura fixa para área dos números */
    max-height: 120px; 
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.02);
}

/* Responsividade para área dos números */
@media (max-width: 768px) {
    .result-numbers {
        min-height: 100px;
        max-height: 100px;
    }
    
    .result-card {
        min-height: 380px;
    }
    
    /* Bolinhas menores em tablet */
    .number-ball.large {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .number-ball.medium {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .number-ball.small {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .number-ball.tiny {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .result-numbers {
        min-height: 90px;
        max-height: 90px;
        padding: 0.25rem;
    }
    
    .result-card {
        min-height: 350px;
    }
    
    /* Bolinhas ainda menores em mobile */
    .number-ball.large {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .number-ball.medium {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .number-ball.small {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .number-ball.tiny {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
}

/* Em telas grandes, garante espaçamento central */
@media (min-width: 1200px) {
    .result-item {
        flex: 0 0 auto;
        width: 45%; /* Dois cards por linha com espaço confortável */
    }
}

/* Em tablets, mantém 2 cards por linha */
@media (min-width: 768px) and (max-width: 1199px) {
    .result-item {
        flex: 0 0 auto;
        width: 47%; /* Ligeiramente menor em tablets */
    }
}

/* Em mobile, um card por linha */
@media (max-width: 767px) {
    .result-item {
        width: 100%;
        max-width: 400px; /* Limita largura em mobile */;
        margin-top: var(--bs-gutter-y);
    }

    .game-card{
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    #btnBuscarConcurso{
        margin-top: 20px !important;
    }

    #btnFalarNoWhatsApp{
        margin-top: 20px !important;
    }
}

.lottery-card:hover .lottery-official-logo {
    transform: scale(1.02);
}

/* Logo das loterias na página inicial */
.home-lottery-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 60px;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 10px 10px 0 0;
}

/* Garantir que imagens dentro dos cards da página inicial ocupem 100% da largura */
.game-card .card-header img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
}

/* Regra específica para home-lottery-logo dentro de game-card */
.game-card .card-header .home-lottery-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

/* Regra de máxima prioridade para sobrescrever Bootstrap w-100 */
.game-card .card-header img.home-lottery-logo.w-100 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* Regra de emergência para garantir 100% de largura em qualquer situação */
img.home-lottery-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}



.game-card:hover .home-lottery-logo {
    transform: scale(1.05);
}

.lottery-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lottery-logo i {
    font-size: 1.8rem;
    color: white;
}

/* Logos de Trevo Personalizados para cada Loteria */
.clover-logo {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trevo de 4 folhas baseado no logo oficial da Caixa */
.clover-logo::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: currentColor;
    border-radius: 50% 50% 50% 10%;
    top: 10px;
    left: 17px;
    transform: rotate(-45deg);
    box-shadow: 
        0 -8px 0 currentColor,      /* folha superior */
        -8px 0 0 currentColor,      /* folha esquerda */
        8px 0 0 currentColor;       /* folha direita */
}

.clover-logo::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 12px;
    background: currentColor;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 3px 3px;
}

/* Versão alternativa mais simples e limpa */
.clover-logo.simple::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: currentColor;
    border-radius: 50% 50% 50% 15%;
    top: 12px;
    left: 18px;
    transform: rotate(-45deg);
    box-shadow: 
        0 -10px 0 currentColor,     /* folha superior */
        -10px 0 0 currentColor,     /* folha esquerda */
        10px 0 0 currentColor;      /* folha direita */
}

.clover-logo.simple::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background: currentColor;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 2px 2px;
}

/* Cores específicas dos trevos por loteria */

.clover-dia-de-sorte { color: #ffffff; }
.clover-mega-sena { color: #ffffff; }
.clover-supersete { color: #ffffff; }
.clover-timemania { color: #ffffff; }
.clover-lotomania { color: #ffffff; }

.clover-dupla-sena { color: #ffffff; }
.clover-lotofacil { color: #ffffff; }
.clover-quina { color: #ffffff; }

/* Trevo com efeito de transparência usando múltiplos elementos */
.clover-mask {
    width: 40px;
    height: 40px;
    position: relative;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

/* Folhas do trevo criadas com pseudo-elementos */
.clover-mask::before,
.clover-mask::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
}

/* Folha superior */
.clover-mask::before {
    top: 2px;
    left: 12px;
    box-shadow: 
        0 22px 0 rgba(255,255,255,0.95),  /* folha inferior */
        22px -11px 0 rgba(255,255,255,0.95), /* folha direita */
        -22px -11px 0 rgba(255,255,255,0.95); /* folha esquerda */
}

/* Círculo central para unir as folhas */
.clover-mask::after {
    top: 12px;
    left: 12px;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8);
}

/* Efeitos especiais nos logos */
.lottery-logo:hover .clover-mask {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* Efeito de brilho no hover */
.lottery-logo:hover .clover-mask {
    filter: drop-shadow(0 4px 12px rgba(255,255,255,0.6));
}

/* Logo alternativo com ícone FontAwesome para trevos */
.fa-clover {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.fa-clover:before {
    content: "\2618"; /* Símbolo de trevo Unicode */
}

/* ================================================
   Estilos para Trevos da +Milionária
   ================================================ */

/* Container dos trevos - mais simples */
.trevos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.3rem;
    gap: 0.5rem;
}

/* Trevos como flores simples */
.trevo-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: trevo-bounce 0.6s ease;
    margin: 0 3px;
}

.trevo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Trevo usando arquivo SVG com filtro de cor */
.trevo-icon::before {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background-image: url('../../images/trevo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3567%) hue-rotate(250deg) brightness(95%) contrast(101%);
}

/* Número dentro do trevo */
.trevo-number {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animação específica para trevos */
@keyframes trevo-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

/* Responsividade para trevos */
@media (max-width: 768px) {
    .trevo-icon {
        width: 40px;
        height: 40px;
    }
    
    .trevo-icon::before {
        width: 40px;
        height: 40px;
    }
    
    .trevo-number {
        font-size: 1rem;
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .trevo-icon {
        width: 35px;
        height: 35px;
    }
    
    .trevo-icon::before {
        width: 35px;
        height: 35px;
    }
    
    .trevo-number {
        font-size: 0.9rem;
        width: 18px;
        height: 18px;
    }
}

/* ================================================
   Animações de Entrada
   ================================================ */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInFromRight 0.6s ease-out;
}

.animate-slide-bottom {
    animation: slideInFromBottom 0.6s ease-out;
}
