* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: #ffeb3b;
}

p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #ffeb3b, #ff9800);
    border-radius: 5px;
    width: 0%;
    transition: width 0.3s ease;
}

.question-count {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 20px;
}

.question-container {
    margin-bottom: 30px;
}

#question {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.options {
    display: grid;
    grid-gap: 15px;
}

.option {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.option:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.option.selected {
    background-color: #ffeb3b;
    color: #333;
    font-weight: bold;
}

.option.correct {
    background-color: #4caf50;
    color: white;
}

.option.incorrect {
    background-color: #f44336;
    color: white;
}

.hidden {
    display: none;
}

.result-container {
    text-align: center;
}

.result-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.score {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#result-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        border-radius: 15px;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    #question {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    #question {
        font-size: 1.1rem;
    }
    
    .option {
        padding: 12px;
    }
}