/* CHC Assessment Arena Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Pixelify Sans', cursive;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: #fff;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: block;
}

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

/* Game Header */
.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 3.5em;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    margin-bottom: 10px;
}

.game-subtitle {
    font-size: 1.2em;
    color: rgba(255, 215, 0, 0.7);
    margin-bottom: 15px;
}

.back-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.back-link:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    transform: translateX(-5px);
}

.dewey-quote {
    font-style: italic;
    opacity: 0.8;
    font-size: 1.1em;
    margin: 20px auto 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    max-width: 800px;
    text-align: center;
}

/* Welcome Card */
.welcome-card {
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    animation: cardBreathe 3s ease-in-out infinite, fadeSlideUp 0.8s ease-out;
}

@keyframes cardBreathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 0.5);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card h2 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 2em;
    animation: titleFloat 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 5px 30px rgba(255, 215, 0, 0.8);
    }
}

.welcome-card > p {
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Assessment Info */
.assessment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    animation: fadeSlideUp 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.info-item:nth-child(1) { animation-delay: 0.2s; }
.info-item:nth-child(2) { animation-delay: 0.4s; }
.info-item:nth-child(3) { animation-delay: 0.6s; }
.info-item:nth-child(4) { animation-delay: 0.8s; }

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.info-item .icon {
    font-size: 2em;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
}

.info-item strong {
    display: block;
    color: #ffd700;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05em;
}

/* Theory Section */
.theory-section {
    background: rgba(255, 215, 0, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: sectionBreathe 4s ease-in-out infinite, fadeSlideUp 1s ease-out;
    animation-delay: 0s, 1s;
}

@keyframes sectionBreathe {
    0%, 100% {
        background: rgba(255, 215, 0, 0.05);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    }
    50% {
        background: rgba(255, 215, 0, 0.08);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
    }
}

.theory-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.5em;
}

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

.theory-section li {
    padding: 10px 0;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeSlideUp 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.theory-section li:nth-child(1) { animation-delay: 1.2s; }
.theory-section li:nth-child(2) { animation-delay: 1.4s; }
.theory-section li:nth-child(3) { animation-delay: 1.6s; }
.theory-section li:nth-child(4) { animation-delay: 1.8s; }
.theory-section li:nth-child(5) { animation-delay: 2.0s; }
.theory-section li:nth-child(6) { animation-delay: 2.2s; }

.theory-section li:hover {
    color: #ffd700;
    padding-left: 10px;
    border-left: 3px solid #ffd700;
}

.theory-section li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-start {
    padding: 18px 40px;
    font-size: 1.3em;
    font-family: 'Pixelify Sans', cursive;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4),
                0 0 60px rgba(102, 126, 234, 0.6),
                0 0 100px rgba(102, 126, 234, 0.4);
    animation: explodingGlow 0.6s ease-out;
}

@keyframes explodingGlow {
    0% {
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5),
                    0 0 80px rgba(102, 126, 234, 0.7),
                    0 0 120px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4),
                    0 0 60px rgba(102, 126, 234, 0.6),
                    0 0 100px rgba(102, 126, 234, 0.4);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3),
                0 0 60px rgba(255, 255, 255, 0.4),
                0 0 100px rgba(255, 255, 255, 0.2);
    animation: explodingGlowWhite 0.6s ease-out;
}

@keyframes explodingGlowWhite {
    0% {
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4),
                    0 0 80px rgba(255, 255, 255, 0.5),
                    0 0 120px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3),
                    0 0 60px rgba(255, 255, 255, 0.4),
                    0 0 100px rgba(255, 255, 255, 0.2);
    }
}

.btn-start {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #333;
    font-size: 1.5em;
    padding: 20px 50px;
    display: block;
    margin: 30px auto 0;
    animation: pulse 2s ease-in-out infinite;
}

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

.btn-start:hover {
    animation: none;
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6),
                0 0 80px rgba(255, 215, 0, 0.8),
                0 0 120px rgba(255, 215, 0, 0.5);
}

