/* ===================================
   JEDI.CODES - MAIN STYLESHEET
   Theme: Jedi/Star Wars inspired
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --accent-blue: #00bfff;
    --accent-green: #00ff88;
    --accent-purple: #b19cd9;
    --accent-orange: #ff8c42;
    --accent-red: #ff6b6b;
    --dark-bg: #0a0e27;
    --dark-bg-secondary: #1a1f3a;
    --dark-bg-tertiary: #252a4a;
    --text-primary: #e0e6ed;
    --text-secondary: #a8b2c1;
    --border-color: #2a3f5f;
    --glow-blue: 0 0 10px rgba(74, 144, 226, 0.5);
    --glow-green: 0 0 10px rgba(80, 200, 120, 0.5);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starfield Background Animation */
.stars,
.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEQ0RTM0MkQzMzVFMTFFNDhDNzlCODc5QzI1NzA2NTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEQ0RTM0MkUzMzVFMTFFNDhDNzlCODc5QzI1NzA2NTciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowRDRFMzQyQjMzNUUxMUU0OEM3OUI4NzlDMjU3MDY1NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowRDRFMzQyQzMzNUUxMUU0OEM3OUI4NzlDMjU3MDY1NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Psc+V9wAAAAYSURBVHjaYmBgYDgLxGcY8AIGII4HCDAATVcB7xB6PMUAAAAASUVORK5CYII=') repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi2r9//38gYGAEESAAEGAAasgJOgzOKCoAAAAASUVORK5CYII=') repeat top center;
    z-index: -1;
    animation: move-twink-back 200s linear infinite;
    opacity: 0.3;
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

/* Header & Navigation */
header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jedi-symbol {
    font-size: 2rem;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 10px #4a90e2, 0 0 20px #4a90e2; }
    50% { text-shadow: 0 0 20px #4a90e2, 0 0 30px #4a90e2, 0 0 40px #4a90e2; }
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(10, 14, 39, 0.9));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-small {
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.glowing-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(74, 144, 226, 0.5),
                     0 0 20px rgba(74, 144, 226, 0.3),
                     0 0 30px rgba(74, 144, 226, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(74, 144, 226, 0.8),
                     0 0 30px rgba(74, 144, 226, 0.5),
                     0 0 40px rgba(74, 144, 226, 0.3);
    }
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.lightsaber-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    margin: 2rem auto;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: lightsaber-flicker 2s ease-in-out infinite;
}

@keyframes lightsaber-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Quote Styles */
.jedi-quote {
    background: rgba(26, 31, 58, 0.6);
    border-left: 4px solid var(--accent-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
    font-style: italic;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quote-author {
    display: block;
    margin-top: 1rem;
    text-align: right;
    color: var(--accent-blue);
    font-weight: 600;
}

/* Sections */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin: 3rem 0 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    box-shadow: 0 0 10px var(--accent-green);
}

/* Principles Grid */
.principles {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.principle-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    border-color: var(--accent-blue);
}

.principle-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

/* Paths Section */
.paths {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.paths-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.path-card {
    background: var(--dark-bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover::before {
    opacity: 1;
}

.blue-glow:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.green-glow:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.5);
}

.purple-glow:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(177, 156, 217, 0.5);
}

.orange-glow:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
}

.red-glow:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.path-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-block;
    background: rgba(74, 144, 226, 0.2);
    color: var(--accent-blue);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
    border: 1px solid var(--accent-blue);
}

/* Wisdom Section */
.wisdom {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(26, 31, 58, 0.3);
}

.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.wisdom-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.wisdom-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.wisdom-author {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Content Section */
.content-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-container {
    background: rgba(26, 31, 58, 0.4);
    padding: 3rem;
    border-radius: 15px;
}

.principle-detail {
    margin: 3rem 0;
}

.principle-detail h3,
.principle-detail h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-blue);
    margin: 2rem 0 1rem;
}

/* Code Examples */
.code-example {
    background: var(--dark-bg);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.code-header {
    background: var(--dark-bg-tertiary);
    padding: 0.8rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.code-header.bad {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--accent-red);
}

.code-header.good {
    background: rgba(80, 200, 120, 0.1);
    border-left: 4px solid var(--accent-green);
}

.code-example pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 0;
}

