
/* DNA Helix Inspired Theme */
:root {
    --dna-blue: #00c6ff;
    --dna-pink: #ff2a6d;
    --gene-green: #00ff9d;
    --dark-bg: #0a0f1c;
    --card-bg: #111827;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
}

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

body {
    font-family: 'Segoe UI', 'Roboto Mono', monospace;
    background-color: var(--dark-bg);
    color: var(--text-light);
    background-image: 
radial-gradient(circle at 20% 30%, rgba(0, 198, 255, 0.05) 0%, transparent 20%),
radial-gradient(circle at 80% 70%, rgba(255, 42, 109, 0.05) 0%, transparent 20%);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* DNA Helix Animation Background */
.dna-helix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dna-blue), transparent);
    animation: float 20s linear infinite;
}

.dna-strand:nth-child(odd) {
    background: linear-gradient(to bottom, transparent, var(--dna-pink), transparent);
}

.dna-strand:nth-child(2) { left: 15%; animation-delay: -5s; }
.dna-strand:nth-child(3) { left: 30%; animation-delay: -10s; }
.dna-strand:nth-child(4) { left: 45%; animation-delay: -15s; }
.dna-strand:nth-child(5) { left: 60%; animation-delay: -7s; }
.dna-strand:nth-child(6) { left: 75%; animation-delay: -12s; }
.dna-strand:nth-child(7) { left: 90%; animation-delay: -3s; }

@keyframes float {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Header & Navigation */
.header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--dna-blue), var(--gene-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-links a:hover {
    border-color: var(--dna-blue);
    background: rgba(0, 198, 255, 0.1);
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(17, 24, 39, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--dna-pink), var(--dna-blue));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.blog-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--dna-blue), var(--gene-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Main Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

/* Article Content */
.article-content {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-section {
    margin-bottom: 3rem;
    width: 100%;!important
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gene-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.highlight-box {
    background: rgba(0, 255, 157, 0.05);
    border-left: 4px solid var(--gene-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-title {
    color: var(--gene-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* DNA Sequence Visualizer */
.dna-visualizer {
    background: rgba(10, 15, 28, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 42, 109, 0.3);
    text-align: center;
}

.dna-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dna-pink);
}

.dna-sequence {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow-x: auto;
    white-space: nowrap;
    border: 1px solid rgba(0, 198, 255, 0.2);
}

.base-pair {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s;
}

.base-a { background: rgba(0, 198, 255, 0.2); color: var(--dna-blue); }
.base-t { background: rgba(255, 42, 109, 0.2); color: var(--dna-pink); }
.base-c { background: rgba(0, 255, 157, 0.2); color: var(--gene-green); }
.base-g { background: rgba(255, 215, 0, 0.2); color: #ffd700; }

.base-pair:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Interactive Gene Editor */
.gene-editor {
    background: rgba(17, 24, 39, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(0, 198, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.editor-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dna-blue);
    text-align: center;
}

.gene-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gene-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.gene-option:hover {
    border-color: var(--dna-blue);
    transform: translateY(-5px);
    background: rgba(0, 198, 255, 0.05);
}

.gene-option.active {
    border-color: var(--gene-green);
    background: rgba(0, 255, 157, 0.05);
}

.gene-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dna-pink);
}

.gene-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.gene-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.editor-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--dna-blue), var(--dna-pink));
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.result-display {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.result-text {
    color: var(--gene-green);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 42, 109, 0.2);
    height: fit-content;
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dna-pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-topics {
    list-style: none;
}

.related-topics li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-topics a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.related-topics a:hover {
    color: var(--dna-blue);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 5%;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 198, 255, 0.2);
    background: rgba(10, 15, 28, 0.8);
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--dna-blue);
}

.copyright {
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
flex-direction: column;
gap: 1.5rem;
    }
    
    .blog-title {
font-size: 2.5rem;
    }
    
    .content-grid {
gap: 2rem;
width: 100%;!important
    }
    
    .article-content, .sidebar {
padding: 2rem;
    }
    
    .gene-selector {
grid-template-columns: 1fr;
    }
    
    .editor-controls {
flex-direction: column;
align-items: center;
    }
    
    .btn {
width: 100%;
max-width: 300px;
justify-content: center;
    }
}
    </style>