/* Hogwarts House Quiz CSS */

body {
    font-family: 'Georgia', 'Times New Roman', serif;
}

.app-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e8e8e8;
}

.app-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #d4af37, #ffd700, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #c8c8c8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.begin-button {
    background: linear-gradient(45deg, #8b4513, #d4af37);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    letter-spacing: 1px;
}

.begin-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #a0522d, #ffd700);
}

.progress-container {
    margin-bottom: 2rem;
}

.quiz-counter {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #d4af37;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b4513, #d4af37);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.question {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-weight: bold;
    line-height: 1.4;
}

.option {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
    font-size: 1.2rem;
}

.option:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.option.selected {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #fff;
}

.nav-buttons {
}

.nav-button {
    background: linear-gradient(45deg, #4a4a4a, #6a6a6a);
    font-weight: bold;
}

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

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-button.next {
    background: linear-gradient(45deg, #8b4513, #d4af37);
}

.nav-button.next:hover {
    background: linear-gradient(45deg, #a0522d, #ffd700);
}

.result-screen {
    display: none;
    text-align: center;
    background: linear-gradient(145deg, rgba(139, 69, 19, 0.2), rgba(25, 25, 112, 0.2));
    padding: 1rem 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.house-crest {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.house-name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.house-motto {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #c8c8c8;
}

.house-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.restart-button {
    background: linear-gradient(45deg, #8b4513, #d4af37);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.restart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gryffindor {
    background: linear-gradient(145deg, rgba(116, 0, 1, 0.3), rgba(255, 193, 7, 0.3));
}

.hufflepuff {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.3), rgba(52, 58, 64, 0.3));
}

.ravenclaw {
    background: linear-gradient(145deg, rgba(0, 86, 184, 0.3), rgba(173, 216, 230, 0.3));
}

.slytherin {
    background: linear-gradient(145deg, rgba(26, 97, 25, 0.3), rgba(192, 192, 192, 0.3));
}

@media screen and (max-width: 480px) {
    .welcome-screen {
        margin-bottom: 2rem;
    }
    .begin-button {
        padding: 1rem;
        font-size: 1rem;
    }
    .question, .option {
        font-size: 1rem;
    }
    .result-screen {
        padding: 1rem 0.5rem;
    }
}