/* ═══════════════════════════════════════════════════════════
   banner.css — Hero Banner Section
═══════════════════════════════════════════════════════════ */

.banner-section {
  position: relative;
  overflow: hidden;
  padding: 0 20px 48px;
  text-align: center;
}

/* Full-bleed cover photo — image is landscape (16:9), so cover fits naturally without distortion */
.banner-cover-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 250px;
  z-index: 0;
  overflow: hidden;
  background: #080810;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.banner-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Gradient fade from the cover photo into solid background */
.banner-fade {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(
    to bottom,
    rgba(8,8,16,0) 0%,
    rgba(8,8,16,0.30) 40%,
    rgba(8,8,16,0.90) 70%,
    rgba(8,8,16,0.98) 85%,
    var(--bg) 100%
  );
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  z-index: 0;
  pointer-events: none;
}

/* Frosted noise texture overlay */
.banner-noise {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 250px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow behind the avatar */
.banner-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 320px;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.10) 0%, rgba(6,182,212,0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Blue accent line — subtle, fades out at each end, bottom only */
.banner-bottom-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 210px;
  height: 40px;
  border-left: 1.8px solid rgba(59,130,246,0.38);
  border-right: 1.8px solid rgba(59,130,246,0.38);
  border-bottom: 1.8px solid rgba(59,130,246,0.38);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 55%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 55%, #000 100%);
  filter: drop-shadow(0 0 4px rgba(59,130,246,0.18));
}

.banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  padding-top: 56px;
}





/* ── Badge ─────────────────────────────────────────────── */
.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(59,130,246,0.25);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(96,165,250,0.9);
  text-transform: uppercase;
}

.badge-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 6px rgba(59,130,246,0.8);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ── Avatar ─────────────────────────────────────────────── */
.banner-avatar-wrap {
  position: relative;
  width: 88px; height: 88px;
  margin: 4px 0;
  transition: transform 0.3s var(--ease-spring);
}

.banner-avatar-wrap:hover {
  transform: scale(1.04);
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #3B82F6, #06B6D4, #818CF8, #3B82F6);
  animation: spin 8s linear infinite;
  padding: 2px;
  will-change: transform;
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #080810;
}

.avatar-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F1729, #0A1020);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  border: 2px solid rgba(59,130,246,0.2);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar-status {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #25D366;
  border: 2.5px solid #080810;
  z-index: 2;
  box-shadow: 0 0 8px rgba(37,211,102,0.6);
  animation: pulseGlow 4s ease-in-out infinite;
}

/* ── Name & Tagline ──────────────────────────────────────── */
.banner-name {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 30%, rgba(255,255,255,0.75));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-top: 6px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}

.banner-tagline {
  font-size: 0.92rem;
  color: var(--gray-2);
  line-height: 1.65;
  font-weight: 400;
  margin-top: 12px;
}

.tagline-accent {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #3B82F6, #38BDF8, #06B6D4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
  text-transform: uppercase;
}

/* ── Stats ───────────────────────────────────────────────── */
.banner-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  animation: borderGlow 6s ease-in-out infinite;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 20px;
}

.stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #3B82F6, #38BDF8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 0.68rem;
  color: var(--gray-3);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  height: 30px;
  background: var(--border);
}

@media (max-width: 380px) {
  .stat { padding: 0 12px; }
  .stat-num { font-size: 1.15rem; }
}

@media (max-width: 400px) {
  .banner-cover-wrap, .banner-fade, .banner-noise { height: 220px; border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; }
  .banner-content { padding-top: 40px; }
  .banner-name { margin-top: 4px; }
  .banner-tagline { margin-top: 8px; }
  .banner-bottom-line { height: 32px; top: 188px; border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP (min-width: 768px)
══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .banner-section { padding: 0 40px 72px; }

  .banner-cover-wrap,
  .banner-fade,
  .banner-noise { height: 340px; border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }

  .banner-bottom-line { height: 56px; top: 284px; border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }

  .banner-glow { width: 760px; height: 440px; }

  .banner-content { max-width: 680px; padding-top: 80px; gap: 16px; }

  .banner-avatar-wrap { width: 116px; height: 116px; }

  .banner-name { font-size: clamp(2.6rem, 5vw, 3.4rem); }

  .banner-tagline { font-size: 1.05rem; }

  .tagline-accent { font-size: 0.9rem; }

  .banner-stats { padding: 18px 40px; }
  .stat { padding: 0 28px; }
  .stat-num { font-size: 1.65rem; }
  .stat-lbl { font-size: 0.75rem; }
  .stat-sep { height: 36px; }
}
