/* Pulse Of News – Luxury Tech Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400&display=swap');

:root {
  /* Colors */
  --bg: #0B0B0F;
  --bg-card: #12121A;
  --bg-hover: #1A1A24;
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-faint: #6B7280;

  /* Accent: Gold */
  --accent: #D4AF37;
  --accent-dim: rgba(212, 175, 55, 0.1);

  /* Typography */
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  /* UI Elements */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --r: 12px;
  --r-lg: 20px;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ── Audio Playback Bar ── */
.audio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  z-index: 1000;
  display: none; /* HARD HIDE */
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.audio-bar.visible {
  display: block;
  transform: translateY(0);
}

.audio-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.audio-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audio-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.audio-text {
  display: flex;
  flex-direction: column;
}

.audio-label {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.audio-title {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-main);
  transition: all var(--t);
}

.audio-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.audio-btn.stop {
  color: #EF4444;
}

.audio-btn.stop:hover {
  background: #EF4444;
  color: #fff;
  border-color: #EF4444;
}

@media (max-width: 768px) {
  .audio-title { max-width: 200px; }
  .audio-label { display: none; }
}

[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-hover: #F3F4F6;
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-faint: #9CA3AF;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --accent: #B8860B;
  --accent-dim: rgba(184, 134, 11, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}

[dir="rtl"] body {
  text-align: right;
  direction: rtl;
}

.lang-select {
  background: var(--bg-hover);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: var(--font-m);
  outline: none;
}

.lang-select:hover {
  border-color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ── */
.topbar {
  background: var(--accent);
  padding: 10px 24px;
  font-family: var(--font-m);
  font-size: 12px;
  color: #000;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.05em;
}

.topbar-tag {
  background: #000;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}

.topbar-weather {
  margin-left: 20px;
  opacity: 0.8;
  font-weight: 400;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  font-size: 11px;
  transition: all var(--t);
}

.share-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ── Header ── */
.site-header {
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--t);
}

[data-theme="light"] .site-header {
  background: rgba(250, 250, 250, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 18px 0;
  position: relative;
}

.logo {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pulse {
  color: var(--accent);
  font-size: 14px;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  max-width: calc(100% - 430px);
  min-width: 0;
  overflow-x: auto;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}

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

/* ── Search Overlay (Premium) ── */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 32px;
  color: var(--text-muted);
  transition: color var(--t);
}

.search-close:hover {
  color: var(--accent);
}

.search-overlay-content {
  width: 100%;
  max-width: 800px;
  padding: 0 40px;
  text-align: center;
}

#search-overlay-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-h);
  font-size: 48px;
  color: var(--text-main);
  padding: 20px 0;
  outline: none;
  text-align: center;
  transition: border-color var(--t);
}

#search-overlay-input:focus {
  border-color: var(--accent);
}

.search-hint {
  margin-top: 24px;
  font-family: var(--font-m);
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-trigger {
  font-size: 18px;
  color: var(--text-muted);
  transition: all var(--t);
  padding: 8px;
}

.search-trigger:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.theme-toggle {
  font-size: 18px;
  color: var(--text-muted);
  transition: color var(--t);
  padding: 8px;
}

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

.hamburger {
  display: none;
  font-size: 24px;
  color: var(--text-main);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

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

.mobile-nav a {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ── Breaking Ticker ── */
.breaking-wrap {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg);
  font-family: var(--font-b);
  font-size: 13px;
}

.breaking-label {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border-right: 1px solid var(--border);
  z-index: 10;
  background: var(--bg);
  flex-shrink: 0;
}

.breaking-track {
  display: flex;
  gap: 40px;
  padding: 10px 24px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
}

.breaking-wrap:hover .breaking-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.breaking-item {
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t);
}

.breaking-item:hover {
  color: var(--text-main);
}

.breaking-item b {
  color: var(--text-main);
  font-weight: 600;
  margin-right: 6px;
}

/* ── Typography & Structure ── */
.section-head {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-head h2 {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
}

.section-head .badge {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Split Hero ── */
.hero-section {
  padding: 60px 0;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-cat {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-h);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
}

.hero-summary {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrap:hover img {
  transform: scale(1.04);
}

/* ── 60 Seconds (Horizontal Scroll) ── */
.sixty-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.sixty-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sixty-scroll::-webkit-scrollbar {
  display: none;
}

.market-ticker-wrap, .weather-ticker-wrap {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 10px 0;
}

.weather-ticker-wrap {
  background: var(--bg-hover);
  border-top: 1px solid var(--border);
  padding: 6px 0;
}

.weather-ticker {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  animation: ticker 60s linear infinite;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sixty-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  cursor: pointer;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 180px;
}

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

.sixty-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sixty-cat {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sixty-time {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--text-faint);
}

.sixty-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.5;
}

/* ── Modern Grid ── */
.grid-section {
  padding: 40px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.card-img-wrap {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 11, 15, 0.7);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-family: var(--font-m);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
}

[data-theme="light"] .card-cat {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  transition: color var(--t);
}

.card:hover .card-title {
  color: var(--accent);
}

.card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

/* ── Category Featured ── */
.featured-article {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t);
  align-items: stretch;
}

.featured-article:hover {
  border-color: var(--border-hover);
}

.featured-img-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
}

.featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-body {
  padding: 40px 0 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
  color: var(--text-main);
  line-height: 1.2;
}

.featured-summary {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.category-salary {
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.jobs-search-input {
  width: 100%;
  max-width: 520px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-m);
  font-size: 14px;
  outline: none;
}

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

.job-count {
  font-size: 13px;
  color: var(--text-faint);
}

.job-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20,20,20,0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.job-card:hover::before {
  opacity: 1;
}

.job-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.job-title {
  font-family: var(--font-h);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-main);
}

.job-company {
  font-family: var(--font-m);
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.job-pill {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.job-description {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}

.job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.job-tag.remote {
  color: var(--accent);
  border-color: rgba(255, 164, 0, 0.2);
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--t);
}

.apply-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.section-copy {
  max-width: 730px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 28px;
}

.empty-state {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
  color: var(--text-faint);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

/* ── Load More ── */
.load-more-wrapper {
  text-align: center;
  margin-top: 48px;
}

.btn-load-more {
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--t);
}

.btn-load-more:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Article Page ── */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 40px;
}

.article-kicker {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.article-title {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.article-summary {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.article-hero {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 60px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 24px;
}

/* ── Insight Boxes (Style) ── */
.insight-wrapper {
  max-width: 720px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insight-box {
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  padding: 32px;
  border-radius: 0 var(--r) var(--r) 0;
}

.insight-label {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 12px;
}

.insight-box p {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

.insight-box ul {
  list-style: none;
}

.insight-box ul li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.insight-box ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-links h4 {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color var(--t);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text-faint);
}

/* ── Market Ticker ── */
.market-ticker {
  display: flex;
  gap: 80px;
  font-family: var(--font-m);
  font-size: 11px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 180s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.market-ticker:hover {
  animation-play-state: paused;
}

.market-ticker::-webkit-scrollbar {
  display: none;
}

.market-item {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.market-symbol {
  color: var(--text-muted);
}

.market-price {
  color: var(--text-main);
  font-weight: 600;
}

.market-change.up {
  color: #10B981;
}

.market-change.down {
  color: #EF4444;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-img {
    min-height: 250px;
  }

  .featured-body {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Skeletons */
.skeleton {
  background: var(--border);
  animation: pulse-skel 2s infinite;
  border-radius: 4px;
}

@keyframes pulse-skel {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.skel-img {
  width: 100%;
  height: 100%;
  border-radius: var(--r);
}

.skel-line {
  height: 14px;
  margin-bottom: 8px;
}

/* ── AI Features ── */
.premium-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
}

.action-btn:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.action-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.tldr-box {
  background: linear-gradient(135deg, var(--bg-card), #1a1a24);
  border: 1px solid var(--accent-dim);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 40px;
  display: none; /* Injected by JS */
}

.tldr-box.visible {
  display: block;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tldr-label {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Weather Dashboard ── */
/* ── Weather Dashboard ── */
.weather-dashboard-hero {
  position: relative;
  padding: 80px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(18,18,26,1) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  margin-top: 40px;
  text-align: center;
}

.weather-hero-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.2;
  z-index: 0;
}

.weather-hero-content {
  position: relative;
  z-index: 1;
}

.weather-hero-temp {
  font-size: 120px;
  font-weight: 700;
  font-family: var(--font-h);
  line-height: 1;
  margin: 20px 0;
  background: linear-gradient(to bottom, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.weather-hero-icon-large {
  font-size: 80px;
  color: var(--accent);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(212,175,55,0.4));
}

.weather-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.weather-glass-card {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.weather-glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.weather-card-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

.weather-card-label {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.weather-card-value {
  font-size: 32px;
  font-weight: 600;
  margin-top: 8px;
}

.weather-forecast-horizon {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.weather-forecast-horizon::-webkit-scrollbar { display: none; }

.forecast-item-mini {
  min-width: 140px;
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
}

.weather-icon-fa {
  font-size: 18px;
  color: var(--accent);
  margin-right: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.weather-sunny .weather-icon-fa { color: #FFD700; }
.weather-cloudy .weather-icon-fa { color: #A0AEC0; }
.weather-rainy .weather-icon-fa { color: #63B3ED; }
.weather-night .weather-icon-fa { color: #B794F4; }

.weather-widget-{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--text-main);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.weather-widget-premium:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.weather-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.weather-info-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.weather-city {
  font-weight: 600;
  color: var(--text-main);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-temp-val {
  font-weight: 700;
  color: var(--accent);
}

.weather-condition-text {
  font-size: 11px;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  padding-left: 8px;
}

/* Adaptive Glows */
.weather-sunny { box-shadow: 0 0 20px rgba(255, 214, 0, 0.1), inset 0 0 10px rgba(255, 214, 0, 0.05); border-color: rgba(255, 214, 0, 0.2); }
.weather-cloudy { box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.weather-rainy { box-shadow: 0 0 20px rgba(0, 145, 255, 0.1); border-color: rgba(0, 145, 255, 0.2); }
.weather-night { box-shadow: 0 0 20px rgba(123, 31, 162, 0.1); border-color: rgba(123, 31, 162, 0.2); }

@media (max-width: 768px) {
  .weather-city, .weather-condition-text { display: none; }
  .weather-widget-{ padding: 6px 10px; }
}

.tldr-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tldr-list li {
  font-size: 15px;
  color: var(--text-main);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}

.tldr-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sentiment-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 16px;
}

.sentiment-bar {
  width: 100px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.sentiment-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

/* Audio Visualizer (Mini) */
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.vis-bar {
  width: 2px;
  background: var(--accent);
  height: 4px;
}

.vis-bar.anim {
  animation: vis 0.6s infinite alternate;
}

@keyframes vis {
  from { height: 4px; }
  to { height: 12px; }
}
/* -- Pulse Cookie Guard -- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: cookie-slide-up 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cookie-slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.cookie-banner p {
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.btn-cookie {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-cookie:hover {
  background: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-inner { flex-direction: column; text-align: center; }
}

/* ── Splash / Page Preloader ── */
#pn-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#pn-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.splash-dot {
  color: var(--accent);
  animation: splashPulse 1.2s ease-in-out infinite;
}

.splash-bar-track {
  width: 180px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.splash-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
  animation: splashLoad 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-label {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes splashPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes splashLoad {
  0%   { width: 0%; }
  40%  { width: 55%; }
  70%  { width: 75%; }
  100% { width: 100%; }
}

/* ── Skeleton Shimmer ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-hover) 50%,
    var(--bg-card) 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--r);
}

/* Skeleton shapes */
.skel-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--r);
}

.skel-hero-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
}

.skel-line {
  height: 14px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.skel-line.short  { width: 40%; }
.skel-line.medium { width: 65%; }
.skel-line.long   { width: 90%; }
.skel-line.full   { width: 100%; }

.skel-title {
  height: 28px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.skel-hero-title {
  height: 44px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.skel-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skel-sixty-card {
  flex: 0 0 300px;
  min-height: 180px;
  border-radius: var(--r);
}

.skel-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 380px;
}

@media (max-width: 768px) {
  .skel-featured { grid-template-columns: 1fr; min-height: 280px; }
}

.btn-saved-articles {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.btn-saved-articles.active {
  background: var(--accent) !important;
  color: #000 !important;
}

/* ── Card Read Later Button ── */
.card-save-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}

.card-save-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: scale(1.1);
}

.card-save-btn.card-save-active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  animation: save-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes save-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.saved-badge-pop {
  animation: badge-pop 0.5s ease-out;
}

@keyframes badge-pop {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { transform: scale(1); }
}

/* Success Sparkle Effect */
.save-sparkle {
  position: absolute;
  pointer-events: none;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 100;
  animation: sparkle-fly 0.6s ease-out forwards;
}

@keyframes sparkle-fly {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ── Article Content Visuals ── */
.article-figure {
  margin: 48px -24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-radius: 0;
}

@media (min-width: 768px) {
  .article-figure {
    margin: 60px 0;
    border-radius: var(--r-lg);
  }
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-figure:hover img {
  transform: scale(1.03);
}

.article-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--r-lg);
  margin: 60px 0;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.article-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.custom-select {
  position: relative;
  font-family: var(--font-m);
  font-size: 14px;
  width: 220px;
  flex-shrink: 0;
  cursor: pointer;
}
.select-selected {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}
.select-selected:hover, .custom-select:focus .select-selected {
  border-color: var(--accent);
}
.select-items {
  position: absolute;
  background-color: var(--bg-card);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 8px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.select-hide {
  display: none;
}
.select-items div {
  color: var(--text-main);
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.select-items div:last-child { border-bottom: none; }
.select-items div:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent);
}
/* Scrollbar for select */
.select-items::-webkit-scrollbar { width: 6px; }
.select-items::-webkit-scrollbar-track { background: transparent; }
.select-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* === Ad Monetization Slots === */
.ad-slot-container {
  width: 100%;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ad-slot-label {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ad-slot {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-m);
  font-size: 14px;
}
@media (max-width: 768px) {
  .ad-slot {
    min-height: 250px;
    max-width: 300px;
  }
}
