body{font-family:'Cascadia Code','Fira Code',Consolas,monospace;font-size:16pt;line-height:1.5;margin:0;padding:20px;transition:all .3s;background-color:#1e1e1e;color:#ffffff}
.container{max-width:1200px;margin:0 auto;border-radius:8px;padding:35px 20px 20px;position:relative;transition:all .3s;background-color:#1e1e1e;border:1px solid #444;box-shadow:0 5px 15px rgba(0,0,0,0.4)}

/* Light Mode Styles */
@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #333333;
    }
    
    .container {
        background-color: #ffffff;
        border: 1px solid #ddd;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .terminal-header {
        background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
        border-bottom: 1px solid #ccc;
    }
    
    .terminal-header {
        background: linear-gradient(to bottom, #e8e8e8, #d8d8d8) !important;
        border-bottom: 1px solid #ccc !important;
    }
    
    .terminal-header span {
        color: #404040 !important;
    }
    
    .prompt {
        color: #0066cc;
    }
    
    h2 {
        color: #B30000;
        border-bottom: 1px solid #ddd;
    }

    .function { color: #0066cc; }
    .string { color: #B30000; }
    .keyword { color: #B30000; }
    .comment { color: #6a737d; }
    .number { color: #333333; }
    
    .trademark { color: #666666; }
    
    /* Override inline gray styles for better contrast */
    [style*="color:#ccc"]:not(a) {
        color: #333333 !important;
    }
    
    a {
        color: #0033cc !important;
    }
    
    a:hover {
        color: #002299 !important;
    }
    
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1e1e1e;
        color: #ffffff;
    }
    
    .container {
        background-color: #1e1e1e;
        border: 1px solid #444;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
    
    .terminal-header {
        background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
        border-bottom: 1px solid #444;
    }
    
    .terminal-header span {
        color: #ffffff;
    }
    
    .prompt {
        color: #00ff00;
    }
    
    h2 {
        color: #ff6b6b;
        border-bottom: 1px solid #333;
    }
    
    .function { color: #ff6b6b; }
    .string { color: #ff6b6b; }
    .keyword { color: #ff6b6b; }
    .comment { color: #00ff00; }
    .number { color: #ffffff; }
    
    .trademark { color: #666666; }
    
    a { color: #00ff00; }
    a:hover { color: #66ff66; }
    
}

/* Terminal header - common styles */
.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    border-bottom: 1px solid #444;
}

.terminal-header span {
    font-size: 14pt;
    font-weight: 300;
    color: #ffffff;
}

/* Terminal window buttons like in image */
.system-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn.close {
    background-color: #ff5f56;
}

.btn.minimize {
    background-color: #ffbd2e;
}

.btn.maximize {
    background-color: #27c93f;
}

/* Command prompt */
.prompt {
    font-weight: normal;
    margin-bottom: 30px;
    font-size: 16pt;
    color: #00ff00;
}

/* Section styling with accent line */
.section {
    margin-bottom: 40px;
    border-left: 2px solid #ff6b6b;
    padding-left: 20px;
}

.intro {
    border-left: none !important;
    padding-left: 0 !important;
}

.about p {
    font-weight: normal !important;
}

/* Section headers with symbol */
h2 {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 16pt;
    margin-top: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid #333;
}

h2::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ff6b6b;
}



/* Add cursor visual element */
.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-color: #ff6b6b;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/* Trademark message styling */
.trademark {
    margin-top: 50px;
    color: #ff6b6b;
    font-size: 14pt;
    border-top: 1px solid #ff6b6b;
    padding-top: 20px;
}

/* Default syntax highlighting */
.function, .string, .keyword {
    color: #ff6b6b;
}

.comment {
    color: #cccccc;
}

.number {
    color: #ffffff;
}

a {
    color: #6b6bff;
}

a:hover {
    color: #8888ff;
}

/* Minimize tree spacing */
p {
    margin: 0;
    line-height: 1.2;
}

[style*="padding-left:4ch"] {
    margin: 0 !important;
}

[style*="padding-left:8ch"] {
    margin: 0 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 35px 15px 15px;
    }

    h2 {
        margin-top: 30px;
    }
}

/* Light mode overrides */
@media (prefers-color-scheme: light) {
    .prompt, .prompt span:nth-child(1), h2, h2::before, .function, .string, .keyword, .cursor, .trademark {
        color: #B30000 !important;
    }
    
    .cursor {
        background-color: #B30000 !important;
    }
    
    .section {
        border-left-color: #B30000 !important;
    }
    
    .trademark {
        border-top-color: #B30000 !important;
    }
    
    a {
        color: #0033cc !important;
        border-bottom-color: #0033cc !important;
    }
    
    a:hover {
        color: #002299 !important;
        border-bottom-color: #002299 !important;
    }
    
    .prompt span:nth-child(2), .comment, .number, p {
        color: #333333 !important;
    }
}

@media (prefers-color-scheme: dark) {
    .prompt, h2, h2::before, .function, .string, .keyword {
        color: #ff6b6b !important;
    }
    
    .comment {
        color: #cccccc !important;
    }
    
    .prompt span:nth-child(2) {
        color: #cccccc !important;
    }
    
    a {
        color: #7d7dff !important;
    }
    
    a:hover {
        color: #9999ff !important;
    }
}