/* =====================================================
   SMART SORTEIOS - CSS UNIFICADO MELHORADO
   Arquivo: assets/css/public-new.css
   Versão: 2.0.0
   Descrição: CSS completo e otimizado com melhorias visuais
   ===================================================== */

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Cores Principais */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #7c8ff0;
    
    --secondary: #764ba2;
    --secondary-dark: #63408a;
    --secondary-light: #8b5fb8;
    
    --success: #10b981;
    --success-dark: #059669;
    
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --gold: #fbbf24;
    
    /* Cores Neutras */
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Tipografia */
    --font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espaçamentos */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark);
    background: var(--gradient-card);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    /* padding-top controlado pelo header.php via <style> inline */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #63408a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

.w-100 {
    width: 100%;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-ao-vivo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.badge-ao-vivo i {
    animation: broadcast 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    }
    50% { 
        opacity: 0.85; 
        box-shadow: 0 4px 30px rgba(239, 68, 68, 0.8);
    }
}

@keyframes broadcast {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.badge-aguardando {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.badge-replay {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.badge-aguardando i,
.badge-replay i {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-4);
    display: flex;
    justify-content: flex-end;
    background: transparent;
}

.card-body {
    padding: var(--spacing-6);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* ===== CARD SORTEIO - MELHORADO ===== */
.card-sorteio {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.card-sorteio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-sorteio:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.card-sorteio:hover::before {
    opacity: 1;
}

.card-sorteio .card-body {
    background: white;
}

.card-sorteio .card-title {
    font-weight: 700;
    line-height: 1.3;
}

.sorteio-premio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
}

.sorteio-premio i {
    color: var(--gold);
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.sorteio-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
    color: var(--gray);
    padding: 0.5rem 0.75rem;
    background: var(--light);
    border-radius: var(--radius);
}

.sorteio-info i {
    color: var(--primary);
    font-size: 1.125rem;
}

.btn-ver-sorteio {
    position: relative;
    overflow: hidden;
}

.btn-ver-sorteio i {
    transition: transform 0.3s ease;
}

.btn-ver-sorteio:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* ===== OVERLAY ACEITE ===== */
.overlay-aceite {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.aceite-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.aceite-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.aceite-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.75rem;
}

.aceite-text {
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
}

.aceite-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.aceite-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.aceite-list li i {
    color: var(--primary);
    font-size: 1.25rem;
}

.aceite-btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.aceite-disclaimer {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.75rem;
}

/* ===== HERO SECTION - MELHORADA ===== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
    display: block;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem 3rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-value {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.sorteios-section,
.ganhadores-section,
.consulta-section,
.como-funciona-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--gold);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray);
}

.countdown-container {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    text-align: center;
    border: 2px solid #bfdbfe;
}

.countdown-label {
    font-size: var(--font-size-sm);
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.countdown-valor {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
}

/* ===== GANHADORES - MELHORADO ===== */
.ganhadores-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-ganhador {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.card-ganhador::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-ganhador:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.card-ganhador:hover::before {
    opacity: 1;
}

.ganhador-foto {
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.ganhador-foto::after {
    content: '🎉';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.3;
}

.ganhador-foto i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.card-ganhador:hover .ganhador-foto i {
    transform: scale(1.1) rotate(-5deg);
}

.ganhador-info {
    padding: 1.75rem;
    background: white;
}

.ganhador-premio {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.ganhador-valor {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.ganhador-bilhete {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
    border: 1px solid #bfdbfe;
}

.ganhador-bilhete::before {
    content: '🎫';
    font-size: 1rem;
}

.ganhador-data {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.ganhador-data i {
    color: #f59e0b;
    font-size: 1rem;
}

/* ===== CONSULTA ===== */
.consulta-section {
    background: var(--light);
}

.consulta-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.consulta-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.consulta-title {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.consulta-text {
    color: var(--gray);
    margin-bottom: 2rem;
}

.input-group-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.input-bilhete {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: var(--font-size-2xl);
    text-align: center;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    transition: border-color 0.3s ease;
}

.input-bilhete:focus {
    outline: none;
    border-color: var(--primary);
}

.input-hint {
    display: block;
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.resultado-consulta {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.resultado-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.resultado-premiado {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
}

.resultado-nao-premiado {
    background: var(--light);
}

.resultado-aguardando {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.resultado-erro {
    background: linear-gradient(135deg, #ff7979 0%, #eb4d4b 100%);
    color: var(--white);
}

.numero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    margin: 0.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ===== COMO FUNCIONA ===== */
.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-text {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--gray-light);
    line-height: 1.6;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-info {
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* ===== GRID ===== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.col,
.col-12,
.col-md-6,
.col-md-4,
.col-lg-4 {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

.col-12 { 
    flex: 0 0 100%; 
    max-width: 100%; 
}

/* ===== UTILITÁRIOS ===== */
.text-center { 
    text-align: center; 
}

.mb-4 { 
    margin-bottom: var(--spacing-4); 
}

.mt-5 { 
    margin-top: var(--spacing-8); 
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray);
}

.loading-spinner {
    padding: 3rem;
    text-align: center;
    color: var(--gray);
}

.loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

/* ===== ANIMAÇÕES EXTRAS ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .col-md-6 { 
        flex: 0 0 50%; 
        max-width: 50%; 
    }
    .col-md-4 { 
        flex: 0 0 33.333%; 
        max-width: 33.333%; 
    }
}

@media (min-width: 1024px) {
    .col-lg-4 { 
        flex: 0 0 33.333%; 
        max-width: 33.333%; 
    }
}

@media (max-width: 768px) {
    body { 
        /* padding-top controlado pelo header.php */
    }
    
    .hero-section { 
        padding: 4rem 0; 
    }
    
    .hero-title { 
        font-size: var(--font-size-3xl); 
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-buttons { 
        flex-direction: column; 
    }
    
    .hero-buttons .btn { 
        width: 100%; 
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .stat-value {
        font-size: var(--font-size-3xl);
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .navbar-toggle { 
        display: flex; 
    }
    
    .input-group-large { 
        flex-direction: column; 
    }
    
    .input-group-large .btn { 
        width: 100%; 
    }
    
    .aceite-card { 
        padding: 1.5rem;
        max-width: 340px;
    }
    
    .aceite-title {
        font-size: var(--font-size-xl);
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    .consulta-card {
        padding: 2rem 1.5rem;
    }
    
    .consulta-title {
        font-size: var(--font-size-2xl);
    }
    
    .input-bilhete {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .stat-value {
        font-size: var(--font-size-2xl);
    }
    
    .card-body {
        padding: var(--spacing-4);
    }
    
    .ganhador-foto i {
        font-size: 4rem;
    }
    
    .ganhador-valor {
        font-size: var(--font-size-xl);
    }
}

/* ===== MELHORIAS FINAIS DE ACESSIBILIDADE ===== */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== SCROLLBAR CUSTOMIZADA ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #63408a 100%);
}

/* ===== TRANSIÇÕES SUAVES GLOBAIS ===== */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button,
a,
.card,
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   FASE 1 - ESTILOS ADICIONAIS PARA LISTA DE PRÊMIOS
   Adicionar no FINAL do arquivo public-new.css
   ===================================================== */

/* ===== LISTA DE PRÊMIOS - NOVA ===== */
.lista-premios {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e9ecef;
}

.premio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.premio-item:last-child {
    margin-bottom: 0;
}

.premio-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-color: var(--gold);
}

.premio-posicao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 60px;
    padding: 0.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
    color: #92400e;
    border: 2px solid #fcd34d;
}

.premio-posicao i {
    color: var(--gold);
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.premio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.premio-descricao {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

.premio-valor {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Variação de cores por posição */
.premio-item:nth-child(1) .premio-posicao {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
}

.premio-item:nth-child(2) .premio-posicao {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-color: #9ca3af;
    color: #374151;
}

.premio-item:nth-child(2) .premio-posicao i {
    color: #6b7280;
}

.premio-item:nth-child(3) .premio-posicao {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-color: #fb923c;
    color: #7c2d12;
}

.premio-item:nth-child(3) .premio-posicao i {
    color: #ea580c;
}

/* 4º lugar em diante - azul */
.premio-item:nth-child(n+4) .premio-posicao {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #93c5fd;
    color: #1e40af;
}

.premio-item:nth-child(n+4) .premio-posicao i {
    color: #3b82f6;
}

/* ===== RESPONSIVIDADE - LISTA DE PRÊMIOS ===== */
@media (max-width: 768px) {
    .lista-premios {
        padding: 0.75rem;
    }
    
    .premio-item {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .premio-posicao {
        min-width: 50px;
        font-size: 0.75rem;
        padding: 0.375rem;
    }
    
    .premio-posicao i {
        font-size: 0.875rem;
    }
    
    .premio-descricao {
        font-size: 0.8125rem;
    }
    
    .premio-valor {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .premio-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .premio-posicao {
        align-self: flex-start;
    }
    
    .premio-info {
        width: 100%;
    }
}