/* ===================================================================
   Crop Optimizer - Field Journal / Sun Haven Harvest Theme
   Parchment pages bound in earth-brown leather, with fresh sprout
   greens and wheat-gold accents. Shares the overall structure of
   the Almanac page but swaps the palette for farming.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --ink: #23321c;
    --parchment: #f5eed1;
    --parchment-deep: #e8dfb8;
    --frame: #5c3e20;
    --frame-light: #7a5a32;
    --sprout: #4f9b52;
    --sprout-bright: #66c56c;
    --sprout-dim: #2f6833;
    --harvest: #d4a62f;
    --harvest-bright: #f2c349;
    --harvest-dim: #a07820;
    --soil: #8b6242;
    --water: #62a8dc;
    --shadow: rgba(35, 50, 28, 0.22);
    --spine-width: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    background: #2d3a1f;
    min-height: 100vh;
    padding: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.7;
}

/* ===== TOP NAV ===== */
.top-nav {
    background: linear-gradient(180deg, #3a4a27, #2d3a1f);
    padding: 14px 40px;
    border-bottom: 3px solid var(--sprout-dim);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-home {
    color: var(--harvest);
    text-decoration: none;
    font-family: "Cinzel", "Palatino Linotype", serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-home:hover {
    color: var(--harvest-bright);
}

.nav-divider {
    color: rgba(212, 166, 47, 0.4);
    margin: 0 10px;
}

.nav-current {
    color: rgba(245, 238, 209, 0.75);
    font-family: "Cinzel", serif;
    letter-spacing: 0.5px;
}

.breadcrumb-date {
    margin-left: auto;
    color: rgba(245, 238, 209, 0.45);
    font-size: 0.85em;
    font-style: italic;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== BOOK / JOURNAL CONTAINER ===== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 60px;
    background:
        /* Subtle linen noise */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 98, 66, 0.02) 2px,
            rgba(139, 98, 66, 0.02) 4px
        ),
        /* Sun-warmed parchment */
        linear-gradient(180deg,
            #f5eed1 0%,
            #f0e5bc 20%,
            #ede0b4 50%,
            #f0e5bc 80%,
            #e8dfb8 100%
        );
    box-shadow:
        0 0 60px rgba(0, 0, 0, 0.5),
        inset 0 0 80px rgba(139, 98, 66, 0.06);
    border-left: var(--spine-width) solid var(--frame);
    border-right: 2px solid var(--parchment-deep);
    position: relative;
}

.container::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, rgba(92, 62, 32, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.container::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(270deg, rgba(92, 62, 32, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 70px 40px 50px;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(79, 155, 82, 0.08) 0%, transparent 70%);
}

.hero::before,
.hero::after {
    content: "\1F33E"; /* sheaf of rice */
    position: absolute;
    font-size: 1.6em;
    opacity: 0.45;
    top: 24px;
}
.hero::before { left: 40px; }
.hero::after { right: 40px; transform: scaleX(-1); }

.hero-icon {
    font-size: 4em;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(47, 104, 51, 0.3));
}

.hero h1 {
    font-family: "Cinzel", "Palatino Linotype", serif;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--frame);
    letter-spacing: 3px;
    text-shadow: 0 1px 0 rgba(245, 238, 209, 0.8);
}

.tagline {
    font-size: 1.15em;
    color: var(--sprout-dim);
    font-style: italic;
    letter-spacing: 1px;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--harvest-dim);
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Seed-packet style version badge */
.version-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    background: radial-gradient(circle at 35% 35%,
        var(--sprout-bright) 0%,
        var(--sprout) 50%,
        var(--sprout-dim) 100%
    );
    color: var(--parchment);
    padding: 14px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 12px rgba(47, 104, 51, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(200, 255, 200, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== ORNAMENTAL DIVIDER (wheat stalk) ===== */
.ornamental-divider {
    text-align: center;
    margin: 40px auto;
    position: relative;
    height: 30px;
    max-width: 500px;
}

.ornamental-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--harvest-dim) 20%,
        var(--harvest) 50%,
        var(--harvest-dim) 80%,
        transparent 100%
    );
}

.ornamental-divider::after {
    content: "\1F33E"; /* sheaf of rice */
    position: relative;
    background: var(--parchment);
    padding: 0 16px;
    color: var(--sprout);
    font-size: 1.05em;
    z-index: 1;
    top: -2px;
}

