:root {
  --bg-color-light: #f4f7fb;
  --text-color-light: #1e293b;
  --card-bg-light: rgba(255, 255, 255, 0.85);
  --card-border-light: rgba(255, 255, 255, 0.4);
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --shadow-hover-light: 0 10px 40px rgba(99, 102, 241, 0.2);
  --primary-gradient: linear-gradient(135deg, #4f46e5, #0ea5e9);
  
  --bg-color-dark: #070912;
  --text-color-dark: #e2e8f0;
  --card-bg-dark: rgba(15, 23, 42, 0.6);
  --card-border-dark: rgba(99, 102, 241, 0.15);
  --shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-hover-dark: 0 10px 40px rgba(99, 102, 241, 0.4);
  --primary-gradient-dark: linear-gradient(135deg, #6366f1, #38bdf8);

  --transition-speed: 0.4s;
}

[data-bs-theme="light"] {
  --bs-body-bg: var(--bg-color-light);
  --bs-body-color: var(--text-color-light);
  --bs-card-bg: var(--card-bg-light);
  --custom-border: var(--card-border-light);
  --custom-shadow: var(--shadow-light);
  --custom-shadow-hover: var(--shadow-hover-light);
  --btn-gradient: var(--primary-gradient);
}

[data-bs-theme="dark"] {
  --bs-body-bg: var(--bg-color-dark);
  --bs-body-color: var(--text-color-dark);
  --bs-card-bg: var(--card-bg-dark);
  --custom-border: var(--card-border-dark);
  --custom-shadow: var(--shadow-dark);
  --custom-shadow-hover: var(--shadow-hover-dark);
  --btn-gradient: var(--primary-gradient-dark);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* Premium Ocean Background Animation */
[data-bs-theme="dark"] body {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.06), transparent 25%) !important;
    background-color: #070912 !important;
    background-attachment: fixed !important;
    animation: pulseBg 15s ease infinite alternate;
}

[data-bs-theme="light"] body {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.05), transparent 25%) !important;
    background-color: #f4f7fb !important;
    background-attachment: fixed !important;
}

@keyframes pulseBg {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--custom-border);
}

[data-bs-theme="dark"] .navbar {
  background: rgba(9, 9, 11, 0.7) !important;
}

/* Glassmorphism Cards */
.main_list_box, .codehap_item, .card, .topic_box, .author-card {
  background: var(--bs-card-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--custom-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--custom-shadow) !important;
}

.btn-primary {
  background: var(--btn-gradient) !important;
  background-size: 200% 200% !important;
  animation: gradientBG 5s ease infinite;
  border: none !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-primary {
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4) !important;
}

[data-bs-theme="light"] .btn-primary {
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
}

/* Override Text Visibility */
body, h1, h2, h3, h4, h5, h6, p, span, div, .nav-link, .topic_box_links {
  color: var(--bs-body-color);
}
/* Text Gradient */
.text-gradient {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  padding: 80px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

[data-bs-theme="light"] .hero-section {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-title {
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-search-group {
  border-radius: 50px;
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  transition: box-shadow 0.3s ease;
}

.hero-search-group:focus-within {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25) !important;
}

.hero-search-input {
  box-shadow: none !important;
  color: var(--bs-body-color) !important;
}

.hero-search-btn {
  border-radius: 0 50px 50px 0 !important;
  font-weight: 600;
  padding: 0 30px;
}

/* New Premium Quote Box Styles */
.premium-quote-box {
  position: relative;
  border-radius: 20px;
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  box-shadow: var(--custom-shadow);
  padding: 30px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.premium-quote-box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--custom-shadow-hover);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Big Quote Icon */
.premium-quote-icon {
  width: 40px;
  height: 40px;
  fill: #1e293b;
  margin-bottom: 20px;
}
[data-bs-theme="dark"] .premium-quote-icon {
  fill: #cbd5e1;
  opacity: 0.15;
}

/* Inner Text Area */
.premium-quote-inner {
  background: transparent;
  padding: 0 0 20px 0;
}

.premium-quote-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--bs-body-color);
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;

  margin: 0;
}
.premium-quote-text a {
  color: inherit;
  text-decoration: none;
}
.premium-quote-text::before { content: '\201C'; color: #a855f7; font-size: 1.4em; line-height: 0; vertical-align: middle; margin-right: 4px; font-weight: bold; }
.premium-quote-text::after { content: '\201D'; color: #a855f7; font-size: 1.4em; line-height: 0; vertical-align: middle; margin-left: 4px; font-weight: bold; }

.premium-quote-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
}

.icontainer {
  position: relative;
  text-align: center;
 
}

.icentered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(103,61,229, 0.8);
  z-index:9999;
  padding:1em;
    border-radius: 5px;
    font-size:1.5em;
    color:#fff;
    font-weight:bold;
      display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    height:100%;
    display:none;
}

.imgcontainer {
  position: relative;
  text-align: center;
  color: white;
}


