/* ==========================================================================
   hero.css - Birthday Banner, Header & Action Triggers
   ========================================================================== */

.hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(46, 26, 74, 0.55) 0%, rgba(20, 14, 34, 0.45) 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 117, 140, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 94, 142, 0.22), transparent 70%);
  pointer-events: none;
}

/* Birthday Avatar / Crown Badge */
.avatar-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-rose), var(--accent-purple));
  box-shadow: 0 0 25px rgba(255, 117, 140, 0.5);
  animation: ringPulse 4s ease-in-out infinite alternate;
}

@keyframes ringPulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.05); filter: brightness(1.25); }
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a1645, #140b24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  user-select: none;
}

.crown-badge {
  position: absolute;
  top: -12px;
  right: -4px;
  font-size: 1.6rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  animation: crownBounce 3s ease-in-out infinite;
}

@keyframes crownBounce {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-6px) rotate(18deg); }
}

/* Headline & Name */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-name {
  background: linear-gradient(120deg, #ffffff 0%, #ff85a2 45%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(255, 117, 140, 0.4);
  max-width: 100%;
  word-break: break-word;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  max-width: 100%;
  word-break: break-word;
}

/* Quick Action Pills */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.btn-pill:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 94, 142, 0.25);
  color: #ffffff;
}

.btn-pill:active {
  transform: translateY(0);
}

.btn-pill.primary {
  background: linear-gradient(135deg, rgba(255, 94, 142, 0.3), rgba(255, 190, 11, 0.2));
  border-color: rgba(255, 117, 140, 0.45);
}

.btn-pill.primary:hover {
  background: linear-gradient(135deg, rgba(255, 94, 142, 0.5), rgba(255, 190, 11, 0.35));
}

/* Mobile Responsiveness for Hero Banner */
@media (max-width: 768px) {
  .hero-banner {
    padding: 1.35rem 1rem;
    margin-bottom: 1rem;
    border-radius: 22px;
  }

  .avatar-wrapper {
    margin-bottom: 0.75rem;
  }

  .avatar-ring {
    width: 72px;
    height: 72px;
    padding: 3px;
  }

  .avatar-inner {
    font-size: 1.85rem;
  }

  .crown-badge {
    top: -8px;
    right: -2px;
    font-size: 1.3rem;
  }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    margin-bottom: 0.35rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .hero-actions {
    gap: 0.6rem;
    margin-top: 0.25rem;
  }

  .btn-pill {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }
}
