@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
    --primary-gold: #ffd700;
    --secondary-blue: #4fc3f7;
    --accent-cyan: #00e5ff;
    --dark-space: #0a0e27;
    --mid-space: #1a1f3a;
    --light-space: #2a2f4a;
    --text-light: #e8eaf6;
    --text-muted: #b0b8c8;
    --success-green: #00e676;
    --glow-gold: rgba(255, 215, 0, 0.4);
    --glow-cyan: rgba(0, 229, 255, 0.4);
    --completion-green: #4CAF50;
    --completion-orange: #FF9800;
    --completion-pink: #E91E63;
}

/* Princess Pink Theme Variables */
:root[data-theme="princess-pink"] {
    --primary-gold: #d91a7a;
    --secondary-blue: #ff69b4;
    --accent-cyan: #ffc0cb;
    --dark-space: #2a1a2e;
    --mid-space: #3d2340;
    --light-space: #4f2d52;
    --text-light: #fef7f7;
    --text-muted: #e0b3e0;
    --success-green: #ff1493;
    --glow-gold: rgba(217, 26, 122, 0.4);
    --glow-cyan: rgba(255, 192, 203, 0.4);
    --completion-green: #ff1493;
    --completion-orange: #ff69b4;
    --completion-pink: #ffc0cb;
}

/* Princess Pink Theme Specific Overrides */
[data-theme="princess-pink"] body {
    background: radial-gradient(ellipse at bottom, #4a1a4a 0%, #2a1a2a 100%);
}

[data-theme="princess-pink"] .container {
    background: linear-gradient(135deg, rgba(42, 26, 46, 0.98) 0%, rgba(61, 35, 64, 0.95) 100%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 80px rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

[data-theme="princess-pink"] .title-badge {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2) 0%, rgba(255, 182, 193, 0.1) 100%);
    border: 1px solid rgba(255, 20, 147, 0.4);
}

[data-theme="princess-pink"] .main-title .title-learn {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 105, 180, 0.4));
}

[data-theme="princess-pink"] .main-title .title-git {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(217, 26, 122, 0.5));
}

/* Princess Pink Theme Stars - Bright Neon Pink */
[data-theme="princess-pink"] .star {
    background: #ff1493;
    box-shadow: 
        0 0 6px #ff1493,
        0 0 12px #ff1493,
        0 0 18px #ff1493,
        0 0 24px #ff1493;
    animation: twinklePink 2s infinite ease-in-out;
}

/* Princess Pink Theme Mission Brief Override */
[data-theme="princess-pink"] .mission-brief {
    background: linear-gradient(135deg, rgba(217, 26, 122, 0.15) 0%, rgba(255, 105, 180, 0.05) 100%);
    border-left: 5px solid var(--primary-gold);
    box-shadow: 0 4px 15px rgba(217, 26, 122, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes twinklePink {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8);
        box-shadow: 
            0 0 6px #ff1493,
            0 0 12px #ff1493,
            0 0 18px #ff1493,
            0 0 24px #ff1493;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.4);
        box-shadow: 
            0 0 8px #ff1493,
            0 0 16px #ff1493,
            0 0 24px #ff1493,
            0 0 32px #ff1493,
            0 0 40px #ff69b4;
    }
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(0.8);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(1000px) translateY(500px);
        opacity: 0;
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 80px rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out;
}

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

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

.reading-time-badge {
    display: inline-block;
    color: var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(79, 195, 247, 0.3);
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.2);
    animation: badgeFadeIn 0.6s ease-out;
}

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

.title-wrapper {
    position: relative;
    padding: 2rem 0;
}

.title-badge {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    letter-spacing: 3px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(79, 195, 247, 0.1) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    margin-bottom: 1.5rem;
    animation: badgePulse 2s infinite;
}

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

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.title-learn {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlowBlue 3s infinite alternate;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
    filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.4));
}

.title-git {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlowGold 3s infinite alternate;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    margin-left: 0.2rem;
}

.title-dot {
    color: var(--accent-cyan);
    animation: dotBlink 2s infinite;
    text-shadow: 0 0 20px var(--accent-cyan);
}

.title-space {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes titleGlowBlue {
    0% { filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.3)); }
    100% { filter: drop-shadow(0 0 25px rgba(79, 195, 247, 0.6)); }
}

@keyframes titleGlowGold {
    0% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3)); }
    100% { filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6)); }
}

@keyframes dotBlink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

.title-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), var(--secondary-blue), transparent);
    margin: 1.5rem auto 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: dividerGlow 3s infinite alternate;
}

@keyframes dividerGlow {
    0% { 
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        width: 200px;
    }
    100% { 
        box-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
        width: 240px;
    }
}

header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    animation: headerPulse 4s infinite;
    z-index: -1;
}

@keyframes headerPulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1); 
        opacity: 0.2; 
    }
    50% { 
        transform: translateX(-50%) scale(1.3); 
        opacity: 0.4; 
    }
}

.subtitle {
    font-size: 1rem;
    color: var(--secondary-blue);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px var(--glow-cyan);
    margin-top: 0.5rem;
    opacity: 0.9;
}

h2 {
    font-family: 'Orbitron', monospace;
    color: var(--secondary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-gold);
    text-shadow: 0 0 10px var(--glow-cyan);
}

h2::before {
    content: '▸';
    position: absolute;
    left: -0.3rem;
    color: var(--primary-gold);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

h3 {
    color: var(--success-green);
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

li {
    margin-bottom: 0.7rem;
    color: var(--text-light);
    position: relative;
    padding-left: 0.5rem;
}

ul li::before {
    content: '◆';
    position: absolute;
    left: -1.5rem;
    color: var(--accent-cyan);
    font-size: 0.7rem;
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--primary-gold);
    border-bottom: 1px solid var(--primary-gold);
    text-shadow: 0 0 8px var(--glow-gold);
}

code {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    color: var(--accent-cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    font-weight: 500;
}

pre {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 31, 58, 0.4) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-gold);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

pre::before {
    content: '< CODE >';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'Orbitron', monospace;
    opacity: 0.5;
}

pre code {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    color: var(--success-green);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mission-brief {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left: 5px solid var(--primary-gold);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mission-brief::before {
    content: '⚡';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.2;
}

.mission-brief h3 {
    color: var(--primary-gold);
    margin-top: 0;
    font-family: 'Orbitron', monospace;
}

/* Path Selection Styles */
.path-selection-container {
    margin: 3rem 0;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.path-selection-container h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.path-selection-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.path-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.path-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(42, 47, 74, 0.6) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(79, 195, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover::before {
    opacity: 1;
}

.novice-path {
    border-color: rgba(255, 215, 0, 0.3);
}

.advanced-path {
    border-color: rgba(79, 195, 247, 0.3);
    position: relative;
}

.advanced-path.unlocked {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    animation: pathUnlock 0.5s ease-out;
}

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

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.novice-path:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.advanced-path:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
}

.path-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.path-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.novice-path .path-header h3 {
    color: var(--primary-gold);
}

.advanced-path .path-header h3 {
    color: var(--secondary-blue);
}

.path-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Selected Path Styles */
.path-card.path-selected {
    border-width: 3px;
    transform: translateY(-3px);
}

.novice-path.path-selected {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.advanced-path.path-selected {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.path-card.path-selected::before {
    opacity: 0.7;
}

/* Current Path Indicator */
.current-path-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-path-indicator i {
    color: var(--success-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.completion-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--success-green);
    animation: completionPulse 2s infinite;
}

@keyframes completionPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.5); }
}

.badge-icon {
    font-size: 1.2rem;
}

.path-lock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.2) 0%, rgba(158, 158, 158, 0.1) 100%);
    border: 1px solid rgba(158, 158, 158, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lock-icon {
    font-size: 1.2rem;
}

.path-description {
    text-align: left;
    margin-bottom: 2rem;
}

.path-description p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.path-features {
    list-style: none;
    padding: 0;
}

.path-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.path-features li:last-child {
    border-bottom: none;
}

.path-button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffed4e 100%);
    color: var(--dark-space);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.advanced-path .path-button {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-cyan) 100%);
    color: var(--text-light);
}

