/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
}

/* Container principal */
.page-wrapper {
    position: relative;
    min-height: 100vh;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Seção de introdução */
.intro-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.highlight {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.benefits {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #ff0000;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    text-shadow: none;
    display: inline-block;
    margin-top: 10px;
}

/* Seção do formulário */
.form-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.form-container {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.step-title.bottom {
    margin-top: 40px;
    margin-bottom: 0;
}

.highlight-yellow {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #ff0000;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    text-shadow: none;
}

/* Grid de signos */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.sign-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    backdrop-filter: blur(5px);
}

.sign-button:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

.sign-button img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.sign-info {
    display: flex;
    flex-direction: column;
}

.sign-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.sign-dates {
    font-size: 0.9rem;
    color: #87CEEB;
    font-weight: 400;
}

/* Seleção de data */
.date-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.month-section {
    text-align: center;
}

.month-title {
    background: linear-gradient(45deg, #4169E1, #1E90FF);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.day-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.day-button:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
    transform: scale(1.05);
}

/* Seleção de década */
.decades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.decade-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

.decade-button:hover {
    transform: translateY(-3px);
    border-color: #FFD700;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

/* Seleção de ano */
.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.year-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.year-button:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
    transform: scale(1.05);
}

/* Seleção de hora */
.hour-question {
    text-align: center;
}

.buttons-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.choice-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 15px;
    padding: 20px 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 120px;
}

.choice-button.no-button {
    background: linear-gradient(135deg, #f44336, #da190b);
}

.choice-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.time-fields {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.time-fields.hidden {
    display: none;
}

.time-inputs {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
}

.time-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-input-group label {
    margin-bottom: 10px;
    font-weight: 600;
}

.time-input-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    min-width: 100px;
}

.time-input-group select option {
    background: #333;
    color: white;
}

.confirm-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 10px;
}

.confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Loading */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    border-radius: 10px;
    animation: progressAnimation 3s ease-in-out forwards;
}

@keyframes progressAnimation {
    to {
        width: 100%;
    }
}

.loading-text {
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: 500;
}

/* Seleção de país */
.country-question {
    text-align: center;
}

.country-select {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.country-select.hidden {
    display: none;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.country-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.country-button:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
    transform: translateY(-3px);
}

.country-button img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
}

/* Resultado final */
.result-container {
    text-align: center;
    padding: 40px 20px;
}

.result-content h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #FFD700;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
}

.benefit-icon {
    font-size: 1.5rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.main-cta-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-cta-button:hover {
    transform: scale(1.05);
}

.main-cta-button img {
    max-width: 300px;
    height: auto;
}

.guarantee-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.guarantee-image,
.payment-image {
    max-width: 250px;
    height: auto;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 128, 0, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(0, 128, 0, 0.5);
}

.security-icon {
    width: 24px;
    height: 24px;
}

/* Botões de voltar */
.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 15px 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-button.small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 20px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .signs-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .sign-button {
        padding: 15px;
    }
    
    .sign-button img {
        width: 60px;
        height: 60px;
    }
    
    .date-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .days-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .decades-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .years-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .time-inputs {
        flex-direction: column;
        gap: 20px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .benefits-list {
        gap: 15px;
    }
    
    .benefit-item {
        font-size: 1rem;
        padding: 15px;
    }
    
    .main-cta-button img {
        max-width: 250px;
    }
    
    .guarantee-image,
    .payment-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .intro-section {
        padding: 20px 10px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .signs-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .sign-button {
        padding: 10px;
    }
    
    .sign-button img {
        width: 50px;
        height: 50px;
    }
    
    .sign-name {
        font-size: 0.9rem;
    }
    
    .sign-dates {
        font-size: 0.8rem;
    }
}

/* Animações adicionais */
.sign-button.selected {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    border-color: #FFD700;
    transform: scale(1.05);
}

.day-button.selected,
.decade-button.selected,
.year-button.selected,
.country-button.selected {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    border-color: #FFD700;
    transform: scale(1.05);
}

/* Efeitos de hover melhorados */
.sign-button:active,
.day-button:active,
.decade-button:active,
.year-button:active,
.choice-button:active,
.country-button:active {
    transform: scale(0.98);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

