/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    height: 50px;
    border-radius: 8px;
}

.logo-texto {
    font-size: 1.4rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ad1457;
}

/* Hero */
.hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    overflow: hidden;
    margin-top: 90px;
    /* Gradiente roxo/verde - cores de loteria */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    display: none;
}

.hero-overlay {
    text-align: center;
    padding: 40px;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(173, 20, 87, 0.8), 0 0 60px rgba(123, 31, 162, 0.6);
}

.hero-slogan {
    font-size: 1.8rem;
    color: #f39c12;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
}

/* Resultados */
.resultados {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

.resultados h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f39c12;
}

.atualizacao {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

.loterias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.loteria-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.loteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.loteria-nome {
    font-size: 1.3rem;
    font-weight: bold;
}

.loteria-concurso {
    font-size: 0.9rem;
    color: #888;
}

.dezenas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.dezena {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.mega-sena .dezena { background: #2e7d32; }
.lotofacil .dezena { background: #ad1457; }
.quina .dezena { background: #7b1fa2; }
.dupla-sena .dezena { background: #c62828; }
.loteria-card:not(.mega-sena):not(.lotofacil):not(.quina):not(.dupla-sena) .dezena { background: #1565c0; }

.premio {
    font-size: 1.1rem;
    color: #f39c12;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* Bolões */
.boloes {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.15);
}

.boloes h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f39c12;
}

.boloes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bolao-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f39c12;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bolao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bolao-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bolao-icone {
    font-size: 2rem;
}

.bolao-loteria {
    font-size: 1.3rem;
    font-weight: bold;
    flex: 1;
}

.bolao-concurso {
    font-size: 0.9rem;
    color: #888;
}

.bolao-info {
    margin-bottom: 15px;
}

.bolao-info p {
    margin: 8px 0;
    color: #ccc;
}

.bolao-premio {
    font-size: 1.5rem;
    color: #2ecc71;
    font-weight: bold;
    margin-bottom: 15px;
}

.bolao-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bolao-preco {
    color: #f39c12;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-comprar-bolao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-comprar-bolao:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
}

.boloes-info {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 20px;
}

.boloes-info p {
    margin: 5px 0;
    color: #ccc;
}

.boloes-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-comprar {
    display: inline-block;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-comprar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.6);
}

/* Sobre */
.sobre {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.1);
}

.sobre h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #f39c12;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sobre-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.sobre-item h3 {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.sobre-item p {
    margin: 10px 0;
    color: #ccc;
}

/* Contato */
.contato {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

.contato h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #f39c12;
}

.contato-botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp, .btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.btn-instagram:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(188, 24, 136, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    color: #888;
}

.footer-info {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        display: flex;
        gap: 20px;
    }
    
    .nav a {
        margin-left: 0;
    }
    
    .hero {
        height: 35vh;
        margin-top: 130px;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-slogan {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .loterias-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-botoes {
        flex-direction: column;
        align-items: center;
    }
}