/* ===== INTRO ===== */
.intro-section {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 10px;
    font-size: 1.05em;
    line-height: 1.8;
    color: rgba(35, 50, 28, 0.82);
    padding: 30px 50px;
    position: relative;
}

.intro-section::before {
    content: "\201C";
    font-family: "Cinzel", serif;
    font-size: 4em;
    color: var(--harvest-dim);
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 1;
}

.intro-section p + p {
    margin-top: 12px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: "Cinzel", "Palatino Linotype", serif;
    text-align: center;
    font-size: 1.7em;
    font-weight: 600;
    margin: 50px 40px 30px;
    color: var(--frame);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-top: 1px solid var(--harvest);
    border-bottom: 1px solid var(--harvest);
}

.section-desc {
    text-align: center;
    color: rgba(35, 50, 28, 0.65);
    font-size: 0.95em;
    margin: 0 40px 24px;
    line-height: 1.6;
    font-style: italic;
}

.section-footnote {
    max-width: 760px;
    margin: 20px auto 0;
    padding: 14px 20px;
    font-size: 0.88em;
    line-height: 1.55;
    color: rgba(35, 50, 28, 0.72);
    background: rgba(232, 223, 184, 0.45);
    border-left: 3px solid rgba(79, 155, 82, 0.45);
    border-radius: 0 6px 6px 0;
}

/* ===== KEYBINDS ===== */
.keybind-section { margin: 0 40px 10px; }

.keybind-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.keybind-card {
    text-align: center;
    background: rgba(232, 223, 184, 0.5);
    border-radius: 4px;
    padding: 18px 24px;
    border: 1px solid rgba(79, 155, 82, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 180px;
    position: relative;
}

.keybind-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--harvest-dim), transparent);
}

.keybind-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(47, 104, 51, 0.18);
}

.keybind-keys {
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
}

.keybind-action {
    color: rgba(35, 50, 28, 0.72);
    font-size: 0.92em;
    font-style: italic;
}

.keybind-note {
    display: block;
    margin-top: 8px;
    font-size: 0.78em;
    font-weight: 400;
    font-style: normal;
    opacity: 0.75;
}

.keybind-note kbd { font-size: 0.95em; }

/* ===== FEATURES (staked planting rows) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    margin: 0 40px 20px;
    border: 1px solid rgba(79, 155, 82, 0.22);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(245, 238, 209, 0.35);
}

.feature-card {
    padding: 28px 26px;
    text-align: left;
    border-bottom: 1px solid rgba(79, 155, 82, 0.14);
    border-right: 1px solid rgba(79, 155, 82, 0.14);
    transition: background 0.25s ease;
    background: transparent;
    position: relative;
}

.feature-card:hover {
    background: rgba(79, 155, 82, 0.06);
}

.feature-icon {
    font-size: 1.8em;
    margin-bottom: 10px;
    float: left;
    margin-right: 14px;
    line-height: 1.2;
}

.feature-card h3 {
    font-family: "Cinzel", serif;
    color: var(--frame);
    margin-bottom: 6px;
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: rgba(35, 50, 28, 0.78);
    line-height: 1.65;
    font-size: 0.95em;
}

/* ===== MOD INTEGRATIONS ===== */
.mod-grid {
    margin: 0 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(79, 155, 82, 0.22);
    border-radius: 4px;
    overflow: hidden;
}

.mod-card {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(79, 155, 82, 0.12);
    transition: background 0.2s ease;
    background: transparent;
    position: relative;
}

.mod-card:last-child { border-bottom: none; }

.mod-card:hover { background: rgba(79, 155, 82, 0.06); }