.imgcontainer img{
     aspect-ratio: 16/9;
    object-fit: cover;
}


/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.centered {
    width:100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

 .author_name{
     font-size:15px;
     color:#caccd1;
 }
.quote {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
   aspect-ratio: 16/9;
    
    overflow: hidden;
    font-size: 1.5rem;
    color: #fff; /* Text color */
}

.quote-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    z-index: 0;
}

.quote-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    border-radius: 10px;
}

.quote-left, .quote-right {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    flex-shrink: 0;
}

.quote-title {
    text-align: center;
    font-weight: bold;
    padding: 0 20px;
    flex-grow: 1;
}

.quote-left svg, .quote-right svg {
        width: 80px;
    }
    
@media (max-width: 768px) {
    .quote-content {
        flex-direction: column;
        text-align: center;
        font-size: 1.2rem;
    }

    .quote-left, .quote-right {
        margin: 10px 0;
    }
    
    

    .quote-title {
        padding: 0 10px;
    }
    
    
    .quote {
   padding:0px;
  aspect-ratio: auto;
    
  
}


}

@media (max-width: 480px) {
    .quote-content {
        font-size: 1rem;
    }

    .quote-left svg, .quote-right svg {
        width: 50px;
    }
    

}






h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.text-center h1, .text-center h2, .text-center h3, .text-center h4, .text-center h5, .text-center h6 {
    margin-left: auto;
    margin-right: auto;
}

.navbar {
  background: var(--bs-body-bg) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--custom-border);
  transition: all var(--transition-speed) ease;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #a855f7 !important;
}

/* Premium Cards & Quote Boxes */
.main_list_box, .codehap_item, .card, .topic_box, .author-card, .borderTop {
  transition: transform var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
  background-color: var(--bs-card-bg);
  color: var(--bs-body-color);
  border: 1px solid var(--custom-border);
  border-radius: 16px !important;
  box-shadow: var(--custom-shadow);
  padding: 1.5rem;
}

/* Override existing borders */
.borderTop { border-top: none !important; }

/* Hover Effects */
.main_list_box:hover, .card:hover, .topic_box:hover, .author-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--custom-shadow-hover) !important;
  border-color: rgba(168, 85, 247, 0.4);
}

/* Quote Text styling */
.codehap_item {
  font-size: 1.25rem;
  font-weight: 500;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}
.codehap_item::before { content: '\"'; color: #a855f7; font-size: 1.5em; vertical-align: bottom; }
.codehap_item::after { content: '\"'; color: #a855f7; font-size: 1.5em; vertical-align: top; }

/* Gradient Text for specific elements */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

.tags {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7 !important;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.tags:hover {
  background: var(--primary-gradient);
  color: white !important;
  transform: translateY(-2px);
}

.button-62 {
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  color: var(--bs-body-color);
  border-radius: 12px;
  box-shadow: var(--custom-shadow);
  transition: all 0.3s ease;
}
.button-62:hover {
  background: var(--primary-gradient);
  color: white !important;
  transform: translateY(-3px);
}

/* Theme Toggle Animation */
#toggle-dark-mode {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, background-color 0.3s ease;
}
#toggle-dark-mode:active {
  transform: rotate(360deg) scale(0.9);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered load for elements */
.main_list_box { animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; opacity: 0; }
.main_list_box:nth-child(1) { animation-delay: 0.1s; }
.main_list_box:nth-child(2) { animation-delay: 0.2s; }
.main_list_box:nth-child(3) { animation-delay: 0.3s; }
.main_list_box:nth-child(4) { animation-delay: 0.4s; }
.main_list_box:nth-child(5) { animation-delay: 0.5s; }

/* 100% Responsiveness tweaks */
@media (max-width: 768px) {
  .main_list_box { padding: 1rem; border-radius: 12px !important; }
  .codehap_item { font-size: 1.1rem; }
  h1 { font-size: 2rem !important; }
}









/* Enhanced Mobile Responsiveness & Touch Targets */
@media (max-width: 768px) {
    .btn-primary {
      padding: 12px 20px;
      font-size: 1.1rem;
      width: 100%;
      margin-bottom: 10px;
    }
    .hero-search-group, .search-dropdown-glass .input-group {
        flex-wrap: nowrap !important;
    }
    .hero-search-btn, .search-dropdown-glass .btn {
        width: auto !important;
        margin-bottom: 0 !important;
    }
    .hero-search-input, .search-dropdown-glass input {
        min-width: 0;
    }
    .navbar-toggler {
    border: none;
    background: var(--bs-card-bg);
    border-radius: 12px;
    padding: 10px;
  }
  .navbar-nav .nav-link {
    padding: 12px;
    border-bottom: 1px solid var(--custom-border);
  }
  .layout-navbar {
    margin: 5px 10px !important;
    width: calc(100% - 20px) !important;
  }
}

/* HEADER & FOOTER OVERHAUL STYLES */


.glass-footer {
  background: var(--bs-card-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--custom-border) !important;
  margin-top: 5rem !important;
}

.footer_title {
  font-family: 'Outfit', sans-serif;
  color: var(--bs-body-color);
  letter-spacing: -0.02em;
}

.footer-hover-link {
  color: var(--bs-body-color);
  text-decoration: none;
  opacity: 0.75;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-hover-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--btn-gradient);
  transition: width 0.3s ease;
}

.footer-hover-link:hover {
  opacity: 1;
  color: var(--bs-body-color);
}

.footer-hover-link:hover::after {
  width: 100%;
}

.social-icon {
  color: var(--bs-body-color);
  opacity: 0.75;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.1);
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
  background: var(--btn-gradient);
  color: white;
  box-shadow: var(--custom-shadow-hover);
}

