:root {
    --primary: #d32f2f;
    --secondary: #1976d2;
    --dark: #1a1a2e;
    --light: #f5f5f5;
    --warning: #f57c00;
    --success: #388e3c;
    --text: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #b71c1c 0%, #7f0000 100%);
    padding: 2rem;
    border-bottom: 4px solid var(--warning);
}

.back-link {
    color: #ffcc80;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: white;
}

.article-header h1 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    color: #ffcc80;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Content */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.content h2 {
    color: var(--warning);
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(245, 124, 0, 0.3);
    padding-bottom: 0.5rem;
}

.content h3 {
    color: #4fc3f7;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content p {
    margin-bottom: 1rem;
}

.content ul, .content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #bf360c 0%, #870000 100%);
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-size: 1.05rem;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th {
    background: rgba(245, 124, 0, 0.3);
    color: #ffcc80;
    padding: 0.8rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: rgba(255,255,255,0.05);
}

/* Checklist */
.checklist {
    list-style: none !important;
    margin-left: 0 !important;
}

.checklist li {
    background: rgba(0,0,0,0.2);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--success);
}

/* Links */
a {
    color: #4fc3f7;
    text-decoration: none;
}

a:hover {
    color: var(--warning);
    text-decoration: underline;
}

/* Footer */
.article-footer {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .article-header {
        background: white !important;
        color: black !important;
        border: 2px solid black;
    }
    .article-header h1 {
        color: black !important;
    }
    .warning-box {
        background: #fff3e0 !important;
        color: black !important;
        border: 2px solid #ff9800;
    }
    a {
        color: #1565c0 !important;
    }
    .data-table th {
        background: #e0e0e0 !important;
        color: black !important;
    }
}