.mod-card-icon {
    font-size: 1.6em;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.mod-card h4 {
    font-family: "Cinzel", serif;
    color: var(--frame);
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.mod-card p {
    color: rgba(35, 50, 28, 0.68);
    font-size: 0.9em;
    line-height: 1.5;
    font-style: italic;
}

/* ===== USAGE STEPS ===== */
.usage-steps {
    max-width: 650px;
    margin: 0 auto 20px;
    padding: 0 40px;
    counter-reset: step-counter;
}

.step {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px dashed rgba(79, 155, 82, 0.22);
    align-items: flex-start;
}

.step:last-child { border-bottom: none; }

.step-number {
    color: var(--harvest);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1.8em;
    flex-shrink: 0;
    line-height: 1;
}

.step-content h4 {
    font-family: "Cinzel", serif;
    color: var(--frame);
    margin-bottom: 6px;
    font-size: 1.02em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.step-content p {
    color: rgba(35, 50, 28, 0.78);
    line-height: 1.65;
    font-size: 0.95em;
}

kbd {
    background: rgba(232, 223, 184, 0.7);
    border: 1px solid rgba(79, 155, 82, 0.3);
    border-bottom-width: 2px;
    border-radius: 3px;
    padding: 2px 7px;
    font-family: "Cinzel", serif;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--frame);
    letter-spacing: 0.5px;
}

/* ===== TOOLTIP ANATOMY GRID ===== */
.anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    margin: 0 40px 20px;
    border: 1px solid rgba(79, 155, 82, 0.22);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(245, 238, 209, 0.25);
}

.anatomy-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(79, 155, 82, 0.12);
    border-right: 1px solid rgba(79, 155, 82, 0.12);
    background: transparent;
    transition: background 0.2s ease;
}

.anatomy-row:hover { background: rgba(79, 155, 82, 0.05); }

.anatomy-icon {
    font-size: 1.4em;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    margin-top: 2px;
}

.anatomy-row h4 {
    font-family: "Cinzel", serif;
    color: var(--frame);
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.4px;
}

.anatomy-row p {
    color: rgba(35, 50, 28, 0.72);
    font-size: 0.9em;
    line-height: 1.55;
}

/* ===== COMPATIBILITY NOTES ===== */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 0 40px 40px;
}

.note-card {
    background: rgba(232, 223, 184, 0.45);
    border: 1px solid rgba(79, 155, 82, 0.2);
    border-left: 3px solid var(--sprout);
    border-radius: 0 6px 6px 0;
    padding: 18px 20px;
}

.note-card h4 {
    font-family: "Cinzel", serif;
    color: var(--frame);
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.note-card p {
    color: rgba(35, 50, 28, 0.78);
    font-size: 0.92em;
    line-height: 1.6;
}

/* ===== CONFIG TABLE ===== */
.config-table {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 40px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(79, 155, 82, 0.18);
}

th {
    font-family: "Cinzel", serif;
    font-weight: 600;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--frame);
    background: transparent;
    border-bottom: 2px solid var(--harvest-dim);
}

td {
    color: rgba(35, 50, 28, 0.8);
    font-size: 0.95em;
}

tr:last-child td { border-bottom: none; }

tr:hover td { background: rgba(79, 155, 82, 0.05); }

code {
    background: rgba(92, 62, 32, 0.08);
    padding: 2px 6px;
    border-radius: 2px;
    font-family: "Courier New", "Lucida Console", monospace;
    font-size: 0.85em;
    color: var(--frame-light);
}

.config-note {
    text-align: center;
    color: rgba(35, 50, 28, 0.6);
    font-size: 0.9em;
    margin-bottom: 40px;
    font-style: italic;
    padding: 0 40px;
}

.config-note a {
    color: var(--sprout-dim);
    text-decoration: none;
    border-bottom: 1px dashed rgba(79, 155, 82, 0.5);
}

.config-note a:hover {
    color: var(--sprout);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px 40px;
    background: linear-gradient(180deg, transparent, rgba(92, 62, 32, 0.05));
    position: relative;
}

.footer::before {
    content: "\2042";
    display: block;
    text-align: center;
    color: var(--harvest-dim);
    font-size: 1.8em;
    margin-bottom: 16px;
    letter-spacing: 8px;
    opacity: 0.55;
}

.footer p {
    font-family: "Cinzel", serif;
    color: rgba(35, 50, 28, 0.55);
    font-size: 0.85em;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--sprout-dim);
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--harvest);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links a:hover { color: var(--sprout); }
.footer-links a:hover::after { opacity: 1; }

