/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4285f4;
    --primary-dark: #3367d6;
    --secondary: #34a853;
    --accent: #ea4335;
    --warning: #fbbc04;
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --text: #202124;
    --text-secondary: #5f6368;
    --border: #dadce0;
    --shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-hover: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 40px 20px;
    color: white;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

.hero-meta span {
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

/* ===== MISSION OVERVIEW ===== */
.mission-overview {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px 36px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.mission-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.mission-header h2 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 12px;
}

.mission-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.mission-intro strong {
    color: var(--primary-dark);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.mission-card {
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mission-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.mission-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e8f0fe;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.mission-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.mission-card h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 10px;
}

.mission-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.mission-desc strong {
    color: var(--text);
}

.mission-highlight {
    background: white;
    border: 1px dashed var(--primary);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.45;
}

.mission-highlight span {
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 2px;
}

.mission-footer-tip {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid var(--secondary);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1b5e20;
    line-height: 1.5;
}

.mission-footer-tip .tip-icon {
    font-size: 22px;
    flex-shrink: 0;
}

/* ===== TREASURE MAP ===== */
.map-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.treasure-map {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.map-marker.active {
    animation: pulse 2s infinite;
}

.map-marker.completed .marker-icon {
    filter: grayscale(0.3) brightness(1.2);
}

.map-marker.finish .marker-icon {
    font-size: 32px;
}

.marker-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.marker-label {
    background: rgba(255,255,255,0.95);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-top: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.map-hint {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== PROGRESS BAR ===== */
.progress-container {
    background: var(--card-bg);
    padding: 30px 40px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 47px;
    left: 80px;
    right: 80px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-bar.step-0::after { width: 0%; }
.progress-bar.step-1::after { width: 25%; }
.progress-bar.step-2::after { width: 50%; }
.progress-bar.step-3::after { width: 75%; }
.progress-bar.step-finish::after { width: 100%; }

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary);
    color: var(--primary);
    background: white;
}

.step.completed {
    border-color: var(--secondary);
    background: var(--secondary);
    color: white;
}

/* ===== POST CARDS ===== */
.post-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card.hidden {
    display: none;
}

.post-header {
    padding: 30px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    border-bottom: 1px solid var(--border);
}

.post-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.post-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
}

.post-header h2 .highlight {
    color: var(--primary);
    font-weight: 500;
}

.post-content {
    padding: 30px 40px;
}

.post-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
}

.btn-disabled-hint {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}

.btn-disabled-hint.hidden {
    display: none;
}

/* ===== GOAL BOX ===== */
.goal-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.goal-box strong {
    color: var(--primary-dark);
}

/* ===== STEPS ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    padding-top: 4px;
}

.step-text strong {
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.hint {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 6px;
}

/* ===== LINKS & BUTTONS ===== */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    margin: 8px 0;
    transition: all 0.2s ease;
}

.btn-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--primary);
    transition: all 0.2s ease;
}

.doc-link:hover {
    border-bottom-style: solid;
}

/* ===== PROMPT BOX ===== */
.prompt-box {
    display: block;
    background: #263238;
    color: #aed581;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
    border-left: 4px solid var(--secondary);
    white-space: normal;
    word-wrap: break-word;
}

/* ===== INSIGHT BOX ===== */
.insight-box {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border-left: 4px solid var(--secondary);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.insight-box strong {
    color: var(--secondary);
}

.insight-box.highlight-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: var(--warning);
}

.insight-box.highlight-box strong {
    color: #e65100;
}

/* ===== ANSWER SECTION ===== */
.answer-section {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.answer-section label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text);
}

.answer-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.answer-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66,133,244,0.1);
}

.answer-input::placeholder {
    color: #9aa0a6;
}

select.answer-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235f6368' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.answer-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-check {
    padding: 12px 18px;
    background: #e8f0fe;
    color: var(--primary-dark);
    border: 1px solid #d2e3fc;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-check:hover {
    background: #d2e3fc;
    color: var(--primary-dark);
}

.solution-box {
    margin-top: 14px;
    padding: 14px 18px;
    background: #e6f4ea;
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #137333;
    animation: fadeIn 0.3s ease;
}

.solution-box.hidden {
    display: none;
}

.aha-section {
    margin: 16px 0;
}

.aha-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
}

.required-star {
    color: #d93025;
    font-weight: bold;
}

.validation-msg {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fce8e6;
    border-left: 4px solid #d93025;
    color: #c5221f;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    animation: fadeIn 0.2s ease;
}

.validation-msg.hidden {
    display: none;
}

