/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --info: #17a2b8;
    --danger: #dc3545;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   LAYOUT E CONTAINER
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    flex: 1;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background-color: var(--primary);
    color: white;
    padding: 1.2rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.logo i {
    color: var(--secondary);
    font-size: 2rem;
}

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

/* ============================================
   NAVEGAÇÃO
   ============================================ */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}

/* ============================================
   BOTÕES DE AUTENTICAÇÃO
   ============================================ */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.welcome {
    margin-right: 15px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.welcome i {
    font-size: 1.2rem;
    color: var(--secondary);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

.btn-success {
    background-color: var(--success);
    color: white;
    border: 2px solid var(--success);
}

.btn-success:hover {
    background-color: #219955;
    border-color: #219955;
}

.btn-warning {
    background-color: var(--warning);
    color: white;
    border: 2px solid var(--warning);
}

.btn-warning:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    border: 2px solid var(--danger);
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.btn-info {
    background-color: var(--info);
    color: white;
    border: 2px solid var(--info);
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-play-now {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-play-now::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
}

/* ============================================
   GAME INFO
   ============================================ */
.game-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    max-width: 900px;
    position: relative;
}

.info-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.hero .info-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: var(--transition-normal);
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light);
    font-size: 1.5rem;
}

.card h4 {
    margin: 1.5rem 0 1rem;
    color: var(--dark);
    font-size: 1.2rem;
}

/* ============================================
   GRID DE NÚMEROS - CORRIGIDO (SEM TOOLTIPS)
   ============================================ */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.number-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid var(--gray);
    background-color: white;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    background-color: var(--light);
    border-color: var(--secondary);
    transform: scale(1.1);
}

