/* friendship-style-quiz.css */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.app-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(20px);
}

.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

#welcome h1 {/*.app-title*/
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.app-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

.begin-button {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #4a5568;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 154, 158, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.begin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 154, 158, 0.6);
}

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

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.quiz-counter {
    font-weight: 600;
    opacity: 0.9;
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9a9e, #fecfef);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 154, 158, 0.4);
}

.question-screen {
    /*display: none;*/
}

.question-title {
    line-height: 1.4;
}

.answer-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 154, 158, 0.6);
    transform: translateX(8px);
}

.answer-option.selected {
    background: rgba(255, 154, 158, 0.3);
    border-color: #ff9a9e;
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.3);
}

.nav-button {
    background: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

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

.result-screen {
    display: none;
    text-align: center;
    padding: 2rem;
}

.result-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

.result-traits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.result-traits h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.result-traits ul {
    list-style: none;
    padding: 0;
}

.result-traits li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.result-traits li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #ff9a9e;
    font-weight: bold;
}

.restart-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #f8fafc;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.restart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

@media screen and (max-width: 480px) {
    .result-screen {
        padding: 0.5rem;
    }
}