/* ===== GLOBAL ===== */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #649074 0%, #4A7857 50%, #024528 100%);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
}

/* Wrapper */
.mj-quiz-wrapper {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Inner Width */
.mj-inner-width {
    max-width: 900px;
    width: 100%;
}

/* Fade-in */
@keyframes mjFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.mj-hero-section {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: mjFadeInUp .6s ease both;
}
.mj-hero-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.mj-slogan {
    color: #C5B862;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.mj-hero-sub {
    font-size: 15px;
    opacity: 0.95;
}

/* Container */
.mj-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.3);
    animation: mjFadeInUp 0.8s ease;
}

.mj-header {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 3px solid #C5B862;
}
.mj-header h2 {
    font-size: 26px;
    color: #024528;
    font-weight: 700;
}
.mj-header p {
    margin: 0;
    font-size: 14px;
    color: #4A7857;
}

/* Progress */
.mj-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
    color: #4A7857;
    font-weight: 600;
}
.mj-progress-track {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 20px;
}
.mj-progress-fill {
    height: 8px;
    width: 0%;
    background: linear-gradient(90deg, #649074, #C5B862);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Quiz Steps */
.mj-quiz-step { display: none; }
.mj-quiz-step.active { display: block; }

/* Options */
.mj-question-title {
    font-size: 20px;
    font-weight: 600;
    color: #024528;
    margin-bottom: 20px;
}
.mj-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mj-option-input { display: none; }

.mj-option-label {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #fafafa;
    border: 2px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s ease;
}
.mj-option-label:hover {
    background: #f0f8f5;
    border-color: #649074;
    transform: translateY(-1px);
}

.mj-option-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #024528;
    border-radius: 50%;
    margin-right: 12px;
    transition: .3s;
}
.mj-option-input:checked + .mj-option-label {
    border-color: #024528;
    background: #eaf4ef;
    font-weight: 600;
}
.mj-option-input:checked + .mj-option-label .mj-option-circle {
    background: #024528;
    box-shadow: inset 0 0 0 4px #fff;
}

/* Buttons */
.mj-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}
.mj-btn {
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    transition: .3s ease;
}
.mj-btn-prev {
    background: #e0e8e4;
    color: #024528;
}
.mj-btn-prev:hover { background: #cdd8d2; }

.mj-btn-next {
    background: linear-gradient(135deg, #4A7857, #024528);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.mj-btn-next:hover {
    transform: translateY(-2px);
}

/* Result */
.mj-result-view { text-align: center; }
.mj-archetype-icon {
    font-size: 80px;
    margin-top: 10px;
}
.mj-archetype-name {
    font-size: 30px;
    font-weight: 700;
    color: #024528;
}

/* Description */
.mj-archetype-desc {
    background: #f0f8f5;
    padding: 20px;
    border-left: 4px solid #C5B862;
    border-radius: 10px;
    margin: 25px auto;
    max-width: 650px;
    line-height: 1.6;
}

/* Job Worlds List */
.mj-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #024528;
    margin-top: 20px;
}
.mj-job-worlds {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}
.mj-job-worlds ul {
    padding-left: 18px;
}
.mj-job-worlds li {
    margin-bottom: 4px;
}

/* Sharing Section */
.mj-share-area {
    margin-top: 35px;
    text-align: center;
}

.mj-share-title {
    font-size: 18px;
    font-weight: 700;
    color: #024528;
    margin-bottom: 15px;
}

.mj-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mj-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #024528;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: .2s ease;
}
.mj-share-btn:hover {
    background: #032f1b;
    transform: translateY(-3px) scale(1.03);
}

/* Pulse Animation */
@keyframes mjPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}
.mj-share-pulse {
    animation: mjPulse 2.2s infinite;
}

/* Responsive */
@media (max-width: 600px) {
    .mj-container { padding: 24px; }
    .mj-hero-section h1 { font-size: 26px; }
    .mj-archetype-name { font-size: 26px; }
    .mj-btn { width: 100%; }
}
