/*
  Theme: Professional Financial Consulting - 2026 Edition
  - Default: Dark (premium look) with gold accent
  - Optional: Light mode
*/

:root {
  --gold: #d4af37;
  --gold2: #b88900;
  --gold-glow: rgba(212, 175, 55, 0.4);

  /* Default (Dark - Premium) */
  --bg: #070708;
  --bg2: #0f1012;
  --bg3: #161619;
  --card: rgba(255, 255, 255, 0.04);
  --card2: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --text-secondary: #e4e4e7;
  --muted: #a1a1aa;
  --accent: var(--gold);
  --accent2: var(--gold2);
  --good: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
  --container: 1200px;
  --font-ar: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --font-en: "Inter", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  
  /* Signal Colors */
  --strong-buy: #00ff88;
  --buy: #22c55e;
  --neutral: #fbbf24;
  --sell: #f97316;
  --strong-sell: #ef4444;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 20% -5%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(ellipse 800px 400px at 80% 10%, rgba(212, 175, 55, 0.05), transparent 50%),
    radial-gradient(ellipse 600px 600px at 50% 100%, rgba(212, 175, 55, 0.03), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: var(--font-ar);
  overflow-x: hidden;
  line-height: 1.6;
}

body[data-theme="light"] {
  --bg: #fafafa;
  --bg2: #f4f4f5;
  --bg3: #e4e4e7;
  --card: rgba(0, 0, 0, 0.03);
  --card2: rgba(0, 0, 0, 0.05);
  --card-hover: rgba(0, 0, 0, 0.07);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.12);
  --text: #18181b;
  --text-secondary: #27272a;
  --muted: #71717a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* Ticker */
.ticker-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 8, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

body[data-theme="light"] .ticker-wrap {
  background: rgba(250, 250, 250, 0.9);
}

/* Header */
.header {
  position: sticky;
  top: 46px;
  z-index: 40;
  background: rgba(7, 7, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.3));
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.brand-text {
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--card);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border: none;
  color: #000;
  font-weight: 800;
}

.btn.primary:hover {
  box-shadow: var(--shadow-gold);
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.glow-btn:hover::before {
  opacity: 0.6;
}

.btn.soft {
  background: var(--card2);
}

.btn.ghost {
  background: transparent;
}

.icon {
  font-size: 16px;
  opacity: 0.95;
}

.hide-sm {
  display: inline;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .hide-sm {
    display: none;
  }
  .brand {
    min-width: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--card);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

.h1 {
  margin: 20px 0 16px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 900;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
}

.stat-num {
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.hero-card {
  display: flex;
}

.glass {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

body[data-theme="light"] .glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.card-pad {
  padding: 20px;
}

.mini-title {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
  color: var(--text);
}

/* =============================================
   Currency Signals Summary - 2026 Design
   ============================================= */

.signals-card .glass {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .signals-grid {
    grid-template-columns: 1fr;
  }
}

.signal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.signal-item:hover {
  background: var(--card-hover);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.1);
}

.signal-pair {
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}

.signal-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.signal-badge.strong-buy {
  background: linear-gradient(135deg, var(--strong-buy), #00cc6a);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  animation: glowPulse 2s infinite;
}

.signal-badge.buy {
  background: linear-gradient(135deg, var(--buy), #16a34a);
  color: #fff;
}

.signal-badge.neutral {
  background: linear-gradient(135deg, var(--neutral), #d97706);
  color: #000;
}

.signal-badge.sell {
  background: linear-gradient(135deg, var(--sell), #ea580c);
  color: #fff;
}

.signal-badge.strong-sell {
  background: linear-gradient(135deg, var(--strong-sell), #dc2626);
  color: #fff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  animation: glowPulseRed 2s infinite;
}

.signal-badge.loading-badge {
  background: var(--card2);
  color: var(--muted);
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.6); }
}

@keyframes glowPulseRed {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); }
}

/* Signals Legend */
.signals-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-item.strong-buy .legend-dot {
  background: var(--strong-buy);
  box-shadow: 0 0 8px var(--strong-buy);
}

.legend-item.buy .legend-dot {
  background: var(--buy);
}

.legend-item.neutral .legend-dot {
  background: var(--neutral);
}

.legend-item.sell .legend-dot {
  background: var(--sell);
}

.legend-item.strong-sell .legend-dot {
  background: var(--strong-sell);
  box-shadow: 0 0 8px var(--strong-sell);
}

.disclaimer {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.glow {
  position: absolute;
  inset: auto 0 -100px 0;
  height: 200px;
  background: radial-gradient(600px 150px at 50% 0, rgba(212, 175, 55, 0.12), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

/* Sections */
.section {
  padding: 50px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.sub {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px;
  transition: all 0.3s ease;
}

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

.card-ico {
  font-size: 32px;
  margin-bottom: 16px;
}

.card-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab:hover {
  color: var(--text);
  background: var(--card2);
}

.tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
}

/* Panels */
.panel {
  display: none;
}

.panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Strength */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 980px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--good);
  color: var(--good);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.strength-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.strength-table {
  width: 100%;
  border-collapse: collapse;
}

.strength-table th,
.strength-table td {
  padding: 12px;
  text-align: start;
  border-bottom: 1px solid var(--border);
}

.strength-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.strength-table .bar {
  height: 8px;
  background: var(--card2);
  border-radius: 4px;
  overflow: hidden;
}

.strength-table .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.delta {
  font-weight: 800;
  font-size: 14px;
}

.delta.pos {
  color: var(--good);
}

.delta.neg {
  color: var(--danger);
}

/* Segmented Control */
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.seg-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.active {
  background: var(--gold);
  color: #000;
}

/* Embed */
.embed-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  min-height: 400px;
}

.embed-wrap.tall {
  min-height: 500px;
}

/* =============================================
   Ultra Modern Globe 2026
   ============================================= */

.sessions-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
}

@media (max-width: 980px) {
  .sessions-grid {
    grid-template-columns: 1fr;
  }
}

.globe-container-2026 {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212, 175, 55, 0.08), transparent),
    linear-gradient(180deg, rgba(10, 10, 15, 0.98), rgba(7, 7, 8, 0.95));
  overflow: hidden;
  min-height: 450px;
}

body[data-theme="light"] .globe-container-2026 {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212, 175, 55, 0.1), transparent),
    linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(244, 244, 245, 0.95));
}

