* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vault-obsidian: #1a2b28;
    --vault-slate: #1c2541;
    --text-primary: #F0F0F0;
    --accent-lime: #AFFF33;
    --accent-amber: #FFC700;
    --spacing-unit: 1.5rem;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--vault-obsidian) 0%, var(--vault-slate) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container-flux {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.vault-header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(175, 255, 51, 0.2);
}

.domain-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

.specimen-chamber {
    padding: 3rem 0;
}

.dual-panel-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    align-items: start;
}

.vitrine-module {
    position: sticky;
    top: 2rem;
}

.specimen-frame {
    position: relative;
    background: rgba(28, 37, 65, 0.4);
    padding: 2rem;
    border: 1px solid rgba(175, 255, 51, 0.3);
}

.corner-markers span {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-lime);
}

.marker-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.marker-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.marker-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.marker-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.primary-exhibit {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.05);
}

.data-terminal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-nexus {
    background: rgba(28, 37, 65, 0.3);
    padding: 2rem;
    border-left: 3px solid var(--accent-lime);
}

.nav-expander {
    margin-bottom: 2rem;
}

.nav-expander summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-lime);
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(175, 255, 51, 0.3);
    list-style: none;
}

.nav-expander summary::-webkit-details-marker {
    display: none;
}

.nav-expander summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s;
}

.nav-expander[open] summary::before {
    transform: rotate(90deg);
}

.nav-expander ul {
    list-style: none;
    padding: 1rem 0 0 1rem;
}

.nav-expander ul li {
    margin: 0.5rem 0;
}

.body-inject {
    font-size: 0.95rem;
    line-height: 1.8;
}

.genetic-breakdown {
    background: rgba(26, 43, 40, 0.5);
    padding: 1.5rem;
    border: 1px solid rgba(175, 255, 51, 0.2);
}

.module-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-lime);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.dna-spectrum {
    display: flex;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(175, 255, 51, 0.4);
}

.gene-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.sativa-band {
    flex: 0.6;
    background: linear-gradient(135deg, rgba(175, 255, 51, 0.3) 0%, rgba(175, 255, 51, 0.15) 100%);
    border-right: 2px solid var(--accent-lime);
}

.indica-band {
    flex: 0.4;
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.3) 0%, rgba(255, 199, 0, 0.15) 100%);
}

.gene-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.gene-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-lime);
}

.indica-band .gene-value {
    color: var(--accent-amber);
}

.terpene-observatory {
    background: rgba(26, 43, 40, 0.5);
    padding: 1.5rem;
    border: 1px solid rgba(175, 255, 51, 0.2);
}

.radar-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.radar-chart {
    width: 100%;
    height: auto;
}

.radar-label {
    fill: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.microscope-gallery {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-lime);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 200px;
}

.gallery-cell {
    overflow: hidden;
    border: 1px solid rgba(175, 255, 51, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(175, 255, 51, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-cell:hover::before {
    opacity: 1;
}

.gallery-cell:hover {
    border-color: var(--accent-lime);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(175, 255, 51, 0.2);
}

.cell-standard {
    grid-row: span 2;
}

.cell-tall {
    grid-row: span 3;
}

.cell-wide {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

.vault-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(175, 255, 51, 0.2);
    text-align: center;
}

.footer-contact {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--accent-lime);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-amber);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(240, 240, 240, 0.6);
}

@media (max-width: 1024px) {
    .dual-panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vitrine-module {
        position: relative;
        top: 0;
    }

    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .domain-logo {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
    }

    .radar-container {
        max-width: 300px;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .cell-tall,
    .cell-standard {
        grid-row: span 2;
    }
}

