        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #64748b;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --info: #06b6d4;
            --bg: #f8fafc;
            --surface: #ffffff;
            --text: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            
            /* Element category colors */
            --alkali-metal: #ef4444;
            --alkaline-earth: #f97316;
            --transition-metal: #eab308;
            --post-transition: #84cc16;
            --metalloid: #22c55e;
            --nonmetal: #14b8a6;
            --halogen: #06b6d4;
            --noble-gas: #3b82f6;
            --lanthanide: #8b5cf6;
            --actinide: #a855f7;
            --unknown: #94a3b8;
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background: #ffffff;
        }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
        
        /* Header */
        header {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-lg);
        }
        
        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        header h1 { font-size: 1.25rem; font-weight: 600; }
        header a { color: white; text-decoration: none; }
        
        /* Navigation */
        nav {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 0.75rem 0;
        }
        
        nav .container {
            display: flex;
            gap: 2rem;
            overflow-x: auto;
        }
        
        nav a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            white-space: nowrap;
            transition: color 0.2s;
        }
        
        nav a:hover, nav a.active { color: var(--primary); }
        
        /* Main content */
        main { padding: 2rem 0 4rem; min-height: 70vh; }
        
        /* Footer */
        footer {
            background: var(--text);
            color: #94a3b8;
            padding: 2rem 0;
            text-align: center;
            font-size: 0.875rem;
        }
        
        /* Chemical formula styling */
        sub { font-size: 0.75em; vertical-align: sub; }
        sup { font-size: 0.75em; vertical-align: super; }
        
        /* Element hero section */
        .element-hero {
            background: var(--surface);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 2rem;
            align-items: start;
        }
        
        .element-symbol-box {
            width: 140px;
            height: 160px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .element-symbol-box .atomic-number {
            font-size: 0.875rem;
            font-weight: 500;
            opacity: 0.9;
        }
        
        .element-symbol-box .symbol {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1;
            margin: 0.25rem 0;
        }
        
        .element-symbol-box .name {
            font-size: 1rem;
            font-weight: 500;
            opacity: 0.95;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .element-info h1 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text);
        }
        
        .element-info .tagline {
            font-size: 1.125rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        
        .element-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.375rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .badge-category {
            background: var(--category-color, var(--unknown));
            color: white;
        }
        
        .badge-phase {
            background: var(--info);
            color: white;
        }
        
        .badge-block {
            background: var(--secondary);
            color: white;
        }
        
        /* Quick stats grid */
        .quick-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .stat-card {
            background: var(--bg);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
        }
        
        .stat-card .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
        }
        
        .stat-card .stat-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: 0.25rem;
        }
        
        /* Section styling */
        .section {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--border);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .section-title::before {
            content: '';
            width: 4px;
            height: 24px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        /* Tables */
        .data-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9375rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.875rem 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }
        
        .data-table th {
            background: var(--bg);
            font-weight: 600;
            color: var(--text);
            font-size: 0.8125rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .data-table tr:hover { background: var(--bg); }
        
        .data-table .property { color: var(--text-muted); font-weight: 500; }
        .data-table .value { font-weight: 600; color: var(--text); font-family: 'JetBrains Mono', monospace; }
        
        /* Two column layout */
        .two-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        
        @media (max-width: 768px) {
            .two-columns { grid-template-columns: 1fr; }
            .element-hero { grid-template-columns: 1fr; }
            .element-symbol-box { margin: 0 auto; }
        }
        
        /* Electron configuration */
        .electron-config {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1rem;
            text-align: center;
            margin: 1rem 0;
        }
        
        /* Shell visualization */
        .shell-visual {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin: 1.5rem 0;
        }
        
        .shell-orb {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }
        
        .shell-ring {
            width: 60px;
            height: 60px;
            border: 3px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--primary);
            background: rgba(37, 99, 235, 0.1);
        }
        
        .shell-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        
        /* Discovery timeline */
        .timeline {
            position: relative;
            padding-left: 2rem;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--border);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 1.5rem;
            padding-left: 1rem;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2rem;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            border: 2px solid white;
        }
        
        .timeline-year {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        /* Related elements */
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 0.75rem;
        }
        
        .related-element {
            background: var(--bg);
            padding: 0.75rem;
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            color: var(--text);
            transition: all 0.2s;
            border: 1px solid var(--border);
        }
        
        .related-element:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }
        
        .related-element .symbol {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .related-element .name {
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        
        /* Safety section */
        .safety-box {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1rem;
        }
        
        .safety-box.warning {
            background: #fffbeb;
            border-color: #fde68a;
        }
        
        .safety-title {
            font-weight: 600;
            color: var(--danger);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .safety-box.warning .safety-title { color: var(--warning); }
        
        .ref-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .ref-link:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        /* ===== NEW BEAUTIFUL COMPONENTS ===== */
        
        /* Quick Facts Grid */
        .quick-facts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .quick-fact-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.25rem;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .quick-fact-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .fact-icon {
            font-size: 1.75rem;
        }
        
        .fact-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            font-family: 'JetBrains Mono', monospace;
        }
        
        .fact-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        /* Info Cards */
        .info-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: var(--shadow);
        }
        
        /* Section Titles with Emojis */
        h2.section-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 3px solid;
            border-image: linear-gradient(90deg, var(--primary), var(--info), var(--success)) 1;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* History Timeline */
        .history-timeline {
            position: relative;
            padding-left: 2rem;
        }
        
        .history-timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, var(--primary), var(--success));
            border-radius: 2px;
        }
        
        .timeline-event {
            position: relative;
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }
        
        .timeline-event::before {
            content: '';
            position: absolute;
            left: -2rem;
            top: 0.5rem;
            width: 14px;
            height: 14px;
            background: var(--primary);
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 3px var(--primary);
        }
        
        .event-year {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }
        
        .event-content {
            font-size: 0.9375rem;
            color: var(--text);
            line-height: 1.6;
        }
        
        /* Property Highlights */
        .property-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .highlight-item {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.25rem;
            box-shadow: var(--shadow);
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            transition: transform 0.2s;
        }
        
        .highlight-item:hover {
            transform: translateY(-2px);
        }
        
        .highlight-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        
        .highlight-text {
            font-size: 0.9375rem;
            line-height: 1.6;
        }
        
        /* Uses Grid */
        .uses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 1rem 0;
        }
        
        .use-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            transition: transform 0.2s;
        }
        
        .use-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        
        .use-icon {
            font-size: 2rem;
            margin-bottom: 0.75rem;
        }
        
        .use-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.75rem;
        }
        
        .use-list {
            list-style: none;
            padding: 0;
        }
        
        .use-list li {
            padding: 0.375rem 0;
            padding-left: 1.25rem;
            position: relative;
            font-size: 0.875rem;
            line-height: 1.5;
            color: var(--text);
        }
        
        .use-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: bold;
        }
        
        /* Warning Box */
        .warning-box {
            background: #fffbeb;
            border-radius: 12px;
            padding: 1.25rem;
            margin: 1rem 0;
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid #fde68a;
        }
        
        .warning-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }
        
        /* Danger List */
        .danger-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .danger-item {
            background: #fef2f2;
            border-radius: 12px;
            padding: 1.25rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            border: 1px solid #fecaca;
        }
        
        .danger-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        
        .danger-text {
            font-size: 0.875rem;
            line-height: 1.5;
        }
        
        /* Compounds Grid */
        .compounds-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .compound-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            text-align: center;
            transition: transform 0.2s;
        }
        
        .compound-card:hover {
            transform: translateY(-2px);
        }
        
        .compound-formula {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
            margin-bottom: 0.5rem;
        }
        
        .compound-name {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        
        .compound-uses ul {
            list-style: none;
            padding: 0;
            text-align: left;
        }
        
        .compound-uses li {
            padding: 0.25rem 0;
            font-size: 0.8125rem;
            color: var(--text);
        }
        
        /* Comparison Table */
        .comparison-table {
            overflow-x: auto;
            margin: 1rem 0;
        }
        
        /* Impact Cards */
        .impact-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 1rem 0;
        }
        
        .impact-card {
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }
        
        .impact-card.positive {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 1px solid #a7f3d0;
        }
        
        .impact-card.negative {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fecaca;
        }
        
        .impact-header {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .impact-card ul {
            list-style: none;
            padding: 0;
        }
        
        .impact-card li {
            padding: 0.375rem 0;
            padding-left: 1.25rem;
            position: relative;
            font-size: 0.875rem;
            line-height: 1.5;
        }
        
        .impact-card.positive li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: bold; }
        .impact-card.negative li::before { content: '✗'; position: absolute; left: 0; color: #ef4444; font-weight: bold; }
        
        /* Fun Facts Carousel */
        .fun-facts-carousel {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .fun-fact {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 12px;
            padding: 1.25rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            border: 1px solid #fbbf24;
        }
        
        .fact-emoji {
            font-size: 1.75rem;
            flex-shrink: 0;
        }
        
        .fact-text {
            font-size: 0.875rem;
            line-height: 1.5;
            color: #92400e;
        }
        
        /* Safety Alerts */
        .safety-alert {
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1rem 0;
        }
        
        .safety-header {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text);
        }
        
        .safety-content ul {
            list-style: none;
            padding: 0;
        }
        
        .safety-content li {
            padding: 0.375rem 0;
            padding-left: 1.25rem;
            position: relative;
            font-size: 0.875rem;
            line-height: 1.5;
        }
        
        .safety-content li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--danger);
            font-weight: bold;
        }
        
        /* Origin Cards */
        .origin-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .origin-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            text-align: center;
            transition: transform 0.2s;
        }
        
        .origin-card:hover {
            transform: translateY(-2px);
        }
        
        .origin-icon {
            font-size: 2.5rem;
            margin-bottom: 0.75rem;
        }
        
        .origin-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
        
        .origin-text {
            font-size: 0.8125rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        
        /* References Grid */
        .references-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .ref-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.25rem;
            text-align: center;
            text-decoration: none;
            color: var(--text);
            box-shadow: var(--shadow);
            transition: all 0.2s;
            border: 1px solid var(--border);
        }
        
        .ref-card:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .ref-icon {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }
        
        .ref-name {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text);
        }
        
        .ref-desc {
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        
        /* Element Nav */
        .element-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid var(--border);
        }
        
        .element-nav a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }
        
        .element-nav a:hover {
            background: var(--bg);
            color: var(--primary-dark);
        }
        
        /* Content styling */
        .content-text {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--text);
        }
        
        .content-text p { margin-bottom: 1rem; }
        
        /* References */
        .references {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        /* Markdown Tables - style all tables */
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9375rem;
            margin: 1rem 0;
        }
        
        table th,
        table td {
            padding: 1rem 1.25rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }
        
        table th {
            background: var(--bg);
            font-weight: 600;
            color: var(--text);
            font-size: 0.8125rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        table tr:hover { background: var(--bg); }
        
        table td:first-child { font-weight: 500; }
        table td:nth-child(2) { font-weight: 600; color: var(--primary); font-family: 'JetBrains Mono', monospace; }
        
        /* Electron Config Display */
        .electron-config-display {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border-radius: 12px;
            padding: 2rem;
            margin: 1.5rem 0;
            text-align: center;
        }
        
        .config-main {
            font-size: 1.75rem;
            font-weight: 700;
            color: white;
            font-family: 'JetBrains Mono', monospace;
            margin-bottom: 1.5rem;
            letter-spacing: 2px;
        }
        
        .config-visual {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .config-visual .shell-orb {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }
        
        .config-visual .shell-ring {
            width: 60px;
            height: 60px;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            font-size: 1.125rem;
            background: rgba(255,255,255,0.1);
            transition: all 0.3s;
        }
        
        .config-visual .shell-orb:hover .shell-ring {
            border-color: var(--info);
            background: rgba(6, 182, 212, 0.2);
            transform: scale(1.1);
        }
        
        .config-visual .shell-label {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.7);
            font-weight: 500;
        }
        
        hr {
            border: none;
            border-top: 2px solid var(--border);
            margin: 2.5rem 0;
        }
        
        h2 {
            margin-top: 2rem;
        }
        
        /* Element Image Section */
        .element-image-section {
            margin: 1.5rem 0 2rem;
        }
        
        .image-container {
            position: relative;
        }
        
        .image-placeholder {
            position: relative;
            overflow: hidden;
        }
        
        .image-credit {
            text-align: center;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.75rem;
            font-style: italic;
        }
        
        /* Last Updated */
        .last-updated {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: var(--bg);
            border-radius: 8px;
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
            border: 1px solid var(--border);
        }
        
        /* Breadcrumb Navigation */
        .breadcrumb {
            padding: 1rem 0;
            font-size: 0.875rem;
        }
        
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .breadcrumb a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        .breadcrumb span {
            color: var(--text-muted);
            margin: 0 0.5rem;
        }
        
        /* Misconceptions Grid */
        .misconceptions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1rem 0;
        }
        
        .misconception-card {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid #fecaca;
        }
        
        .misconception-myth {
            font-size: 1rem;
            font-weight: 600;
            color: #991b1b;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #fecaca;
        }
        
        .misconception-reality {
            font-size: 0.9375rem;
            line-height: 1.6;
            color: var(--text);
        }
        
        /* Quiz Section */
        .quiz-section {
            margin: 1rem 0;
        }
        
        .quiz-question {
            background: var(--surface);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow);
        }
        
        .question-number {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .question-text {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 1rem;
        }
        
        .quiz-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .quiz-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            background: var(--bg);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }
        
        .quiz-option:hover {
            border-color: var(--primary);
            background: #eff6ff;
        }
        
        .quiz-option input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
        }
        
        .option-text {
            font-size: 0.9375rem;
            color: var(--text);
        }
        
        .quiz-answer {
            margin-top: 1rem;
            padding: 1rem;
            background: #ecfdf5;
            border-radius: 8px;
            border: 1px solid #a7f3d0;
            color: #065f46;
            font-size: 0.9375rem;
            line-height: 1.6;
        }
