/* ==========================================================================
   PREMIUM V268: EXECUTIVE DIRECTOR SHOWCASE & HERO PROFILE REDESIGN
   Stunning, luxurious, high-prestige portrait card for Vikram Rathore
   ========================================================================== */

/* Reset any old clunky overrides on hero visual */
html body .ds-home-hero-visual-v233 {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  width: auto !important;
}

/* Outer Showcase Container */
.ds-director-hero-showcase {
  position: relative;
  width: clamp(290px, 32vw, 380px);
  max-width: 100%;
  margin: 0 auto;
  perspective: 1000px;
}

/* Luxury Ambient Glow Halo behind the frame */
.ds-director-ambient-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(244, 197, 66, 0.35) 0%,
    rgba(37, 99, 235, 0.22) 42%,
    transparent 72%
  );
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
  border-radius: 40px;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.ds-director-hero-showcase:hover .ds-director-ambient-glow {
  opacity: 1;
  filter: blur(38px);
}

/* Main Luxury Card Frame */
.ds-director-card-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, #0e2038 0%, #081628 55%, #030a14 100%);
  border: 2px solid rgba(244, 197, 66, 0.75);
  box-shadow: 
    0 24px 55px -10px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(244, 197, 66, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.ds-director-hero-showcase:hover .ds-director-card-frame {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.95);
  box-shadow: 
    0 32px 70px -10px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(244, 197, 66, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* Top Floating Badges */
.ds-director-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  gap: 8px;
}

.ds-director-verified-pill {
  background: rgba(10, 25, 44, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(244, 197, 66, 0.65);
  border-radius: 9999px;
  padding: 5px 12px;
  color: #ffd700;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ds-pill-sparkle {
  color: #fbbf24;
  font-size: 13px;
  line-height: 1;
}

.ds-director-rank-pill {
  background: rgba(10, 25, 44, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 5px 11px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* Photo Wrapper & Image */
.ds-director-photo-wrap {
  position: relative;
  width: 100%;
  height: clamp(330px, 36vw, 410px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(244, 197, 66, 0.08) 45%,
    rgba(9, 23, 40, 0.6) 80%,
    rgba(4, 11, 20, 0.95) 100%
  );
}

.ds-director-photo {
  display: block;
  width: auto;
  max-width: 96%;
  height: 98%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
  transform: translateY(4px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.ds-director-hero-showcase:hover .ds-director-photo {
  transform: translateY(0) scale(1.025);
}

/* Bottom vignette shade to transition smoothly to profile bar */
.ds-director-bottom-shade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 95px;
  background: linear-gradient(
    to top,
    rgba(8, 20, 36, 1) 0%,
    rgba(8, 20, 36, 0.85) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Executive Glassmorphism Profile Info Bar */
.ds-director-profile-overlay {
  position: relative;
  z-index: 3;
  background: rgba(8, 20, 36, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 20px 20px;
  border-top: 1.5px solid rgba(244, 197, 66, 0.45);
}

.ds-director-name-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.ds-director-name-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ds-director-name {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
}

.ds-director-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
  flex-shrink: 0;
}

.ds-director-role-tag {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffd34d !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
}

/* Specialization Credentials Badges */
.ds-director-spec-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ds-director-spec-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.ds-director-spec-badge:hover {
  background: rgba(244, 197, 66, 0.15);
  border-color: rgba(244, 197, 66, 0.5);
  color: #ffd700;
}

/* Hide old outdated floating founder cards if still around */
html body .ds-home-hero-founder-card-v233,
html body .ds-home-hero-image-frame-v233 {
  display: none !important;
}

/* Responsive Handling */
@media (max-width: 768px) {
  .ds-director-hero-showcase {
    width: min(88vw, 330px);
    margin: 18px auto 0;
  }
  .ds-director-photo-wrap {
    height: 310px;
  }
  .ds-director-name {
    font-size: 18px !important;
  }
  .ds-director-role-tag {
    font-size: 11.5px;
  }
  .ds-director-spec-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}