.globe-wrapper-2026 {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globeCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

.globe-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  z-index: 10;
}

body[data-theme="light"] .globe-title {
  background: rgba(255, 255, 255, 0.8);
}

/* Session Markers 2026 */
.session-markers-2026 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.session-marker-2026 {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.session-marker-2026 .marker-ring {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: markerRingPulse 3s infinite;
}

.session-marker-2026 .marker-core {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 10px;
  height: 10px;
  background: var(--danger);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--danger);
}

.session-marker-2026.open .marker-core {
  background: var(--good);
  box-shadow: 0 0 15px var(--good), 0 0 30px rgba(34, 197, 94, 0.3);
}

.session-marker-2026.open .marker-ring {
  border-color: var(--good);
  animation: markerRingPulseGreen 2s infinite;
}

@keyframes markerRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0.2; }
}

@keyframes markerRingPulseGreen {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0.3; }
}

.marker-label-2026 {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.75);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

body[data-theme="light"] .marker-label-2026 {
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold2);
}

/* Marker Positions */
#marker-london { top: 28%; left: 48%; }
#marker-newyork { top: 35%; left: 22%; }
#marker-tokyo { top: 32%; right: 15%; }
#marker-sydney { bottom: 22%; right: 12%; }

/* Session List */
.session-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.session-list .row:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
}

.session-name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}

.session-times {
  text-align: end;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.status.open {
  background: rgba(34, 197, 94, 0.15);
  color: var(--good);
}

.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status.open .dot {
  animation: pulse 1.5s infinite;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px;
  text-align: start;
  border-bottom: 1px solid var(--border);
}

.table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

/* Select */
.select {
  position: relative;
}

.select select {
  appearance: none;
  padding: 10px 36px 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

[dir="rtl"] .select select {
  padding: 10px 14px 10px 36px;
}

.select select:hover,
.select select:focus {
  border-color: var(--gold);
  outline: none;
}

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 8px;
  color: var(--muted);
  pointer-events: none;
}

[dir="rtl"] .select::after {
  right: auto;
  left: 14px;
}

/* Note */
.note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

[dir="ltr"] .note {
  border-left: none;
  border-right: 3px solid var(--gold);
}

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* CTA */
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.03));
  border: 1px solid var(--border-light);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.footer-sub {
  font-size: 11px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0;
}

/* Banner */
.banner {
  display: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
}

.banner.show {
  display: block;
}

.banner code {
  background: rgba(0, 0, 0, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-inline-start: 8px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Selection */
::selection {
  background: var(--gold);
  color: #000;
}

/* TradingView */
.tradingview-widget-container {
  width: 100%;
  height: 100%;
}

/* Screen Reader Only */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* =============================================
   Live Signals with Timeframe - 2026 Update
   ============================================= */

.signals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--good);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--good);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  animation: livePulse 1s infinite;
}

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

/* Signals Timeframe Selector */
.signals-timeframe {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
}

.tf-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tf-btn:hover {
  color: var(--text);
  background: var(--card2);
}

.tf-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
}

/* Signals Update Info */
.signals-update-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.update-countdown {
  color: var(--gold);
  font-weight: 700;
}

/* Strength Timeframe Selector - Extended */
.strength-tf-selector {
  flex-wrap: wrap;
}

.strength-tf-selector .seg-btn {
  padding: 6px 10px;
  font-size: 12px;
}

/* =============================================
   Extra Tall Containers for Calendar & Chart
   ============================================= */

.embed-wrap.extra-tall {
  min-height: 700px;
  height: 700px;
}

.calendar-container {
  min-height: 700px;
  height: 700px;
}

.calendar-container .tradingview-widget-container {
  height: 100% !important;
  min-height: 680px;
}

.chart-container {
  min-height: 700px;
  height: 700px;
}

.chart-container .tradingview-widget-container {
  height: 100% !important;
  min-height: 680px;
}

/* Chart Controls */
.chart-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================
   News Widget Full Width
   ============================================= */

.news-grid-full {
  width: 100%;
}

.news-widget-container {
  min-height: 600px;
}

.news-widget {
  min-height: 550px;
  height: 550px;
}

.news-widget .tradingview-widget-container__widget {
  height: 100% !important;
}

/* =============================================
   Signal Animation Updates
   ============================================= */

.signal-item.updating {
  animation: signalUpdate 0.5s ease;
}

@keyframes signalUpdate {
  0% { opacity: 0.5; transform: scale(0.98); }
  50% { opacity: 0.8; }
  100% { opacity: 1; transform: scale(1); }
}

/* Signal Badge Animations */
.signal-badge {
  transition: all 0.3s ease;
}

.signal-badge.changing {
  animation: badgeChange 0.4s ease;
}

@keyframes badgeChange {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Mobile Responsive for Signals Timeframe */
@media (max-width: 600px) {
  .signals-timeframe {
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  
  .tf-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .signals-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .embed-wrap.extra-tall,
  .calendar-container,
  .chart-container {
    min-height: 500px;
    height: 500px;
  }
}

/* Markers Overlay */
.markers-overlay-2026 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
