/* ==========================================================================
   SENAPATI BANKATI HANUMAN MANDIR - KASHI
   ANCIENT PARCHMENT & QUILL (पाण्डुलिपि, भोजपत्र व मोरपंख कलम) THEME
   Authentic Ancient Manuscript, Hanuman Sketch Watermark & Vintage Calligraphy
   ========================================================================== */

/* --- Reading Progress Bar --- */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(180, 83, 9, 0.2);
  z-index: 9999;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #991B1B, #D97706, #F59E0B, #B45309);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.8);
  transition: width 0.1s ease-out;
}

/* --- Page Background: Ancient Manuscript Atmosphere --- */
.itihas-page-body {
  background-color: #F8F3E8;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(254, 249, 238, 0.85) 0%, rgba(243, 231, 211, 0.95) 70%, rgba(229, 212, 186, 0.98) 100%),
    url('../images/ancient-hanuman-sketch.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #2D170D;
}

/* --- Hero Banner: Ancient Manuscript with Feather Quill Writing --- */
.itihas-hero {
  position: relative;
  background: radial-gradient(circle at 50% 25%, rgba(69, 26, 3, 0.88) 0%, rgba(30, 11, 4, 0.96) 75%, #150602 100%),
              url('../images/quill-writing-parchment.jpg') center/cover no-repeat;
  padding: 65px 20px 55px;
  border-bottom: 4px double #B45309;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  text-align: center;
  overflow: hidden;
}
.itihas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 7, 2, 0.84) 0%, rgba(35, 14, 5, 0.92) 55%, rgba(18, 6, 2, 0.98) 100%);
  pointer-events: none;
}
.itihas-hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}
.itihas-crest {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  background: linear-gradient(135deg, rgba(153, 27, 27, 0.75), rgba(180, 83, 9, 0.75));
  border: 1.5px solid #FDE68A;
  border-radius: 50px;
  color: #FFFDF5;
  font-family: var(--font-hindi-heading);
  font-size: 0.96rem;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.4);
  animation: pulse-glow 3s infinite alternate;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3); transform: scale(1); }
  100% { box-shadow: 0 6px 26px rgba(217, 56, 30, 0.55); transform: scale(1.02); }
}
.itihas-hero-title {
  font-family: var(--font-hindi-heading);
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  color: #FFFBEB;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 158, 11, 0.5);
  margin-bottom: 12px;
  line-height: 1.25;
}
.itihas-hero-subtitle {
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: #FDE68A;
  max-width: 840px;
  margin: 0 auto 22px;
  line-height: 1.75;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Floating Quill Writing Badge */
.quill-writing-callout {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(254, 243, 199, 0.12);
  border: 1px dashed #FDE68A;
  border-radius: 12px;
  padding: 12px 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  color: #FEF3C7;
  font-size: 0.98rem;
  text-align: left;
  max-width: 720px;
}
.quill-feather-animated {
  font-size: 2.2rem;
  animation: feather-write 2.5s infinite ease-in-out alternate;
  display: inline-block;
  transform-origin: bottom left;
}
@keyframes feather-write {
  0% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-4px); }
  100% { transform: rotate(4deg) translateY(2px); }
}

.itihas-mantra-box {
  background: rgba(18, 7, 3, 0.88);
  border: 2px solid #D97706;
  border-radius: 14px;
  padding: 16px 26px;
  max-width: 780px;
  margin: 0 auto 26px;
  font-family: var(--font-hindi-heading);
  color: #FEF08A;
  font-size: 1.15rem;
  line-height: 1.75;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.6);
}
.itihas-hero-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}
.hero-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(145deg, rgba(50, 20, 8, 0.95), rgba(28, 10, 4, 0.98));
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 30px;
  color: #FFFDF5;
  font-size: 0.93rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.hero-nav-btn:hover {
  background: linear-gradient(135deg, #B91C1C, #B45309);
  border-color: #FDE047;
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.5);
}

