@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&display=swap');

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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #0a1a1a 50%, #1a0a0a 100%);
    color: #e8e8e8;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
    padding: 15px;
    min-height: 100vh;
    font-size: 14px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 25px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid #444;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4444, #00dddd, #ff4444, transparent);
    border-radius: 6px 6px 0 0;
}

.header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
}

.lab-title {
    color: #ff4444;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lab-title a {
    color: #ff4444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lab-title a:hover {
    color: #00dddd;
}

.divergence {
    color: #00dddd;
    margin: 10px 0 0;
    font-size: 0.9em;
    font-weight: 300;
    opacity: 0.8;
}

.post {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #444;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
}

.post-title {
    color: #ff4444;
    margin: 0 0 8px;
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.2;
}

.post-meta {
    color: #888;
    font-size: 0.8em;
    margin-bottom: 12px;
    font-weight: 300;
    padding-left: 12px;
    position: relative;
}

.post-meta::before {
    content: '▶';
    color: #00dddd;
    position: absolute;
    left: 0;
    font-size: 0.7em;
}

.post-content {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #d0d0d0;
    font-weight: 300;
    line-height: 1.4;
}

.read-more {
    color: #ff4444;
    text-decoration: none;
    border: 1px solid #ff4444;
    padding: 8px 14px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.75em;
}

.read-more:hover {
    color: #00dddd;
    border-color: #00dddd;
    box-shadow: 0 0 15px rgba(0, 221, 221, 0.3);
}

/* Status styling */
.post-title[data-status="DRAFT"] { 
    color: #ffaa44; 
}

.post-title[data-status="DISCARDED"] { 
    color: #666; 
    text-decoration: line-through;
    opacity: 0.6;
}

.post[data-status="DISCARDED"] {
    opacity: 0.6;
    filter: grayscale(0.5);
}

.post[data-status="DISCARDED"] .read-more {
    border-color: #666;
    color: #666;
}

.post[data-status="DISCARDED"] .read-more:hover {
    color: #888;
    border-color: #888;
    box-shadow: 0 0 10px rgba(136, 136, 136, 0.2);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.divergence {
    animation: pulse 3s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 13px;
    }
    
    .container {
        padding: 20px;
    }
    
    .lab-title {
        font-size: 1.5rem;
    }
    
    .post {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1.2em;
    }
}