.code-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.code-example.mini {
    margin: 1rem 0;
}

.code-example.mini pre {
    padding: 1rem;
}

.code-example.mini code {
    font-size: 0.85rem;
}

/* Jedi Wisdom Box */
.jedi-wisdom {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 200, 120, 0.1));
    border: 2px solid var(--accent-blue);
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.jedi-wisdom h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wisdom-list {
    list-style: none;
    padding: 0;
}

.wisdom-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.wisdom-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Testing Pyramid */
.testing-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.pyramid-level {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.pyramid-level h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.level-e2e {
    width: 60%;
    background: rgba(177, 156, 217, 0.2);
    border: 2px solid var(--accent-purple);
}

.level-integration {
    width: 75%;
    background: rgba(74, 144, 226, 0.2);
    border: 2px solid var(--accent-blue);
}

.level-unit {
    width: 90%;
    background: rgba(80, 200, 120, 0.2);
    border: 2px solid var(--accent-green);
}

.pyramid-level:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px currentColor;
}

/* TDD Cycle */
.tdd-cycle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tdd-step {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid;
}

.tdd-step h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.tdd-step.red {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--accent-red);
}

.tdd-step.green {
    background: rgba(80, 200, 120, 0.1);
    border-color: var(--accent-green);
}

.tdd-step.blue {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--accent-blue);
}

/* Coverage Info */
.coverage-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.coverage-item {
    background: var(--dark-bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    text-align: center;
}

.coverage-item h4 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* Priority Grid */
.priority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.priority-card {
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid;
}

.priority-card h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.priority-card ul {
    list-style-position: inside;
}

.priority-card.high {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--accent-red);
}

.priority-card.medium {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.priority-card.low {
    background: rgba(80, 200, 120, 0.1);
    border-color: var(--accent-green);
}

/* Refactoring Rules */
.refactoring-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.rule-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.rule-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Code Smells */
.code-smells {
    margin: 3rem 0;
}

.smells-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.smell-card {
    background: var(--dark-bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.smell-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.3);
}

.smell-card h4 {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

/* SOLID Principles */
.solid-principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.solid-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-blue);
}

.solid-letter {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--accent-blue);
    font-weight: 900;
}

.solid-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.solid-card h4 {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Practices List */
.principles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.practice-item {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
}

.practice-item h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.practice-item ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

/* Git Practices */
.git-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.practice-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.practice-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.practice-card code {
    background: var(--dark-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Code Review */
.code-review {
    margin: 3rem 0;
}

.review-section {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-blue);
}

.review-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.review-checklist {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.checklist-item {
    padding: 0.8rem;
    background: var(--dark-bg-tertiary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Daily Practices */
.daily-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.daily-card {
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid;
}

.daily-card h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.daily-card.morning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.daily-card.day {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--accent-blue);
}

.daily-card.evening {
    background: rgba(177, 156, 217, 0.1);
    border-color: var(--accent-purple);
}

/* Master Advice */
.master-advice {
    margin: 3rem 0;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advice-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--accent-green);
}

.advice-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

/* Final Wisdom */
.final-wisdom {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(177, 156, 217, 0.1));
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.jedi-code {
    max-width: 800px;
    margin: 2rem auto;
}

.code-line {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 1.5rem 0 0.5rem;
}

.code-sub {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Navigation Section */
.navigation-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.navigation-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-card:hover {
    border-color: var(--accent-blue);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.nav-icon {
    font-size: 2rem;
    color: var(--accent-blue);
}

.nav-card h4 {
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.nav-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pattern Category */
.pattern-category {
    margin: 3rem 0;
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--accent-green);
    margin: 2rem 0 1rem;
}

.category-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--dark-bg);
    border-top: 2px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-quote {
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .glowing-text {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .principles-grid,
    .paths-container,
    .wisdom-grid {
        grid-template-columns: 1fr;
    }

    .content-container {
        padding: 2rem 1rem;
    }

    .code-example pre {
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .stars,
    .twinkling,
    header,
    .navigation-section,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
