:root {
    --primary: #081c15;
    /* Ultra Dark Forest */
    --secondary: #1b4332;
    /* Deep Emerald */
    --accent: #98BF64;
    /* Sateesh's Tender Leaf Green */
    --text-main: #d8f3dc;
    /* Soft Mint Green for readability */
    --bg-main: #0b0e0d;
    /* Nearly Black background */
    --card-bg: #141a18;
    /* Dark grey-green for sections */
    --border: #2d6a4f;
    /* Emerald border */
}

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Inter:wght@400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-main);
    margin: 0;
}

h1,
h2,
.logo {
    font-family: 'Lora', serif;
    color: #ffffff;
}

header {
    background: var(--primary);
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
}

nav a {
    color: var(--text-main);
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.ticker-wrap {
    background: #000000;
    color: var(--accent);
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border-bottom: 1px solid var(--secondary);
}

.hero {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--bg-main) 100%);
    color: white;
    text-align: center;
}

.container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: auto;
}

section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
    border-left: 5px solid var(--accent);
}

.chart-container {
    min-height: 400px;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    color: var(--text-main);
}

th,
td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #222;
}

th {
    background: #1b4332;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
}

pre {
    background: #000000;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--secondary);
}

code {
    color: var(--accent);
    font-family: 'Fira Code', monospace;
}

aside section {
    padding: 1.5rem;
    border-left: none;
    border-top: 5px solid var(--accent);
    background: #1a1f1d;
}

footer {
    text-align: center;
    padding: 3rem;
    background: #000000;
    color: var(--secondary);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}