/* --- Configurações Gerais --- */
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle, #2c3e50 0%, #000000 100%);
    color: #f8f9fa;
    min-height: 100vh; /* Corrigido de min-vh-100 */
    margin: 0;
}

/* --- Seção Hero --- */
.hero-section {
    background: linear-gradient(135deg, #4b0082 0%, #2575fc 100%);
    padding: 80px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* --- Grid de Cards Estilo TCG --- */
.card-item {
    background-color: #121212 !important;
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 15px;
    display: flex;
    flex-direction: column; /* Corrigido de flex-column: column */
    transition: all 0.3s ease;
    height: 100%;
    padding: 10px;
    overflow: hidden;
}

.card-item:hover {
    transform: scale(1.03);
    border-color: #f1c40f;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
}

.card-img-top {
    width: 100%;
    height: 320px;
    object-fit: contain !important;
    background: #000;
    border-radius: 10px;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.2rem;
    text-align: center;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #f1c40f;
    margin-bottom: 0.5rem;
}

/* --- Badges e Elementos de UI --- */
.badge {
    font-size: 0.7rem;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
}

/* --- Formulários Dark --- */
.form-control, .form-select {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: white !important;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
    border-color: #6a11cb !important;
}

/* --- Botão Tentar a Sorte (Sempre Visível e Destacado) --- */
.btn-tentar-sorte {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: auto; /* Empurra o botão para o fim do card */
    
    background: linear-gradient(45deg, #ffffff, #ffe44d, #f1c40f) !important;
    color: #000 !important;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    
    border: 3px solid #ffffff !important; 
    border-radius: 8px;
    padding: 12px 0;
    
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.btn-tentar-sorte:hover {
    transform: scale(1.05);
    background: #fff !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* Animação de Pulsação */
.btn-pulse {
    animation: pulse-light 2s infinite !important;
}

@keyframes pulse-light {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}












/* --- Estilo da Loja Serratec Collector --- */

/* Efeito de levitação do Pacote */
.booster-visual {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.booster-visual img {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    /* Brilho dourado ao redor do pacote */
    filter: drop-shadow(0 0 20px rgba(241, 196, 15, 0.3));
    animation: floatBooster 4s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booster-visual img:hover {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 0 40px rgba(241, 196, 15, 0.6));
}

@keyframes floatBooster {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Card Principal da Loja */
.loja-card {
    background: linear-gradient(145deg, #1a1a1a, #000000) !important;
    border: 2px solid rgba(241, 196, 15, 0.1) !important;
    border-radius: 20px !important;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Preço em Destaque */
.price-tag {
    font-size: 2.5rem;
    color: #2ecc71;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    margin-bottom: 1.5rem;
}

/* Seletor de Quantidade Estilizado */
.quantity-selector {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
}

.btn-qty {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #222;
    color: white;
    border: 1px solid #444;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-qty:hover {
    background: #f1c40f;
    color: black;
    border-color: #f1c40f;
}

#qtd-pacotes {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    width: 60px;
    text-align: center;
    box-shadow: none !important;
}

/* Esconder as setinhas padrão do input de número */
#qtd-pacotes::-webkit-inner-spin-button,
#qtd-pacotes::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
}

header {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}