/**
 * Stadium Luminescence - Bespoke Design System for Sportzfy TV
 * Dual Theme: "Day Stadium" (Light) & "Night Game" (Dark)
 * High-performance, zero-bloat CSS
 */

:root,
[data-theme="light"] {
  /* Day Stadium (Light Mode Palette) */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-glass: rgba(15, 23, 42, 0.08);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  /* Stadium Luminescence Accents */
  --accent-emerald: #059669;
  --accent-emerald-light: #d1fae5;
  --accent-cyan: #0284c7;
  --accent-cyan-light: #e0f2fe;
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-purple: #7c3aed;
  --accent-purple-light: #ede9fe;
  --accent-violet: #7c3aed;
  --accent-violet-light: #ede9fe;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #059669 100%);
  --grad-hover: linear-gradient(135deg, #0369a1 0%, #047857 100%);
  --grad-cyan-glow: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  --grad-card-border: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(5, 150, 105, 0.25));

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 10px 25px -5px rgba(2, 132, 199, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

[data-theme="dark"] {
  /* Night Game (Dark Mode Palette) */
  --bg-canvas: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --bg-surface-subtle: #162032;

  --border-light: #1e293b;
  --border-subtle: #334155;
  --border-glass: rgba(255, 255, 255, 0.08);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0f172a;

  --accent-emerald: #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.15);
  --accent-cyan: #38bdf8;
  --accent-cyan-light: rgba(56, 189, 248, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-light: rgba(245, 158, 11, 0.15);
  --accent-purple: #a78bfa;
  --accent-purple-light: rgba(167, 139, 250, 0.15);
  --accent-violet: #a78bfa;
  --accent-violet-light: rgba(167, 139, 250, 0.15);

  --grad-primary: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  --grad-hover: linear-gradient(135deg, #0ea5e9 0%, #34d399 100%);
  --grad-cyan-glow: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18) 0%, transparent 70%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 10px 30px -5px rgba(2, 132, 199, 0.4);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-canvas);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* Header & Navigation */
.header-glass {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .header-glass {
  background-color: rgba(9, 13, 22, 0.85);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 2px 10px rgba(2, 132, 199, 0.35));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.site-footer .brand-logo-img {
  height: 76px;
  max-width: 220px;
}

.mobile-menu-header .brand-logo-img {
  height: 50px;
  max-width: 150px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 8px 4px;
}

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

/* Navigation Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 110;
}

.nav-item:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-surface-subtle);
  color: var(--accent-cyan);
}

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

/* Theme Switcher Button */
.theme-toggle-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Mobile Menu Toggle */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section & Match Telemetry */
.hero-stadium {
  position: relative;
  padding: 60px 0 80px;
  background-image: var(--grad-cyan-glow);
  background-repeat: no-repeat;
  background-position: top center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.badge-live {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.badge-verified {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.badge-cyan {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.badge-purple {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.hero-title {
  font-size: 3rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

/* The Smart Download Pod */
.download-pod {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}

.pod-primary-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: var(--grad-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pod-primary-btn:hover {
  background: var(--grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.45);
}

.pod-btn-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pod-btn-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.pod-btn-sub {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 500;
}

.pod-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.pod-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pod-quick-btn:hover {
  background: var(--bg-surface);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Global Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: var(--grad-hover);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-outline {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.table-scroll-hint {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
  background: var(--bg-surface-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--border-light);
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: inline-block;
  }
}

/* Match Telemetry Dashboard (Hero Graphic) */
.telemetry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.telemetry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.match-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 18px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.match-stream-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.telemetry-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-chip {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  border: 1px solid var(--border-light);
}

.stat-chip-label {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-weight: 700;
}

.stat-chip-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Glass Cards & Sections */
.section-pad {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 750;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-action-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.card-action-link:hover {
  gap: 10px;
}

/* Application Screenshots Showcase */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.screenshot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.screenshot-card-wide {
  grid-column: span 2;
}

.screenshot-img-wrap {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  min-height: 320px;
}

.screenshot-img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-normal);
  object-fit: contain;
}

.screenshot-card:hover .screenshot-img {
  transform: scale(1.02);
}

.screenshot-card-info {
  padding: 24px;
  flex-grow: 1;
}

.screenshot-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.screenshot-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pros and Cons Comparison Grid */
.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.pro-con-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.pro-card {
  border-top: 4px solid var(--accent-emerald);
}

.con-card {
  border-top: 4px solid var(--accent-amber);
}

.pro-con-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.pro-header {
  color: var(--accent-emerald);
}

.con-header {
  color: var(--accent-amber);
}

.pro-con-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pro-con-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.5;
}

.pro-icon {
  color: var(--accent-emerald);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.con-icon {
  color: var(--accent-amber);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature Check Matrix */
.feature-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-check-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.feature-check-chip:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-surface-subtle);
  transform: translateX(3px);
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Sideloading Notice / Information Box */
.notice-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.notice-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.notice-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.notice-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sports Coverage Hub Grid */
.sports-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.sport-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.sport-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

/* Information Deck Table */
.specs-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
  width: 100%;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.specs-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.specs-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.specs-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-full);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  background: var(--bg-surface-subtle);
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.specs-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  word-break: break-word;
}

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

.specs-table tr:nth-child(even) {
  background-color: var(--bg-surface-subtle);
}

/* 2-Column Key-Value Specifications Tables */
.specs-table.specs-table-2col,
.specs-table:has(.spec-name) {
  table-layout: fixed !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.specs-table.specs-table-2col th,
.specs-table:has(.spec-name) th {
  white-space: normal;
  word-break: normal;
}

.specs-table td.spec-name {
  font-weight: 700;
  color: var(--text-muted);
  width: 38%;
  vertical-align: middle;
  word-break: normal;
}

.specs-table td.spec-val {
  font-weight: 600;
  width: 62%;
  word-break: normal;
}

/* 2-Column tables should never scroll horizontally */
.specs-table-wrapper:has(.specs-table-2col),
.specs-table-wrapper.specs-table-wrapper-fit {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.specs-table.specs-table-2col td .badge-pill,
.specs-table:has(.spec-name) td .badge-pill {
  white-space: normal !important;
  word-break: normal !important;
  display: inline-block !important;
  max-width: 100%;
  line-height: 1.35;
  padding: 4px 10px;
  font-size: 0.8rem;
  text-align: left;
}

/* Multi-Column Data Tables */
.specs-table.table-multicell,
.specs-table:not(.specs-table-2col):not(:has(.spec-name)) {
  min-width: 680px;
}

.specs-table.table-multicell th,
.specs-table.table-multicell td {
  white-space: nowrap;
}

.specs-table.table-multicell th:nth-child(5),
.specs-table.table-multicell td:nth-child(5) {
  white-space: normal;
  min-width: 220px;
  max-width: 320px;
  word-break: normal;
}

/* Interactive Tabs Component */
.tabs-nav {
  display: flex;
  gap: 10px;
  background: var(--bg-surface-subtle);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  background: none;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Copyable Code Box */
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin: 16px 0;
}

.code-val {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.btn-copy {
  background: var(--accent-cyan);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.btn-copy:hover {
  opacity: 0.9;
}

/* Cryptographic Hash Card & Responsive Box */
.hash-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
  margin-top: 18px;
}

.hash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.hash-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hash-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-surface);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  min-width: 0;
}

.hash-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  word-break: break-all;
  line-height: 1.5;
  flex: 1 1 auto;
  min-width: 0;
  user-select: all;
}

.hash-box .btn-copy {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hash-card {
    padding: 16px 14px;
  }
  .hash-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }
  .hash-val {
    width: 100%;
    font-size: 0.76rem;
    line-height: 1.55;
    word-break: break-all;
    text-align: left;
    display: block;
  }
  .hash-box .btn-copy {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    justify-content: center;
    display: flex;
  }
}

/* Accordion FAQs */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 750;
  text-align: left;
  border: none;
  background: none;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Sibling Recommendations Deck */
.deck-wrapper {
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-light);
  padding: 60px 0;
}

/* Footer Styling */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

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

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Mobile Menu Drawer Styling */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-elevated);
}

.mobile-close-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-close-btn:hover {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
}

.mobile-menu-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-top: 6px;
  margin-bottom: -6px;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text-main);
  background: var(--bg-surface-subtle);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border-color: rgba(2, 132, 199, 0.2);
}


.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.mobile-toggle-btn {
  display: none;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Solution Workarounds Header */
.solution-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.solution-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
  line-height: 1.35;
}

/* Action Banner CTA Card */
.action-banner-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* Diagnostic Troubleshooter Desk */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.diagnostic-tile {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.diagnostic-tile:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.diagnostic-tile.active {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  box-shadow: var(--shadow-sm);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle-btn {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-pad {
    padding: 44px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.28;
  }
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-stadium {
    padding: 36px 0 32px;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
  }
  .hero-lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .download-pod {
    padding: 20px;
    max-width: 100%;
  }
  .cards-grid-4,
  .cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .glass-card {
    padding: 20px;
    border-radius: var(--radius-lg);
  }
  .solution-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .solution-title {
    font-size: 1.15rem;
  }
  .action-banner-card {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .action-banner-card .badge-pill,
  .action-banner-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .diagnostic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .screenshot-card-wide {
    grid-column: span 1;
  }
  .screenshot-img-wrap {
    padding: 20px 14px;
    min-height: 240px;
  }
  .screenshot-img {
    max-height: 320px;
  }
  .screenshot-card-info {
    padding: 18px;
  }
  .pro-con-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pro-con-card {
    padding: 20px;
  }
  .feature-check-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sports-hub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .notice-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  /* Table Mobile Responsiveness */
  .specs-table-wrapper {
    margin: 20px 0;
    border-radius: var(--radius-lg);
  }
  .specs-table th {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
  .specs-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
    word-break: break-word;
  }
  /* 2-Column Tables Mobile Fit (Zero Horizontal Scroll) */
  .specs-table.specs-table-2col {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .specs-table-wrapper:has(.specs-table-2col),
  .specs-table-wrapper.specs-table-wrapper-fit {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .specs-table.specs-table-2col th {
    padding: 10px 10px;
    font-size: 0.78rem;
    white-space: normal;
  }
  .specs-table.specs-table-2col td {
    padding: 10px 10px;
    font-size: 0.84rem;
    word-break: normal;
  }
  .specs-table.specs-table-2col td.spec-name,
  .specs-table:has(.spec-name) td.spec-name {
    width: 38%;
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .specs-table.specs-table-2col td.spec-val,
  .specs-table:has(.spec-name) td.spec-val {
    width: 62%;
    font-size: 0.84rem;
    line-height: 1.4;
  }
  .specs-table.table-multicell td .badge-pill {
    white-space: nowrap !important;
    word-break: normal !important;
    display: inline-flex !important;
    align-items: center;
    line-height: 1.2;
    padding: 3px 8px;
    font-size: 0.75rem;
    max-width: max-content;
  }
  .specs-table.specs-table-2col td .badge-pill,
  .specs-table:has(.spec-name) td .badge-pill {
    white-space: normal !important;
    word-break: normal !important;
    display: inline-block !important;
    line-height: 1.35;
    padding: 4px 8px;
    font-size: 0.76rem;
    max-width: 100%;
    text-align: left;
  }
  .specs-table td code {
    word-break: break-all;
    font-size: 0.78rem;
    display: inline-block;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 48px;
    max-width: 140px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .badge-pill {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-meta-strip {
    gap: 6px;
    margin-bottom: 16px;
  }
  .hero-meta-strip .badge-pill {
    font-size: 0.72rem;
    padding: 4px 8px;
  }
  .download-pod {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .pod-primary-btn {
    padding: 12px 16px;
  }
  .pod-btn-title {
    font-size: 0.98rem;
  }
  .pod-btn-sub {
    font-size: 0.72rem;
  }
  .pod-quick-links {
    gap: 6px;
  }
  .pod-quick-btn {
    padding: 8px 4px;
    font-size: 0.72rem;
  }
  .telemetry-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .match-teams {
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 6px;
  }
  .telemetry-stats-grid {
    gap: 8px;
  }
  .stat-chip {
    padding: 8px 10px;
  }
  .stat-chip-label {
    font-size: 0.68rem;
  }
  .stat-chip-val {
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }
  .glass-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .card-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-desc {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }
  .code-box {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .code-val {
    font-size: 0.95rem;
  }
  .btn-copy {
    width: 100%;
    text-align: center;
  }
  .tabs-nav {
    gap: 4px;
    padding: 4px;
  }
  .tab-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .diagnostic-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .specs-table th {
    padding: 10px 10px;
    font-size: 0.74rem;
  }
  .specs-table td {
    padding: 10px 10px;
    font-size: 0.82rem;
  }
  .specs-table.specs-table-2col th {
    padding: 8px 8px;
    font-size: 0.74rem;
  }
  .specs-table.specs-table-2col td {
    padding: 8px 8px;
    font-size: 0.8rem;
  }
  .specs-table.specs-table-2col td.spec-name,
  .specs-table:has(.spec-name) td.spec-name {
    width: 38%;
    font-size: 0.76rem;
  }
  .specs-table.specs-table-2col td.spec-val,
  .specs-table:has(.spec-name) td.spec-val {
    width: 62%;
    font-size: 0.8rem;
  }
  .specs-table.table-multicell td .badge-pill {
    font-size: 0.72rem;
    padding: 3px 6px;
    white-space: nowrap !important;
    word-break: normal !important;
  }
  .specs-table.specs-table-2col td .badge-pill,
  .specs-table:has(.spec-name) td .badge-pill {
    font-size: 0.72rem;
    padding: 3px 6px;
    white-space: normal !important;
    word-break: normal !important;
  }
  .specs-table td code {
    font-size: 0.72rem;
  }
  .btn {
    font-size: 0.88rem;
    padding: 10px 18px;
    max-width: 100%;
  }
}

/* ==========================================================================
   Blog & Editorial Article System
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Single Article Layout */
.article-header {
  margin-bottom: 36px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 850;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-left: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
}

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

.article-toc {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.article-toc-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.article-toc-list a:hover {
  color: var(--accent-cyan);
}

.article-callout {
  background: var(--bg-surface);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.article-author-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-top: 48px;
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blog-card {
    padding: 20px;
  }
  .article-content {
    font-size: 0.98rem;
    line-height: 1.75;
  }
  .article-content h2 {
    font-size: 1.35rem;
  }
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
}