/* Progress Bar */
.progress-bar-container {
    background: rgba(0, 0, 0, 0.3);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.progress-bar {
    height: 10px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 5px;
    transition: width 0.5s ease;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.progress-text {
    position: relative;
    z-index: 1;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* Challenge Container */
.challenge-container {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: cardBreathe 3s ease-in-out infinite, fadeSlideUp 0.8s ease-out;
}

.challenge-header {
    text-align: center;
    margin-bottom: 30px;
}

.challenge-header h2 {
    color: #ffd700;
    font-size: 2.2em;
    margin-bottom: 10px;
    animation: titleFloat 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.challenge-header p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.challenge-timer {
    background: linear-gradient(135deg, #ff8c00, #ff6b6b);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.8em;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.challenge-content {
    margin: 30px 0;
    font-size: 1.2em;
    line-height: 1.8;
}

.challenge-question {
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    margin: 20px 0;
    font-weight: 600;
    animation: questionPulse 3s ease-in-out infinite;
}

@keyframes questionPulse {
    0%, 100% {
        background: rgba(102, 126, 234, 0.1);
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
        border-left-color: #667eea;
    }
    50% {
        background: rgba(102, 126, 234, 0.15);
        box-shadow: 0 0 25px rgba(102, 126, 234, 0.4);
        border-left-color: #764ba2;
    }
}

/* Input Fields */
.challenge-input, .challenge-textarea {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-family: 'Pixelify Sans', cursive;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    margin: 15px 0;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.challenge-textarea {
    min-height: 150px;
    resize: vertical;
}

.challenge-input:focus, .challenge-textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3),
                0 0 30px rgba(255, 215, 0, 0.2);
    animation: inputGlow 2s ease-in-out infinite;
}

@keyframes inputGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3),
                    0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                    0 0 50px rgba(255, 215, 0, 0.3);
    }
}

/* Options */
.challenge-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.option-btn {
    padding: 20px;
    font-size: 1.2em;
    font-family: 'Pixelify Sans', cursive;
    background: rgba(255, 215, 0, 0.05);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    animation: fadeSlideUp 0.5s ease-out backwards;
}

.option-btn:nth-child(1) { animation-delay: 0.1s; }
.option-btn:nth-child(2) { animation-delay: 0.2s; }
.option-btn:nth-child(3) { animation-delay: 0.3s; }
.option-btn:nth-child(4) { animation-delay: 0.4s; }
.option-btn:nth-child(5) { animation-delay: 0.5s; }

.option-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(10px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4),
                0 0 50px rgba(255, 215, 0, 0.5);
}

.option-btn.selected {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    border-color: #ffd700;
    animation: selectedPulse 1.5s ease-in-out infinite;
}

@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.7);
        transform: scale(1.02);
    }
}

/* Grid for sorting */
.sorting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.sorting-item {
    padding: 15px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: move;
    transition: all 0.3s ease;
    font-size: 1em;
}

.sorting-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sorting-item.dragging {
    opacity: 0.5;
}

/* Memory Display */
.memory-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
}

.memory-item {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* Results Screen */
.results-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.results-header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.profile-card {
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    animation: cardBreathe 3s ease-in-out infinite, fadeSlideUp 0.8s ease-out;
}

.profile-overview {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    animation: sectionBreathe 4s ease-in-out infinite;
}

.profile-overview h2 {
    color: #ffd700;
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: titleFloat 2s ease-in-out infinite;
}

.overall-score {
    font-size: 4em;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: scorePulse 2s ease-in-out infinite;
}

@keyframes scorePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                     0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.08);
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
                     0 0 60px rgba(255, 215, 0, 0.5),
                     0 0 90px rgba(255, 215, 0, 0.3);
    }
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.factor-result {
    padding: 20px;
    border-radius: 12px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.factor-result:nth-child(1) { animation-delay: 0.2s; }
.factor-result:nth-child(2) { animation-delay: 0.4s; }
.factor-result:nth-child(3) { animation-delay: 0.6s; }
.factor-result:nth-child(4) { animation-delay: 0.8s; }
.factor-result:nth-child(5) { animation-delay: 1.0s; }
.factor-result:nth-child(6) { animation-delay: 1.2s; }
.factor-result:nth-child(7) { animation-delay: 1.4s; }
.factor-result:nth-child(8) { animation-delay: 1.6s; }
.factor-result:nth-child(9) { animation-delay: 1.8s; }
.factor-result:nth-child(10) { animation-delay: 2.0s; }

.factor-result:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.factor-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    transition: width 0.5s ease;
}

