/* ══════════════════════════════════════════════════════════════
   ARPADA TRADING - HERO SECTION
   Hero con video background, parallax y overlays
   ══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────
   HERO CONTAINER
   ──────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: var(--arpada-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────
   VIDEO BACKGROUND
   ──────────────────────────────────────────────────────────── */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%) scale(1.08);
  object-fit: cover;
}

/* ────────────────────────────────────────────────────────────
   OVERLAYS
   ──────────────────────────────────────────────────────────── */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 38, 0.55) 0%,
    rgba(8, 20, 38, 0.35) 50%,
    rgba(8, 20, 38, 0.95) 100%
  );
}

.video-overlay-radial {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at 50% 45%,
    transparent 0%,
    rgba(8, 20, 38, 0.55) 100%
  );
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.25;
  background-image: 
    linear-gradient(var(--arpada-line2) 1px, transparent 1px),
    linear-gradient(90deg, var(--arpada-line2) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 30%,
    #000 70%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 30%,
    #000 70%,
    transparent
  );
}

/* ────────────────────────────────────────────────────────────
   PARALLAX ICONS
   ──────────────────────────────────────────────────────────── */
.parallax-icon {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.05s linear, opacity 0.05s linear;
}

.parallax-icon svg {
  width: 100%;
  height: 100%;
}

/* ────────────────────────────────────────────────────────────
   HERO CONTENT
   ──────────────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  margin: 0 0 28px 0;
  font-size: 88px;
  line-height: 0.92;
  letter-spacing: -3.5px;
  font-weight: 600;
  color: var(--arpada-text);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero-italic {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--arpada-cyan-bright);
  letter-spacing: -4px;
}

.hero-description {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--arpada-muted);
  max-width: 480px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.hero-aside {
  justify-self: end;
}

/* ────────────────────────────────────────────────────────────
   TICKER DENTRO DEL HERO
   ──────────────────────────────────────────────────────────── */
.hero-ticker-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px; /* Encima del scroll cue */
  z-index: 3;
}

/* Responsive: pantallas bajas */
@media (max-height: 700px) {
  .hero-ticker-wrapper {
    bottom: 60px;
  }
}

@media (max-height: 600px) {
  .hero-ticker-wrapper {
    bottom: 50px;
  }
}

/* ────────────────────────────────────────────────────────────
   SCROLL CUE
   ──────────────────────────────────────────────────────────── */
.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--arpada-muted);
  font-size: 10px;
  font-family: var(--arpada-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--arpada-muted), transparent);
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 40px;
    gap: 40px;
  }
  
  .hero-aside {
    justify-self: center;
  }
  
  .hero-title {
    font-size: 64px;
    letter-spacing: -2.5px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 600px;
  }
  
  .hero-content {
    padding: 0 24px;
  }
  
  .hero-title {
    font-size: 48px;
    letter-spacing: -2px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-aside {
    display: none;
  }
}
/* ────────────────────────────────────────────────────────────
   LIVE MARKET CARD
   ──────────────────────────────────────────────────────────── */
.live-market-card {
  padding: 24px;
  min-width: 320px;
}

.market-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--arpada-line);
}

.market-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--arpada-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.market-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.market-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.market-stat-label {
  font-family: var(--arpada-mono);
  font-size: 11px;
  color: var(--arpada-muted);
  letter-spacing: 0.5px;
}

.market-stat-value {
  font-family: var(--arpada-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--arpada-text);
}

.market-stat-change {
  font-family: var(--arpada-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.market-stat-change.positive {
  color: var(--arpada-green);
  background: rgba(61, 220, 151, 0.1);
}

.market-stat-change.negative {
  color: var(--arpada-red);
  background: rgba(255, 107, 107, 0.1);
}

.market-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--arpada-line);
  text-align: center;
}

.market-update-time {
  font-size: 11px;
  color: var(--arpada-dim);
  font-family: var(--arpada-mono);
}

@media (max-width: 1024px) {
  .live-market-card {
    min-width: auto;
  }
}