/* css/shoe-quiz.css */
.shoe-quiz {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.shoe-quiz__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.shoe-quiz__title {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    color: #ffd700;
    margin-bottom: 20px;
}

.shoe-quiz__intro {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: #ccc;
    margin-bottom: 30px;
}

.shoe-quiz__progress-bar {
    background: rgba(255, 215, 0, 0.2);
    height: 10px;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.shoe-quiz__progress {
    background: #ffd700;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.shoe-quiz__question {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.shoe-quiz__question.active {
    display: block;
}

.shoe-quiz__question-title {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: #ffd700;
    margin-bottom: 20px;
}

.shoe-quiz__answer-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    transition: all 0.3s ease;
}

.shoe-quiz__answer-btn:hover {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
    transform: scale(1.05);
}

.shoe-quiz__answer-btn:active {
    transform: scale(0.98);
}

.shoe-quiz__results {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.shoe-quiz__results-title {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: #ffd700;
    margin-bottom: 20px;
}

.shoe-quiz__recommended-shoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.shoe-quiz__shoe-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.shoe-quiz__shoe-card:hover {
    transform: translateY(-10px);
}

.shoe-quiz__shoe-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.shoe-quiz__shoe-card h4 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    color: #ffd700;
    margin-bottom: 10px;
}

.shoe-quiz__shoe-card p {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #ccc;
}

.shoe-quiz__no-results {
    padding: 20px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    color: #fff;
}

.shoe-quiz__button {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #000;
    background: #ffd700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shoe-quiz__button:hover {
    background: #fff;
    transform: scale(1.1);
}

.shoe-quiz__button:active {
    transform: scale(0.98);
}

.hidden {
    display: none;
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .shoe-quiz {
        padding: 40px 10px;
    }

    .shoe-quiz__title {
        font-size: 36px;
    }

    .shoe-quiz__intro {
        font-size: 16px;
    }

    .shoe-quiz__question-title {
        font-size: 20px;
    }

    .shoe-quiz__answer-btn {
        font-size: 14px;
        padding: 12px;
    }

    .shoe-quiz__recommended-shoes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .shoe-quiz__title {
        font-size: 28px;
    }

    .shoe-quiz__shoe-card img {
        max-width: 150px;
    }
}