.path-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.advanced-path .path-button:hover {
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4);
}

.path-button:active {
    transform: translateY(0);
}

.path-button.advanced-coming-soon {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.3) 0%, rgba(158, 158, 158, 0.2) 100%);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.path-button.advanced-coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.path-navigation {
    text-align: center;
    margin-top: 2rem;
}

.back-to-paths-btn {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(0, 229, 255, 0.1) 100%);
    border: 1px solid rgba(79, 195, 247, 0.4);
    color: var(--secondary-blue);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-to-paths-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(42, 47, 74, 0.9) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
}

.modal-header h3 {
    color: var(--primary-gold);
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.modal-body {
    text-align: left;
    margin-bottom: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-muted);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-cancel {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.3) 0%, rgba(158, 158, 158, 0.2) 100%);
    border: 1px solid rgba(158, 158, 158, 0.5);
    color: var(--text-muted);
}

.modal-cancel:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: var(--text-light);
}

.modal-confirm {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-cyan) 100%);
    color: var(--text-light);
}

.modal-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4);
}

/* Responsive Design for Path Selection */
@media (max-width: 768px) {
    .path-card {
        padding: 1.5rem;
    }
    
    .path-selection-container h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .toc-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .toc-section-title {
        font-size: 1.4rem;
        width: 100%;
        border-left: 3px solid var(--primary-gold); /* Thinner border on mobile */
        padding-left: 0.75rem;
    }
    
    .phase-duration {
        align-self: flex-end;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: 60px; /* Smaller min-width on mobile */
    }
    
    .toc-section a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .chapter-time {
        align-self: flex-end;
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

.toc {
    margin: 3rem 0;
    counter-reset: phase-counter;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.toc h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.toc > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.toc-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.4) 0%, rgba(42, 47, 74, 0.2) 100%);
    border-radius: 15px;
    border: 1px solid rgba(79, 195, 247, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Prevents content from overflowing container */
}

.toc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
    flex-wrap: nowrap;
}

.toc-section-title {
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin-bottom: 0;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 15px var(--glow-gold);
    border-left: 4px solid var(--primary-gold);
    padding-left: 1rem;
    flex: 1;
    min-width: 0; /* Allows title to shrink if needed */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phase-duration {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(0, 229, 255, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    animation: pulseDuration 3s infinite;
    flex-shrink: 0; /* Prevents badge from shrinking */
    white-space: nowrap; /* Prevents text wrapping */
    min-width: 70px; /* Ensures consistent minimum width */
    text-align: center;
}

@keyframes pulseDuration {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    }
}

.toc-section-desc {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.toc-section ol {
    list-style: none;
    padding: 0;
}

.toc-section li {
    counter-increment: phase-counter;
    margin: 1.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.toc-section li::before {
    content: "Phase " counter(phase-counter);
    display: inline-block;
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(79, 195, 247, 0.1) 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 0.5rem;
}

.toc-section li:hover {
    transform: translateX(10px);
}

.toc-section a {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(42, 47, 74, 0.4) 100%);
    border-radius: 8px;
    border: 1px solid rgba(79, 195, 247, 0.2);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.chapter-title-text {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
}

.chapter-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.3rem;
    font-weight: 300;
}



.chapter-time {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(79, 195, 247, 0.1) 100%);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent-cyan);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    align-self: center;
}

.toc-section a:hover {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: var(--primary-gold);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2), 0 0 40px rgba(79, 195, 247, 0.1);
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(79, 195, 247, 0.1);
}

.home-link:hover {
    color: var(--primary-gold);
    transform: translateX(-8px);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px var(--glow-gold);
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--secondary-blue), transparent) 1;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--secondary-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(255, 215, 0, 0.2) 100%);
    border-color: var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3), 0 0 40px rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.author-info a {
    color: var(--secondary-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.author-info a:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 10px var(--glow-gold);
}

.command-example::before {
    content: '▶ MISSION COMMAND';
    display: block;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
    font-weight: 700;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-space);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-blue) 0%, var(--primary-gold) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--primary-gold) 100%);
}

::selection {
    background: var(--primary-gold);
    color: var(--dark-space);
}

strong {
    color: var(--primary-gold);
    font-weight: 600;
}

em {
    color: var(--accent-cyan);
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 15px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .title-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .navigation {
        flex-direction: column;
    }

    .toc-section li {
        margin: 1.2rem 0;
    }

    .toc-section li::before {
        display: block;
        margin-bottom: 0.5rem;
    }

    .toc-section a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .title-badge {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .container {
        padding: 1.5rem 1rem;
    }
}

/* Mission Stats Cards */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
    animation: statRotate 8s linear infinite;
}

@keyframes statRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3), 0 0 60px rgba(79, 195, 247, 0.2);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 20px var(--glow-gold);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .mission-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ====================================
   PROGRESS TRACKER STYLES
   ==================================== */

/* Completion Overlay */
.completion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: overlayFadeIn 0.3s ease-out;
}

.completion-overlay.fade-out {
    animation: overlayFadeOut 0.3s ease-out;
}

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

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

/* Completion Card */
.completion-card {
    background: linear-gradient(135deg, var(--mid-space) 0%, var(--dark-space) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--primary-gold);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px var(--glow-gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

@keyframes cardBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.completion-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: iconPulse 1s ease-in-out infinite;
}

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

.completion-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-gold);
}

.completion-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.completion-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.completion-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.completion-stats .stat strong {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-blue);
    text-shadow: 0 0 15px var(--glow-cyan);
}

.completion-stats .stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-mission-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffed4e 100%);
    color: var(--dark-space);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 25px var(--glow-gold);
}

.next-mission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--glow-gold);
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 10001;
    animation: confettiFall linear forwards;
    opacity: 0;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

/* Chapter Completion Badge */
.chapter-completion-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(26, 31, 58, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.chapter-completion-badge.completed {
    border-color: var(--completion-green);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(26, 31, 58, 0.95) 100%);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
}

.chapter-completion-badge .badge-icon {
    font-size: 1.2rem;
}

.chapter-completion-badge.completed .badge-icon {
    animation: checkPulse 2s ease-in-out infinite;
}

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

/* Overall Progress Widget */
.overall-progress-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.98) 0%, rgba(42, 47, 74, 0.95) 100%);
    padding: 1.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    z-index: 10000;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    min-width: 220px;
    animation: floatWidget 6s ease-in-out infinite, fadeInWidget 0.8s ease-out;
    transition: all 0.3s ease;
}

.overall-progress-widget:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--accent-cyan);
}

@keyframes floatWidget {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInWidget {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overall-progress-widget h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-gold);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px var(--glow-gold);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 15px var(--glow-gold);
    }
    50% {
        text-shadow: 0 0 25px var(--glow-gold), 0 0 35px rgba(255, 215, 0, 0.4);
    }
}

.circular-progress {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.circular-progress svg {
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
}

.circular-progress .progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 10;
}

.circular-progress .progress-bar {
    fill: none;
    stroke: var(--primary-gold);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1s ease;
    filter: drop-shadow(0 0 15px var(--glow-gold));
    animation: progressGlow 3s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--glow-gold));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--glow-gold)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    }
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-gold);
    text-shadow: 0 0 20px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.4);
    animation: percentagePulse 2s ease-in-out infinite;
}

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

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

/* Section Progress Bars */
.section-progress-bar {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-gold) 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px var(--glow-cyan);
}

.progress-text {
    font-size: 0.85rem;
    color: var(--secondary-blue);
    font-weight: 600;
}

/* Complete Badge */
.complete-badge {
    display: inline-block;
    background: var(--completion-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
    animation: badgePop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badgePop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mission-complete {
    position: relative;
}

.mission-complete::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, transparent 100%);
    border-radius: 15px;
    pointer-events: none;
}

