/* ========================================
   STEPS UNIFIED - Padrão PIX para Todas Telas
   Header azul com logo CAIXA + Card branco
   ======================================== */

/* ==========================================
   COMMON STEP STYLES - Iguais ao PIX
   ========================================== */

/* Step title section - dentro do card */
.step-title-section {
    text-align: center;
    padding: 24px 20px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.step-main-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066b3;
    margin: 0 0 6px 0;
}

.step-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Step content */
.step-content {
    padding: 20px;
}

/* Step footer */
.step-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Step card inner - ajuste do card */
.step-card-inner {
    margin-top: 20px;
}

/* ==========================================
   BUTTONS UNIFIED - Padrão da imagem
   ========================================== */

/* Primary button - Laranja (Concluir Aposta, Gerar PIX) - PULSANTE */
.step-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: #f97316;
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.30);
    animation: pulse-orange 2s ease-in-out infinite;
}

@keyframes pulse-orange {

    0%,
    100% {
        box-shadow: 0 3px 10px rgba(249, 115, 22, 0.30);
    }

    50% {
        box-shadow: 0 3px 20px rgba(249, 115, 22, 0.5);
    }
}

.step-btn-primary:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.35);
    animation: none;
}

/* Blue button (Apostar +1, Escolher números) */
.step-btn-blue {
    width: 100%;
    padding: 16px 24px;
    background: #0066b3;
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 102, 179, 0.25);
}

.step-btn-blue:hover {
    background: #0077cc;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 102, 179, 0.35);
}

/* Secondary button - Outline (Voltar) */
.step-btn-secondary {
    width: 100%;
    padding: 16px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Outline button */
.step-btn-outline {
    width: 100%;
    padding: 14px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ==========================================
   STEP 2: Quantidade de Números
   ========================================== */

/* Quantity buttons */
#step-2 .quantity-options {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

#step-2 .qty-btn {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066b3;
    cursor: pointer;
    transition: all 0.2s ease;
}

#step-2 .qty-btn:hover {
    border-color: #0066b3;
    background: #f0f9ff;
}

#step-2 .qty-btn.selected {
    background: linear-gradient(135deg, #0066b3 0%, #0077cc 100%);
    border-color: #0066b3;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 102, 179, 0.3);
}

/* Price display box */
.price-display-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-top: 16px;
}

.price-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
}

.price-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0066b3;
}

/* ==========================================
   STEP 3: Seleção de Números
   ========================================== */

/* Card especial para step 3 com mais largura */
#step-3 .step-3-card {
    max-width: 520px;
}

/* Numbers counter */
.numbers-counter {
    text-align: center;
    padding: 12px;
    background: #e0f2fe;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0066b3;
}

/* Numbers grid */
#step-3 .numbers-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

#step-3 .number-btn {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

#step-3 .number-btn:hover {
    border-color: #0066b3;
    background: #f0f9ff;
}

#step-3 .number-btn.selected {
    background: #209869;
    border-color: #209869;
    color: white;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* SUSPENSE ANIMATIONS */
#step-3 .number-btn.flash {
    background: #fbbf24;
    border-color: #f59e0b;
    color: white;
    transform: scale(1.1);
    transition: all 0.05s ease;
}

#step-3 .number-btn.pop {
    animation: popEffect 0.2s ease-out;
}

@keyframes popEffect {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Selected numbers */
#step-3 .selected-numbers {
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

#step-3 .selected-numbers-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-bottom: 10px;
}

#step-3 .selected-numbers-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#step-3 .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: #209869;
    border-radius: 17px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Volante actions */
#step-3 .volante-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

/* ==========================================
   STEP 4: Dados do Usuário
   ========================================== */

/* Form groups */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #0066b3;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.12);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.error-message {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 6px;
}

/* ==========================================
   STEP 1: Home Screen
   ========================================== */

/* Home title section */
.home-title {
    border-bottom: none;
    padding-bottom: 10px;
}

.home-prize {
    font-size: 2rem !important;
    color: #209869 !important;
    margin-bottom: 4px !important;
}

.home-draw-info {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #475569;
    margin: 8px 0 2px;
}

.home-draw-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.home-chances {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #209869;
    font-weight: 500;
    margin-top: 12px !important;
}

/* Bolão button wrapper - esconder trevos */
.bolao-btn-wrapper {
    display: block;
    margin-bottom: 16px;
}

.clover-left,
.clover-right {
    display: none;
}

/* Botão Bolão - laranja com trevo pulsante */
.step-btn-bolao {
    width: 100%;
    padding: 16px 20px;
    background: #f97316;
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    animation: pulse-orange 2s ease-in-out infinite;
}

.step-btn-bolao:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
    animation: none;
}

/* Divider OU */
.divider-ou {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px 0;
}

.divider-ou::before,
.divider-ou::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider-ou span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Aposte button - azul com trevo estático */
.step-btn-aposte {
    width: 100%;
    padding: 16px 24px;
    background: #0066b3;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 102, 179, 0.25);
}

.step-btn-aposte:hover {
    background: #0077cc;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 102, 179, 0.35);
}

.step-btn-aposte .aposte-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.step-btn-aposte .aposte-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}

/* Clover icons inside buttons */
.btn-clover {
    color: white;
    flex-shrink: 0;
}

/* Pulsing clover animation */
.btn-clover.pulse {
    animation: cloverPulse 1.5s ease-in-out infinite;
}

@keyframes cloverPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

/* ==========================================
   CAIXA FOOTER LINKS - Minimalist
   ========================================== */

.caixa-footer-links {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    background: #fafafa;
}

.caixa-footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.caixa-footer-links li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.caixa-footer-links li a:hover {
    color: #0066b3;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 520px) {
    .step-card-inner {
        margin: 16px;
        border-radius: 12px;
    }

    .step-title-section {
        padding: 20px 16px 16px;
    }

    .step-main-title {
        font-size: 1.1rem;
    }

    .step-content {
        padding: 16px;
    }

    .step-footer {
        padding: 16px;
    }

    /* Step 1 */
    .home-prize {
        font-size: 1.7rem !important;
    }

    .step-btn-bolao {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .clover-left,
    .clover-right {
        width: 30px;
        height: 30px;
    }

    /* Step 2 */
    #step-2 .qty-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    /* Step 3 */
    #step-3 .numbers-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 5px;
    }

    #step-3 .number-btn {
        font-size: 0.75rem;
    }

    /* Footer */
    .caixa-footer-links ul {
        gap: 4px 14px;
    }

    .caixa-footer-links li a {
        font-size: 0.7rem;
    }
}