.personality-main {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--cream);
}

.test-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.test-header h1 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.test-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    width: 6.67%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    position: relative;
}

.question-card {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.question-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.question-card h2 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateX(5px);
}

.option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: var(--gold);
    cursor: pointer;
}

.option-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    flex: 1;
}

.option:has(input:checked) {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.test-navigation button {
    background: var(--gradient-navy);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.test-navigation button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 50, 0.3);
}

.test-navigation button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#submitBtn {
    background: var(--gradient-gold);
    color: var(--navy-blue);
}

.results-section {
    text-align: center;
}

.results-section h2 {
    font-size: 2.2rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
}

.profile-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.05), rgba(212, 175, 55, 0.05));
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
}

.profile-card h3 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.profile-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.traits, .ideal-match {
    margin-bottom: 2rem;
}

.traits h4, .ideal-match h4 {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

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

.traits li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.traits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .personality-main {
        padding-top: 80px;
    }
    
    .test-container {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .test-header h1 {
        font-size: 2rem;
    }
    
    .question-card h2 {
        font-size: 1.5rem;
    }
    
    .option {
        padding: 1rem;
    }
    
    .option-text {
        font-size: 1rem;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .results-actions .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .test-header p {
        font-size: 1rem;
    }
    
    .progress-bar {
        max-width: 100%;
    }
    
    .test-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .test-navigation button {
        width: 100%;
    }
}