:root {
  --bg-primary: #0a0c13;
  --bg-secondary: #111420;
  --bg-card: rgba(22, 27, 42, 0.7);
  --bg-glass: rgba(18, 22, 36, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(229, 9, 20, 0.4);
  --accent-red: #e50914;
  --accent-red-glow: rgba(229, 9, 20, 0.35);
  --accent-blue: #00d2ff;
  --accent-purple: #9d4edd;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-highlight: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 20%;
  width: 60vw;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, rgba(0, 210, 255, 0.03) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Top Nav */
.art-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 24px;
}

.art-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.art-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.art-brand-badge {
  background: linear-gradient(135deg, var(--accent-red), #b20710);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.art-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.art-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.art-nav-link:hover {
  color: #fff;
}

.art-btn-cta {
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-red-glow);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.art-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}

/* Layout */
.art-container {
  max-width: 920px;
  margin: 40px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.art-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.art-breadcrumb a:hover {
  color: var(--accent-red);
}

.art-breadcrumb-separator {
  opacity: 0.4;
}

/* Header */
.art-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
}

.art-meta-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.art-tag {
  background: rgba(229, 9, 20, 0.15);
  color: #ff4d58;
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.art-tag.blue {
  background: rgba(0, 210, 255, 0.12);
  color: #00d2ff;
  border-color: rgba(0, 210, 255, 0.3);
}

.art-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 16px;
}

.art-info-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.art-info-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Content Body */
.art-content {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.85;
}

.art-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent-red);
  scroll-margin-top: 80px;
}

.art-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 28px 0 12px;
  scroll-margin-top: 80px;
}

.art-content p {
  margin-bottom: 18px;
}

.art-content ul, .art-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.art-content li {
  margin-bottom: 8px;
}

.art-content strong {
  color: #fff;
  font-weight: 600;
}

/* Callouts */
.art-callout {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  position: relative;
}

.art-callout.tip {
  border-left: 4px solid #10b981;
  background: rgba(16, 185, 129, 0.06);
}

.art-callout.warning {
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}

.art-callout.streaming {
  border-left: 4px solid var(--accent-red);
  background: rgba(229, 9, 20, 0.08);
}

.art-callout-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Comparison Table */
.art-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.art-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--bg-secondary);
}

.art-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.art-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #d1d5db;
}

.art-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* In-article CTA box */
.art-cta-card {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(17, 20, 32, 0.95) 100%);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.art-cta-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.art-cta-card p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
}

.art-cta-card .art-btn-cta {
  font-size: 1.05rem;
  padding: 12px 32px;
  border-radius: 30px;
}

/* Quick Jump TOC */
.art-toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.art-toc-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 12px;
}

.art-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.art-toc li {
  margin-bottom: 8px;
}

.art-toc a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.art-toc a:hover {
  color: var(--accent-red);
  padding-left: 4px;
}

/* Footer */
.art-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.art-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

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

.art-footer-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .art-title {
    font-size: 1.6rem;
  }
  .art-content h2 {
    font-size: 1.35rem;
  }
  .art-cta-card {
    padding: 24px 18px;
  }
}
