.rifa-item-img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; }
        .rifa-item-info h3 { font-size: 1.25rem; font-weight: 700; }
        .rifa-item-info p { color: #9ca3af; }
        .status-badge { font-size: 0.8rem; padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 600; }
        .status-ativa { background: #3b82f6; color: white; }
        .status-sorteada { background: #22c55e; color: white; }
        .rifa-item-body { padding: 1.5rem; }
        .bilhetes-header { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
        .bilhetes-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
        .bilhete-tag {
            background: #333;
            border: 1px solid #555;
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 6px;
            font-weight: 600;
            font-family: monospace;
            transition: all 0.2s;
        }
        .bilhete-tag.ganhador {
            background: #facc15;
            color: #111;
            border-color: #facc15;
            animation: pulse-winner 2s infinite;
        }
        @keyframes pulse-winner {
            0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
            100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
        }
        
        .rifa-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 40px rgba(255,165,0,0.1); border-color: #ffa026;}
.rifa-card .card-price-badge { background: #ffa026; color: #000; border: 1px solid #ffa026;}
.rifa-card .progress { background: #22c55e; }
.rifa-card .card-button { background: #ffa026; }
.rifa-card .card-button:hover { background: #e08e0b; }
.prize-info-rifa {  display: flex;  align-items: center;  justify-content: space-between;  background: rgba(255, 165, 0, 0.1);  border: 1px solid rgba(255, 165, 0, 0.2);
                    border-radius: 12px;  padding: 1rem;  margin-bottom: 1rem;}
.prize-value-rifa {  color: #ffa026;  font-weight: 800;  font-size: 1.1rem;}


  .rifa-img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
  .rifa-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
  .rifa-premio { color: #22c55e; font-size: 1.2rem; font-weight: 600; }
  .numeros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 0.5rem; max-height: 500px; overflow-y: auto; padding: 0.5rem; background: vas(--color-surface); border-radius: 8px; backdrop-filter: blur(20px);}
  .numero-btn { background: #333; border: 1px solid #444; color: white; padding: 0.75rem; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
  .numero-btn.selected { background: var(--accent-destaque); transform: scale(1.1); color:black; }
  .numero-btn.disabled { background: #555; color: #888; cursor: not-allowed; }
  .buy-form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
  .selected-numbers { min-height: 50px; background: #fff; border-radius: 8px; padding: 0.5rem; margin-bottom: 1rem; border: 1px solid #555; }
  .numero-tag { background:  var(--accent-destaque); color: black; padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin: 0.25rem; }
 
  .quantity-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
  .quantity-card { background: var(--accent-destaque); border-color: var(--accent-destaque); border-radius: 8px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s ease; }
  .quantity-card:hover, .quantity-card.active { background: var(--accent-destaque); border-color: var(--accent-destaque); transform: translateY(-3px); }
  .quantity-card .qty-number { color: #000; font-size: 1.5rem; font-weight: 700; }
  .quantity-card .qty-label { font-size: 0.8rem; color: #000; }
  

 

  
  @media (max-width: 900px) { .grid-container { grid-template-columns: 1fr; } .rifa-sidebar { position: static; } }
