@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #050505;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Fundo sutil para não distrair */
    background-image:
        radial-gradient(circle at 50% 10%, rgba(0, 255, 136, 0.1) 0%, transparent 40%),
        radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Barra de Progresso */
.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 10px;
    margin-bottom: 35px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #00FF88;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    border-radius: 10px;
}

/* Títulos */
h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #fff;
    min-height: 60px;
    /* Evita pulos de layout */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grade de Opções */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-option {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    /* Para animação de entrada */
    animation: fadeInUp 0.5s ease forwards;
}

.btn-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 136, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-option.selected {
    background: #00FF88;
    color: #000;
    border-color: #00FF88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    font-weight: 800;
    transform: scale(0.98);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Screen */
.hidden {
    display: none;
}

#loading-box {
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 136, 0.1);
    border-top: 3px solid #00FF88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h3 {
    color: #00FF88;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#loading-text {
    color: #888;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}