@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
:root{--accent:#3665e4;--accent2:#FF8147;--bg:#121212}
body{background:var(--bg);color:#eee;font-family:Poppins,sans-serif;margin:0}
a{text-decoration:none;color:inherit}

/* ---- NAVBAR ---- */
.main-nav{backdrop-filter:blur(6px);background:#fff;border-radius:2.5rem;padding:.55rem 1.4rem;
          box-shadow:0 6px 16px rgb(0 0 0/.1)}
.btn-back{background:var(--accent);color:#fff;border:none;border-radius:2rem;font-size:.9rem;
          padding:.38rem .9rem;display:flex;align-items:center;gap:.25rem}
.btn-back i{font-size:1rem}
.nav-title{font-weight:700;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 .6rem}
.btn-cta{background:var(--accent);border:none;border-radius:2rem;color:#fff;padding:.45rem 1.1rem;font-size:.9rem;font-weight:600}

/* ---- CAROUSEL + THUMBS ---- */
#carouselRifa .carousel-item img{height:360px;object-fit:cover;border-radius:1rem}
.thumb-img{width:70px;height:70px;object-fit:cover;border:3px solid transparent;border-radius:.5rem;
           margin:.25rem .45rem .25rem 0;cursor:pointer;transition:.2s}
.thumb-img.active{border-color:var(--accent)}
.thumb-img:hover{transform:translateY(-2px)}

/* ---- BUY PANEL ---- */
.buy-panel{background:#1e1e1e;border:2px solid var(--accent);border-radius:1rem;padding:2rem}
.price{font-size:2rem;color:var(--accent);font-weight:700}
.btn-anim{border:none;border-radius:3rem;padding:.85rem 2.5rem;font-weight:700;
          background:linear-gradient(120deg,var(--accent),var(--accent2),var(--accent));
          background-size:220%;color:#fff;transition:.4s}
.btn-anim:hover{background-position:120%;transform:translateY(-2px)}

/* ---- NUMBERS GRID ---- */
.nums-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:.5rem}
.nums-grid button{height:60px;border:none;border-radius:.55rem;font-weight:600;transition:.1s}
.nums-grid button {
  cursor: pointer;
}
.nums-grid button.available { cursor: pointer; }
.nums-grid button.reserved,
.nums-grid button.sold {
  cursor: not-allowed;
  opacity: .6;
}
.available{background:#fff;color:#000}
.available:hover{transform:translateY(-2px)}
.reserved{background:#ffc107;color:#000;cursor:not-allowed}
.sold{background:#dc3545;color:#fff;cursor:pointer}
.selected{background:var(--accent)!important;color:#fff!important}

/* ---- CART ---- */
#bottomCart{display:none;position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);
            width:92%;max-width:600px;z-index:999}
.cart-box{background:rgba(0,0,0,.9);border-radius:1rem;padding:1rem 1.5rem;
          display:flex;align-items:center;justify-content:space-between}
.badge-num{background:var(--accent);margin-right:.25rem}
.btn-part-checkout{background:#198754;border:none;border-radius:.5rem;color:#fff;padding:.45rem 1rem}
.search-form{background:#1e1e1e;padding:1rem;border-radius:1rem}

/* ---- FLOATING BUTTONS ---- */
.float-btn{position:fixed;right:1rem;display:flex;align-items:center;justify-content:center;
           width:200px;padding:.6rem 1rem;border-radius:2rem;font-weight:600;gap:.45rem;color:#fff;
           box-shadow:0 6px 16px rgb(0 0 0/.3);z-index:998}
.float-whats{bottom:1rem;background:#25D366}
.float-list {bottom:4.9rem;background:#0d6efd}

.float-btn i{font-size:1.2rem}

/* ---- PROGRESS ---- */
.progress-wrapper{height:28px}
.progress{border-radius:1.5rem;overflow:hidden}
.progress-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
                color:#fff;font-weight:600;text-shadow:0 0 4px #000}

/* ---- DESCRIPTION ---- */
#descText{max-height:8.5rem;overflow:hidden;transition:max-height .35s}
#descText.expanded{max-height:999px}
#toggleDesc{border-color:var(--accent);color:var(--accent);padding:.25rem .9rem;font-size:.85rem}
#toggleDesc:hover{background:var(--accent);color:#fff}

@media(max-width:575.98px){
  .btn-back{font-size:.8rem;padding:.3rem .8rem}
  .nav-title{max-width:45vw;font-size:.8rem}
  .float-btn{width:170px}
}

/* mostra como grid quando show_grid = 1 */
#numsGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: .5rem;
}


:root {
  /* já definidos no seu CSS principal */
  --accent:rgb(54, 101, 228);
  --accent2:rgb(15, 51, 151);
}

/* Botões pré-definidos */
.btn-quick {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s, filter 0.2s;
}
.btn-quick i {
  font-size: 1rem;
}
.btn-quick:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Ajuste no botão principal de compra */
.btn-anim {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2rem;
}
.btn-anim i {
  font-size: 1.2rem;
}
.video-widget {
  /* removido: position, bottom, right, z-index */
  position: static;        /* agora faz parte do fluxo */
  width: 100%;             /* ocupa 100% do container pai */
  max-width: 360px;        /* limite de largura igual à do widget antigo */
  margin: 2rem auto;       /* espaçamento vertical + centralizado */
  border-radius: 8px;
  overflow: hidden;
  background-color: #3665e4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-family: sans-serif;
  color: #fff;
  height: auto;            /* deixa crescer com o conteúdo */
  transition: height 0.3s ease;
}

/* em tablets/desktops, expande para preencher */
@media (min-width: 768px) {
  .video-widget {
    max-width: none;   /* remove o limite */
    width: 100%;       /* ocupa todo o espaço disponível */
    margin: 3rem 0;    /* espaçamento vertical maior */
  }
}

/* se quiser ainda mais “full‐width” em widescreens */
@media (min-width: 1200px) {
  .video-widget {
    /* opcional: tirar bordas arredondadas e sombra para “grudar” no layout */
    border-radius: 0;
    box-shadow: none;
    margin: 4rem 0;
  }
}

    /* Quando expandido: header + vídeo (180px) */
    .video-widget.expanded {
      height: calc(40px + 180px);
    }

    /* === Header com título e toggle === */
    .video-widget .vw-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 40px;
      padding: 0 12px;
      background: rgba(0,0,0,0.15);
    }
    .video-widget .vw-title {
      font-size: 14px;
      font-weight: bold;
    }
    .video-widget .vw-toggle {
      background: transparent;
      border: none;
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      line-height: 1;
    }

    /* === Área do vídeo === */
    .video-widget .vw-content {
      width: 100%;
      max-height: 100vh; 
      transition: height 0.3s ease;
      background: #000;
    }
    .video-widget.expanded .vw-content {
      height: 180px; /* mantem 16:9 dentro de 360px Largura */
    }
    .video-widget .vw-content iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }
    
  /* botão “barra de ouro” resplandecente */
.btn-costs {
  display: inline-block;
  position: relative;
  padding: .75rem 1.5rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #d4af37, #f9e29c, #d4af37);
  background-size: 200% 200%;
  color: #4b2e05;
  font-weight: 600;
  border: none;
  border-radius: 2rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1;
  animation: goldShift 3s ease-in-out infinite;
}

.btn-costs::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-20deg);
  filter: blur(4px);
  animation: goldShine 2s ease-in-out infinite;
}

  @keyframes goldShimmer {
    0% {
      background-position: 0% 50%;
      box-shadow: 0 0 8px rgba(212,175,55,0.8);
    }
    50% {
      background-position: 100% 50%;
      box-shadow: 0 0 16px rgba(255,215,0,1);
    }
    100% {
      background-position: 0% 50%;
      box-shadow: 0 0 8px rgba(212,175,55,0.8);
    }
  }
  .gold-badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 2rem;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(
      135deg,
      #D4AF37 0%,
      #FFD700 40%,
      #B8860B 70%,
      #D4AF37 100%
    );
    background-size: 200% 200%;
    color: #000;
    animation: goldShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 3px rgba(0,0,0,0.4);
  }

  /* Container e Cards */
  .prize-section .card {
    background: #1e1e1e;
    border: none;
    border-radius: .75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    overflow: hidden;
    transition: transform .2s;
  }
  .prize-section .card:hover {
    transform: translateY(-4px);
  }
  .prize-section .card-header {
    background: linear-gradient(120deg,#ffd700,#ffdf5e);
    color: #222;
    text-align: center;
  }
  .prize-section .card-header h4 {
    margin: 0;
    font-weight: 700;
  }
  .prize-section .card-body {
    padding: 1.5rem;
  }
  .prize-item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .prize-item .badge-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .prize-item .description {
    color: #eee;
    margin-bottom: auto;
  }
  .prize-item .winner {
    margin-top: 1rem;
    font-size: .9rem;
    color: #f0c419;
  }

  
/* ---------- esquema de cores ---------- */
:root{
  --rapid-accent:rgb(54, 101, 228);
  --rapid-card-bg: #1E1E1E;
}

/* ---------- grid / spacing ---------- */
.rapid-section .rapid-list .col-6{padding-left:0.75rem;padding-right:0.75rem}
@media (min-width:768px){.rapid-section .rapid-list .col-md-4{padding-left:0.75rem;padding-right:0.75rem}}

/* ---------- card ---------- */
.rapid-card{
  background:var(--rapid-card-bg);
  border-radius:1rem;
  position:relative;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(0,0,0,.6);
  transition:transform .25s cubic-bezier(.33,1,.68,1);
}
.rapid-card:hover{transform:translateY(-6px) scale(1.02)}

/* decorative gradient border */
.rapid-card::before{
  content:"";
  position:absolute;inset:0;
  padding:2px;border-radius:1rem;
  background:linear-gradient(135deg, var(--rapid-accent), #a621f5);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  pointer-events:none;
}

/* ---------- capa ---------- */
.rapid-img-wrapper{position:relative;height:160px}
.rapid-img{
  width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.rapid-img-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 90%);
}

/* ---------- badge ---------- */
.rapid-badge{
  position:absolute;
  top:0.75rem;
  right:0.75rem;   /* era left:0.75rem; */
  padding:.4rem .75rem;
  font-size:.75rem;
  border-radius:1rem;
  z-index:5;
}

/* ---------- texto ---------- */
.rapid-title{font-size:1rem;font-weight:600}
.rapid-winner{font-size:.85rem}

/* ---------- progresso ---------- */
.rapid-progress{
  height:.5rem;border-radius:.4rem;overflow:hidden;
  background:#343434;
}
.rapid-progress .progress-bar{
  background:var(--rapid-accent);
  animation:growBar .6s ease-out;
}
@keyframes growBar{from{width:0}to{width:inherit}}

/* ---------- botão ---------- */
.rapid-btn{
  min-width:110px;          /* opcional, só para manter consistência */
  font-weight:600;
  box-shadow:0 2px 8px rgba(0,0,0,.45);
  transition:filter .15s;
}

.rapid-btn:hover{filter:brightness(1.08)}


:root {
  --btn-gradient-start: #ff8147;
  --btn-gradient-end:   #3665e4;
}

/* Botões de cotas rápidos */
.btn-quick {
  background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
  border: none;
  border-radius: 3rem;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-quick:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

/* Botão Comprar (campo livre) */
.btn-anim {
  background: linear-gradient(135deg, var(--btn-gradient-end), var(--btn-gradient-start));
  border-radius: 3rem;
  padding: 0.75rem 2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
.btn-anim:hover {
  transform: translateY(-2px);
  background-position: right center;
}

/* Carrinho */
#bottomCart .cart-box {
  background: rgba(30,30,30,0.95);
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
}
#bottomCart .cart-box .btn-part-checkout {
  background: var(--btn-gradient-start);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
}
#bottomCart .clear-cart-btn {
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
#bottomCart .clear-cart-btn:hover {
  color: #fff;
}