.number-btn.selected {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* ============================================
   NÚMEROS SELECIONADOS - CORRIGIDO (SEM ÍNDICES)
   ============================================ */
.selected-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
    min-height: 80px;
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.selected-number {
    background-color: var(--secondary);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.selected-number:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#no-numbers-text {
    color: var(--gray);
    font-style: italic;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* ============================================
   TABELAS
   ============================================ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   NÚMEROS VENCEDORES
   ============================================ */
.winner-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 3px;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.winner-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    background-color: white;
    color: var(--dark);
}

.form-control:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-control::placeholder {
    color: #aaa;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   VALIDAÇÃO DE FORMULÁRIO
   ============================================ */
.is-invalid {
    border-color: var(--danger) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.is-valid {
    border-color: var(--success) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ============================================
   ABAS
   ============================================ */
.tab-container {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
    gap: 1px;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition-normal);
    background: none;
    border: none;
    font-size: 1rem;
    position: relative;
}

.tab:hover {
    color: var(--secondary);
    background-color: rgba(52, 152, 219, 0.05);
}

.tab.active {
    color: var(--secondary);
    border-bottom: 3px solid var(--secondary);
    background-color: rgba(52, 152, 219, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* ============================================
   MODAIS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideInRight 0.3s ease-out;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.floating-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    box-shadow: var(--shadow-lg);
}

.session-alert {
    margin-top: 20px;
    margin-bottom: 0;
    animation: fadeIn 0.5s;
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    margin-left: auto;
    transition: var(--transition-fast);
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.close-alert:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ============================================
   LOADING
   ============================================ */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.loading-spinner {
    color: white;
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   PULSE ANIMATION
   ============================================ */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
}

.badge-warning {
    background-color: var(--warning);
    color: white;
}

.badge-success {
    background-color: var(--success);
    color: white;
}

.badge-danger {
    background-color: var(--danger);
    color: white;
}

.badge-info {
    background-color: var(--info);
    color: white;
}

.badge-primary {
    background-color: var(--primary);
    color: white;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #ddd;
    font-size: 1.2rem;
    transition: var(--transition-normal);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--primary);
    color: white;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-section ul li i {
    width: 20px;
    text-align: center;
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* ============================================
   WINNERS LIST
   ============================================ */
.winners-list {
    margin-top: 20px;
}

.winner-item {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--success);
    transition: var(--transition-normal);
}

.winner-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.winner-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 1.1rem;
}

.winner-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.winner-prize {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--success);
    background-color: rgba(39, 174, 96, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: var(--transition-normal);
}

.faq-item:hover {
    padding-left: 10px;
    border-left: 3px solid var(--secondary);
}

.faq-item h5 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #555;
    margin: 0;
}

/* ============================================
   MENU MOBILE
   ============================================ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    transition: var(--transition-normal);
}

.mobile-menu-toggle:hover {
    color: var(--secondary);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .game-info {
        gap: 1.5rem;
    }
    
    .hero .info-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 1rem;
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 12px;
    }
    
    nav ul li a.active::after {
        display: none;
    }
    
    nav ul li a.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
    }
    
    /* Hero */
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Game Info */
    .game-info {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .info-item {
        flex: 1 0 45%;
        margin-bottom: 1rem;
    }
    
    /* Numbers Grid */
    .numbers-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .number-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .selected-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Auth Buttons */
    .auth-buttons {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .welcome {
        display: none;
    }
    
    /* Footer */
    .footer-section {
        flex: 1 0 100%;
    }
    
    /* Modais */
    .modal-content {
        padding: 1.5rem;
        margin: 20px;
    }
    
    /* Tables */
    .table-container {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 10px;
    }
    
    /* Winner Item */
    .winner-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .winner-prize {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Header */
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
    
    nav {
        order: 3;
    }
    
    .auth-buttons {
        order: 4;
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Numbers Grid */
    .numbers-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    
    .number-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .selected-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Cards */
    .card {
        padding: 1.5rem;
    }
    
    /* Game Info */
    .info-item {
        flex: 1 0 100%;
    }
    
    .hero .info-value {
        font-size: 1.8rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
    }
    
    .btn-play-now {
        padding: 12px 24px;
    }
    
    /* Modais */
    .modal-content {
        padding: 1rem;
    }
    
    /* Forms */
    .form-control {
        padding: 10px 12px;
    }
    
    /* Tabs */
    .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .selected-numbers {
        padding: 15px;
    }
    
    .game-info {
        padding: 0.5rem;
    }
    
    .hero .info-label {
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 2.5rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-circle { border-radius: 50%; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-success { background-color: var(--success); }
.bg-warning { background-color: var(--warning); }
.bg-danger { background-color: var(--danger); }
.bg-info { background-color: var(--info); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }
.text-light { color: var(--light); }
.text-dark { color: var(--dark); }
.text-white { color: white; }
.text-gray { color: var(--gray); }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .hero, 
    .auth-buttons, 
    .modal, 
    .btn,
    .mobile-menu-toggle,
    .social-icons,
    footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: none !important;
    }
    
    .table {
        border: 1px solid #ddd !important;
    }
    
    .table th {
        background-color: #f8f9fa !important;
        color: black !important;
        border-bottom: 2px solid #ddd !important;
    }
}

/* ============================================
   GAME SUCCESS STYLES - CORRIGIDO
   ============================================ */
.game-success-alert {
    animation: slideInDown 0.5s ease-out;
    margin-bottom: 20px;
    border-left: 5px solid var(--success);
}

.game-success-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-success-header h4 {
    margin: 0;
    color: var(--success);
    font-size: 1.3rem;
}

.game-success-content {
    padding: 10px 0;
}

.game-success-item {
    margin-bottom: 15px;
}

.game-success-label {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.game-success-value {
    padding: 10px 15px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    word-break: break-all;
}

.game-code {
    color: var(--secondary);
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.game-code:hover {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: var(--secondary);
}

.numbers-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.success-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), #2980b9);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.success-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.game-success-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

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

.detail-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    display: block;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

.game-success-info {
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-md);
    padding: 15px;
    margin: 15px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.info-value {
    color: var(--primary);
    font-weight: 500;
}

.game-success-instructions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(39, 174, 96, 0.2);
    font-size: 0.95rem;
    color: #155724;
    background: rgba(39, 174, 96, 0.05);
    padding: 15px;
    border-radius: var(--radius-md);
}

.game-success-instructions i {
    margin-right: 10px;
    color: var(--warning);
    font-size: 1.1rem;
}

.game-success-instructions p {
    margin-bottom: 10px;
}

.game-success-instructions p:last-child {
    margin-bottom: 0;
}

.game-success-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* ============================================
   RECOVERED GAMES STYLES
   ============================================ */
.recovered-games-alert {
    animation: fadeIn 0.5s ease-out;
    margin-bottom: 20px;
}

.recovered-game-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--info);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.recovered-game-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.recovered-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.recovered-game-header strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.recovered-game-user {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
}

.recovered-game-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.recovered-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--info), #138496);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.recovered-game-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
    flex-wrap: wrap;
    gap: 10px;
}

.recovered-game-dates span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recovered-game-dates span::before {
    content: '📅';
    font-size: 0.8rem;
}

.recovered-game-dates span:last-child::before {
    content: '🕒';
}

/* ============================================
   STATUS BADGES
   ============================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.status-paid {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.status-cancelled {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-refunded {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* Payment status animation */
@keyframes pulse-paid {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.status-paid .fa-check-circle {
    animation: pulse-paid 2s infinite;
}

/* ============================================
   GAME SUCCESS ENHANCED STYLES
   ============================================ */

/* Botões grandes */
.btn-lg {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Botão de pagamento especial */
.btn-warning.btn-lg {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-warning.btn-lg:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Grid de números */
.numbers-grid {
    gap: 12px;
}

.number-btn {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.number-btn:hover {
    background-color: var(--light);
    border-color: var(--secondary);
    transform: scale(1.05);
}

.number-btn.selected {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Mensagens de status */
.game-success-content {
    padding: 20px;
}

.game-success-label {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.game-success-value {
    margin-bottom: 20px;
}

/* Badges maiores */
.badge[style*="font-size: 1rem"] {
    padding: 8px 15px !important;
    border-radius: 20px;
}

/* ============================================
   REMOVIDO: Tooltips, índice nos números e avisos de clique
   ============================================ */

/* 
   REMOVIDAS AS SEGUINTES SEÇÕES:
   1. Tooltips (.tooltip)
   2. ::before no .selected-number (índices)
   3. title="Clique para..." dos .number-btn
   4. IDs duplicados (#games-today, #next-draw-date, #prize-estimate)
   
   O JavaScript já fornece o feedback visual adequado
*/