/* ============================================
   Delta Force Hawk Ops — Game Guide Website
   Modern Dark Tactical Theme
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --bg-card-hover: #1f2a40;
  --bg-header: rgba(10, 14, 23, 0.95);
  --text-primary: #e8eaf0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-primary: #f59e0b;
  --accent-secondary: #10b981;
  --accent-danger: #ef4444;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --border-color: #2a3450;
  --border-light: #374151;

  /* Typography */
  --font-heading: 'Rajdhani', 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;
  --sidebar-width: 300px;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-primary), #d97706);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--bg-primary);
  vertical-align: middle;
  flex-shrink: 0;
}

.logo-text {
  display: inline;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-primary);
  text-decoration: none;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
}

/* Language Toggle Button */
.lang-toggle {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--accent-primary);
}

/* Chinese translation strip in articles */
.zh-translation-strip {
  border-left-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.05) !important;
}

.zh-translation-strip .callout-title {
  color: #ef4444;
}

/* Card image styling */
.card-image-real {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.3) 0%,
    rgba(10, 14, 23, 0.6) 50%,
    rgba(10, 14, 23, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #d97706);
  color: var(--bg-primary);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  text-decoration: none;
  color: var(--bg-primary);
}

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

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  text-decoration: none;
}

/* --- Article Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.card-image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.cat-overview { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.cat-mode { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.cat-operator { background: rgba(245, 158, 11, 0.15); color: var(--accent-primary); }
.cat-weapon { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.cat-map { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }
.cat-economy { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.cat-beginner { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.read-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Article Page Layout --- */
.article-page {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

.article-header {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-2xl);
}

.article-header .container {
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb-sep {
  color: var(--border-light);
}

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Article Content */
.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.article-content h4 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.article-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* Tables */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}

.article-content table thead {
  background: var(--bg-card);
}

.article-content table th {
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  color: var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  white-space: nowrap;
}

.article-content table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.article-content table tr:hover {
  background: rgba(245, 158, 11, 0.03);
}

/* Tier badges in tables */
.tier {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
}

.tier-t0 { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.tier-t1 { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.tier-t2 { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

/* Info boxes / Callouts */
.callout {
  padding: var(--space-lg);
  border-radius: var(--border-radius-sm);
  margin: var(--space-lg) 0;
  border-left: 4px solid;
}

.callout-info {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--accent-blue);
}

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--accent-primary);
}

.callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-secondary);
}

.callout-danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--accent-danger);
}

.callout-title {
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Article Images */
.article-hero-banner {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border-color);
}

.article-hero-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.article-image {
  margin: var(--space-xl) 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.article-image img {
  width: 100%;
  height: auto;
}

.article-image-caption {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Inline SVG images for articles */
.article-svg-image {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius);
  margin: var(--space-xl) 0;
  border: 1px solid var(--border-color);
}

/* --- Ad Slots (hidden until AdSense approved) --- */
.ad-slot {
  display: none;
}

.ad-slot-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

/* --- Sidebar / TOC --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr min(var(--sidebar-width), 25%) 1fr;
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.article-layout > .article-main {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0 auto;
}

/* --- Related Articles --- */
.related-articles {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-color);
  margin-top: var(--space-2xl);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.related-grid .article-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.related-grid .article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.related-grid .card-title a,
.related-grid .article-card a {
  color: var(--text-primary);
  text-decoration: none;
  display: block;
}

.related-grid .card-title a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

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

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  margin: var(--space-md) auto;
  border-radius: 2px;
}

/* --- Category Filter Bar --- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(245, 158, 11, 0.1);
}

/* --- Search Bar --- */
.search-bar {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-bar input:focus {
  border-color: var(--accent-primary);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Breadcrumb Structured Data --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Code blocks --- */
.article-content code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent-primary);
}

.article-content pre {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--border-radius-sm);
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border: 1px solid var(--border-color);
}

.article-content pre code {
  background: none;
  padding: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- Print styles --- */
@media print {
  .site-header,
  .site-footer,
  .scroll-top,
  .ad-slot,
  .hero-canvas {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .article-content {
    max-width: 100%;
  }
}

/* --- Share codes display --- */
.share-code {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.share-code:hover {
  border-color: var(--accent-primary);
}

/* --- Pros/Cons lists --- */
.pros-list, .cons-list {
  list-style: none;
  padding-left: 0;
}

.pros-list li::before {
  content: '✅';
  margin-right: var(--space-sm);
}

.cons-list li::before {
  content: '❌';
  margin-right: var(--space-sm);
}

/* --- Operator card --- */
.operator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.operator-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.operator-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.operator-tier {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