.input-error {
    border-color: #d93025 !important;
    background-color: #fff8f7 !important;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.15) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.shake {
    animation: shake 0.4s ease;
}

/* ===== ANSWERS REVIEW SECTION ===== */
.answers-review-box {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.review-header h3 {
    font-size: 1.3rem;
    color: var(--text);
}

.badge-complete {
    background: #e6f4ea;
    color: #137333;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #ceead6;
}

.review-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.review-card:hover {
    border-color: #bcc1c8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-step-badge {
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.review-card-header h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.btn-edit-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit-step:hover {
    background: #f1f3f4;
    color: var(--text);
    border-color: #9aa0a6;
}

.review-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-status {
    font-size: 14px;
    color: #137333;
    font-weight: 500;
}

.review-user-answer {
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    padding: 10px 14px;
}

.review-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.review-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    white-space: pre-wrap;
}

.review-text.italic {
    font-style: italic;
}

.review-solution {
    background: #f1f8e9;
    border-left: 3px solid var(--secondary);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    color: #2e7d32;
}

/* ===== CHECKBOX LABEL ===== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label span {
    flex: 1;
}

/* ===== NAVIGATION BUTTONS ===== */
.btn-next, .btn-prev {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.btn-next {
    background: var(--primary);
    color: white;
}

.btn-next:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-next.btn-finish {
    background: var(--secondary);
}

.btn-next.btn-finish:hover {
    background: #2e7d32;
}

.btn-prev {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-prev:hover {
    background: #f8f9fa;
    color: var(--text);
}

.btn-next:disabled,
.btn-next.btn-finish:disabled,
.btn-copy:disabled {
    background: #e2e5e9 !important;
    color: #9aa0a6 !important;
    border: 1px solid #dadce0 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.75;
}

/* ===== FINISH SCREEN ===== */
.finish-screen .post-header {
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.finish-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.finish-screen h2 {
    color: #2e7d32;
}

.summary-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 28px;
}

.summary-box h3 {
    margin-bottom: 16px;
    color: var(--text);
}

.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.summary-list li:last-child {
    border-bottom: none;
}

/* ===== SUBMIT BOX ===== */
.submit-box {
    background: #fff8e1;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    border: 2px solid #ffcc80;
}

.submit-box h3 {
    margin-bottom: 16px;
    color: #e65100;
}

.message-template {
    background: white;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 16px 0;
    border: 1px solid var(--border);
}

.message-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.message-box {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    background: #f8f9fa;
}

.btn-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: var(--primary-dark);
}

.btn-copy.copied {
    background: var(--secondary);
}

/* ===== CHECKLIST ===== */
.checklist {
    margin-top: 20px;
}

.checklist h4 {
    margin-bottom: 12px;
    color: var(--text);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
}

.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.check-item span {
    color: var(--text-secondary);
}

.check-item input:checked + span {
    color: var(--text);
    text-decoration: line-through;
}

/* ===== SAFE USE CALLOUT BOX ===== */
.safe-use-box {
    background: #e8f0fe;
    border: 1px solid #d2e3fc;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-bottom: 24px;
}

.safe-use-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.safe-use-icon {
    font-size: 20px;
}

.safe-use-header h4 {
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 700;
}

.safe-use-box p {
    font-size: 13.5px;
    color: #3c4043;
    line-height: 1.6;
}

/* ===== RESOURCES BOX ===== */
.resources-box {
    background: #f3e5f5;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    border: 1px solid #e1bee7;
}

.resources-box h3 {
    margin-bottom: 12px;
    color: #7b1fa2;
}

.resources-box p {
    color: #4a148c;
    font-size: 14px;
    margin-bottom: 16px;
}

.resources-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resources-list li {
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #e1bee7;
    font-size: 13.5px;
    line-height: 1.5;
}

.resources-list li strong {
    display: block;
    color: #6a1b9a;
    margin-bottom: 4px;
    font-size: 14px;
}

.resources-list li span {
    color: var(--text);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #7b1fa2;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #6a1b9a;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.site-footer p {
    margin: 8px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mission-overview {
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-header,
    .post-content,
    .post-footer {
        padding: 20px;
    }
    
    .progress-container {
        padding: 20px;
    }
    
    .progress-bar {
        left: 50px;
        right: 50px;
        top: 37px;
    }
    
    .step {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-prev {
        width: 100%;
        justify-content: center;
    }

    .answer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-check {
        width: 100%;
        text-align: center;
    }

    .btn-disabled-hint {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card:not(.hidden) {
    animation: fadeIn 0.4s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
