/**
 * NOBITA WAB — Transparent Circular Avatar Hero Section Stylesheet
 * Circular Avatar with Glowing Neon-Red Border, Transparent Outer Background, Floating & Parallax
 */

/* Hero Container */
.hero-nobita-wab-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem 3.5rem 1rem;
  overflow: hidden;
  background: radial-gradient(circle at 25% 45%, rgba(255, 0, 60, 0.14) 0%, rgba(139, 0, 0, 0.05) 45%, rgba(5, 5, 8, 0) 75%);
}

.hero-wab-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

/* ========================================================
   LEFT SIDE: CIRCULAR AVATAR WITH NEON-RED GLOWING BORDER
   ======================================================== */
.hero-character-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important; /* NO background rectangle */
  overflow: visible;
}

/* Ambient Red Glow Halo Around the Circular Avatar */
.hero-circular-avatar-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 60, 0.35) 0%, rgba(255, 0, 60, 0.12) 50%, transparent 72%);
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Interactive Floating Embers Canvas */
#hero-character-embers-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Floating 3D Card Container (Transparent Background) */
.hero-character-3d-card {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  will-change: transform;
}

.hero-character-floating-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroCharacterFloat 6s ease-in-out infinite;
  background: transparent !important;
}

/* Circular Neon-Red Avatar Frame — TRANSPARENT BACKGROUND, ZERO CLIPPING, PURE NEON GLOW */
.hero-circular-avatar-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  background: transparent !important; /* NO background rectangle */
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 25px rgba(255, 0, 60, 0.6)) drop-shadow(0 0 55px rgba(255, 0, 60, 0.3));
  transition: filter 0.35s ease;
}

.hero-circular-avatar-frame:hover {
  filter: drop-shadow(0 0 35px rgba(255, 0, 60, 0.85)) drop-shadow(0 0 80px rgba(255, 0, 60, 0.5));
}

/* Character Image Inside the Circular Frame */
.hero-circular-avatar-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent !important;
  user-select: none;
  pointer-events: auto;
  clip-path: none !important;
  mask: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  -webkit-mask-image: none !important;
  filter: contrast(1.05) brightness(1.02);
  transition: transform 0.4s ease;
}

.hero-circular-avatar-frame:hover .hero-circular-avatar-img {
  transform: scale(1.02);
}

/* Floating Glassmorphic Status Pill */
.hero-stage-status-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 12, 18, 0.92);
  border: 1px solid rgba(255, 0, 60, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 0, 60, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 1.15rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #ffffff;
  z-index: 12;
  white-space: nowrap;
}

/* ========================================================
   RIGHT SIDE: HERO CONTENT (CROWN + METALLIC TITLE + CTAs)
   ======================================================== */
.hero-content-col {
  position: relative;
  z-index: 10;
  padding-left: 1.5rem;
}

/* Crown Logo Badge */
.hero-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.4);
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.2);
  margin-bottom: 1.25rem;
}

.crown-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 0, 60, 0.2);
  box-shadow: 0 0 12px rgba(255, 0, 60, 0.6);
  color: #ff003c;
  font-size: 0.82rem;
  animation: crownPulse 3s ease-in-out infinite;
}

.crown-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

/* Large Metallic Title: NOBITA WAB */
.hero-metallic-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255, 0, 60, 0.45);
}

.hero-metallic-title .metallic-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #d8d8d8 28%, #ff4b6f 55%, #ffffff 78%, #ff003c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 0, 60, 0.65));
}

/* Subtitle: Build • Deploy • Manage */
.hero-subtitle-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sub);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ff003c;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-subtitle-bar .sub-dot-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.hero-subtitle-bar .pulse-red-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff003c;
  box-shadow: 0 0 12px #ff003c, 0 0 20px #ff003c;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}

/* Description */
.hero-platform-desc {
  font-family: var(--font-sub);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
  letter-spacing: 0.4px;
}

/* CTA Action Buttons */
.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Glassmorphism Feature Telemetry HUD */
.hero-feature-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 600px;
}

.hud-pill {
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid rgba(255, 0, 60, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hud-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 60, 0.6);
  box-shadow: 0 6px 20px rgba(255, 0, 60, 0.2);
}

.hud-pill-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.hud-pill-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ========================================================
   KEYFRAME ANIMATIONS
   ======================================================== */
@keyframes heroCharacterFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes crownPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 0, 60, 1);
  }
}

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

/* ========================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   ======================================================== */
@media (max-width: 991.98px) {
  .hero-nobita-wab-section {
    padding: 3.5rem 1rem 2.5rem 1rem;
    min-height: auto;
  }

  .hero-character-stage {
    min-height: 400px;
    margin-bottom: 2rem;
  }

  .hero-circular-avatar-glow {
    width: 340px;
    height: 340px;
  }

  .hero-character-3d-card {
    max-width: 360px;
  }

  .hero-circular-avatar-frame {
    max-width: 340px;
  }

  .hero-content-col {
    padding-left: 0;
    text-align: center;
  }

  .hero-crown-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle-bar {
    justify-content: center;
  }

  .hero-platform-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-group {
    justify-content: center;
  }

  .hero-feature-hud {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-character-stage {
    min-height: 300px;
  }

  .hero-circular-avatar-glow {
    width: 260px;
    height: 260px;
  }

  .hero-character-3d-card {
    max-width: 270px;
  }

  .hero-circular-avatar-frame {
    max-width: 260px;
  }

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-lg {
    width: 100%;
    text-align: center;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-character-floating-inner {
    animation: none !important;
  }
  .crown-icon-wrap {
    animation: none !important;
  }
  .hero-subtitle-bar .pulse-red-dot {
    animation: none !important;
  }
}