.search-dropdown-glass {
  background: var(--bs-card-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--custom-border);
  position: absolute;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--custom-shadow-hover);
}

.glass-input {
  background: rgba(128, 128, 128, 0.05) !important;
  color: var(--bs-body-color) !important;
  border: 1px solid var(--custom-border) !important;
  border-right: none !important;
}

.glass-input:focus {
  background: rgba(128, 128, 128, 0.1) !important;
  box-shadow: none !important;
  border-color: var(--custom-border) !important;
}

.theme-toggle-btn {
  background: rgba(128, 128, 128, 0.1);
  color: var(--bs-body-color);
  border: 1px solid var(--custom-border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: rgba(128, 128, 128, 0.2);
  transform: scale(1.05);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* Author Image Sizing Fix */
.author_img img, .author_box img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Modern Tags & Action Icons */
.quote-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.modern-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--bs-body-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

[data-bs-theme="dark"] .modern-tag {
  background: rgba(255, 0, 128, 0.1);
  border-color: rgba(255, 0, 128, 0.2);
}

.modern-tag:hover {
  background: var(--btn-gradient);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--custom-shadow-hover);
}

.modern-tag svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.action-icons-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}

.action-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--custom-shadow);
}

.action-icon-btn svg {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}

/* Colorful states for specific icons */
.action-copy svg { fill: #3B82F6; }
.action-heart svg { fill: #EF4444; }
.action-share svg { fill: #10B981; }

.action-copy:hover {
  background: #3B82F6;
  border-color: #3B82F6;
  transform: translateY(-3px) scale(1.1);
}
.action-heart:hover, .action-heart.liked {
  background: #EF4444;
  border-color: #EF4444;
  transform: translateY(-3px) scale(1.1);
}
.action-share:hover {
  background: #10B981;
  border-color: #10B981;
  transform: translateY(-3px) scale(1.1);
}

.action-icon-btn:hover svg, .action-heart.liked svg {
  fill: #fff !important;
}

/* DRIBBBLE FLOATING PILL HEADER STYLES */
.floating-header-nav {
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.8) !important;
  border-bottom: 1px solid var(--custom-border) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
}
[data-bs-theme="dark"] .floating-header-nav {
  background: rgba(5, 8, 16, 0.7) !important;
}

.pill-nav-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .pill-nav-container {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pill-nav-link {
  color: var(--bs-body-color) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill-nav-link:hover, .pill-nav-link.active {
  background: var(--bs-body-color) !important;
  color: var(--bs-body-bg) !important;
}

/* Remove the old underline hover effect for pill links */
.pill-nav-link::after {
  display: none !important;
}

.pill-actions-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .pill-actions-container {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pill-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-body-color);
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pill-action-btn:hover {
  background: var(--bs-body-color);
  color: var(--bs-body-bg) !important;
  transform: scale(1.05);
}

.pill-action-btn:hover svg {
  fill: var(--bs-body-bg) !important;
}

.search_icon img {
  filter: none;
}
[data-bs-theme="dark"] .search_icon img {
  filter: invert(1);
}
.pill-action-btn:hover .search_icon img {
  filter: invert(0) !important;
}
[data-bs-theme="dark"] .pill-action-btn:hover .search_icon img {
  filter: invert(1) !important;
}

/* Premium Footer Styles */
.premium-footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

[data-bs-theme="light"] .premium-footer {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-bg-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.footer-link {
  color: var(--bs-body-color);
  text-decoration: none;
  opacity: 0.75;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  opacity: 1;
  color: #a855f7;
  transform: translateX(4px);
  display: inline-block;
}

.premium-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  color: var(--bs-body-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-social-icon:hover {
  background: var(--btn-gradient);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.02);
}

/* Premium Author Box */
.premium-author-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--custom-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--custom-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.premium-author-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
}

.author-img-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  transition: all 0.4s ease;
}

.premium-author-card:hover .author-img-wrapper {
  transform: rotate(5deg) scale(1.05);
}

.author-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bs-card-bg);
}

.premium-author-name {
  color: var(--bs-heading-color);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.premium-author-card:hover .premium-author-name {
  color: var(--primary-color);
}

.author-gradient {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
