:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #3b82f6;
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.user-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
}

.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.forum-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.sidebar-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-header h2 {
    font-size: 1.75rem;
    color: var(--text);
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    transition: all 0.3s;
}

.topic-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.topic-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.topic-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.topic-author strong {
    font-size: 0.9rem;
    color: var(--text);
}

.timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.topic-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topic-content h3 {
    font-size: 1.1rem;
    margin: 0;
}

.topic-content h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.topic-content h3 a:hover {
    color: var(--accent);
}

.topic-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.topic-stats .stat {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-link {
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 968px) {
    .forum-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .topic-card {
        grid-template-columns: 1fr;
    }
    
    .topic-meta {
        flex-direction: row;
        align-items: center;
    }
    
    .topic-stats {
        flex-direction: row;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}





/* Poison samples gallery */
.poison-gallery{margin:3rem 0}
.poison-gallery .poison-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.poison-gallery figure{margin:0;padding:0}
.poison-gallery img{width:100%;height:auto;display:block;border-radius:12px}
.poison-gallery figcaption{margin-top:.6rem;line-height:1.5;opacity:.95}
.poison-gallery .poison-meta{font-size:.9rem;opacity:.8}

.poison-gallery .poison-title{margin:0 0 .4rem;font-size:1.6rem;line-height:1.2}
.poison-gallery .poison-intro{margin:0 0 1.25rem;opacity:.9;max-width:70ch}