.factor-result h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.factor-score {
    font-size: 2.5em;
    font-weight: 700;
    margin: 10px 0;
    animation: numberPulse 2.5s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.factor-bar {
    height: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.factor-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.factor-result.high {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.factor-result.high .factor-score {
    color: #4caf50;
}

.factor-result.high .factor-bar-fill {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.factor-result.medium {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.factor-result.medium .factor-score {
    color: #ff9800;
}

.factor-result.medium .factor-bar-fill {
    background: linear-gradient(90deg, #ff9800, #ffc107);
}

.factor-result.low {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.factor-result.low .factor-score {
    color: #f44336;
}

.factor-result.low .factor-bar-fill {
    background: linear-gradient(90deg, #f44336, #ff5722);
}

.recommendations {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.recommendations h3 {
    color: #ffd700;
    font-size: 2em;
    margin-bottom: 20px;
}

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

.recommendations li {
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

.action-buttons {
    text-align: center;
    margin-top: 40px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(10, 10, 10, 0.98);
    color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.3);
    margin: 3% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content.large {
    max-width: 1100px;
}

.close-modal {
    color: rgba(255, 215, 0, 0.7);
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #ffd700;
}

.modal-content h2 {
    color: #ffd700;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: rgba(255, 215, 0, 0.9);
    font-size: 1.8em;
    margin: 30px 0 15px;
}

.modal-content h4 {
    color: #ffd700;
    font-size: 1.4em;
    margin: 20px 0 10px;
}

.theory-intro {
    background: rgba(255, 215, 0, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #ffd700;
}

.theory-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.dewey-connection {
    background: rgba(255, 215, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
    font-style: italic;
}

.chc-factor {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.chc-factor:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.chc-factor p {
    margin: 10px 0;
    font-size: 1.05em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.bridge-connection {
    background: linear-gradient(135deg, #ffd70030, #ff8c0030);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
    margin-top: 15px;
    font-weight: 600;
}

.theory-footer {
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.theory-footer h3 {
    color: #ffd700;
    margin-bottom: 20px;
}

.theory-footer ul {
    margin: 20px 0;
    padding-left: 25px;
}

.theory-footer li {
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.dewey-final {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    font-style: italic;
    font-weight: 600;
    text-align: center;
    font-size: 1.2em;
}

/* Development Plan Styles */
.development-plan {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 140, 0, 0.05));
    border-radius: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
}

.plan-week {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-left: 6px solid #ffd700;
    transition: all 0.3s ease;
}

.plan-week:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.week-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.week-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #0a0a0a;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
}

.week-header h3 {
    color: #ffd700;
    font-size: 1.8em;
    margin: 0;
}

.plan-content {
    color: rgba(255, 255, 255, 0.9);
}

.focus-factor {
    font-size: 1.3em;
    color: #ffd700;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.current-target {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(90deg, rgba(244, 67, 54, 0.1), rgba(255, 215, 0, 0.1), rgba(76, 175, 80, 0.1));
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.current-target .current {
    color: #ff6b6b;
    font-weight: 600;
}

.current-target .arrow {
    font-size: 1.5em;
    color: #ffd700;
}

.current-target .target {
    color: #51cf66;
    font-weight: 700;
}

.plan-activities {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.plan-activities h4 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-size: 1.3em;
}

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

.plan-activities li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.plan-activities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.3em;
}

.plan-rationale {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.plan-rationale strong {
    color: #ffd700;
    font-size: 1.1em;
}

.graduation-box {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 15px;
    border: 3px solid rgba(76, 175, 80, 0.4);
}

.graduation-box h4 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #51cf66;
}

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

.graduation-box li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.plan-footer {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.recommendation-highlight {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.15));
    border-radius: 10px;
    border-left: 5px solid #ff8c00;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    line-height: 1.7;
    margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-section h1 {
        font-size: 2.5em;
    }
    
    .welcome-card {
        padding: 25px;
    }
    
    .assessment-info {
        grid-template-columns: 1fr;
    }
    
    .btn-start {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
    }
}

/* Collapsible Navigation */
.collapsible-nav {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.collapsible-nav.hidden {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
}

.collapsible-nav .nav-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 140, 0, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 20px 12px 12px;
    border-radius: 0 50px 50px 0;
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    min-width: 50px;
    cursor: pointer;
}

.collapsible-nav .nav-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    flex-shrink: 0;
}

.collapsible-nav .nav-text {
    position: relative;
    font-weight: 700;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease;
}

.collapsible-nav.expanded .nav-text,
.collapsible-nav .nav-button:hover .nav-text {
    max-width: 250px;
    opacity: 1;
    animation: scrollText 8s ease-in-out infinite;
}

@keyframes scrollText {
    0%, 20% {
        transform: translateX(0);
    }
    80%, 100% {
        transform: translateX(calc(-100% + 200px));
    }
}

.collapsible-nav .nav-button:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Mobile Responsive for Collapsible Nav */
@media (max-width: 768px) {
    .collapsible-nav {
        top: auto;
        bottom: 20px;
        left: 10px;
        transform: none;
    }

    .collapsible-nav.hidden {
        transform: translateX(-100%);
    }

    .collapsible-nav .nav-button {
        padding: 10px 15px 10px 10px;
        font-size: 0.9em;
    }

    .collapsible-nav .nav-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
}
