/* DigitalDNA Lab - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
    --lab-white: #ffffff;
    --acid-green: #00ff00;
    --acid-green-dark: #00cc00;
    --neon-blue: #0080ff;
    --neon-blue-dark: #0066cc;
    --dark-gray: #1a1a1a;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--lab-white);
    color: #333;
    line-height: 1.6;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--acid-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--acid-green-dark);
}

/* DNA Animation Container */
#dna-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gene Items Drag and Drop */
.gene-item {
    transition: all 0.3s ease;
    user-select: none;
}

.gene-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
    border-color: var(--acid-green) !important;
}

.gene-item:active {
    transform: scale(0.98);
}

/* DNA Sequence Container */
#dna-sequence-container.drag-over {
    border-color: var(--acid-green) !important;
    background-color: rgba(0, 255, 0, 0.05);
}

/* Acid Green Button Styles */
.bg-acid-green {
    background-color: var(--acid-green);
}

.bg-acid-green:hover {
    background-color: var(--acid-green-dark);
}

.text-acid-green {
    color: var(--acid-green);
}

.bg-neon-blue {
    background-color: var(--neon-blue);
}

.bg-neon-blue:hover {
    background-color: var(--neon-blue-dark);
}

.text-neon-blue {
    color: var(--neon-blue);
}

/* Holographic Effects */
.holographic {
    background: linear-gradient(45deg, 
        rgba(0, 255, 0, 0.1), 
        rgba(0, 128, 255, 0.1), 
        rgba(0, 255, 0, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pulse Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* DNA Strand Animation */
.dna-strand {
    position: relative;
    height: 100px;
    width: 2px;
    background: var(--acid-green);
    margin: 0 auto;
}

.dna-strand::before,
.dna-strand::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-blue);
    animation: rotate 3s linear infinite;
}

.dna-strand::before {
    top: -10px;
    left: -9px;
}

.dna-strand::after {
    bottom: -10px;
    left: -9px;
}

@keyframes rotate {
    0% { transform: rotate(0deg) translateX(10px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
}

/* Neon Glow */
.neon-glow {
    box-shadow: 0 0 10px var(--acid-green),
                0 0 20px var(--acid-green),
                0 0 40px var(--acid-green);
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}