/* ===== ANIMATIONS ===== */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero { animation: fade-in 0.8s ease-out; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        border-left-width: 4px;
        border-right: none;
    }

    .container::after { display: none; }

    .top-nav {
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    .breadcrumb-date {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .hero { padding: 50px 24px 40px; }
    .hero h1 { font-size: 2.2em; letter-spacing: 1px; }
    .hero-icon { font-size: 3em; }

    .hero::before, .hero::after {
        font-size: 1.2em;
        top: 16px;
    }
    .hero::before { left: 16px; }
    .hero::after { right: 16px; }

    .intro-section { padding: 24px 24px; }
    .intro-section::before { left: 8px; font-size: 3em; }

    .section-title { margin: 40px 20px 24px; font-size: 1.4em; }
    .section-desc { margin: 0 20px 20px; }

    .keybind-section { margin: 0 20px 10px; }

    .features-grid { margin: 0 20px 20px; grid-template-columns: 1fr; }
    .feature-card { border-right: none; }

    .mod-grid { margin: 0 20px 20px; }

    .anatomy-grid { margin: 0 20px 20px; grid-template-columns: 1fr; }
    .anatomy-row { border-right: none; }

    .notes-grid { margin: 0 20px 40px; }

    .usage-steps { padding: 0 20px; }
    .step { flex-direction: column; text-align: center; gap: 8px; }
    .step-number { margin: 0 auto; }

    .config-table { padding: 0 20px; }
    .config-note { padding: 0 20px; }

    .footer { padding: 30px 20px; }
    .footer-links { flex-direction: column; gap: 12px; }

    .ornamental-divider { margin: 30px 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8em; }
    .hero::before, .hero::after { display: none; }

    .keybind-grid { flex-direction: column; align-items: center; }
    .keybind-card { width: 100%; max-width: 260px; }

    .version-badge { width: 60px; height: 60px; font-size: 0.72em; }
}

/* ===================================================================
   DARK MODE - Twilight field after harvest
   =================================================================== */
[data-theme="dark"] body { background: #14180e; }

[data-theme="dark"] .top-nav {
    background: linear-gradient(180deg, #1a2014, #14180e);
    border-bottom-color: rgba(79, 155, 82, 0.3);
}

[data-theme="dark"] .nav-current { color: rgba(232, 223, 184, 0.7); }
[data-theme="dark"] .nav-divider { color: rgba(212, 166, 47, 0.3); }
[data-theme="dark"] .breadcrumb-date { color: rgba(232, 223, 184, 0.45); }

[data-theme="dark"] .container {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(212, 166, 47, 0.015) 2px,
            rgba(212, 166, 47, 0.015) 4px
        ),
        linear-gradient(180deg,
            #24281a 0%,
            #1f2316 20%,
            #1c2014 50%,
            #1f2316 80%,
            #1a1e12 100%
        );
    border-left-color: #3a2a18;
    border-right-color: #1a2014;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .container::before {
    background: linear-gradient(90deg, rgba(58, 42, 24, 0.3) 0%, transparent 100%);
}

[data-theme="dark"] .container::after {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
}

[data-theme="dark"] .hero {
    background: radial-gradient(ellipse at center, rgba(79, 155, 82, 0.07) 0%, transparent 70%);
}

[data-theme="dark"] .hero::before,
[data-theme="dark"] .hero::after {
    opacity: 0.35;
}

[data-theme="dark"] .hero h1 {
    color: #e8dfb8;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tagline { color: rgba(102, 197, 108, 0.8); }
[data-theme="dark"] .cursor { color: rgba(242, 195, 73, 0.75); }

[data-theme="dark"] .intro-section { color: rgba(232, 223, 184, 0.78); }
[data-theme="dark"] .intro-section::before { color: rgba(212, 166, 47, 0.28); }

[data-theme="dark"] .section-title { color: var(--harvest); }
[data-theme="dark"] .section-title::after {
    border-top-color: rgba(212, 166, 47, 0.45);
    border-bottom-color: rgba(212, 166, 47, 0.45);
}

[data-theme="dark"] .section-desc { color: rgba(232, 223, 184, 0.6); }

[data-theme="dark"] .section-footnote {
    color: rgba(232, 223, 184, 0.7);
    background: rgba(30, 34, 20, 0.55);
    border-left-color: rgba(79, 155, 82, 0.45);
}

[data-theme="dark"] .ornamental-divider::before {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 166, 47, 0.25) 20%,
        rgba(212, 166, 47, 0.4) 50%,
        rgba(212, 166, 47, 0.25) 80%,
        transparent 100%
    );
}

[data-theme="dark"] .ornamental-divider::after {
    background: #1f2316;
    color: rgba(79, 155, 82, 0.75);
}

[data-theme="dark"] .keybind-card {
    background: rgba(34, 40, 24, 0.55);
    border-color: rgba(79, 155, 82, 0.18);
}

[data-theme="dark"] .keybind-card::before {
    background: linear-gradient(90deg, transparent, rgba(212, 166, 47, 0.22), transparent);
}

[data-theme="dark"] .keybind-action { color: rgba(232, 223, 184, 0.62); }

[data-theme="dark"] .features-grid {
    border-color: rgba(79, 155, 82, 0.15);
    background: rgba(20, 24, 14, 0.3);
}

[data-theme="dark"] .feature-card {
    border-color: rgba(79, 155, 82, 0.12);
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(79, 155, 82, 0.05);
}

[data-theme="dark"] .feature-card h3 { color: #e8dfb8; }
[data-theme="dark"] .feature-card p { color: rgba(232, 223, 184, 0.7); }

[data-theme="dark"] .mod-grid { border-color: rgba(79, 155, 82, 0.15); }
[data-theme="dark"] .mod-card { border-color: rgba(79, 155, 82, 0.1); }
[data-theme="dark"] .mod-card:hover { background: rgba(79, 155, 82, 0.05); }
[data-theme="dark"] .mod-card h4 { color: #e8dfb8; }
[data-theme="dark"] .mod-card p { color: rgba(232, 223, 184, 0.6); }

[data-theme="dark"] .step { border-bottom-color: rgba(79, 155, 82, 0.15); }
[data-theme="dark"] .step-number { color: rgba(212, 166, 47, 0.65); }
[data-theme="dark"] .step-content h4 { color: #e8dfb8; }
[data-theme="dark"] .step-content p { color: rgba(232, 223, 184, 0.7); }

[data-theme="dark"] kbd {
    background: rgba(212, 166, 47, 0.1);
    border-color: rgba(212, 166, 47, 0.22);
    color: #e8dfb8;
}

[data-theme="dark"] .anatomy-grid {
    border-color: rgba(79, 155, 82, 0.15);
    background: rgba(20, 24, 14, 0.3);
}
[data-theme="dark"] .anatomy-row { border-color: rgba(79, 155, 82, 0.1); }
[data-theme="dark"] .anatomy-row:hover { background: rgba(79, 155, 82, 0.05); }
[data-theme="dark"] .anatomy-row h4 { color: #e8dfb8; }
[data-theme="dark"] .anatomy-row p { color: rgba(232, 223, 184, 0.7); }

[data-theme="dark"] .note-card {
    background: rgba(34, 40, 24, 0.55);
    border-color: rgba(79, 155, 82, 0.2);
    border-left-color: var(--sprout);
}
[data-theme="dark"] .note-card h4 { color: #e8dfb8; }
[data-theme="dark"] .note-card p { color: rgba(232, 223, 184, 0.72); }

[data-theme="dark"] th {
    color: var(--harvest);
    border-bottom-color: rgba(212, 166, 47, 0.35);
}
[data-theme="dark"] td {
    color: rgba(232, 223, 184, 0.75);
    border-bottom-color: rgba(79, 155, 82, 0.1);
}
[data-theme="dark"] tr:hover td { background: rgba(79, 155, 82, 0.04); }

[data-theme="dark"] code {
    background: rgba(212, 166, 47, 0.08);
    color: var(--harvest);
}

[data-theme="dark"] .config-note { color: rgba(232, 223, 184, 0.5); }

[data-theme="dark"] .config-note a {
    color: rgba(102, 197, 108, 0.85);
    border-bottom-color: rgba(102, 197, 108, 0.4);
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
}

[data-theme="dark"] .footer::before { color: rgba(212, 166, 47, 0.3); }
[data-theme="dark"] .footer p { color: rgba(232, 223, 184, 0.45); }

[data-theme="dark"] .footer-links a { color: rgba(102, 197, 108, 0.75); }
[data-theme="dark"] .footer-links a::after { background: rgba(212, 166, 47, 0.35); }
[data-theme="dark"] .footer-links a:hover { color: var(--harvest); }
