/* জাহান একাডেমি — লাকজারি / ৩D / গ্লাসি স্টাইল (শেয়ার্ড) */

/* সোনালি ৩D লেবেল — প্রতিটি অক্ষরে এমবসড গভীরতা */
.label-3d-gold {
  background: linear-gradient(180deg, #fff7d6 0%, #ffe082 22%, #ffc107 46%, #f9a825 66%, #e07b00 86%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgb(255 255 255 / .95))
    drop-shadow(0 1px 1px rgb(224 123 0 / .5))
    drop-shadow(0 3px 6px rgb(180 83 9 / .45))
    drop-shadow(0 7px 14px rgb(168 21 94 / .3));
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ফ্রস্টেড গ্লাস পিল — রিফ্লেকশন + গ্লো */
.glass-gold-pill {
  position: relative;
  z-index: 0;
}
.glass-gold-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgb(255 248 224 / .78) 0%, rgb(255 213 79 / .48) 45%, rgb(249 168 37 / .44) 100%);
  backdrop-filter: blur(16px) saturate(185%);
  -webkit-backdrop-filter: blur(16px) saturate(185%);
  border: 1px solid rgb(255 255 255 / .85);
  box-shadow:
    0 0 0 1px rgb(251 191 36 / .45),
    0 16px 42px -10px rgb(217 119 6 / .6),
    0 0 24px rgb(245 158 11 / .32),
    inset 0 1px 0 rgb(255 255 255 / .95),
    inset 0 -10px 18px rgb(217 119 6 / .16);
  animation: goldGlowPulse 3s ease-in-out infinite;
  z-index: -1;
}
.glass-gold-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / .8) 47%, rgb(255 255 255) 50%, rgb(255 255 255 / .8) 53%, transparent 68%);
  background-size: 260% 260%;
  background-position: 140% 140%;
  mix-blend-mode: screen;
  animation: glassShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* ডিপ ব্লু ৩D লেবেল — ঝিলিকমিলিক (কোনো কালো ঝাপসা শ্যাডো নেই) */
.label-3d-blue {
  background: linear-gradient(115deg, #a7c0f7 0%, #6a97ee 25%, #2E6BC4 45%, #1d35d8 65%, #14258a 88%, #2E6BC4 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgb(255 255 255 / .9))
    drop-shadow(0 1px 2px rgb(20 37 138 / .28));
  letter-spacing: .03em;
  animation: blueSparkle 5s ease-in-out infinite;
}
@keyframes blueSparkle {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* শিক্ষক কার্ড — ৩D ফ্লোট */
.teacher-card-3d {
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.teacher-card-3d:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg) scale(1.03);
  box-shadow:
    0 24px 48px -16px rgb(29 53 216 / .35),
    0 0 0 2px rgb(249 168 37 / .35),
    0 0 32px rgb(245 158 11 / .22);
}

@keyframes glassShine {
  0%, 20% { background-position: 140% 140%; }
  60%, 100% { background-position: -40% -40%; }
}
@keyframes goldGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgb(251 191 36 / .45),
      0 16px 42px -10px rgb(217 119 6 / .6),
      0 0 24px rgb(245 158 11 / .32),
      inset 0 1px 0 rgb(255 255 255 / .95),
      inset 0 -10px 18px rgb(217 119 6 / .16);
  }
  50% {
    box-shadow:
      0 0 0 1px rgb(251 191 36 / .65),
      0 16px 48px -8px rgb(217 119 6 / .72),
      0 0 44px rgb(245 158 11 / .55),
      inset 0 1px 0 rgb(255 255 255 / .95),
      inset 0 -10px 18px rgb(217 119 6 / .16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-gold-pill::before,
  .glass-gold-pill::after,
  .teacher-card-3d { animation: none; transition: none; }
}
