/**
 * JYT2.com - Hero Section Styles
 * Industrial Noir Theme - Dramatic Presence
 */

/* ========================================
   HERO SECTION BASE
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-void);
  overflow: hidden;
}

/* ========================================
   BACKGROUND LAYERS
   ======================================== */

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient Overlay - Deep Noir */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Noise Texture */
.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* Scan Line Effect */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.01) 2px,
    rgba(255, 255, 255, 0.01) 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* Vignette Effect */
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    transparent 50%,
    rgba(5, 5, 8, 0.6) 100%
  );
  pointer-events: none;
  z-index: 4;
}

/* ========================================
   HERO CONTENT
   ======================================== */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-20) var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   HERO BADGE
   ======================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.15) 0%,
    rgba(0, 229, 255, 0.05) 100%
  );
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  animation: electric-pulse 2s ease-in-out infinite;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-badge-text {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent);
}

/* ========================================
   HERO TITLE
   ======================================== */

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero-title .highlight {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ONLINE badge in title */
.hero-title-online {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.3) 0%, rgba(0, 229, 255, 0.1) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent);
  vertical-align: middle;
  margin-left: var(--space-4);
  animation: electric-pulse 2s ease-in-out infinite;
}

/* ========================================
   HERO SUBTITLE
   ======================================== */

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-hero-sub);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-8);
}

/* ========================================
   PLATFORM BADGES
   ======================================== */

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.platform-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
}

.platform-badge .icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.platform-badge span {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ========================================
   HERO CTA
   ======================================== */

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.hero-cta-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */

.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
  z-index: 10;
}

.scroll-indicator-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.scroll-indicator-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-muted);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 100svh; /* Safe viewport height for mobile */
  }

  .hero-content {
    padding: var(--space-24) var(--space-4) var(--space-16);
  }

  .hero-title-online {
    display: block;
    margin-left: 0;
    margin-top: var(--space-2);
  }

  .hero-platforms {
    gap: var(--space-3);
  }

  .scroll-indicator {
    bottom: var(--space-6);
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: var(--space-1) var(--space-3);
  }

  .hero-badge-text {
    font-size: var(--text-xs);
  }

  .platform-badge {
    padding: var(--space-1) var(--space-3);
  }

  .platform-badge .icon {
    width: 16px;
    height: 16px;
  }

  .platform-badge span {
    font-size: var(--text-xs);
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-badge-dot,
  .hero-title-online,
  .scroll-indicator {
    animation: none;
  }
}
