body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

#dna-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    z-index: 100;
}

#instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    z-index: 100;
}

#instructions h2 {
    margin: 0 0 5px 0;
    color: #4CAF50;
}

#instructions p {
    margin: 0;
    color: #ddd;
}

#container {
    display: flex;
    width: 100%;
    height: 100vh;
    background: #000;
}

#canvas-container {
    position: relative;
    flex: 2;
    overflow: hidden;
}

#descriptor-panel {
    flex: 1;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    overflow-y: auto;
    border-left: 2px solid #333;
}

#descriptor-panel h2 {
    color: #4CAF50;
    margin-top: 0;
    text-align: center;
}

#descriptor-panel h3 {
    color: #2196F3;
    margin-bottom: 10px;
}

.dna-diagram {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.dna-diagram svg {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 10px;
}

.description ul {
    margin: 15px 0;
    padding-left: 20px;
}

.description li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.description p {
    color: #ccc;
    line-height: 1.5;
    margin-top: 15px;
}

#navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-button {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #4CAF50;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-button:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #66BB6A;
}

.nav-button.active {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
}

.nav-separator {
    color: #4CAF50;
    font-weight: bold;
}
