/* ========================================
   SHARED THEME VARIABLES
   ======================================== */
:root {
    /* Light Theme Colors */
    --bg-gradient-light: linear-gradient(135deg, #f1f5f9 0%, #d6dde6 30%, #b8c5d1 60%, #8495a8 100%);
    --text-primary-light: rgba(30, 41, 59, 0.92);
    --text-secondary-light: rgba(51, 65, 85, 0.9);
    --text-strong-light: rgba(15, 23, 42, 0.95);
    --text-em-light: rgba(180, 83, 9, 0.85);
    --text-header-light: rgba(15, 23, 42, 0.93);
    
    /* Dark Theme Colors */
    --bg-gradient-dark: linear-gradient(135deg, #141923 0%, #1f222f 30%, #2a2f3e 60%, #233040 100%);
    --text-primary-dark: rgba(248, 250, 252, 0.94);
    --text-secondary-dark: rgba(230, 235, 245, 0.92);
    --text-strong-dark: rgba(255, 255, 255, 0.98);
    --text-em-dark: rgba(255, 223, 116, 0.92);
    --text-header-dark: rgba(248, 250, 252, 0.96);
    
    /* Shared Accent Colors */
    --accent-primary: rgba(180, 120, 20, 0.95);
    --accent-secondary: rgba(56, 189, 248, 0.8);
    --user-color-light: rgba(180, 83, 9, 0.9);
    --user-color-dark: rgba(255, 200, 120, 0.85);
    --assistant-color-light: rgba(5, 150, 105, 0.9);
    --assistant-color-dark: rgba(160, 220, 200, 0.85);
    
    /* Container Colors */
    --container-bg-light: rgba(248, 250, 252, 0.85);
    --container-bg-dark: rgba(15, 20, 25, 0.85);
    --container-border-light: rgba(251, 191, 36, 0.3);
    --container-border-dark: rgba(255, 223, 116, 0.25);
    
    /* HAL Colors */
    --hal-red: rgba(255, 0, 0, 0.6);
    --hal-red-glow: rgba(255, 0, 0, 0.8);
    --hal-white-sparkle: rgba(255, 255, 255, 1);
}

/* Global reset - but exclude conversation content */
*:not(.message-content *) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 30%, #cbd5e1 60%, #94a3b8 100%);
    background-size: 400% 400%;
    animation: gradientShift 120s ease-in-out infinite;
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

nav h1 {
    color: #f7fafc;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    color: #f7fafc;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hal-container {
    position: relative;
    display: inline-block;
}

.hal-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
    animation: pulse 2s infinite;
    display: block;
}

.hal-sparkle {
    position: absolute;
    top: 28%;
    left: 32%;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 12s infinite;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.hal-status {
    position: absolute;
    top: -30px;
    right: -80px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    z-index: 11;
    white-space: nowrap;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

@keyframes pulse {
    0% { filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6)); }
}

@keyframes sparkle {
    0%, 88% { 
        opacity: 0; 
        transform: scale(0.3);
    }
    90% { 
        opacity: 0.4; 
        transform: scale(1.2);
    }
    92% { 
        opacity: 0.7; 
        transform: scale(1);
    }
    94% { 
        opacity: 0.3; 
        transform: scale(0.8);
    }
    96%, 100% { 
        opacity: 0; 
        transform: scale(0.3);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.hero h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.philosophical-tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    margin: 1.5rem auto;
    max-width: 700px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.simple-learn-more {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-text {
    font-size: 0.8rem;
    color: rgba(160, 100, 15, 0.9); /* Darker for light mode contrast */
    text-decoration: underline;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.dark-mode .learn-more-text {
    color: rgba(251, 191, 36, 0.9); /* Brighter for dark mode visibility */
}

.simple-learn-more:hover .learn-more-text {
    color: #f6d55c;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.explanation-full-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.explanation-content-full {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: fadeInScale 0.4s ease-out;
}

.explanation-content-full h3 {
    color: #f7fafc;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.explanation-content-full p {
    font-size: 1.1rem;
    color: rgba(247, 250, 252, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.explanation-content-full p:last-of-type {
    margin-bottom: 0;
}

.close-overlay-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(247, 250, 252, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-overlay-btn:hover {
    color: #f7fafc;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero p:not(.philosophical-tagline) {
    margin-top: 1rem;
}

.projects {
    margin-top: 4rem;
}

.projects h3 {
    color: #f7fafc;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.projects-subtitle {
    color: rgba(247, 250, 252, 0.8);
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto 3rem auto;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card.placeholder {
    opacity: 0.7;
}

.project-card.placeholder:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #f7fafc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.project-card p {
    color: rgba(247, 250, 252, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    background: linear-gradient(45deg, #d4af37, #f6d55c);
    color: #1a1a2e;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.project-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.project-link.disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.6);
}

.project-link.disabled:hover {
    transform: none;
    box-shadow: none;
}

footer {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(247, 250, 252, 0.7);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    nav h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hal-logo {
        width: 80px;
        height: 80px;
    }
    
    .hal-sparkle {
        width: 4px;
        height: 4px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
}

/* Conversation Page Footer Styles */
.footer-hal {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-hal img {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-hal:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.6));
}

.footer-hal.edit-active img {
    filter: drop-shadow(0 0 12px rgba(0, 255, 0, 0.6));
    opacity: 1;
}

.footer-hal.edit-active:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.8));
}

.edit-mode-status {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.edit-mode-status.active {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.edit-mode-tools {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-container.edit-mode ~ footer .edit-mode-tools,
body.edit-mode .edit-mode-tools {
    opacity: 1;
    visibility: visible;
}

.edit-tool-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-tool-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.analytics-btn:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

.cleaner-btn:hover {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
}

.dialog-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(251, 191, 36, 0.9);
    color: rgba(15, 23, 42, 0.9);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.edit-mode .dialog-tag {
    opacity: 1;
    visibility: visible;
}

.edit-mode .message:hover .dialog-tag {
    background: rgba(212, 175, 55, 1);
    transform: scale(1.1);
}

/* Enhanced Blockquote Styling */
blockquote, 
.message blockquote,
.message-content blockquote {
    margin: 1.2em 0 1.2em 2em;
    padding: 1.5em 1.5em;
    border-left: 4px solid rgba(180, 83, 9, 0.6);
    color: rgba(15, 23, 42, 0.92);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(56, 189, 248, 0.06), rgba(251, 191, 36, 0.08));
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 20px rgba(56, 189, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    font-style: italic;
    font-size: 1.02em;
    line-height: 1.4;
    backdrop-filter: blur(5px);
}

blockquote p,
.message blockquote p,
.message-content blockquote p {
    margin: 0.2em 0;
}

blockquote p:first-child,
.message blockquote p:first-child,
.message-content blockquote p:first-child {
    margin-top: 0;
}

blockquote p:last-child,
.message blockquote p:last-child,
.message-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Unique Speaker Name Colors */
.message.user .speaker-name {
    color: rgba(180, 83, 9, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.message.assistant .speaker-name {
    color: rgba(5, 150, 105, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.message.unknown .speaker-name {
    color: rgba(107, 114, 128, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Conversation Page Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 2rem;
}

.page-header {
    position: static !important; /* Override sticky positioning from main CSS */
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.85));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.15), 0 0 30px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(30, 41, 59, 0.95);
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.2), 0 0 20px rgba(56, 189, 248, 0.1);
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.header-image {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 40px rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.header-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 60px rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.6);
}

.preface {
    font-size: 1.1rem;
    color: rgba(51, 65, 85, 0.9);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.preface em {
    color: rgba(180, 83, 9, 0.85);
    font-style: italic;
}

.preface ul,
.preface ol {
    margin-left: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.preface li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: rgba(51, 65, 85, 0.9);
}

body.dark-mode .preface li {
    color: rgba(200, 210, 240, 0.9);
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.85), rgba(241, 245, 249, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 6rem 4rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.12), 0 0 30px rgba(56, 189, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.message {
    position: relative;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.message:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(64, 224, 255, 0.08);
}

.message::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px;
}

.message.user {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.08));
    border-left: 4px solid rgba(180, 83, 9, 0.6);
    margin-left: auto;
    width: fit-content;
    max-width: 80%;
}

.message.assistant {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.06));
    border-left: 4px solid rgba(5, 150, 105, 0.5);
}

.message.unknown {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.12), rgba(107, 114, 128, 0.06));
    border-left: 4px solid rgba(107, 114, 128, 0.5);
}

.speaker-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.message p {
    color: rgba(30, 41, 59, 0.92);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.message p:last-child {
    margin-bottom: 0;
}

.message strong {
    color: rgba(15, 23, 42, 0.95);
    font-weight: 600;
}

/* Dark Mode Conversation Styling */
body.dark-mode .message {
    background: rgba(20, 25, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .message.user {
    background: rgba(25, 30, 45, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

body.dark-mode .message.assistant {
    background: rgba(20, 30, 50, 0.7);
    border: 1px solid rgba(100, 150, 255, 0.2);
}

body.dark-mode .message.unknown {
    background: rgba(25, 25, 35, 0.7);
    border: 1px solid rgba(156, 163, 175, 0.2);
}

body.dark-mode .message:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
}

body.dark-mode .message.user:hover {
    background: rgba(30, 35, 50, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
}

body.dark-mode .message.assistant:hover {
    background: rgba(25, 35, 55, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 150, 255, 0.15);
}

body.dark-mode .message p {
    color: rgba(220, 230, 255, 0.9);
}

body.dark-mode .message strong {
    color: rgba(240, 245, 255, 0.95);
}

body.dark-mode .speaker-name {
    color: rgba(212, 175, 55, 0.9);
}

body.dark-mode .message.user .speaker-name {
    color: #f6d55c;
    text-shadow: none;
    font-weight: 600;
}

body.dark-mode .message.assistant .speaker-name {
    color: #8bb8ff;
    text-shadow: none;
    font-weight: 600;
}

body.dark-mode .message.unknown .speaker-name {
    color: #c4c7d0;
    text-shadow: none;
    font-weight: 600;
}

body.dark-mode .page-header {
    background: rgba(20, 25, 45, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

body.dark-mode .page-title {
    color: rgba(220, 230, 255, 0.95);
}

body.dark-mode .message em {
    color: rgba(255, 223, 116, 0.92);
}

body.dark-mode .nav-button {
    background: rgba(20, 25, 45, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: rgba(220, 230, 255, 0.9);
}

body.dark-mode .nav-button:hover {
    background: rgba(30, 35, 55, 0.95);
    border-color: rgba(212, 175, 55, 0.6);
    color: rgba(240, 245, 255, 1);
}

/* Dark Mode Main Page Styling */
body.dark-mode {
    background: var(--bg-gradient-dark) !important;
    color: var(--text-primary-dark);
}

body.dark-mode .chat-container {
    background: rgba(10, 15, 25, 0.6);
    border-radius: 15px;
    padding: 2rem;
}

body.dark-mode .preface {
    color: rgba(200, 210, 240, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Dark mode H1 styling - remove bold */
body.dark-mode .message h1 {
    color: rgba(240, 245, 255, 0.95);
}

/* Dark mode H2 styling - remove bold */
body.dark-mode .message h2 {
    color: rgba(240, 245, 255, 0.95);
}

/* Dark mode H3 styling - remove bold */
body.dark-mode .message h3 {
    color: rgba(240, 245, 255, 0.95);
}

/* Dark mode - remove bold from strong tags inside h1, h2 and h3 elements */
body.dark-mode .message h1 strong,
body.dark-mode .message h2 strong,
body.dark-mode .message h3 strong {
    font-weight: normal;
}

/* Dark mode preface H2 and H3 styling - remove bold */
body.dark-mode .preface h2 {
    color: rgba(240, 245, 255, 0.95);
}

body.dark-mode .preface h3 {
    color: rgba(240, 245, 255, 0.95);
}

/* Dark mode - remove bold from strong tags inside preface h2 and h3 elements */
body.dark-mode .preface h2 strong,
body.dark-mode .preface h3 strong {
    font-weight: normal;
}

body.dark-mode .message hr {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

body.dark-mode .message li {
    color: rgba(200, 210, 240, 0.9);
}

/* Light Mode Conversation Styling - Explicit overrides */
body:not(.dark-mode) {
    background: var(--bg-gradient-light);
    color: var(--text-primary-light);
}

body:not(.dark-mode) .message.user {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

body:not(.dark-mode) .message.assistant {
    background: rgba(5, 150, 105, 0.05);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

body:not(.dark-mode) .message.unknown {
    background: rgba(156, 163, 175, 0.05);
    border: 1px solid rgba(156, 163, 175, 0.15);
}

body:not(.dark-mode) .message.user:hover {
    background: rgba(251, 191, 36, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(251, 191, 36, 0.15);
}

body:not(.dark-mode) .message.assistant:hover {
    background: rgba(5, 150, 105, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(5, 150, 105, 0.1);
}

body:not(.dark-mode) .chat-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
}

body:not(.dark-mode) .page-header {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.85));
    border: 2px solid rgba(251, 191, 36, 0.4);
}

body:not(.dark-mode) .page-title {
    color: rgba(15, 23, 42, 0.95);
}

body:not(.dark-mode) .preface {
    color: rgba(51, 65, 85, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.message em {
    color: rgba(180, 83, 9, 0.85);
    font-style: italic;
}

/* Message H1 styling - remove bold */
.message h1 {
    color: rgba(15, 23, 42, 0.93);
    font-size: 1.8rem;
    margin: 2.5rem 0 2rem 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Message H2 styling - remove bold */
.message h2 {
    color: rgba(15, 23, 42, 0.93);
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Message H3 styling - remove bold */
.message h3 {
    color: rgba(15, 23, 42, 0.93);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Remove bold from strong tags inside h1, h2 and h3 elements */
.message h1 strong,
.message h2 strong,
.message h3 strong {
    font-weight: normal;
}

/* Preface H2 and H3 styling - remove bold */
.preface h2 {
    color: rgba(15, 23, 42, 0.93);
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(56, 189, 248, 0.1);
}

.preface h3 {
    color: rgba(15, 23, 42, 0.93);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Remove bold from strong tags inside preface h2 and h3 elements */
.preface h2 strong,
.preface h3 strong {
    font-weight: normal;
}

.message hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 83, 9, 0.3), transparent);
    margin: 1.5rem 0;
}

.message ul,
.message ol {
    margin-left: 2.5rem;
    margin-bottom: 1rem;
}

.message li {
    margin-bottom: 0.8rem;
    color: rgba(51, 65, 85, 0.9);
    line-height: 1.6;
}

/* Link Styling - Excludes buttons and special elements */
.message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn),
.preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn),
a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn) {
    color: rgba(180, 120, 20, 0.9);
    text-decoration: underline;
    text-decoration-color: rgba(180, 120, 20, 0.6);
    text-underline-offset: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover,
.preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover,
a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover {
    color: rgba(212, 175, 55, 1);
    text-decoration-color: rgba(212, 175, 55, 0.8);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited,
.preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited,
a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited {
    color: rgba(160, 100, 15, 0.85);
    text-decoration-color: rgba(160, 100, 15, 0.5);
}

.message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover,
.preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover,
a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover {
    color: rgba(180, 140, 25, 1);
    text-decoration-color: rgba(180, 140, 25, 0.8);
    text-shadow: 0 0 8px rgba(180, 140, 25, 0.3);
}

/* Dark Mode Link Styling - Excludes buttons and special elements */
body.dark-mode .message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn),
body.dark-mode .preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn),
body.dark-mode a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn) {
    color: rgba(251, 191, 36, 0.9);
    text-decoration-color: rgba(251, 191, 36, 0.6);
}

body.dark-mode .message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover,
body.dark-mode .preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover,
body.dark-mode a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):hover {
    color: rgba(255, 223, 116, 1);
    text-decoration-color: rgba(255, 223, 116, 0.8);
    text-shadow: 0 0 12px rgba(255, 223, 116, 0.4);
}

body.dark-mode .message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited,
body.dark-mode .preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited,
body.dark-mode a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited {
    color: rgba(212, 175, 55, 0.85);
    text-decoration-color: rgba(212, 175, 55, 0.5);
}

body.dark-mode .message a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover,
body.dark-mode .preface a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover,
body.dark-mode a:not(.project-link):not(.nav-button):not(.edit-tool-btn):not(.download-btn):visited:hover {
    color: rgba(240, 200, 80, 1);
    text-decoration-color: rgba(240, 200, 80, 0.8);
    text-shadow: 0 0 12px rgba(240, 200, 80, 0.4);
}

/* Message Images and Figures */
.message figure {
    margin: 1.5rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.message figure:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.message figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.message figcaption {
    padding: 1rem;
    font-size: 0.9rem;
    color: rgba(51, 65, 85, 0.8);
    font-style: italic;
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

/* Dark mode figure styles */
body.dark-mode .message figure {
    background: rgba(30, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .message figcaption {
    background: rgba(20, 25, 40, 0.8);
    color: rgba(220, 230, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Table wrapper styles for consistency */
.message .table-wrap {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.message .table-wrap:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.dark-mode .message .table-wrap {
    background: rgba(30, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.message table th,
.message table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.message table th {
    background: rgba(251, 191, 36, 0.1);
    font-weight: 600;
    color: rgba(30, 41, 59, 0.9);
}

body.dark-mode .message table th {
    background: rgba(212, 175, 55, 0.15);
    color: rgba(220, 230, 255, 0.9);
}

body.dark-mode .message table th,
body.dark-mode .message table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Table title styling */
.message .table-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    margin: 0 0 1rem 0;
    padding: 0.5rem 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
}

body.dark-mode .message .table-title {
    color: rgba(212, 175, 55, 1);
    background: rgba(212, 175, 55, 0.15);
    border-bottom: 2px solid rgba(212, 175, 55, 0.4);
}

/* Responsive image handling */
@media (max-width: 768px) {
    .message figure {
        margin: 1rem -0.5rem;
    }
    
    .message figcaption {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .message .table-wrap {
        margin: 1rem -0.5rem;
    }
}

/* Navigation Button */
.nav-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: rgba(30, 41, 59, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(251, 191, 36, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.25);
    color: rgba(15, 23, 42, 0.95);
}

.hal-nav-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
    animation: navPulse 3s infinite;
}

@keyframes navPulse {
    0% { filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8)); }
    100% { filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6)); }
}

/* Dialog Tags for Edit Mode */
.dialog-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(251, 191, 36, 0.9);
    color: rgba(15, 23, 42, 0.9);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-container {
        padding: 1rem;
        padding-top: 1rem;
    }
    
    .message {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .chat-container {
        gap: 1.5rem;
        padding: 3rem 1.5rem;
    }
    
    .nav-button {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hal-nav-icon {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   HOMEPAGE-SPECIFIC STYLES
   ======================================== */

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dark-mode-toggle:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .toggle-icon {
    transform: rotate(20deg);
}

/* Override original learn-more positioning */
.simple-learn-more {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

/* Enhanced HAL Eye Effects */
.hal-sparkle {
    animation: enhancedSparkle 8s infinite !important;
}

@keyframes enhancedSparkle {
    0%, 85% { 
        opacity: 0; 
        transform: scale(0.3);
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    }
    87% { 
        opacity: 0.6; 
        transform: scale(1.3);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
    89% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 12px rgba(255, 255, 255, 1);
    }
    91% { 
        opacity: 0.7; 
        transform: scale(0.8);
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    }
    93%, 100% { 
        opacity: 0; 
        transform: scale(0.3);
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    }
}

/* Enhanced HAL eye pulse */
.hal-logo {
    animation: enhancedPulse 6s infinite !important;
}

@keyframes enhancedPulse {
    0% { 
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6)) 
                drop-shadow(0 0 40px rgba(255, 0, 0, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8)) 
                drop-shadow(0 0 50px rgba(255, 0, 0, 0.5))
                drop-shadow(0 0 70px rgba(255, 0, 0, 0.2));
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6)) 
                drop-shadow(0 0 40px rgba(255, 0, 0, 0.3));
    }
}

/* Status message enhancement */
.hal-status {
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5) !important;
}

/* Scanning line effect */
.hal-scan-line {
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 255, 255, 0.8) 70%, 
        transparent 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 12;
    animation: scanLine 20s infinite;
}

@keyframes scanLine {
    0%, 90% { opacity: 0; left: -2px; }
    91% { opacity: 0.7; left: -2px; }
    95% { opacity: 1; left: 122px; }
    96%, 100% { opacity: 0; left: 122px; }
}

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

/* ========================================
   DOWNLOAD BOX COMPONENT
   ======================================== */

/* Download Box - Light Theme (Default) */
.download-box {
    border: 2px solid rgba(180, 83, 9, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 30px rgba(180, 83, 9, 0.12);
    max-width: 650px;
    transition: all 0.3s ease;
}

.download-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 40px rgba(180, 83, 9, 0.18);
}

.download-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: rgba(180, 83, 9, 0.95);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(180, 83, 9, 0.3);
}

.download-box p {
    color: rgba(30, 41, 59, 0.92);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.download-box em {
    color: rgba(180, 83, 9, 0.9);
    font-style: italic;
}

.download-box .download-link-wrapper {
    text-align: center;
    margin: 1.5rem 0;
}

.download-box .download-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(180, 120, 20, 0.95));
    color: rgba(15, 20, 25, 0.95);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.6);
}

.download-box .download-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 1), rgba(180, 120, 20, 1));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
}

.download-box .download-meta {
    font-size: 0.9em;
    color: rgba(71, 85, 105, 0.8);
    text-align: center;
    margin-bottom: 0;
}

/* Download Box - Dark Theme */
body.dark-mode .download-box,
.dark-mode .download-box {
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.9), rgba(30, 35, 55, 0.85));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.15);
}

body.dark-mode .download-box:hover,
.dark-mode .download-box:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.25);
}

body.dark-mode .download-box h3,
.dark-mode .download-box h3 {
    color: rgba(212, 175, 55, 0.95);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

body.dark-mode .download-box p,
.dark-mode .download-box p {
    color: rgba(248, 250, 252, 0.92);
}

body.dark-mode .download-box em,
.dark-mode .download-box em {
    color: rgba(255, 223, 116, 0.92);
}

body.dark-mode .download-box .download-btn,
.dark-mode .download-box .download-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(180, 120, 20, 0.95));
    color: rgba(15, 20, 25, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.6);
}

body.dark-mode .download-box .download-btn:hover,
.dark-mode .download-box .download-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 1), rgba(180, 120, 20, 1));
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.35);
}

body.dark-mode .download-box .download-meta,
.dark-mode .download-box .download-meta {
    color: rgba(160, 170, 185, 0.8);
}