/* Chapter Links with Completion */
.chapter-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--completion-green);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    animation: checkAppear 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.chapter-complete {
    position: relative;
}

.chapter-complete::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--completion-green);
    opacity: 0.3;
}

/* Responsive Progress Tracker */
@media (max-width: 768px) {
    .completion-card {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .completion-card h2 {
        font-size: 1.5rem;
    }
    
    .completion-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chapter-completion-badge {
        top: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .overall-progress-widget {
        display: none;
    }
}

/* ================================
   CONTRIBUTORS PAGE STYLES
   ================================ */

/* Loading and Error States */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-space);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-container {
    text-align: center;
    padding: 4rem 2rem;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.error-message h3 {
    color: #ff5722;
    margin-bottom: 0.5rem;
}

.retry-btn {
    background: var(--primary-gold);
    color: var(--dark-space);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin: 3rem 0 2rem;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Creator Card */
.creator-card {
    max-width: 600px;
    margin: 0 auto 4rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(79, 195, 247, 0.05) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.creator-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-blue), var(--accent-cyan));
    border-radius: 16px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.creator-card-content {
    background: var(--dark-space);
    border-radius: 14px;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Contributors Grid */
.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Contributor Cards */
.contributor-card, .creator-card-content {
    background: rgba(42, 47, 74, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contributor-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Contributor Header */
.contributor-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contributor-avatar {
    position: relative;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contributor-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    object-fit: cover;
}

.contributor-role {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid var(--dark-space);
}

.role-creator {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: var(--dark-space);
}

.role-core {
    background: linear-gradient(45deg, #4fc3f7, #00e5ff);
    color: var(--dark-space);
}

.role-regular {
    background: linear-gradient(45deg, #9c27b0, #e91e63);
    color: white;
}

.role-contributor {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: var(--dark-space);
}

/* Contributor Info */
.contributor-info {
    flex: 1;
}

.contributor-name {
    font-family: 'Orbitron', monospace;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creator-crown {
    color: var(--primary-gold);
    animation: pulse 2s infinite;
}

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

.contributor-username {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contributor-role-text {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contributor-role-text.role-creator {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.contributor-role-text.role-core {
    background: rgba(79, 195, 247, 0.2);
    color: var(--secondary-blue);
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.contributor-role-text.role-regular {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.contributor-role-text.role-contributor {
    background: rgba(76, 175, 80, 0.2);
    color: #a5d6a7;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Contributor Stats */
.contributor-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.stat i {
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contributor Bio */
.contributor-bio {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Contributor Actions */
.contributor-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contributor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.contributor-link:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
}

/* Contribute Section */
.contribute-section {
    margin: 4rem 0;
}

.contribute-card {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contribute-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contribute-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contribute-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contribute-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contribute-btn.primary {
    background: var(--secondary-blue);
    color: var(--dark-space);
}

.contribute-btn.primary:hover {
    background: #29b6f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.contribute-btn.secondary {
    background: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.contribute-btn.secondary:hover {
    background: var(--secondary-blue);
    color: var(--dark-space);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contributors-grid {
        grid-template-columns: 1fr;
    }
    
    .creator-card {
        margin: 0 1rem 3rem;
        padding: 1.5rem;
    }
    
    .contributor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contributor-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contributor-stats {
        justify-content: center;
    }
    
    .contribute-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contribute-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Contributors Link Styling */
.contributors-link {
    color: var(--secondary-blue) !important;
    text-decoration: none;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.contributors-link:hover {
    color: var(--accent-cyan) !important;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .contributor-name {
        font-size: 1.1rem;
    }
    
    .contributor-avatar img {
        width: 56px;
        height: 56px;
    }
    
    .contributor-role {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .contribute-card {
        padding: 2rem 1.5rem;
    }
    
    .contribute-card h3 {
        font-size: 1.3rem;
    }
}

/* Theme Selector Styles */
.theme-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

/* Footer Theme Selector */
.footer-theme-selector {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.theme-selector-label {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.footer-theme-selector .theme-toggle {
    background: linear-gradient(135deg, rgba(42, 47, 74, 0.8) 0%, rgba(26, 31, 58, 0.6) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-theme-selector .theme-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.theme-switch-hint {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: 0.5rem;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.theme-toggle {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.theme-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-gold);
}

.theme-toggle:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.theme-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: scale(1.1) rotate(10deg);
}

.theme-label {
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Princess theme toggle button styling */
[data-theme="princess-pink"] .theme-toggle {
    border-color: rgba(255, 105, 180, 0.3);
}

[data-theme="princess-pink"] .theme-toggle:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 20px rgba(217, 26, 122, 0.3);
}

/* Mobile theme selector adjustments */
@media (max-width: 768px) {
    .theme-selector {
        top: 15px;
        left: 15px;
    }
    
    .footer-theme-selector {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }
    
    .theme-selector-label {
        font-size: 0.8rem;
    }
    
    .footer-theme-selector .theme-toggle {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .theme-switch-hint {
        font-size: 0.7rem;
        margin-left: 0;
    }
    
    .theme-icon {
        font-size: 1rem;
    }
    
    /* Footer theme selector mobile adjustments */
    .footer-theme-selector {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }
    
    .footer-theme-selector .theme-toggle {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Font Awesome Icon Styling */
.fas, .far, .fab {
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Title and section header icons */
.toc-section-title .fas,
.main-title .fas,
h1 .fas,
h2 .fas {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 8px var(--glow-gold));
    animation: iconGlow 3s infinite alternate;
}

/* Princess Pink theme icon colors */
[data-theme="princess-pink"] .toc-section-title .fas,
[data-theme="princess-pink"] .main-title .fas,
[data-theme="princess-pink"] h1 .fas,
[data-theme="princess-pink"] h2 .fas {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 8px rgba(217, 26, 122, 0.6));
}

/* Reading time badge icons */
.reading-time-badge .fas {
    color: var(--accent-cyan);
    margin-right: 0.3rem;
}

[data-theme="princess-pink"] .reading-time-badge .fas {
    color: var(--accent-cyan);
}

/* Completion icon styling */
.completion-icon .fas {
    font-size: 2rem;
    color: var(--primary-gold);
    filter: drop-shadow(0 0 15px var(--glow-gold));
}

[data-theme="princess-pink"] .completion-icon .fas {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 15px rgba(217, 26, 122, 0.6));
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px var(--glow-gold));
    }
    50% {
        filter: drop-shadow(0 0 15px var(--glow-gold));
    }
}

/* ===== ADVANCED PATH STYLES ===== */

/* Commander Level Badge */
.difficulty-badge.commander {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: commanderGlow 3s ease-in-out infinite;
}

@keyframes commanderGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
        transform: scale(1.02);
    }
}

/* Commander Alert Box */
.commander-alert {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.commander-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    animation: shimmer 2s linear infinite;
}

.commander-alert i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.commander-alert strong {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

/* Comparison Matrix */
.comparison-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.matrix-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.matrix-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.matrix-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.matrix-header h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strategy-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.matrix-content h4 {
    color: var(--primary-gold);
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.matrix-content ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Merge vs Rebase specific styling */
.merge-card {
    border-left: 4px solid #28a745;
}

.rebase-card {
    border-left: 4px solid #007bff;
}

/* Command Demonstration */
.command-demonstration {
    background: rgba(10, 15, 25, 0.9);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.demo-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.demo-header h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.command-example {
    margin-bottom: 2rem;
}

.command-title {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rebase-interface {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-gold);
}

.rebase-interface h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Advanced Techniques */
.advanced-techniques {
    margin: 3rem 0;
}

.technique-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.technique-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.technique-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.technique-card h4 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Safety Protocols */
.safety-alert {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(255, 69, 0, 0.05) 100%);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.safety-alert i {
    color: #ff4500;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.safety-alert strong {
    color: #ff6347;
}

.safety-protocols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.protocol-section, .recovery-section {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.protocol-section h3, .recovery-section h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Lab Steps */
.lab-steps {
    margin: 2rem 0;
}

.lab-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffd700 100%);
    color: #1a1a1a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Workflow Strategies */
.workflow-strategies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.workflow-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.workflow-card h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Mission Scenario */
.mission-scenario {
    background: linear-gradient(135deg, rgba(72, 61, 139, 0.1) 0%, rgba(106, 90, 205, 0.05) 100%);
    border: 2px solid rgba(106, 90, 205, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.mission-scenario h3 {
    color: #9370db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Coming Soon Styles */
.coming-soon-section {
    opacity: 0.6;
    position: relative;
}

.phase-coming-soon {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.phase-available {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.mission-link.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.chapter-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.chapter-badge.new {
    background: linear-gradient(135deg, #00ff7f 0%, #32cd32 100%);
    color: #1a1a1a;
    box-shadow: 0 0 8px rgba(0, 255, 127, 0.4);
    animation: pulse-new 2s infinite;
}

@keyframes pulse-new {
    0%, 100% { 
        box-shadow: 0 0 8px rgba(0, 255, 127, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 15px rgba(0, 255, 127, 0.6);
        transform: scale(1.05);
    }
}

.advanced-mission-control {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.95) 0%, rgba(25, 35, 45, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.advanced-mission-control h2 {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.advanced-completion {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffd700 100%);
    color: #1a1a1a;
}

/* ===== BRANCHING STRATEGIES STYLES ===== */

/* Strategy Overview */
.strategy-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.strategy-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.strategy-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.strategy-header h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.strategy-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strategy-badge.complex {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.strategy-badge.agile {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.strategy-badge.balanced {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.strategy-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.metric {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* GitFlow Diagram */
.gitflow-diagram {
    background: rgba(10, 15, 25, 0.9);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.branch-visualization {
    overflow-x: auto;
    padding: 1rem 0;
}

.branch-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 800px;
}

.branch-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.branch-label {
    min-width: 120px;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.main-branch .branch-label {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.develop-branch .branch-label {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.feature-branch .branch-label {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.release-branch .branch-label {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    color: white;
}

.hotfix-branch .branch-label {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.branch-description {
    min-width: 200px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.commit-dots {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.commit-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.commit-dot.release {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.commit-dot.feature {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.commit-dot.hotfix {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}

/* GitHub Flow Principles */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.4);
}

.principle-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.principle-card h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Flow Steps */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.step-icon {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffd700 100%);
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Feature Workflow */
.workflow-diagram {
    background: rgba(10, 15, 25, 0.9);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.main-timeline {
    min-width: 600px;
}

.timeline-branch {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-branch.main {
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 2rem;
}

.timeline-branch .branch-name {
    min-width: 150px;
    font-weight: 600;
    color: var(--primary-gold);
}

.commits {
    display: flex;
    gap: 1rem;
}

.commit {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.commit.stable {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 0 6px rgba(52, 73, 94, 0.5);
}

.commit.feature {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.5);
}

/* Practice Items */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.practice-item {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.practice-item h4 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Protection Rules */
.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.protection-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-left: 4px solid #dc143c;
}

.protection-card h4 {
    color: #ff6347;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Decision Table */
.decision-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.decision-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.decision-table th,
.decision-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.decision-table th {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    font-weight: 600;
}

.decision-table td strong {
    color: var(--primary-gold);
}

/* Emergency Step */
.workflow-step.emergency {
    border-left-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.workflow-step.emergency .step-number {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

/* Responsive Design */
@media (max-width: 968px) {
    .comparison-matrix {
        grid-template-columns: 1fr;
    }
    
    .technique-cards {
        grid-template-columns: 1fr;
    }
    
    .safety-protocols {
        grid-template-columns: 1fr;
    }
    
    .workflow-strategies {
        grid-template-columns: 1fr;
    }
    
    .lab-step {
        flex-direction: column;
        text-align: center;
    }
    
    .phase-coming-soon {
        display: block;
        margin: 0.5rem 0;
    }
    
    .strategy-comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .practices-grid {
        grid-template-columns: 1fr;
    }
    
    .protection-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .branch-timeline {
        min-width: 600px;
    }
}

/* Three Trees Architecture Styling */
.three-trees-diagram {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #4fd1c7;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.trees-visualization {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.tree {
    background: linear-gradient(145deg, #0f3460, #1e3c72);
    border: 2px solid #00d4aa;
    border-radius: 15px;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.tree:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

.tree-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #4fd1c7;
}

.tree-header h4 {
    color: #4fd1c7;
    margin: 0;
    font-size: 1.3em;
}

.tree-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.tree-badge.active {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.tree-badge.staged {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: #1a1a1a;
}

.tree-badge.committed {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    color: white;
}

.tree-content p {
    color: #a8e6cf;
    margin-bottom: 1rem;
    font-weight: bold;
}

.tree-content ul {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.tree-files {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
}

.tree-commits {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
}

.file, .commit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin: 0.3rem 0;
    background: rgba(79, 209, 199, 0.1);
    border-radius: 5px;
    border-left: 3px solid #4fd1c7;
}

.file.modified {
    border-left-color: #ff6b6b;
}

.file.untracked {
    border-left-color: #feca57;
}

.file.staged {
    border-left-color: #48dbfb;
}

.file.clean {
    border-left-color: #a8e6cf;
}

.status {
    font-size: 0.8em;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: bold;
}

.file.modified .status {
    background: #ff6b6b;
    color: white;
}

.file.untracked .status {
    background: #feca57;
    color: #1a1a1a;
}

.file.staged .status {
    background: #48dbfb;
    color: white;
}

.file.clean .status {
    background: #a8e6cf;
    color: #1a1a1a;
}

.tree-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #4fd1c7;
    font-size: 1.5em;
    margin: 1rem 0;
}

.tree-arrow span {
    font-size: 0.7em;
    color: #a8e6cf;
    font-weight: bold;
    background: rgba(79, 209, 199, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* Operations Matrix */
.operations-matrix {
    margin: 2rem 0;
    overflow-x: auto;
}

.operation-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.operation-table th {
    background: linear-gradient(45deg, #4fd1c7, #00d4aa);
    color: #1a1a1a;
    padding: 1rem;
    font-weight: bold;
    text-align: left;
}

.operation-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(79, 209, 199, 0.2);
    color: #ffffff;
}

.operation-table tr:hover {
    background: rgba(79, 209, 199, 0.1);
}

.operation-table tr.dangerous {
    background: rgba(255, 107, 107, 0.1);
}

.operation-table code {
    background: rgba(0, 0, 0, 0.5);
    color: #4fd1c7;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.unchanged {
    color: #a8e6cf;
    font-weight: bold;
}

.updated {
    color: #48dbfb;
    font-weight: bold;
}

.updated.danger {
    color: #ff6b6b;
    font-weight: bold;
}

.safe {
    background: linear-gradient(45deg, #a8e6cf, #7bed9f);
    color: #1a1a1a;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.caution {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: #1a1a1a;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Reset Operations Cards */
.reset-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.reset-card {
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reset-card.soft {
    background: linear-gradient(145deg, #0f5132, #198754);
    border: 2px solid #a8e6cf;
}

.reset-card.mixed {
    background: linear-gradient(145deg, #664d03, #ffc107);
    border: 2px solid #feca57;
    color: #1a1a1a;
}

.reset-card.hard {
    background: linear-gradient(145deg, #721c24, #dc3545);
    border: 2px solid #ff6b6b;
}

.reset-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.reset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.reset-header h3 {
    margin: 0;
    font-size: 1.4em;
}

.safety-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.safety-badge.safe {
    background: #a8e6cf;
    color: #1a1a1a;
}

.safety-badge.caution {
    background: #feca57;
    color: #1a1a1a;
}

.safety-badge.danger {
    background: #ff6b6b;
    color: white;
    animation: pulse 2s infinite;
}

.command-example {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.command-example h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.use-cases h4 {
    color: #4fd1c7;
    margin: 1.5rem 0 1rem 0;
}

.example-scenario {
    background: rgba(79, 209, 199, 0.1);
    border-left: 4px solid #4fd1c7;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
}

.example-scenario h4 {
    color: #4fd1c7;
    margin-bottom: 0.5rem;
}

.danger-warning {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(238, 90, 36, 0.2));
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 1rem;
}

.safety-protocol {
    background: rgba(168, 230, 207, 0.1);
    border-left: 4px solid #a8e6cf;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
}

.safety-protocol h4 {
    color: #a8e6cf;
    margin-bottom: 1rem;
}

/* Checkout Operations */
.checkout-strategies {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.checkout-type {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4fd1c7;
    border-radius: 15px;
    padding: 2rem;
}

.checkout-type h3 {
    color: #4fd1c7;
    margin-bottom: 1.5rem;
}

.checkout-examples {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
}

.detached-head-warning {
    display: flex;
    gap: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.warning-icon {
    color: #ffc107;
    font-size: 1.5em;
    flex-shrink: 0;
}

.warning-content h4 {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Checkout vs Reset Comparison */
.checkout-vs-reset {
    margin: 3rem 0;
}

.decision-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.checkout-card {
    background: linear-gradient(145deg, #0f5132, #198754);
    border: 2px solid #a8e6cf;
}

.reset-card {
    background: linear-gradient(145deg, #721c24, #dc3545);
    border: 2px solid #ff6b6b;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.comparison-card h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2em;
}

.comparison-card li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* Revert Operations */
.revert-strategies {
    margin: 2rem 0;
}

.revert-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.scenario-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4fd1c7;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

.scenario-card h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.scenario-content p {
    margin-bottom: 1rem;
    font-weight: bold;
    color: #a8e6cf;
}

.revert-advantages {
    margin: 3rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #0f3460, #1e3c72);
    border: 2px solid #00d4aa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

.advantage-item i {
    font-size: 2.5em;
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

/* Emergency Labs */
.emergency-labs {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.emergency-lab {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.emergency-lab.critical {
    border: 3px solid #ff6b6b;
    background: linear-gradient(145deg, #2d1b1b, #3d1a1a);
}

.emergency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4fd1c7;
}

.emergency-header h3 {
    color: #4fd1c7;
    margin: 0;
}

.severity {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
}

.severity.low {
    background: linear-gradient(45deg, #a8e6cf, #7bed9f);
    color: #1a1a1a;
}

.severity.medium {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: #1a1a1a;
}

.severity.high {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.severity.critical {
    background: linear-gradient(45deg, #8b0000, #ff0000);
    color: white;
    animation: pulse 2s infinite;
}

.lab-steps {
    display: grid;
    gap: 1.5rem;
}

.lab-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #4fd1c7, #00d4aa);
    color: #1a1a1a;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

/* Response Protocols */
.response-protocols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.protocol-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4fd1c7;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

.protocol-header h3 {
    color: #4fd1c7;
    margin: 0 0 1.5rem 0;
}

.protocol-steps ol {
    padding-left: 1.5rem;
}

.protocol-steps li {
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border-left: 3px solid #4fd1c7;
}

.decision-tree {
    display: grid;
    gap: 1rem;
}

.decision-node {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    border-left: 4px solid #4fd1c7;
}

.solution {
    color: #a8e6cf;
    font-weight: bold;
    margin-top: 0.5rem;
}

.prevention-list ul {
    padding-left: 1.5rem;
}

.prevention-list li {
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(168, 230, 207, 0.1);
    border-radius: 5px;
    border-left: 3px solid #a8e6cf;
}

/* Emergency Reference */
.emergency-reference {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff6b6b;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ref-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #4fd1c7;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ref-card:hover {
    background: rgba(79, 209, 199, 0.1);
    transform: translateY(-3px);
}

.ref-card h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
    font-size: 1em;
}

.ref-card code {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    color: #a8e6cf;
    padding: 0.8rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Detective/Forensic Investigation Styling */
.commander-alert.detective {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    border: 2px solid #8a2be2;
    color: #ffffff;
}

.commander-alert.detective i {
    color: #8a2be2;
}

/* Filtering Arsenal */
.filtering-arsenal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #8a2be2;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.filter-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.filter-category {
    background: linear-gradient(145deg, #2d1b69, #3d2b7a);
    border: 2px solid #9370db;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.filter-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(147, 112, 219, 0.3);
}

.filter-category h4 {
    color: #9370db;
    margin-bottom: 1.5rem;
    font-size: 1.2em;
}

.filter-examples {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.advanced-filters {
    margin: 3rem 0;
}

.precision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.precision-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4169e1;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.precision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.3);
}

.precision-card h4 {
    color: #4169e1;
    margin-bottom: 1.5rem;
}

/* Forensic Analysis Cards */
.forensic-tools {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.forensic-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forensic-card.blame-analysis {
    border: 3px solid #ffd700;
}

.forensic-card.bisect-analysis {
    border: 3px solid #ff6347;
}

.forensic-card.log-analysis {
    border: 3px solid #32cd32;
}

.forensic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid currentColor;
}

.forensic-header h3 {
    margin: 0;
    font-size: 1.4em;
}

.blame-analysis .forensic-header h3 {
    color: #ffd700;
}

.bisect-analysis .forensic-header h3 {
    color: #ff6347;
}

.log-analysis .forensic-header h3 {
    color: #32cd32;
}

.technique-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
}

.technique-badge.advanced {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
}

.technique-badge.expert {
    background: linear-gradient(45deg, #ff6347, #ff4757);
    color: white;
}

.technique-badge.tactical {
    background: linear-gradient(45deg, #32cd32, #7bed9f);
    color: #1a1a1a;
}

.blame-techniques {
    display: grid;
    gap: 2rem;
}

.blame-interpretation {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.blame-output-example {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.blame-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.legend-color {
    width: 1rem;
    height: 1rem;
    border-radius: 3px;
}

.legend-color.recent {
    background: #ffd700;
}

.legend-color.medium {
    background: #4169e1;
}

.legend-color.old {
    background: #9370db;
}

.legend-color.latest {
    background: #32cd32;
}

/* Bisect Protocol Styling */
.bisect-protocol {
    margin: 2rem 0;
}

.protocol-steps {
    display: grid;
    gap: 2rem;
}

.bisect-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #ff6347, #ff4757);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: #ff6347;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

.bisect-visualization {
    background: rgba(255, 99, 71, 0.1);
    border: 2px solid #ff6347;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.search-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-commits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-x: auto;
}

.commit {
    background: linear-gradient(145deg, #2a5298, #1e3c72);
    border: 2px solid #4169e1;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    transition: all 0.3s ease;
}

.commit.good {
    border-color: #32cd32;
    background: linear-gradient(145deg, #2d5016, #3d6b1e);
}

.commit.bad {
    border-color: #ff6347;
    background: linear-gradient(145deg, #5a2016, #6b2a1e);
}

.commit.testing {
    border-color: #ffd700;
    background: linear-gradient(145deg, #5a5016, #6b601e);
    animation: pulse 2s infinite;
}

.commit.unknown {
    border-color: #9370db;
    opacity: 0.7;
}

.status {
    font-size: 0.8em;
    margin-top: 0.5rem;
    font-weight: bold;
}

.search-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
}

/* Analysis Techniques */
.analysis-techniques {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

/* Formatting Arsenal */
.formatting-arsenal {
    margin: 3rem 0;
}

.format-category {
    margin: 3rem 0;
}

.format-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.format-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4fd1c7;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

.format-card h5 {
    color: #4fd1c7;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

.graph-techniques {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.processing-techniques {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

/* Investigation Labs */
.investigation-scenario {
    background: linear-gradient(135deg, #8b0000, #dc143c);
    border: 3px solid #ff4500;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.investigation-scenario h3 {
    color: #ff4500;
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.investigation-labs {
    display: grid;
    gap: 4rem;
    margin: 3rem 0;
}

.investigation-lab {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4fd1c7;
}

.lab-header h3 {
    color: #4fd1c7;
    margin: 0;
    font-size: 1.3em;
}

.case-difficulty {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
}

.case-difficulty.high {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.case-difficulty.critical {
    background: linear-gradient(45deg, #8b0000, #ff0000);
    color: white;
    animation: pulse 2s infinite;
}

.case-difficulty.medium {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: #1a1a1a;
}

.case-details {
    display: grid;
    gap: 2rem;
}

.evidence-briefing {
    background: rgba(79, 209, 199, 0.1);
    border: 2px solid #4fd1c7;
    border-radius: 15px;
    padding: 2rem;
}

.evidence-briefing h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

.evidence-briefing ul {
    margin: 1rem 0;
}

.evidence-briefing li {
    margin: 0.8rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border-left: 3px solid #4fd1c7;
}

.investigation-steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step .step-number {
    background: linear-gradient(45deg, #4fd1c7, #00d4aa);
    color: #1a1a1a;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step .step-content {
    flex: 1;
}

.step .step-content h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

/* Advanced Investigation Toolkit */
.toolkit-categories {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.toolkit-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border: 2px solid #4fd1c7;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.toolkit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

.toolkit-header h3 {
    color: #4fd1c7;
    margin: 0 0 2rem 0;
    font-size: 1.3em;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #4fd1c7;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(79, 209, 199, 0.1);
    transform: translateY(-3px);
}

.command-item h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
    font-size: 1em;
}

.command-item code {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    color: #a8e6cf;
    padding: 0.8rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.script-examples {
    display: grid;
    gap: 2rem;
}

.script-examples h4 {
    color: #4fd1c7;
    margin: 2rem 0 1rem 0;
    font-size: 1.1em;
}

.alias-setup {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
}

.alias-setup h4 {
    color: #4fd1c7;
    margin-bottom: 1rem;
}

/* Investigation Reference */
.investigation-reference {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #8a2be2;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.investigation-reference h3 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Investigation Elements */
@media (max-width: 768px) {
    .trees-visualization {
        gap: 1rem;
    }
    
    .tree {
        padding: 1rem;
    }
    
    .reset-types {
        grid-template-columns: 1fr;
    }
    
    .decision-comparison {
        grid-template-columns: 1fr;
    }
    
    .revert-scenarios {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .reference-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-categories {
        grid-template-columns: 1fr;
    }
    
    .precision-grid {
        grid-template-columns: 1fr;
    }
    
    .format-showcase {
        grid-template-columns: 1fr;
    }
    
    .timeline-commits {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .blame-legend {
        grid-template-columns: 1fr;
    }
    
    .investigation-steps .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step .step-number {
        margin-bottom: 1rem;
    }
}

/* =============================================================================
   AUTOMATION & CI/CD PHASE STYLING
   ============================================================================= */

/* Commander Alert Automation */
.commander-alert.automation {
    background: linear-gradient(135deg, 
        rgba(100, 149, 237, 0.15) 0%, 
        rgba(72, 61, 139, 0.15) 100%);
    border: 1px solid rgba(100, 149, 237, 0.4);
    box-shadow: 0 0 20px rgba(100, 149, 237, 0.1);
}

.commander-alert.automation i {
    color: #6495ed;
    font-size: 2rem;
}

/* Hooks Architecture */
.hooks-architecture {
    margin: 2rem 0;
}

.hook-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.hook-category {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.hook-category.client-side {
    border-color: rgba(50, 205, 50, 0.4);
    background: linear-gradient(135deg, 
        rgba(15, 25, 35, 0.8) 0%, 
        rgba(50, 205, 50, 0.05) 100%);
}

.hook-category.server-side {
    border-color: rgba(255, 69, 0, 0.4);
    background: linear-gradient(135deg, 
        rgba(15, 25, 35, 0.8) 0%, 
        rgba(255, 69, 0, 0.05) 100%);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.category-header h4 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.local {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.4);
}

.category-badge.remote {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.4);
}

.hook-list {
    margin-top: 1rem;
}

.hook-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid rgba(100, 149, 237, 0.6);
    font-size: 0.9rem;
}

.hook-item strong {
    color: var(--primary-gold);
}

/* Workflow Diagram */
.hooks-workflow {
    margin: 3rem 0;
}

.workflow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-width: 300px;
    position: relative;
}

.workflow-step.hook-trigger {
    background: linear-gradient(135deg, 
        rgba(100, 149, 237, 0.1) 0%, 
        rgba(72, 61, 139, 0.1) 100%);
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f1923;
    font-weight: bold;
}

.workflow-step.hook-trigger .step-icon {
    background: #6495ed;
    color: white;
    animation: pulse 2s infinite;
}

.step-content h4 {
    margin: 0 0 0.25rem 0;
    color: var(--primary-gold);
}

.step-content p {
    margin: 0;
    color: #b0c4de;
    font-size: 0.9rem;
}

.hook-decision {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hook-decision .pass {
    color: #32cd32;
}

.hook-decision .fail {
    color: #ff6347;
}

.workflow-arrow {
    color: var(--primary-gold);
    font-size: 1.5rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(100, 149, 237, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(100, 149, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 149, 237, 0); }
}

/* Client Hooks Section */
.client-hooks {
    margin: 2rem 0;
}

.hook-section {
    margin-bottom: 3rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.hook-section.pre-commit {
    border-color: rgba(50, 205, 50, 0.4);
}

.hook-section.commit-msg {
    border-color: rgba(255, 215, 0, 0.4);
}

.hook-section.post-commit {
    border-color: rgba(138, 43, 226, 0.4);
}

.hook-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hook-header h3 {
    color: var(--primary-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.execution-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.execution-badge.prevent {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.4);
}

.execution-badge.info {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ed;
    border: 1px solid rgba(100, 149, 237, 0.4);
}

.execution-badge.enforce {
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    border: 1px solid rgba(220, 20, 60, 0.4);
}

.execution-badge.deploy {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.4);
}

/* Hook Setup Steps */
.hook-setup, .hook-implementation {
    margin: 1.5rem 0;
}

.setup-steps {
    margin-top: 1rem;
}

.setup-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.setup-step .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: #0f1923;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.step-content h5 {
    color: var(--primary-gold);
    margin: 0 0 0.5rem 0;
}

/* Advanced Examples */
.advanced-examples, .commit-standards, .notification-examples {
    margin: 2rem 0;
}

.example-grid, .notification-grid, .policy-grid, .deployment-workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.example-card, .notification-card, .policy-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.example-card h5, .notification-card h5, .policy-card h5 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Format Examples */
.format-example {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-gold);
}

/* Server Hooks */
.server-hooks {
    margin: 2rem 0;
}

.hook-section.pre-receive {
    border-color: rgba(220, 20, 60, 0.4);
}

.hook-section.post-receive {
    border-color: rgba(50, 205, 50, 0.4);
}

/* Policy Examples */
.policy-examples, .deployment-examples {
    margin: 1.5rem 0;
}

.deployment-workflow {
    grid-template-columns: 1fr;
}

/* Lab Sections */
.automation-labs {
    margin: 2rem 0;
}

.automation-lab {
    margin-bottom: 3rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.lab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-header h3 {
    color: var(--primary-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lab-complexity {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-complexity.intermediate {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.lab-complexity.advanced {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.4);
}

.lab-complexity.expert {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

/* Enterprise Management */
.enterprise-tools {
    margin: 2rem 0;
}

.management-strategy, .hook-configuration, .troubleshooting {
    margin: 2rem 0;
}

.distribution-methods, .config-examples, .troubleshooting-guide {
    margin-top: 1rem;
}

.method-card, .config-card, .issue-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.method-card h4, .config-card h4, .issue-card h4 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution {
    margin-top: 1rem;
}

.solution p strong {
    color: var(--primary-gold);
}

/* Automation Reference */
.automation-reference {
    margin: 2rem 0;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ref-card {
    background: rgba(15, 25, 35, 0.8);
    border: 1px solid rgba(100, 149, 237, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.ref-card h4 {
    color: var(--primary-gold);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.ref-card code {
    color: #6495ed;
    font-size: 0.8rem;
}

/* =============================================================================
   GITHUB ACTIONS & CI/CD PIPELINE STYLING
   ============================================================================= */

/* Pipeline Flow Visualization */
.pipeline-flow {
    margin: 2rem 0;
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.flow-header {
    text-align: center;
    margin-bottom: 2rem;
}

.flow-header h4 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.pipeline-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.pipeline-stage {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 200px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.pipeline-stage.trigger {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 165, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.pipeline-stage.validation {
    background: linear-gradient(135deg, 
        rgba(50, 205, 50, 0.1) 0%, 
        rgba(34, 139, 34, 0.1) 100%);
    border-color: rgba(50, 205, 50, 0.4);
}

.pipeline-stage.testing {
    background: linear-gradient(135deg, 
        rgba(100, 149, 237, 0.1) 0%, 
        rgba(65, 105, 225, 0.1) 100%);
    border-color: rgba(100, 149, 237, 0.4);
}

.pipeline-stage.build {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%, 
        rgba(75, 0, 130, 0.1) 100%);
    border-color: rgba(138, 43, 226, 0.4);
}

.pipeline-stage.deploy {
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.1) 0%, 
        rgba(178, 34, 34, 0.1) 100%);
    border-color: rgba(220, 20, 60, 0.4);
}

.stage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0f1923;
}

.pipeline-stage.trigger .stage-icon {
    background: #ffd700;
    animation: pulse 2s infinite;
}

.pipeline-stage.validation .stage-icon {
    background: #32cd32;
}

.pipeline-stage.testing .stage-icon {
    background: #6495ed;
}

.pipeline-stage.build .stage-icon {
    background: #8a2be2;
}

.pipeline-stage.deploy .stage-icon {
    background: #dc143c;
}

.stage-content h5 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.trigger-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.trigger-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stage-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.stage-steps li {
    padding: 0.25rem 0;
    color: #b0c4de;
}

.pipeline-arrow {
    color: var(--primary-gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(3px); }
}

/* Actions Components Grid */
.actions-components {
    margin: 3rem 0;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.component-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
    position: relative;
}

.component-card.workflow {
    border-color: rgba(255, 215, 0, 0.4);
}

.component-card.job {
    border-color: rgba(50, 205, 50, 0.4);
}

.component-card.step {
    border-color: rgba(100, 149, 237, 0.4);
}

.component-card.action {
    border-color: rgba(138, 43, 226, 0.4);
}

.component-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.component-header h4 {
    color: var(--primary-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.component-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.component-badge.main {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.component-badge.execution {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

.component-badge.action {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ed;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.component-badge.reusable {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.component-content {
    font-size: 0.9rem;
}

.component-content p {
    margin-bottom: 1rem;
}

.component-content ul {
    margin-bottom: 1rem;
    color: #b0c4de;
}

.component-example {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-gold);
    font-size: 0.8rem;
}

.component-example strong {
    color: var(--primary-gold);
}

/* Workflow Engineering Sections */
.workflow-fundamentals {
    margin: 2rem 0;
}

.workflow-section {
    margin-bottom: 3rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.workflow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-header h3 {
    color: var(--primary-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.complexity-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.complexity-badge.beginner {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.4);
}

.complexity-badge.advanced {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.4);
}

/* Workflow Examples */
.workflow-example {
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 0;
    border: 1px solid rgba(100, 149, 237, 0.2);
    overflow: hidden;
}

.workflow-example h4 {
    background: rgba(100, 149, 237, 0.1);
    color: var(--primary-gold);
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid rgba(100, 149, 237, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-example pre {
    margin: 0;
    padding: 1.5rem;
    background: transparent;
    border: none;
}

/* Breakdown Grids */
.breakdown-grid, .pattern-grid, .practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.breakdown-card, .pattern-card, .practice-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.breakdown-card h5, .pattern-card h5, .practice-card h4 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
}

.breakdown-card pre, .pattern-card pre, .practice-card pre {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    border-left: 3px solid rgba(100, 149, 237, 0.5);
}

/* Security Gates Styling */
.security-gates {
    margin: 2rem 0;
}

.security-workflow {
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(220, 20, 60, 0.3);
    margin: 2rem 0;
}

.security-workflow pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0;
}

/* Pipeline Labs */
.pipeline-labs {
    margin: 2rem 0;
}

.pipeline-lab {
    margin-bottom: 3rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

/* Pipeline Reference */
.pipeline-reference {
    margin: 2rem 0;
}

.pipeline-reference .reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pipeline-reference .ref-card {
    background: rgba(15, 25, 35, 0.8);
    border: 1px solid rgba(100, 149, 237, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.pipeline-reference .ref-card h4 {
    color: var(--primary-gold);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.pipeline-reference .ref-card code {
    color: #6495ed;
    font-size: 0.8rem;
}

/* =============================================================================
   ENTERPRISE TOOL INTEGRATION STYLING
   ============================================================================= */

/* Enterprise Architecture Flow */
.enterprise-architecture {
    margin: 3rem 0;
}

.architecture-flow {
    margin: 2rem 0;
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.enterprise-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow-x: auto;
    padding: 2rem 0;
}

.enterprise-stage {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 180px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.enterprise-stage.source {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 165, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.enterprise-stage.orchestration {
    background: linear-gradient(135deg, 
        rgba(50, 205, 50, 0.1) 0%, 
        rgba(34, 139, 34, 0.1) 100%);
    border-color: rgba(50, 205, 50, 0.4);
}

.enterprise-stage.containerization {
    background: linear-gradient(135deg, 
        rgba(100, 149, 237, 0.1) 0%, 
        rgba(65, 105, 225, 0.1) 100%);
    border-color: rgba(100, 149, 237, 0.4);
}

.enterprise-stage.deployment {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%, 
        rgba(75, 0, 130, 0.1) 100%);
    border-color: rgba(138, 43, 226, 0.4);
}

.enterprise-stage.monitoring {
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.1) 0%, 
        rgba(178, 34, 34, 0.1) 100%);
    border-color: rgba(220, 20, 60, 0.4);
}

.enterprise-stage .stage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0f1923;
}

.enterprise-stage.source .stage-icon {
    background: #ffd700;
}

.enterprise-stage.orchestration .stage-icon {
    background: #32cd32;
}

.enterprise-stage.containerization .stage-icon {
    background: #6495ed;
}

.enterprise-stage.deployment .stage-icon {
    background: #8a2be2;
}

.enterprise-stage.monitoring .stage-icon {
    background: #dc143c;
}

.stage-content h5 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.stage-tools {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
}

.enterprise-arrow {
    color: var(--primary-gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    animation: pulse-enterprise 2s infinite;
}

@keyframes pulse-enterprise {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(5px); }
}

/* Integration Patterns */
.integration-patterns {
    margin: 3rem 0;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pattern-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.pattern-card.gitops {
    border-color: rgba(255, 215, 0, 0.4);
}

.pattern-card.microservices {
    border-color: rgba(50, 205, 50, 0.4);
}

.pattern-card.progressive {
    border-color: rgba(100, 149, 237, 0.4);
}

.pattern-card.security {
    border-color: rgba(220, 20, 60, 0.4);
}

.pattern-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pattern-header h4 {
    color: var(--primary-gold);
    margin: 0;
}

.pattern-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pattern-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #b0c4de;
}

.pattern-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Jenkins Specific Styling */
.jenkins-section {
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.jenkins-architecture {
    margin: 2rem 0;
}

.jenkins-components {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.component-card.master {
    border-color: rgba(255, 215, 0, 0.4);
}

.component-card.agent {
    border-color: rgba(50, 205, 50, 0.4);
}

.component-badge.orchestrator {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.component-badge.executor {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

/* Setup Options */
.setup-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.setup-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.setup-card.docker {
    border-color: rgba(100, 149, 237, 0.4);
}

.setup-card.kubernetes {
    border-color: rgba(138, 43, 226, 0.4);
}

.setup-card h5 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pipeline Types */
.pipeline-types {
    margin: 2rem 0;
}

.pipeline-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
    margin-bottom: 2rem;
}

.pipeline-card.declarative {
    border-color: rgba(50, 205, 50, 0.4);
}

.pipeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pipeline-header h4 {
    color: var(--primary-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Git Integration Features */
.jenkins-git-integration {
    margin: 3rem 0;
}

.git-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.feature-card.webhooks {
    border-color: rgba(255, 215, 0, 0.4);
}

.feature-card.multibranch {
    border-color: rgba(50, 205, 50, 0.4);
}

.feature-card h4 {
    color: var(--primary-gold);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.webhook-setup, .jenkins-config, .multibranch-config {
    margin: 1.5rem 0;
}

.webhook-setup h5, .jenkins-config h5, .multibranch-config h5 {
    color: #b0c4de;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

/* Section Navigation */
.section-navigation {
    margin: 3rem 0;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.section-card {
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.section-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.section-card.jenkins {
    border-color: rgba(255, 215, 0, 0.4);
}

.section-card.docker {
    border-color: rgba(100, 149, 237, 0.4);
}

.section-card.cloud {
    border-color: rgba(138, 43, 226, 0.4);
}

.section-card.monitoring {
    border-color: rgba(50, 205, 50, 0.4);
}

.section-card.lab {
    border-color: rgba(220, 20, 60, 0.4);
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0f1923;
}

.section-content h3 {
    color: var(--primary-gold);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.section-content p {
    color: #b0c4de;
    text-align: center;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.section-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.duration, .level {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.duration {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ed;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.level {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

/* Coming Soon Sections */
.coming-soon-section {
    margin: 3rem 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.coming-soon-card {
    background: rgba(15, 25, 35, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.1);
    text-align: center;
    position: relative;
    opacity: 0.7;
}

.coming-soon-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #6b7280;
}

.coming-soon-card h3 {
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

.coming-soon-card p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Design for GitHub Actions */
@media (max-width: 768px) {
    .pipeline-diagram {
        flex-direction: column;
        align-items: center;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .components-grid, .breakdown-grid, .pattern-grid, .practices-grid {
        grid-template-columns: 1fr;
    }
    
    .pipeline-stage {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .workflow-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .trigger-types {
        justify-content: flex-start;
    }
}

/* Responsive Design for Enterprise Integration */
@media (max-width: 768px) {
    .enterprise-diagram {
        flex-direction: column;
        align-items: center;
    }
    
    .enterprise-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .enterprise-stage {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .jenkins-components, .setup-options, .git-features {
        grid-template-columns: 1fr;
    }
    
    .sections-grid, .coming-soon-grid {
        grid-template-columns: 1fr;
    }
    
    .pipeline-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .section-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Design for Automation */
@media (max-width: 768px) {
    .hook-categories {
        grid-template-columns: 1fr;
    }
    
    .example-grid, .notification-grid, .policy-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        min-width: auto;
        flex-direction: column;
        text-align: center;
    }
    
    .hook-header, .lab-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .reference-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* GitHub API & Automation Specific Styles */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.integration-card {
    background: rgba(25, 35, 45, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.integration-card h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mini-code {
    background: rgba(15, 25, 35, 0.9);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    overflow-x: auto;
}

.mini-code pre {
    margin: 0;
    white-space: pre-wrap;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(25, 35, 45, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.achievement-item i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.achievement-item h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.completion-certificate {
    background: linear-gradient(135deg, rgba(25, 35, 45, 0.9) 0%, rgba(15, 25, 35, 0.9) 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.certificate-header i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.skill-badge {
    background: linear-gradient(135deg, #00ff7f 0%, #32cd32 100%);
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mission-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Open Source Leadership Specific Styles */
.maintainer-framework,
.community-strategy,
.security-framework,
.sustainability-model,
.leadership-impact {
    background: rgba(25, 35, 45, 0.6);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.governance-elements,
.journey-stages,
.security-grid,
.funding-grid,
.metrics-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.element-card,
.security-card,
.funding-card {
    background: rgba(15, 25, 35, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.stage-card {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid;
    position: relative;
}

.stage-card.discover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-color: #ffa500;
}

.stage-card.engage {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: #00d4ff;
}

.stage-card.grow {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2) 0%, rgba(0, 255, 127, 0.1) 100%);
    border-color: #00ff7f;
}

.stage-card.lead {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #d4af37;
}

.impact-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.journey-step {
    text-align: center;
    padding: 1.5rem;
    background: rgba(15, 25, 35, 0.8);
    border-radius: 12px;
    border: 2px solid #d4af37;
    min-width: 200px;
}

.journey-arrow {
    font-size: 2rem;
    color: #d4af37;
    font-weight: bold;
}

.phase-completion {
    background: rgba(25, 35, 45, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    transition: all 1s ease;
}

.phase-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.phase-chapter {
    text-align: center;
    padding: 1rem;
    background: rgba(15, 25, 35, 0.6);
    border-radius: 12px;
    min-width: 180px;
}

@media (max-width: 768px) {
    .governance-elements,
    .journey-stages,
    .security-grid,
    .funding-grid,
    .metrics-showcase {
        grid-template-columns: 1fr;
    }
    
    .impact-journey {
        flex-direction: column;
        gap: 1rem;
    }
    
    .journey-arrow {
        transform: rotate(90deg);
    }
    
    .phase-summary {
        flex-direction: column;
        align-items: center;
    }
}

/* Emergency Operations Specific Styles */
.emergency-alert {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 69, 0, 0.1) 100%);
    border: 2px solid #ff0000;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    animation: emergency-pulse 2s infinite;
}

@keyframes emergency-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.5); }
}

.difficulty-badge.emergency {
    background: linear-gradient(135deg, #ff0000 0%, #ff4500 100%);
    color: white;
    font-weight: bold;
    animation: emergency-blink 1.5s infinite;
}

@keyframes emergency-blink {
    0%, 50% { opacity: 1; }
    75% { opacity: 0.7; }
}

.assessment-protocols,
.recovery-protocols,
.forensic-tools,
.coordination-protocols {
    background: rgba(25, 35, 45, 0.6);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.diagnostic-grid,
.capability-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.diagnostic-card,
.capability-category {
    background: rgba(15, 25, 35, 0.8);
    border: 2px solid;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.diagnostic-card.integrity {
    border-color: #00ff7f;
}

.diagnostic-card.corruption {
    border-color: #ff4500;
}

.diagnostic-card.performance {
    border-color: #00d4ff;
}

.scenario-card {
    background: rgba(15, 25, 35, 0.8);
    border: 2px solid #ff4500;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.triage-matrix {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.severity-level {
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.severity-level.critical {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(139, 0, 0, 0.2) 100%);
    border-color: #ff0000;
}

.severity-level.high {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, rgba(255, 69, 0, 0.2) 100%);
    border-color: #ff8c00;
}

.severity-level.medium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(218, 165, 32, 0.2) 100%);
    border-color: #ffd700;
}

.command-example {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.command-example code {
    display: block;
    font-family: 'Fira Code', monospace;
    color: #00ff7f;
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emergency-star {
    background: #ff0000 !important;
    box-shadow: 0 0 6px #ff0000;
}

@media (max-width: 768px) {
    .diagnostic-grid,
    .capability-matrix {
        grid-template-columns: 1fr;
    }
}
