:root {
  --bg: #050807;
  --panel: #0d1210;
  --card-bg: linear-gradient(145deg, #131a17, #0b100e);
  --gold: #e6ae49;
  --gold-light: #f6c768;
  --gold-glow: #ffd778;
  --line: #2e3631;
  --card-border: #444c45;
  --card-border-gold: #d6a533;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --green: #38d167;
  --red: #ff5252;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-shell {
  width: 100vw;
  height: 100vh;
  padding: 1.2vh 1.4vw;
  background: linear-gradient(145deg, #090d0b, #020403);
  box-shadow: inset 0 0 80px rgba(212, 163, 59, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.board {
  width: 100%;
  height: 100%;
  max-width: 1920px;
  border: 1px solid #3d4741;
  border-radius: 12px;
  padding: 1.6vh 2vw 1vh;
  display: grid;
  grid-template-rows: 90px minmax(0, 1fr) 120px 28px 16px;
  gap: 1.2vh;
  background: radial-gradient(circle at 50% 20%, #1a221f 0%, #0d1210 42%, #050807 88%);
  overflow: hidden;
  position: relative;
}

/* Floating Gold Dust Canvas Effect */
.gold-dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Background Watermark Logo (5% Opacity) */
.bg-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-watermark img {
  width: 55vw;
  max-width: 850px;
  height: auto;
  opacity: 0.05;
  filter: drop-shadow(0 0 35px rgba(230, 174, 73, 0.2));
  object-fit: contain;
}

/* Header Topbar - Strictly Aligned with 400px columns below */
.topbar {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr) 400px;
  align-items: center;
  direction: ltr;
  position: relative;
  z-index: 1;
}

/* Brand - Top Left */
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  direction: rtl;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.brand-logo-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(230, 174, 73, 0.45));
  flex-shrink: 0;
}

.brand h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand p {
  margin: 3px 0 0;
  color: #9ea4a0;
  font-size: 13.5px;
  font-weight: 400;
}

/* Title - Top Center */
.page-title {
  direction: rtl;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: var(--gold-light);
  font-size: 31px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(244, 198, 106, 0.3);
}

.title-rule, .footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  margin-top: 4px;
}

.title-rule span, .footer-ornament span {
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.title-rule span:last-child, .footer-ornament span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.flourish-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
  filter: drop-shadow(0 0 4px var(--gold));
}

.flourish-icon-sm {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

/* Currency Unit Badge - No Background, No Border */
.currency-unit-badge {
  display: inline-block;
  margin-top: 3px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  color: #e5c789;
  font-size: 12.5px;
  font-weight: 600;
}

/* Clock - Top Right (LTR for exact HH:MM:SS ordering) */
.clock-panel {
  direction: rtl;
  border-right: 1px solid #2e3631;
  padding-right: 20px;
  text-align: right;
  justify-self: end;
}

.clock {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: baseline;
  direction: ltr;
}

.clock-sec {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-left: 2px;
}

.date {
  font-size: 14.5px;
  margin-top: 2px;
  color: #d1d5db;
  font-weight: 500;
}

/* Timestamps Side-by-Side (No Boxes, No Borders) */
.timestamps-group-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11.5px;
  color: #a3a8a5;
}

.updated-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.updated-sep {
  color: #37423b;
  font-size: 12px;
}

.refresh {
  color: var(--gold);
  font-size: 12px;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 16px;
  direction: ltr;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.feature-cards {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

/* Shared Card Styles */
.hero-card, .rate-card, .benefits, .promo-card {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.02), 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Card (18 Karat Gold) */
.hero-card {
  border-color: var(--card-border-gold);
  border-radius: 18px;
  padding: 18px 22px 12px;
  direction: rtl;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 35px rgba(230, 174, 73, 0.06), 0 8px 25px rgba(0, 0, 0, 0.5);
  min-height: 0;
  overflow: hidden;
}

.feature-cards .hero-card {
  padding: 11px 16px 9px;
  position: relative;
  isolation: isolate;
}

.feature-cards .hero-head {
  justify-content: space-between;
  min-width: 0;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feature-cards .gold-bar-img-wrap {
  width: 48px;
  height: 42px;
}

.feature-cards .hero-title-group h3 {
  font-size: 21px;
}

.feature-cards .hero-title-group p {
  font-size: 12px;
}

.feature-cards .hero-price {
  font-size: clamp(32px, 2.55vw, 44px);
  line-height: 1;
  margin: 0;
  flex: 1;
}

.feature-cards .divider {
  margin: 5px 0;
}

.hero-price-row {
  display: flex;
  align-items: baseline;
  direction: rtl;
  gap: 8px;
  margin-top: 5px;
}

.hero-delta {
  color: #e5e7eb;
  font-size: clamp(10px, 0.76vw, 13px);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-head-pct {
  flex-shrink: 0;
  font-size: clamp(10px, 0.76vw, 13px);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.hero-head-pct.up {
  color: var(--green);
  background: rgba(56, 209, 103, 0.12);
  border: 1px solid rgba(56, 209, 103, 0.25);
}

.hero-head-pct.down {
  color: var(--red);
  background: rgba(255, 82, 82, 0.14);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

.feature-cards .chart-wrap {
  position: absolute;
  inset: 45px 0 0;
  min-height: 0;
  max-height: none;
  height: auto;
  margin: 0;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.feature-cards .hero-card > :not(.chart-wrap) {
  position: relative;
  z-index: 1;
}

.feature-cards .zarriran-card {
  order: -1;
}

.hero-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.gold-bar-img-wrap {
  width: 72px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(244, 198, 106, 0.4));
}

.hero-title-group h3 {
  font-size: 29px;
  color: #fce7b4;
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title-group p {
  margin: 2px 0 0;
  color: #e5c789;
  font-size: 16px;
  font-weight: 500;
}

.hero-price {
  font-size: 58px;
  line-height: 1.1;
  color: var(--gold-light);
  font-weight: 900;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(244, 198, 106, 0.3);
  transform: none !important;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

/* Fast Digit Odometer Counter Transition Classes (Zero Layout Shift, Pure Digit Counting Color) */
.counter-up {
  color: var(--green) !important;
  transition: color 0.15s ease;
}

.counter-down {
  color: var(--red) !important;
  transition: color 0.15s ease;
}

.divider {
  height: 1px;
  background: #2b332e;
  margin: 10px 0;
}

.divider.tight {
  margin: 6px 0 5px;
}

/* Uniform Change Percentages (Green for Positive, Red for Negative) */
.card-change {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
  font-size: 14px;
  font-weight: 700;
  padding: 0 2px;
  width: 100%;
}

.card-change .up {
  color: var(--green);
  background: rgba(56, 209, 103, 0.12);
  border: 1px solid rgba(56, 209, 103, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  font-size: 13px;
}

.card-change .down {
  color: var(--red);
  background: rgba(255, 82, 82, 0.14);
  border: 1px solid rgba(255, 82, 82, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  font-size: 13px;
}

.card-change .delta {
  font-weight: 600;
  color: #e5e7eb;
  font-size: 13px;
  white-space: nowrap;
  direction: ltr;
}

.hero-change {
  font-size: 16px;
  padding: 0 6px;
}

.hero-change .up, .hero-change .down {
  font-size: 15px;
}

.hero-change .delta {
  font-size: 15px;
}

/* Apple Stocks Style Minimalist Financial Chart (Aspect-Ratio Bounded in Fullscreen) */
.chart-wrap {
  direction: ltr;
  flex: 1;
  min-height: 90px;
  max-height: 140px;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.chart .apple-area {
  fill: url(#appleChartGradient);
}

.chart .apple-line {
  fill: none;
  stroke: #ffd60a;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(255, 214, 10, 0.35));
}

.chart-caption {
  text-align: center;
  color: #9ca3af;
  font-size: 13.5px;
  margin-top: 4px;
}

/* Rates Area Right */
.rates-area {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  direction: rtl;
  min-width: 0;
  min-height: 0;
}

.top-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.small-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.rate-card {
  border-radius: 14px;
  padding: 13px 13px 9px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.rate-card:hover {
  border-color: #5d675f;
}

.rate-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.rate-title h3 {
  margin: 0;
  color: #f3d498;
  font-weight: 800;
  font-size: 19.5px;
  white-space: nowrap;
}

/* Asset Image Badges */
.asset-img-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #302613, #0d0d0c);
  padding: 4px;
  box-shadow: 0 0 10px rgba(230, 174, 73, 0.25);
}

.asset-img-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-img-badge.mini {
  width: 33px;
  height: 33px;
  padding: 3px;
}

.asset-img-badge.currency-dollar {
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
}

.currency-badge {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
}

.currency-badge.eur {
  background: radial-gradient(circle at 35% 30%, #3d2b10, #171106);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 8px rgba(230, 174, 73, 0.25);
}

.main-value {
  text-align: center;
  font-size: 33px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-top: 6px;
  margin-bottom: 2px;
  white-space: nowrap;
  color: #ffffff;
  transform: none !important;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.buy-sell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.buy-sell > div + div {
  border-right: 1px solid #2e3631;
}

.buy-sell small {
  display: block;
  font-size: 12.5px;
  color: #d1d5db;
  margin-bottom: 2px;
  font-weight: 500;
}

.buy-sell strong {
  font-size: 16.5px;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.rate-card.small {
  padding: 9px 9px 7px;
}

.rate-card.small .rate-title {
  gap: 6px;
}

.rate-card.small .rate-title h3 {
  font-size: 14.5px;
}

.rate-card.small .main-value {
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 0;
}

.rate-card.small .card-change {
  font-size: 11.5px;
}

.rate-card.small .card-change .up, .rate-card.small .card-change .down {
  font-size: 10.5px;
  padding: 1px 5px;
}

.rate-card.small .card-change .delta {
  font-size: 10.5px;
}

/* Two uniform, five-item rows keep the full market snapshot readable. */
.top-cards .rate-card,
.small-cards .rate-card {
  padding: 10px 9px 8px;
}

.top-cards .rate-title,
.small-cards .rate-title {
  gap: 6px;
}

.top-cards .rate-title h3,
.small-cards .rate-title h3 {
  font-size: clamp(13px, 1vw, 16px);
}

.top-cards .asset-img-badge,
.small-cards .asset-img-badge {
  width: 32px;
  height: 32px;
  padding: 3px;
}

.top-cards .main-value,
.small-cards .main-value,
.small-cards .rate-card.small .main-value {
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.15;
  margin: 7px 0 3px;
}

.top-cards .card-change,
.small-cards .card-change {
  font-size: 12px;
}

.top-cards .card-change .up,
.top-cards .card-change .down,
.small-cards .card-change .up,
.small-cards .card-change .down {
  font-size: 10.5px;
  padding: 1px 5px;
}

.top-cards .card-change .delta,
.small-cards .card-change .delta {
  font-size: 10.5px;
}

.top-cards .buy-sell {
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 2px;
}

.top-cards .buy-sell > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px;
}

.top-cards .buy-sell > div + div {
  border-right: 0;
  border-top: 1px solid #2e3631;
  padding-top: 2px;
}

.top-cards .buy-sell small {
  font-size: 10px;
  margin-bottom: 0;
}

.top-cards .buy-sell strong {
  font-size: clamp(12px, 1vw, 16px);
}

.small-cards .rate-card.small .rate-title h3 {
  font-size: clamp(13px, 1vw, 16px);
}

.rate-unit {
  color: #a3a8a5;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Bottom Row Section */
.bottom-row {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 16px;
  direction: ltr;
  min-height: 0;
  position: relative;
  z-index: 1;
}

/* Image-Only Pure Banner Slider (No Text/Mask Overlays) */
.promo-card {
  position: relative;
  border-color: #7a5c1e;
  border-radius: 14px;
  overflow: hidden;
}

.promo-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.promo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Funds Container & Ticker Marquee Speed */
.funds-container {
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  padding: 10px 18px;
  direction: rtl;
  min-height: 0;
  gap: 16px;
}

.funds-rotator-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-left: 16px;
  border-left: 1px solid #2e3631;
  min-width: 0;
  overflow: hidden;
}

.funds-rotator-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fund-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.funds-rotator-header h4 {
  margin: 0;
  font-size: 15px;
  color: var(--gold-light);
  font-weight: 800;
}

.funds-ticker-badge {
  font-size: 11px;
  padding: 2px 10px;
  background: rgba(230, 174, 73, 0.1);
  border: 1px solid rgba(230, 174, 73, 0.3);
  border-radius: 12px;
  color: #e5c789;
  margin-right: auto;
  font-weight: 600;
}

/* Ticker Viewport & Gold Funds Marquee */
.ticker-viewport {
  width: 100%;
  height: 50px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
  height: 100%;
  animation: marqueeScroll 58s linear infinite;
  direction: rtl;
}

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

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Individual Fund Ticker Card */
.fund-ticker-card {
  flex-shrink: 0;
  width: 310px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 27, 24, 0.85);
  border: 1px solid #37423b;
  border-radius: 10px;
  padding: 0 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  direction: rtl;
}

.fund-name-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 0;
}

.fund-tag {
  background: linear-gradient(135deg, #c48f2b, #8a5a0c);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.fund-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fund-price-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  direction: rtl;
}

.fund-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--gold-light);
  white-space: nowrap;
}

.fund-change-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  direction: rtl;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.fund-change-badge.up {
  color: var(--green);
  background: rgba(56, 209, 103, 0.12);
  border: 1px solid rgba(56, 209, 103, 0.25);
}

.fund-change-badge.down {
  color: var(--red);
  background: rgba(255, 82, 82, 0.14);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

/* Dedicated QR Code Frame */
.qr-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-right: 4px;
}

.qr-frame {
  width: 66px;
  height: 66px;
  background: #ffffff;
  padding: 4px;
  border-radius: 8px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 10px rgba(230, 174, 73, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-text p {
  margin: 0;
  line-height: 1.6;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 500;
}

/* Bottom News Ticker Bar (No border on .news-label, text occluded behind label) */
.news-ticker-bar {
  display: flex;
  align-items: center;
  background: rgba(13, 18, 16, 0.95);
  border: 1px solid #2f3832;
  border-radius: 8px;
  height: 28px;
  padding: 0 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  direction: rtl;
}

.news-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0d1210;
  border: none;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-left: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 8px 0 16px #050807, 4px 0 8px #0d1210;
}

.news-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulseLive 1.4s infinite;
}

.news-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  z-index: 1;
}

.news-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: 12.5px;
  color: #d1d5db;
  font-weight: 500;
  animation: newsMarquee 70s linear infinite;
}

@keyframes newsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.footer-ornament {
  margin: 0;
  position: relative;
  z-index: 1;
}

.footer-ornament span {
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8f6e29);
}

.footer-ornament span:last-child {
  background: linear-gradient(90deg, #8f6e29, transparent);
}
