/* Estilos essenciais para manter o visual idêntico (derivado do CSS compilado) */
*{box-sizing:border-box}body{background:#000;color:#fff;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";margin:0;min-height:100vh}
.header{background:#000;width:100%;padding:0;border-bottom:1px solid #333}
.header-content{display:flex;align-items:center;justify-content:space-between;padding:.7rem 1.5rem}
.header-logo{height:35px}
.header-nav{display:flex;gap:1rem}
.header-btn{display:flex;align-items:center;gap:.5rem;font-size:.95rem;padding:.6rem 1rem;border-radius:8px;border:none;text-decoration:none;font-weight:500;transition:background .2s}
.cadastro{color:#fff;background:transparent}
.entrar{color:#000;background:#01e880}.entrar:hover{background:#00c96b}

/* Anúncio */
.anuncio-app{width:100%;background:#01e880;color:#000;display:flex;justify-content:center;align-items:center;padding:.25rem 0;position:relative;min-height:48px}
.anuncio-content{display:flex;align-items:center;width:100%;padding:0 1.5rem;position:relative;min-height:48px}
.anuncio-icon-bg{background:#0003;border-radius:8px;padding:8px;display:flex;align-items:center;justify-content:center;margin-right:12px}
.anuncio-icon{color:#000;font-size:16px;width:16px;height:16px}
.anuncio-title{color:#000;font-weight:700;font-size:.85rem;margin-bottom:1px}
.anuncio-desc{color:#000;font-size:.75rem}
.anuncio-btn{background:#000;color:#01e880;border:none;border-radius:8px;padding:.5rem 1.2rem;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;position:absolute;right:4.5rem;top:50%;transform:translateY(-50%)}
.anuncio-btn:hover{background:#222}
.anuncio-close{background:transparent;border:none;color:#000;font-size:1.2rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%);cursor:pointer}

/* Banner/Carousel */
.carousel-container{width:100%;max-width:1200px;margin:2rem auto;padding:0 1.5rem}
.banner-swiper{width:100%;border-radius:12px;overflow:hidden;background:transparent;padding-bottom:40px}
.banner-image{width:100%;height:auto;max-height:300px;object-fit:contain;display:block}
.swiper-pagination{bottom:0;position:relative;margin-top:12px;text-align:center}
.swiper-pagination-bullet{display:inline-block;background:#ffffff80;opacity:1;width:8px;height:8px;border-radius:4px;margin:0 4px}
.swiper-pagination-bullet.active{background:#fff;width:24px;border-radius:4px}

/* Raspadinhas */
.raspadinhas-container{width:100%;max-width:1200px;margin:2rem auto;padding:0 1.5rem}
.categories-container{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}
.category-btn{background:transparent;color:#fff;border:1px solid #333;border-radius:25px;padding:.5rem 1.2rem;font-size:.9rem;cursor:pointer;transition:all .3s ease;white-space:nowrap}
.category-btn:hover{border-color:#01e880;color:#01e880}
.category-btn.active{background:#01e880;color:#000;border-color:#01e880}
.raspadinhas-content{width:100%}
.desktop-swiper{display:block}
.mobile-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.raspadinha-card{background:#111;border-radius:12px;overflow:hidden;border:1px solid #333;transition:all .3s ease;height:100%;display:flex;flex-direction:column;cursor:pointer}
.raspadinha-card:hover{border-color:#01e880;transform:translateY(-2px)}
.raspadinha-image{position:relative;width:100%;height:150px;overflow:hidden}
.raspadinha-image img{width:100%;height:100%;object-fit:cover}
.valor-badge{position:absolute;top:1rem;right:1rem;background:#01e880;color:#000;padding:.3rem .8rem;border-radius:15px;font-weight:700;font-size:.85rem}
.raspadinha-info{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.raspadinha-title{color:#fff;font-size:1.1rem;font-weight:700;margin:0 0 .5rem}
.raspadinha-description{color:#ccc;font-size:.85rem;line-height:1.4;margin:0 0 1rem;flex:1}
.jogar-btn{background:#01e880;color:#000;border:none;border-radius:8px;padding:.8rem 1.2rem;font-weight:700;cursor:pointer;transition:background .3s ease;width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem}
.jogar-btn:hover{background:#00c96b}

/* Footer */
.footer{background:#000;color:#fff;border-top:1px solid #333;margin-top:4rem;padding:3rem 0 1rem}
.footer-content{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.footer-section h3{color:#01e880;font-size:1.1rem;font-weight:700;margin-bottom:1rem}
.footer-logo img{height:40px;margin-bottom:1rem}
.footer-info p{color:#ccc;font-size:.85rem;line-height:1.5;margin-bottom:.5rem}
.footer-info p:first-of-type{color:#01e880;font-weight:700;font-size:1rem}
.footer-section ul{list-style:none;padding:0;margin:0}
.footer-section ul li{margin-bottom:.5rem}
.footer-section ul li a{color:#ccc;text-decoration:none;font-size:.9rem;transition:color .3s ease}
.footer-section ul li a:hover{color:#01e880}
.footer-section p{color:#ccc;font-size:.9rem;line-height:1.5;margin-bottom:.5rem}
.footer-bottom{border-top:1px solid #333;margin-top:2rem;padding-top:1rem;text-align:center}
.footer-bottom p{color:#666;font-size:.8rem;margin:0}

@media (max-width: 768px){
  .raspadinhas-container{padding:0 1rem;margin:1rem auto}
  .categories-container{gap:.5rem;margin-bottom:1.5rem}
  .mobile-grid{display:grid}
  .desktop-swiper{display:none}
  .anuncio-content{padding:0 1rem}
  .anuncio-btn{padding:.4rem .8rem;font-size:.85rem;right:3rem;gap:.3rem}
  .anuncio-close{right:.5rem}
}

/* Popup sorteio - fixa e acima de tudo */
.popup-overlay{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
}
.popup-overlay[hidden]{ display: none; }
body.popup-open{ overflow: hidden; }
.popup-card{width:92%;max-width:520px;border-radius:20px;overflow:hidden;border:2px solid #01E880;box-shadow:0 25px 60px rgba(1,232,128,.35);background:#0b0b0b}
.popup-header{background:linear-gradient(135deg,#01e880,#00b359);text-align:center;padding:26px 22px 18px;position:relative}
.popup-gift{font-size:36px;color:#000;margin:0 auto 8px}
.popup-header h2{margin:0;color:#000;font-weight:800;font-size:32px;letter-spacing:.5px}
.popup-stars{color:gold;font-size:20px;margin-top:8px}
.popup-body{padding:26px 26px 30px;text-align:center;color:#fff}
.popup-body p{margin:0 0 22px;font-size:18px;line-height:1.6}
.popup-body strong{color:#01E880}
.popup-cta{width:100%;max-width:420px;margin:0 auto;background:linear-gradient(135deg,#01e880,#00b359);color:#000;border:none;border-radius:16px;padding:18px 28px;font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(1,232,128,.35);transition:transform .15s ease, box-shadow .15s ease;display:block}
.popup-cta:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(1,232,128,.45)}
.popup-note{margin-top:14px;color:#9a9a9a;font-style:italic;font-size:13px}

/* Popup sorteio - fixa e acima de tudo */
.popup-overlay{
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,.85);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
  }
  .popup-overlay[hidden]{ display: none; }
  body.popup-open{ overflow: hidden; }