:root {
    --bg-dark: #1a1a2e;
    --bg-panel: #16213e;
    --neon-green: #00ff88;
    --neon-green-dark: #00cc6a;
    --base-A: #ff6b6b;
    --base-T: #4ecdc4;
    --base-C: #ffe66d;
    --base-G: #95e1d3;
}

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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f0f23 100%);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--neon-green);
}

h1 {
    font-size: 2.5rem;
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green-dark);
}

.subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.strand-banner {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.base {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

.base.A { background: var(--base-A); color: #000; }
.base.T { background: var(--base-T); color: #000; }
.base.C { background: var(--base-C); color: #000; }
.base.G { background: var(--base-G); color: #000; }

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

section {
    background: var(--bg-panel);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,255,136,0.2);
}

h2 {
    color: var(--neon-green);
    border-bottom: 2px solid var(--neon-green);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.info-panel ul {
    list-style: none;
    padding-left: 1rem;
}

.info-panel li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--neon-green);
}

.genome-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .genome-inputs {
        grid-template-columns: 1fr;
    }
}

.genome-box {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 8px;
}

.genome-box h3 {
    color: var(--neon-green);
    margin-bottom: 0.5rem;
}

textarea {
    width: 100%;
    min-height: 200px;
    background: #0a0a1a;
    border: 1px solid rgba(0,255,136,0.3);
    border-radius: 5px;
    color: #fff;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    resize: vertical;
}

button {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dark));
    color: #000;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5rem;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,255,136,0.4);
}

.big-button {
    display: block;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.3rem;
}

#results-output {
    background: #0a0a1a;
    border-radius: 5px;
    padding: 1.5rem;
    min-height: 150px;
}

.placeholder {
    color: #666;
    text-align: center;
    padding: 2rem;
}

.offspring-data {
    color: var(--neon-green);
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.9rem;
}

.mutation {
    color: gold;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0,255,136,0.2);
    color: #888;
}