/* --- Showcase Duo: Ancient Hanuman Sketch & Quill Manuscript --- */
.manuscript-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 35px 0 20px;
}
.manuscript-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #B45309;
  background: #1A0A04;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.manuscript-frame:hover {
  transform: translateY(-6px);
  border-color: #F59E0B;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.3);
}
.manuscript-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.manuscript-frame:hover img {
  transform: scale(1.05);
}
.manuscript-caption {
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(26, 10, 4, 0.95), rgba(15, 5, 2, 0.98));
  border-top: 1px solid rgba(217, 119, 6, 0.35);
  color: #FEF3C7;
  font-family: var(--font-hindi-heading);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.manuscript-caption span {
  color: #FDE047;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .manuscript-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Devotee Sticky Parchment Toolbar --- */
.devotee-toolbar-sticky {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(35, 15, 6, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid #B45309;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
  padding: 12px 0;
  transition: all 0.3s ease;
}
.devotee-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.toolbar-search-box {
  position: relative;
  flex: 1 1 290px;
  max-width: 440px;
}
.toolbar-search-box input {
  width: 100%;
  padding: 10px 18px 10px 42px;
  background: #140703;
  border: 1.5px solid #B45309;
  border-radius: 30px;
  color: #FFFDF5;
  font-size: 0.94rem;
  outline: none;
  transition: all 0.3s ease;
}
.toolbar-search-box input:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
}
.toolbar-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #F59E0B;
  font-size: 1.05rem;
  pointer-events: none;
}
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.font-ctrl-btn {
  background: #2E1307;
  border: 1px solid #B45309;
  color: #FEF08A;
  padding: 7px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.font-ctrl-btn:hover {
  background: #991B1B;
  color: #FFF;
  border-color: #FDE047;
}
.bell-toll-btn {
  background: linear-gradient(135deg, #B45309, #991B1B);
  border: 1.5px solid #FDE047;
  color: #FFFDF5;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.bell-toll-btn:active {
  transform: scale(0.94);
}

/* Category Filter Pills */
.category-filter-row {
  display: flex;
  overflow-x: auto;
  gap: 9px;
  padding: 10px 0 4px;
  scrollbar-width: thin;
}
.category-filter-row::-webkit-scrollbar {
  height: 4px;
}
.category-filter-row::-webkit-scrollbar-thumb {
  background: #B45309;
  border-radius: 4px;
}
.cat-pill {
  padding: 6px 15px;
  border-radius: 20px;
  background: #240E05;
  border: 1px solid rgba(217, 119, 6, 0.45);
  color: #F5EDE6;
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cat-pill:hover,
.cat-pill.active {
  background: linear-gradient(135deg, #991B1B, #B45309);
  border-color: #FDE047;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.45);
}

/* --- Ancient Shila-Lekh (शिलालेख) Featured Card --- */
.shilalekh-tablet {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #281207 0%, #160803 70%, #0C0301 100%);
  border: 3px double #B45309;
  border-radius: 20px;
  padding: 38px 34px;
  margin: 45px 0;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(180, 83, 9, 0.2);
  overflow: hidden;
}
.shilalekh-tablet::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(253, 224, 71, 0.35);
  border-radius: 14px;
  pointer-events: none;
}
.shilalekh-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.shilalekh-badge {
  display: inline-block;
  background: rgba(153, 27, 27, 0.4);
  border: 1px solid #F59E0B;
  color: #FDE047;
  padding: 5px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.shilalekh-title {
  font-family: var(--font-hindi-heading);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  color: #FFFBEB;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.shilalekh-body {
  position: relative;
  z-index: 2;
  font-size: 1.08rem;
  line-height: 1.95;
  color: #F5EDE6;
  max-width: 860px;
  margin: 0 auto;
}
.shilalekh-quote {
  background: rgba(0, 0, 0, 0.4);
  border-left: 4px solid #F59E0B;
  border-right: 4px solid #991B1B;
  padding: 20px 26px;
  margin: 22px 0;
  font-family: var(--font-hindi-heading);
  color: #FEF08A;
  font-size: 1.18rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

/* --- Historical Chronology / Timeline (कालक्रम शिला-पथ) --- */
.timeline-section {
  position: relative;
  margin: 50px 0;
  padding: 30px 0;
}
.timeline-track {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 3px;
  background: linear-gradient(180deg, #991B1B 0%, #D97706 50%, #B45309 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}
.timeline-node {
  position: relative;
  margin-bottom: 35px;
  padding-left: 75px;
}
.timeline-icon-box {
  position: absolute;
  left: 12px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1C0A04;
  border: 2px solid #F59E0B;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
}
.timeline-card {
  background: linear-gradient(145deg, rgba(38, 16, 7, 0.95), rgba(20, 8, 3, 0.98));
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover {
  transform: translateX(6px);
  border-color: #FDE047;
}
.timeline-era {
  display: inline-block;
  color: #FDE047;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-title {
  font-family: var(--font-hindi-heading);
  font-size: 1.35rem;
  color: #FFF;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 0.96rem;
  color: #E2D7CF;
  line-height: 1.75;
  margin: 0;
}

/* --- THE MAIN MANUSCRIPT POTHI SHEETS (पुराना इतिहास का पन्ना) --- */
.pothi-article-container {
  max-width: 920px;
  margin: 0 auto;
}

.pothi-card {
  position: relative;
  /* Authentic Aged Parchment / Bhojpatra Sheet Styling */
  background-color: #FCF8F0;
  background-image:
    linear-gradient(180deg, rgba(255, 252, 245, 0.92) 0%, rgba(248, 239, 224, 0.94) 60%, rgba(240, 226, 203, 0.97) 100%);
  color: #2A1409;
  border-radius: 18px;
  padding: 42px 38px 36px;
  margin-bottom: 45px;
  /* Ancient Manuscript Deckled Edge Border & Dual Ruled Ink Lines */
  border: 2px solid #C49A45;
  border-left: 5px solid #991B1B;
  border-right: 5px solid #B45309;
  box-shadow: 
    0 18px 45px rgba(60, 25, 10, 0.22),
    0 4px 15px rgba(0, 0, 0, 0.12),
    inset 0 0 45px rgba(180, 83, 9, 0.12);
  transition: all 0.35s ease;
  scroll-margin-top: 140px;
  overflow: hidden;
}

/* Subtle Ancient Hanuman Sketch Watermark inside Each Chapter Card */
.pothi-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background-image: url('../images/ancient-hanuman-sketch.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  filter: sepia(1) contrast(1.2);
  z-index: 1;
}

/* Burnt Manuscript Inner Ruled Margin (पाण्डुलिपि हाशिया) */
.pothi-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(180, 83, 9, 0.25);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.pothi-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 24px 60px rgba(60, 25, 10, 0.32),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 50px rgba(180, 83, 9, 0.18);
  border-color: #D97706;
}

.pothi-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 2px solid rgba(180, 83, 9, 0.3);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.pothi-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pothi-chapter-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #991B1B, #7F1D1D);
  border: 2px solid #F59E0B;
  color: #FFFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hindi-heading);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(153, 27, 27, 0.45);
}
.pothi-badge {
  background: rgba(180, 83, 9, 0.12);
  border: 1px solid #B45309;
  color: #78350F;
  font-size: 0.84rem;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 600;
}
.pothi-share-btn {
  background: #FFFDF5;
  border: 1.5px solid #B45309;
  color: #78350F;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.pothi-share-btn:hover {
  background: #991B1B;
  color: #FFF;
  border-color: #7F1D1D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.3);
}

.pothi-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-hindi-heading);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  color: #581C0C;
  margin-top: 10px;
  margin-bottom: 8px;
  line-height: 1.35;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.pothi-body {
  position: relative;
  z-index: 2;
  font-size: 1.08rem;
  line-height: 2.0;
  color: #2D170D;
  font-weight: 450;
  letter-spacing: 0.2px;
}
.pothi-body p {
  margin-bottom: 22px;
  text-align: justify;
}
.pothi-body p:last-child {
  margin-bottom: 0;
}
.pothi-body strong {
  color: #7F1D1D;
  font-weight: 700;
}

/* First Letter Manuscript Drop-cap */
.pothi-body p:first-of-type::first-letter {
  font-family: var(--font-hindi-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: #991B1B;
  float: left;
  line-height: 1;
  margin-right: 8px;
  padding: 2px 6px;
  background: rgba(180, 83, 9, 0.12);
  border: 1px solid rgba(180, 83, 9, 0.35);
  border-radius: 6px;
}

/* --- Chapter 24: 10-Point Heritage Preservation List --- */
.heritage-pledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 15px;
  margin: 22px 0 10px;
}
.heritage-item {
  background: rgba(255, 252, 245, 0.9);
  border: 1.5px solid #C49A45;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #2D170D;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.heritage-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B45309, #991B1B);
  color: #FFFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(153, 27, 27, 0.3);
}

/* --- Epilogue (उपसंहार) Sanctum Box --- */
.epilogue-box {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #2A1108 0%, #150603 80%, #0A0201 100%);
  border: 3px double #F59E0B;
  border-radius: 20px;
  padding: 45px 34px;
  margin: 50px 0 25px;
  text-align: center;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.75);
  color: #FFF;
}
.epilogue-chants {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}
.chant-pill {
  background: linear-gradient(135deg, #991B1B, #B45309);
  border: 1.5px solid #FDE047;
  color: #FFFDF5;
  padding: 10px 26px;
  border-radius: 30px;
  font-family: var(--font-hindi-heading);
  font-size: 1.18rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(153, 27, 27, 0.45);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .itihas-hero {
    padding: 45px 15px 40px;
  }
  .pothi-card {
    padding: 28px 22px 24px;
    border-left-width: 4px;
    border-right-width: 4px;
  }
  .timeline-track::before {
    left: 20px;
  }
  .timeline-node {
    padding-left: 55px;
  }
  .timeline-icon-box {
    left: 2px;
  }
  .shilalekh-tablet {
    padding: 26px 20px;
  }
}

/* --- Print Stylesheet for Devotees / Book Printing --- */
@media print {
  .top-announcement-bar,
  .site-header,
  .devotee-toolbar-sticky,
  .reading-progress-container,
  .pothi-share-btn,
  .site-footer,
  .hero-nav-btn {
    display: none !important;
  }
  body, .itihas-page-body {
    background: #FFF !important;
    color: #000 !important;
  }
  .pothi-card, .shilalekh-tablet, .timeline-card {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #777 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .pothi-title, .shilalekh-title, .itihas-hero-title {
    color: #000 !important;
  }
  .pothi-body {
    color: #111 !important;
  }
  .pothi-card::before {
    display: none !important;
  }
}

/* Developer Credit Link — Agent WebFlow */
.dev-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 4px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(217, 170, 69, 0.28) 0%, rgba(20, 24, 38, 0.7) 50%, rgba(56, 189, 248, 0.18) 100%);
  border: 1.5px solid rgba(241, 207, 114, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 14px rgba(217, 170, 69, 0.25);
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  animation: devPulseGlow 3.5s ease-in-out infinite alternate;
}

.dev-credit-link:before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), rgba(56, 189, 248, 0.3), transparent);
  transform: rotate(25deg) translateX(-160%);
  animation: devSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.dev-credit-link span:first-child {
  background: linear-gradient(135deg, #FFF 0%, #fde047 30%, #38bdf8 70%, #f59e0b 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: devShimmer 3.5s linear infinite;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(245, 222, 119, 0.3);
}

.dev-credit-link .dev-arrow {
  font-size: 12px;
  font-weight: 900;
  color: #38bdf8;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  display: inline-block;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
}

.dev-credit-link:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(135deg, rgba(217, 170, 69, 0.5) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(56, 189, 248, 0.4) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.55), 0 0 18px rgba(241, 207, 114, 0.5);
}

.dev-credit-link:hover span:first-child {
  background: linear-gradient(135deg, #FFFFFF 0%, #38bdf8 50%, #fde047 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dev-credit-link:hover .dev-arrow {
  transform: translate(3px, -3px) rotate(8deg);
  color: #ffffff;
  filter: drop-shadow(0 0 8px #38bdf8);
}
