:root {
      --primary-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
      --secondary-gradient: linear-gradient(135deg, #6d5efc, #22d3ee);
      --danger-gradient: linear-gradient(135deg, #ef4444, #f97316);
      --success-gradient: linear-gradient(135deg, #10b981, #059669);
      --glass-bg: rgba(255, 255, 255, 0.1);
      --glass-border: rgba(255, 255, 255, 0.2);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif !important;
      background: #f9fafc !important;
      line-height: 1.6;
      font-weight: 400;
    	padding:0px !important;
    }

  

 /* Profile Card - General Layout */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 40px);
  background: var(--primary-gradient);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
  margin-bottom: clamp(20px, 5vw, 40px);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;  /* Ensure it takes full width available */
}

/* Image Styling */
.profile-card .profile-img {
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}


/* Hover effect for image */
.profile-card:hover img {
  transform: scale(1.05);
}

/* Profile Information */
h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Profile Card - Enhanced Responsiveness */
.profile-card {
  background: var(--primary-gradient);
  border-radius: 24px;
  padding: clamp(20px, 5vw, 40px);
  color: white;
  text-align: center;
  margin-bottom: clamp(20px, 5vw, 40px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}


.profile-card:hover img {
  transform: scale(1.05);
}

/* Profile Name Styling */
.profile-card h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Profile Description Styling */
.profile-card p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Profile Badge Styling */
.profile-badge {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 18px;
  margin: 2px 4px;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.profile-badge:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

/* Button Styling */
.btn-gradient {
  border: none;
  background: var(--secondary-gradient);
  border-radius: 20px;
  padding: clamp(6px, 1.5vw, 8px) clamp(14px, 3.5vw, 20px);
  font-weight: 500;
  color: #fff;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 36px;
	cursor:pointer;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(109, 94, 252, 0.3);
}

/* Support Button */
.btn-support { 
  background: var(--danger-gradient);
  margin-right: clamp(8px, 2vw, 16px);
}

/* Streak Button */
.btn-streak { 
  background: var(--glass-bg);
  color: white;
  padding: clamp(6px, 1.5vw, 8px) clamp(14px, 3.5vw, 20px);
  border-radius: 20px;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  min-height: 36px;
}
.btn-streak:hover {
  transform: translateY(-2px);
  background: var(--glass-bg);
  box-shadow: 0 10px 25px rgba(109, 94, 252, 0.3);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-card {
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
  }

  

  .profile-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .profile-card p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .btn-gradient, .btn-streak {
    font-size: 0.8rem;
    padding: 6px 14px;
    min-height: 32px;
  }

  .meta-stats {
    gap: 16px;
    margin: 16px 0;
  }

  .profile-badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    margin: 2px;
  }

  .thumbs-up-wrapper {
    padding: 6px 14px;
    min-height: 32px;
  	
  }

  .thumbs-up-gif {
    width: 20px;
    height: 20px;
  }
}


    /* Leaderboard - Enhanced Modern Design */
    .leaderboard {
      background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85)) !important;
      border-radius: 24px;
      padding: clamp(25px, 5vw, 35px);
      margin-bottom: clamp(25px, 5vw, 45px);
      box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1), 0 8px 25px rgba(0,0,0,0.08);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.3);
      position: relative;
      overflow: hidden;
    }

    .leaderboard::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--primary-gradient);
      border-radius: 24px 24px 0 0;
    }

    .leaderboard h5 {
      font-size: clamp(1.2rem, 3.5vw, 1.4rem);
      margin-bottom: 1.5rem;
      font-weight: 700;
      color: #1e293b;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .leaderboard h5::before {
      content: '🏆';
      font-size: 1.2em;
    }

    /* Package Cards - Improved Grid */
    .package-card, .tool-card {
      background: #ffffff !important;
      border-radius: 20px;
      padding: clamp(15px, 4vw, 25px);
      text-align: center;
      box-shadow: 0 8px 25px rgba(0,0,0,0.08);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid rgba(0,0,0,0.05);
      position: relative;
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .package-card::before, .tool-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--secondary-gradient);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .package-card:hover, .tool-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .package-card:hover::before, .tool-card:hover::before {
      transform: scaleX(1);
    }

    .package-card .emoji, .tool-card .emoji {
      font-size: clamp(2rem, 6vw, 2.5rem);
      margin-bottom: 12px;
      display: block;
    }

    .package-card h6, .tool-card h6 {
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      font-weight: 600;
      margin-bottom: 8px;
    }

    .package-card p, .tool-card p {
      font-size: clamp(0.8rem, 2vw, 0.85rem);
      color: #6b7280;
      margin-bottom: 15px;
      flex-grow: 1;
    }

    /* Price Badge */
    .price-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--danger-gradient);
      color: #fff;
      font-size: clamp(0.7rem, 1.8vw, 0.8rem);
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }
                                          
                                          
                                          .points-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background: var(--primary-gradient);
      color: #fff;
      font-size: clamp(0.7rem, 1.8vw, 0.8rem);
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    /* Responsive Grid Improvements */
    @media (max-width: 576px) {
      .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
      }
      
      .col-6 {
        flex: 0 0 auto;
        width: 100%;
      }
    }

    @media (min-width: 577px) and (max-width: 768px) {
      .col-6 {
        flex: 0 0 auto;
        width: 50%;
      }
    }

 /* -------------------------
   Video Background Container
-------------------------- */
.profile-background-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* full viewport height */
  margin: clamp(20px, 4vw, 40px) 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .profile-background-container {
    min-height: 80vh; /* tablet view */
    margin: clamp(15px, 3vw, 25px) 0;
  }
}

@media (max-width: 480px) {
  .profile-background-container {
    min-height: 600px; /* more room for stacked content */
    margin: clamp(10px, 2vw, 20px) 0;
  }
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(15, 15, 35, 0.7);
  backdrop-filter: blur(2px);
  z-index: -1;
}

/* -------------------------
   Profile Card
-------------------------- */
.profile-cards {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  text-align: center;
  padding: clamp(25px, 5vw, 35px) clamp(20px, 4vw, 25px);
  max-width: clamp(300px, 90vw, 400px);
  width: 95%;
  margin: 0 auto;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  min-height: 320px;
}

@media (max-width: 768px) {
  .profile-cards {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto;
    padding: clamp(20px, 4vw, 30px) clamp(15px, 3vw, 20px);
    max-width: clamp(280px, 85vw, 340px);
    border-radius: 20px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .profile-cards {
    padding: 20px 15px;
    max-width: clamp(260px, 90vw, 320px);
    border-radius: 16px;
    min-height: auto;
  }
}

/* -------------------------
   Logo / Profile Image
-------------------------- */
.profile-logos {
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  font-weight: 600;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  font-size: clamp(0.8rem, 2vw, 1rem);
}

.profile-logos img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------
   Name + Tagline
-------------------------- */
.profile-names {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 6px;
}

.profile-taglines {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
  line-height: 1.3;
}

/* -------------------------
   Link Buttons
-------------------------- */
.link-btns {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: clamp(12px, 3vw, 16px);
  margin-bottom: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.link-btns:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 480px) {
  .link-btns {
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    border-radius: 16px;
  }
}

/* -------------------------
   Social Links
-------------------------- */
.social-linkss a {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #fff;
  margin: 0 clamp(5px, 1vw, 8px);
  transition: all 0.3s ease;
  display: inline-block;
}

.social-linkss a:hover {
  color: #60a5fa;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .social-linkss {
    margin-top: 10px;
  }
  .social-linkss a {
    font-size: 1rem;
    margin: 0 4px;
  }
}
/* Desktop default (no absolute positioning) */
.profile-cards {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 40px auto; /* space above and below */
}

/* Tablet aur mobile ke liye alag spacing */
@media (max-width: 992px) {
  .profile-cards {
    margin: 30px auto;
  }
}

@media (max-width: 576px) {
  .profile-cards {
    margin: 20px auto;
  }
}

    /* Tools Section */
    .wbio-tools-title {
      font-weight: 600;
      margin-bottom: 25px;
      font-size: clamp(1.1rem, 3vw, 1.4rem);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .wbio-tools-card {
      background: #ffffff !important;
      border-radius: 24px;
      padding: clamp(20px, 4vw, 30px) clamp(15px, 3vw, 20px);
      text-align: center;
      box-shadow: 0 15px 35px rgba(0,0,0,0.08);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      height: 100%;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .wbio-tools-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--secondary-gradient);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .wbio-tools-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    }

    .wbio-tools-card:hover::before {
      transform: scaleX(1);
    }

    .wbio-tools-icon {
      width: clamp(50px, 10vw, 65px);
      height: clamp(50px, 10vw, 65px);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      font-size: clamp(1.4rem, 3vw, 1.8rem);
      background: var(--secondary-gradient);
      color: #fff;
      box-shadow: 0 8px 20px rgba(109, 94, 252, 0.3);
      transition: all 0.3s ease;
    }

    .wbio-tools-card:hover .wbio-tools-icon {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 12px 30px rgba(109, 94, 252, 0.4);
    }

    .wbio-tools-card h6 {
      font-weight: 600;
      margin-bottom: 10px;
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      color: #1f2937;
    }

    .wbio-tools-card p {
      font-size: clamp(0.8rem, 2vw, 0.9rem);
      color: #6b7280;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .wbio-tools-btn {
      border-radius: 25px;
      border: none;
      padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 24px);
      font-weight: 600;
      text-decoration: none;
      color: #fff;
      background: var(--secondary-gradient);
      transition: all 0.3s ease;
      display: inline-block;
      box-shadow: 0 6px 15px rgba(109, 94, 252, 0.3);
      position: relative;
      overflow: hidden;
      font-size: clamp(0.8rem, 2vw, 0.85rem);
    }

    .wbio-tools-btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 50%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s ease;
    }

    .wbio-tools-btn:hover::before {
      left: 150%;
    }

    .wbio-tools-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(109, 94, 252, 0.4);
    }

    /* Promo Section */
    .promo {
      border-radius: 24px;
      padding: clamp(40px, 8vw, 70px) clamp(20px, 5vw, 40px);
      text-align: center;
      color: #fff;
      position: relative;
      margin: clamp(30px, 6vw, 50px) 0;
    }


    .promo-content {
      position: relative;
      z-index: 2;
    }

    .promo h2 {
      font-size: clamp(1.5rem, 5vw, 2.2rem);
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .promo p {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      margin-bottom: 2rem;
      opacity: 0.9;
    }

   
   
    /* Analytics */
    .analytics {
      border-radius: 20px;
      background: #ffffff !important;
      text-align: center;
      padding: clamp(30px, 6vw, 50px);
      margin-top: clamp(20px, 4vw, 40px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.05);
    }

    .analytics h5 {
      font-size: clamp(1.1rem, 3vw, 1.3rem);
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    .loading-bars {
      display: flex;
      justify-content: center;
      gap: 6px;
    }

    .loading-bars span {
      width: 6px;
      height: 20px;
      background: var(--secondary-gradient);
      border-radius: 3px;
      animation: bounce 1s infinite ease-in-out;
    }

    .loading-bars span:nth-child(2) { animation-delay: 0.2s; }
    .loading-bars span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes bounce {
      0%, 100% { transform: scaleY(0.4); }
      50% { transform: scaleY(1); }
    }

   
    .table {
      width: 100%;
      margin-bottom: 0;
    }

    .table th {
      font-weight: 600;
      color: #374151;
      font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .table td {
      font-size: clamp(0.8rem, 2vw, 0.9rem);
      color: #6b7280;
    }

    @media (max-width: 767px) {
      .table th, .table td {
        padding: clamp(6px, 2vw, 12px);
        font-size: clamp(0.75rem, 2vw, 0.85rem);
      }
    }

    /* Carousel Improvements */
    .carousel-control-prev, .carousel-control-next {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--secondary-gradient);
      border: none;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.8;
      transition: all 0.3s ease;
    }

    .carousel-control-prev:hover, .carousel-control-next:hover {
      opacity: 1;
      transform: translateY(-50%) scale(1.1);
    }

    .carousel-control-prev {
      left: -20px;
    }

    .carousel-control-next {
      right: -20px;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
      width: 16px;
      height: 16px;
    }

    .carousel-item {
      transition: transform 0.8s ease-in-out;
    }

    /* Utility Classes */
    .text-gradient {
  background-color: #374151; /* Light black background */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;


    }

    .border-gradient {
      border: 2px solid transparent;
      background: linear-gradient(white, white) padding-box, var(--secondary-gradient) border-box;
    }

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

    .fade-in-up {
      animation: fadeInUp 0.8s ease-out;
    }

    /* Dark mode support (optional) */
    @media (prefers-color-scheme: dark) {
      body {
        background: #f9fafc;
      }
      
      .leaderboard, .package-card, .tool-card, .wbio-tools-card, .analytics {
        background: #ffffff;
        color: #374151;
        border-color: rgba(0,0,0,0.05);
      }
      
      .package-card h6, .tool-card h6, .wbio-tools-card h6 {
        color: #1f2937;
      }
      
      .package-card p, .tool-card p, .wbio-tools-card p {
        color: #6b7280;
      }
    }


    #authTabs .nav-link { 
      color: #374151;
      font-weight: 500;
    }
                                           .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
  }

  /* Modal container and styling */
  .modal-content {
    border-radius: 10px;
    overflow: hidden;
  }

  /* Modal header */
  .modal-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
  }

  .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
  }

  .btn-close {
    font-size: 1.2rem;
    opacity: 0.7;
  }

  /* Modal body styling */
  .modal-body {
    padding: 30px;
    background-color: #fff;
  }

  .form-control-lg {
    border-radius: 50px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
  }

  .form-control-lg:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }

  
  /* Modal footer */
  .modal-footer {
    background-color: #f7f7f7;
    border-top: 1px solid #e0e0e0;
    padding: 10px 20px;
  }

  .btn-link {
    font-weight: 500;
    font-size: 0.9rem;
  }

  .btn-link:hover {
    text-decoration: underline;
  }

  /* Smooth transition */
  .modal.fade .modal-dialog {
    transform: translate(0, -50px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .modal.fade.show .modal-dialog {
    transform: translate(0, 0);
    opacity: 1;
  }

  /* Enhancements for larger screens */
  @media (min-width: 768px) {
    .modal-dialog {
      max-width: 450px;
    }
  }
                                          
  .badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-level-1 {
    background: linear-gradient(45deg, #9e9e9e, #616161); /* Gray metallic */
    color: #fff;
}

.badge-level-2 {
    background: linear-gradient(45deg, #42a5f5, #1e88e5); /* Blue */
    color: #fff;
}

.badge-level-3 {
    background: linear-gradient(45deg, #fdd835, #f57f17); /* Gold */
    color: #000;
}

.badge-level-4 {
    background: linear-gradient(45deg, #66bb6a, #2e7d32); /* Green */
    color: #fff;
}

.badge-level-5 {
    background: linear-gradient(45deg, #ab47bc, #6a1b9a); /* Purple */
    color: #fff;
}
/* Container for streaks + points */
.meta-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; 
  padding: 0;
  gap: 20px;
  margin: 20px 0;
}

/* Text resets */
.meta-stats p {
  margin: 0;
  line-height: 1.3;
}

/* Streaks: right side divider */
.meta-stats .streaks {
  padding-inline-end: 20px;
  margin-inline-end: 15px;
  border-inline-end: 1px solid rgba(255,255,255,0.3);
}

/* Optional: nicer bold */
.meta-stats strong { font-weight: 700; }

/* Dark mode (optional) */
@media (prefers-color-scheme: dark) {
  .meta-stats .streaks { border-color: #fff; }
}

/* Mobile (max-width 576px) pe border remove */
@media (max-width: 576px) {
  .meta-stats .streaks {
    border: none;
    padding-inline-end: 0;
    margin-inline-end: 0;
  }
}
.thumbs-up-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.5vw, 8px) clamp(14px, 3.5vw, 20px);
  border-radius: 20px;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  min-height: 36px;
  gap: 8px;
}

.thumbs-up-gif {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 0;
  background: none;
}
 
    /* Enhanced Modern Table Design */
    .table-responsive {
      border-radius: 20px;
      overflow-x: auto !important;
      box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
    }

    .table {
      background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
      backdrop-filter: blur(20px);
      border: none;
      margin-bottom: 0;
    }

    .table thead {
      background: linear-gradient(135deg, #4f46e5, #7c3aed);
      color: white;
    }

    .table thead th {
      border: none;
      padding: 16px;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.5px;
    }

    .table tbody tr {
      transition: all 0.3s ease;
      border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    }

    .table tbody tr:hover {
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(124, 58, 237, 0.03)) ;
     
    }

    .table tbody td {
      border: none;
      padding: 16px;
      vertical-align: middle;
      color: #1e293b;
    }

    .table .fw-semibold {
      font-weight: 600;
      color: #0f172a;
    }

    .table .subtle {
      color: #64748b;
    }

    .table .icon-wrap {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4f46e5;
    }

    .table .badge {
       padding: 6px 12px;
       border-radius: 12px;
       font-weight: 600;
       font-size: 0.8rem;
     }

    /* Enhanced Modern Tab Navigation */
    .nav-pills {
      background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
      backdrop-filter: blur(20px);
      border-radius: 20px;
      padding: 8px;
      box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
      border: 1px solid rgba(255,255,255,0.3);
    }

    .nav-pills .nav-link {
      border-radius: 16px;
      padding: 12px 20px;
      font-weight: 600;
      color: #64748b;
      transition: all 0.3s ease;
      border: none;
      background: transparent;
      position: relative;
      overflow: hidden;
    }

    .nav-pills .nav-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s ease;
    }

    .nav-pills .nav-link:hover {
      color: #4f46e5;
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1);
    }

    .nav-pills .nav-link:hover::before {
      left: 100%;
    }

    .nav-pills .nav-link.active {
      background: var(--primary-gradient);
      color: white;
      box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
      transform: translateY(-2px);
    }

    .nav-pills .nav-link.active:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
    }

    .nav-pills .nav-link i {
      margin-right: 8px;
      font-size: 1.1em;
    }


    .profile-container {
            max-width: 360px;
            margin: 20px auto;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            position: relative;
        	overflow:hidden;
          z-index: 1;
        }
        
        .profile-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .profile-pic {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin-bottom: 15px;
        	object-fit:cover !important;
        }
        
        .profile-name {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .profile-bio {
            font-size: 16px;
            color: #333;
            margin-bottom: 25px;
        }
        
        .button {
            display: block;
            background-color: white;
            color: #333;
            padding: 12px;
            border-radius: 25px;
            text-align: center;
            margin-bottom: 15px;
            text-decoration: none;
            font-weight: 500;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        .counter{
            display: block;
            background-color: white;
            color: #333;
            padding: 12px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 15px;
            text-decoration: none;
            font-weight: 500;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        .counter:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin: 20px 0 15px;
            text-align: center;
        }
        
               .social-icons {
            display: flex;
            justify-content: center;
            margin: 25px 0;
        }
        
        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 10px;
            text-decoration: none;
            color: #333;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        /* QuickBio social icons override */
        .quickbio-wrapper .social-icon {
            color: white !important;
        }
        
        .social-icon:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
     .hidden{
     
     display:block;
     }
        
        .floating-icons {
            position: absolute;
            left: -70px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .floating-icons .social-icon {
            margin: 10px 0;
            background-color: #D4AF37;
            color: white;
        }
        
        .right-icons {
            position: absolute;
            right: -70px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .right-icons .social-icon {
            margin: 10px 0;
            background-color: #D4AF37;
            color: white;
        }
        
          .brand-logo {
               display: block;
    background-color: white;
    color: #333;
    padding: 15px 12px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
	margin-top:30px;
        }
        
        .brand-logo img {
            max-width: 150px;
            opacity: 0.8;
        }
        
        @media (max-width: 767px) {
            .floating-icons, .right-icons {
                position: static;
                display: flex;
                justify-content: center;
                transform: none;
                margin: 20px 0;
            }
            
            .floating-icons .social-icon, .right-icons .social-icon {
                margin: 0 10px;
            }
            
        	.profile-container{
            	margin:0;
            	max-width:100%;
            	border-radius:0px;
            }
        
        }

.first-box , .second-box , .third-box , .fourth-box{
                              	    background: white;
    								padding: 10px;
    								text-align: center;
    								border-radius: 10px;
    								margin-bottom: 6px;

                              }
    /* Tab Navigation Styling */
    #mainTabs {
      background: rgba(255, 255, 255, 0.9);
      border-radius: 15px;
      padding: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    #mainTabs .nav-link {
      border: none;
      border-radius: 12px;
      padding: 12px 20px;
      font-weight: 600;
      color: #6b7280;
      background: transparent;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    #mainTabs .nav-link:hover {
      color: #4f46e5;
      background: rgba(79, 70, 229, 0.1);
      transform: translateY(-2px);
    }

    #mainTabs .nav-link.active {
      background: var(--primary-gradient);
      color: white;
      box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
      transform: translateY(-2px);
    }

    #mainTabs .nav-link i {
      font-size: 1.1em;
      margin-right: 8px;
    }

    /* Tab Content Styling */

    #mainTabsContent {
      background: white;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(0, 0, 0, 0.05);
      min-height: 400px;
    }

    .tab-pane {
      animation: fadeInUp 0.5s ease-in-out;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive Tab Design */
    @media (max-width: 768px) {
      #mainTabs {
        padding: 10px;
      }
      
      #mainTabs .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
      }
      
      #mainTabs .nav-link i {
        font-size: 1em;
        margin-right: 4px;
      }
      
      .tab-content {
        padding: 20px;
      }
    }

    /* Enhanced Visual Separation */
    .tab-pane h2, .tab-pane h4 {
      color: #1f2937;
      margin-bottom: 1.5rem;
    }

    .tab-pane .section-title {
      border-bottom: 3px solid #e5e7eb;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    /* Fix odometer formatting in QuickBio tab */
    #quickbio .odometer {
      font-family: inherit !important;
    }
    

    /* Play & Earn Section Responsive */
    .play-earn-section {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 20px;
      padding: 40px;
      margin: 30px 0;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .play-earn-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
      pointer-events: none;
    }

    .play-earn-content {
      position: relative;
      z-index: 2;
    }

    .play-earn-section h3 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .play-earn-section p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      opacity: 0.9;
    }

    .play-earn-section .btn {
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.3);
      color: white;
      padding: 15px 30px;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .play-earn-section .btn:hover {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    /* Enhanced Responsive Design */
    @media (max-width: 768px) {
      .container {
        padding: 0 15px;
      }
      
      .profile-card {
        margin: 10px 0;
        padding: 20px;
      }
      
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }
      
      .stat-item {
        padding: 15px;
      }
      
      h1 {
        font-size: 2rem;
      }
      
      .carousel-item img {
        height: 200px;
      }
      
      .play-earn-section {
        padding: 25px 20px;
        margin: 20px 10px;
        border-radius: 15px;
      }
      
      .play-earn-section h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
      }
      
      .play-earn-section p {
        font-size: 1rem;
        margin-bottom: 20px;
      }
      
      .play-earn-section .btn {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 25px;
      }
      
      #mainTabsContent {
        padding: 20px;
        margin: 0 10px;
      }
      
      .row {
        margin: 0 -10px;
      }
      
      .col-md-6, .col-lg-4, .col-lg-6 {
        padding: 0 10px;
        margin-bottom: 20px;
      }
      
      .card {
        margin-bottom: 15px;
      }
      
      .btn {
        font-size: 14px;
        padding: 10px 20px;
      }
      
      .text-center h2, .text-center h3 {
        font-size: 1.5rem;
      }
      
      .text-center h4 {
        font-size: 1.2rem;
      }
    }
    
    @media (max-width: 576px) {
      .container {
        padding: 0 10px;
      }
      
      .profile-card {
        margin: 5px 0;
        padding: 15px;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }
      
      h1 {
        font-size: 1.5rem;
      }
      
      .carousel-item img {
        height: 150px;
      }
      
      .play-earn-section {
        padding: 20px 15px;
        margin: 15px 5px;
      }
      
      .play-earn-section h3 {
        font-size: 1.5rem;
      }
      
      .play-earn-section p {
        font-size: 0.9rem;
      }
      
      .play-earn-section .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        margin-top: 10px;
      }
      
      #mainTabsContent {
        padding: 15px;
        margin: 0px;
      }
      
    .tab-content{
    	padding:0;
    }
    	
      .row {
        margin: 0 -5px;
      }
      
      .col-md-6, .col-lg-4, .col-lg-6 {
        padding: 0 5px;
      }
      
      .btn {
        font-size: 13px;
        padding: 8px 16px;
      }
      
      .text-center h2, .text-center h3 {
        font-size: 1.3rem;
      }
      
      .text-center h4 {
        font-size: 1.1rem;
      }
      
      #mainTabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
      }
      
      #mainTabs .nav-link i {
        font-size: 0.9em;
        margin-right: 2px;
      }
    }

/* ========================= ANIMATED GIFT EMOJIS ========================= */
.animated-gift {
  position: relative;
  overflow: visible !important;
  animation: giftPulse 2s ease-in-out infinite;
}

.gift-emoji {
  display: inline-block;
  animation: giftBounce 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.gift-sparkle {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  border-radius: 50%;
  animation: sparkle 1s ease-in-out infinite;
  opacity: 0;
}

.animated-gift:hover .gift-emoji {
  animation: giftShake 0.5s ease-in-out infinite;
  transform: scale(1.1);
}

.animated-gift:hover .gift-sparkle {
  animation: sparkleHover 0.3s ease-in-out infinite;
}

/* Gift Animation Keyframes */
@keyframes giftPulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(255,255,255,0);
  }
}

@keyframes giftBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-8px) rotate(2deg);
  }
  60% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

@keyframes giftShake {
  0%, 100% { transform: translateX(0) scale(1.1); }
  25% { transform: translateX(-2px) scale(1.1) rotate(-2deg); }
  75% { transform: translateX(2px) scale(1.1) rotate(2deg); }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0) rotate(0deg);
  }
  50% { 
    opacity: 1; 
    transform: scale(1) rotate(180deg);
  }
}

@keyframes sparkleHover {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.5);
  }
}

/* Different animation delays for variety */
.animated-gift:nth-child(1) { animation-delay: 0s; }
.animated-gift:nth-child(2) { animation-delay: 0.2s; }
.animated-gift:nth-child(3) { animation-delay: 0.4s; }
.animated-gift:nth-child(4) { animation-delay: 0.6s; }
.animated-gift:nth-child(5) { animation-delay: 0.8s; }
.animated-gift:nth-child(6) { animation-delay: 1s; }
.animated-gift:nth-child(7) { animation-delay: 1.2s; }
.animated-gift:nth-child(8) { animation-delay: 1.4s; }

/* Enhanced hover effects for gift cards */
.tool-card:hover .animated-gift {
  animation: giftExcited 0.8s ease-in-out infinite;
}

@keyframes giftExcited {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-3deg); }
  50% { transform: scale(1.1) rotate(0deg); }
  75% { transform: scale(1.05) rotate(3deg); }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .animated-gift {
    animation-duration: 2.5s;
  }
  
  .gift-emoji {
    animation-duration: 2s;
  }
  
  .gift-sparkle {
    width: 8px;
    height: 8px;
  }
}
/* ========================= ANIMATED GIFT EMOJIS ========================= */
.emoji-circle {
  position: relative;
  overflow: visible !important;
  animation: giftBounce 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.emoji-circle::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  border-radius: 50%;
  animation: sparkle 1s ease-in-out infinite;
  opacity: 0;
}

.tool-card:hover .emoji-circle {
  animation: giftShake 0.5s ease-in-out infinite;
  transform: scale(1.1);
}

/* Gift Animation Keyframes */
@keyframes giftBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-6px) rotate(2deg);
  }
  60% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

@keyframes giftShake {
  0%, 100% { transform: translateX(0) scale(1.1); }
  25% { transform: translateX(-2px) scale(1.1) rotate(-2deg); }
  75% { transform: translateX(2px) scale(1.1) rotate(2deg); }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0) rotate(0deg);
  }
  50% { 
    opacity: 1; 
    transform: scale(1) rotate(180deg);
  }
}

/* Different animation delays for variety */
.tool-card:nth-child(1) .emoji-circle { animation-delay: 0s; }
.tool-card:nth-child(2) .emoji-circle { animation-delay: 0.2s; }
.tool-card:nth-child(3) .emoji-circle { animation-delay: 0.4s; }
.tool-card:nth-child(4) .emoji-circle { animation-delay: 0.6s; }
.tool-card:nth-child(5) .emoji-circle { animation-delay: 0.8s; }
.tool-card:nth-child(6) .emoji-circle { animation-delay: 1s; }
.tool-card:nth-child(7) .emoji-circle { animation-delay: 1.2s; }
.tool-card:nth-child(8) .emoji-circle { animation-delay: 1.4s; }

/* ========================= ENHANCED TOP BUTTONS ========================= */
.btn-copy-url {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-copy-url::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-copy-url:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white;
}

.btn-copy-url:hover::before {
    left: 100%;
}

.btn-register {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.3);
    text-decoration: none;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(31, 41, 55, 0.4);
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    text-decoration: none;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-copy-url i,
.btn-register i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-copy-url:hover i {
    transform: scale(1.1) rotate(5deg);
}

.btn-register:hover i {
    transform: scale(1.1) rotate(-5deg);
}

@media (max-width: 768px) {
    .btn-copy-url,
    .btn-register {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ========================= ENHANCED QUICKBIO BACKGROUND ========================= */
.quickbio-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.bg-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #667eea, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #764ba2, transparent);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #f093fb, transparent);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.orb-4 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #f5576c, transparent);
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.orb-5 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #4facfe, transparent);
    bottom: 40%;
    right: 10%;
    animation-delay: 3s;
}

.shape-7 {
    top: 45%;
    right: 12%;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    animation-delay: 6s;
}

.shape-8 {
    bottom: 35%;
    left: 15%;
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    transform: rotate(45deg);
    animation-delay: 7s;
}

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

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ========================= NAVBAR LOGO ========================= */
.navbar-logo-link {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.navbar-logo-link:hover .navbar-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 35px;
    }
}

/* ========================= QUICKBIO SOCIAL MEDIA ICONS FIX ========================= */
/* Force white color for social media icons in QuickBio templates */
.quickbio-wrapper .music-social i,
.quickbio-wrapper .artist-social i,
.quickbio-wrapper .solar-social i,
.quickbio-wrapper .vintage-social i,
.quickbio-wrapper .basketball-socials i,
.quickbio-wrapper .gradient-social i,
.quickbio-wrapper .music-contents .music-social i,
.quickbio-wrapper .music-cards .music-social i {
    color: white !important;
    background-color: rgba(0,0,0,0.3) !important;
    padding: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    position: relative !important;
}

.quickbio-wrapper .music-social i:hover,
.quickbio-wrapper .artist-social i:hover,
.quickbio-wrapper .solar-social i:hover,
.quickbio-wrapper .vintage-social i:hover,
.quickbio-wrapper .basketball-socials i:hover,
.quickbio-wrapper .gradient-social i:hover,
.quickbio-wrapper .music-contents .music-social i:hover,
.quickbio-wrapper .music-cards .music-social i:hover {
    background-color: rgba(255,255,255,0.2) !important;
    transform: scale(1.1) !important;
}

/* Specific template color overrides */
.quickbio-wrapper .music-social i:hover {
    color: #e63946 !important;
}

.quickbio-wrapper .artist-social i:hover {
    color: #ed8936 !important;
}

.quickbio-wrapper .solar-social i:hover {
    color: #fbbf24 !important;
}

.quickbio-wrapper .vintage-social i:hover {
    color: #f5f2e8 !important;
}

.quickbio-wrapper .basketball-socials i:hover {
    color: #3b82f6 !important;
}

.quickbio-wrapper .gradient-social i:hover {
    color: #3b82f6 !important;
}

.quickbio-wrapper .music-contents .music-social i:hover {
    color: #124034 !important;
}

.quickbio-wrapper .music-cards .music-social i:hover {
    color: #d1d5db !important;
}

/* Ensure social containers have proper z-index */
.quickbio-wrapper .music-social,
.quickbio-wrapper .artist-social,
.quickbio-wrapper .solar-social,
.quickbio-wrapper .vintage-social,
.quickbio-wrapper .basketball-socials,
.quickbio-wrapper .gradient-social,
.quickbio-wrapper .music-contents .music-social,
.quickbio-wrapper .music-cards .music-social {
    z-index: 999 !important;
    position: relative !important;
}

/* Fix for pastry template icons */
.quickbio-wrapper .pastry-icons i {
    color: #4267b2 !important;
    transition: color 0.3s ease !important;
}

.quickbio-wrapper .pastry-icons i:hover {
    color: #365899 !important;
}

/* Fix for crafts template icons */
.quickbio-wrapper .crafts-social i {
    color: #1e293b !important;
    background-color: rgba(209, 213, 219, 0.5) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.quickbio-wrapper .crafts-social i:hover {
    background-color: #1e293b !important;
    color: white !important;
}

/* Professional QuickBio Background Animations */
:root {
    --bio-primary-color: rgba(109, 94, 252, 0.15);
    --bio-secondary-color: rgba(255, 119, 198, 0.12);
    --bio-accent-color: rgba(120, 219, 255, 0.1);
    --bio-animation-duration: 12s;
    --bio-element-size: clamp(12px, 2vw, 20px);
    --bio-blur-radius: 20px;
}

.quickbio-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(1px);
    will-change: transform;
}

.quickbio-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

/* Floating Objects Container */
.quickbio-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20l-8-8h16z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 30px 30px;
    animation: floatingPattern 20s linear infinite;
    z-index: 1;
}

/* Animated Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    opacity: 0.6;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Professional Modern Floating Elements */
.floating-element.orb {
    width: var(--bio-element-size);
    height: var(--bio-element-size);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 70%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: float1 8s ease-in-out infinite;
}

.floating-element.diamond {
    width: calc(var(--bio-element-size) * 0.8);
    height: calc(var(--bio-element-size) * 0.8);
    background: linear-gradient(45deg, rgba(120, 219, 255, 0.3), rgba(255, 119, 198, 0.2));
    transform: rotate(45deg);
    border-radius: 2px;
    animation: float2 10s ease-in-out infinite;
}

.floating-element.hexagon {
    width: calc(var(--bio-element-size) * 0.9);
    height: calc(var(--bio-element-size) * 0.9);
    background: rgba(109, 94, 252, 0.25);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: float3 12s ease-in-out infinite;
}

.floating-element.line {
    width: calc(var(--bio-element-size) * 2);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 1px;
    animation: float4 6s ease-in-out infinite;
}

/* Positioning for floating elements */
.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-element:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.floating-element:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-element:nth-child(5) { top: 40%; left: 5%; animation-delay: 4s; }
.floating-element:nth-child(6) { top: 70%; right: 25%; animation-delay: 5s; }
.floating-element:nth-child(7) { top: 15%; left: 60%; animation-delay: 1.5s; }
.floating-element:nth-child(8) { bottom: 40%; left: 70%; animation-delay: 2.5s; }
.floating-element:nth-child(9) { top: 80%; left: 40%; animation-delay: 3.5s; }
.floating-element:nth-child(10) { top: 30%; right: 40%; animation-delay: 4.5s; }

/* Particle System */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(odd) {
    animation-duration: 12s;
    background: rgba(255, 255, 255, 0.2);
}

.particle:nth-child(3n) {
    animation-duration: 18s;
    background: rgba(255, 255, 255, 0.3);
}

/* Content wrapper to ensure it stays above animations */
.quickbio-wrapper > * {
    position: relative;
    z-index: 10;
}

/* Keyframe Animations */
@keyframes gradientShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    }
}

@keyframes floatingPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(45deg) scale(1); }
    50% { transform: translateY(-30px) rotate(225deg) scale(1.2); }
}

/* Performance-Optimized Keyframe Animations */
@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%;
        transform: translateZ(0);
    }
    50% { 
        background-position: 100% 50%;
        transform: translateZ(0);
    }
}

@keyframes floatingPattern {
    0% { 
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% { 
        transform: translate3d(-60px, -60px, 0) rotate(360deg);
    }
}

@keyframes float1 {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% { 
        transform: translate3d(0, -20px, 0) scale(1.05);
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate(45deg) scale(1);
    }
    50% { 
        transform: translate3d(0, -30px, 0) rotate(225deg) scale(1.1);
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% { 
        transform: translate3d(0, -25px, 0) rotate(360deg);
    }
}

@keyframes float4 {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    50% { 
        transform: translate3d(0, -35px, 0) scale(1.3) rotate(180deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 100vh, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate3d(100px, -100px, 0);
        opacity: 0;
    }
}

/* Responsive and Accessibility Optimizations */
@media (max-width: 768px) {
    .quickbio-wrapper {
        min-height: 300px;
        padding: 15px;
    }
    
    .floating-element {
        transform: scale(0.8);
    }
    
    .floating-element.orb { 
        width: calc(var(--bio-element-size) * 0.8); 
        height: calc(var(--bio-element-size) * 0.8); 
    }
    .floating-element.diamond { 
        width: calc(var(--bio-element-size) * 0.6); 
        height: calc(var(--bio-element-size) * 0.6); 
    }
    .floating-element.hexagon { 
        width: calc(var(--bio-element-size) * 0.7); 
        height: calc(var(--bio-element-size) * 0.7); 
    }
    .floating-element.line { 
        width: calc(var(--bio-element-size) * 1.5); 
    }
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .quickbio-wrapper::before,
    .quickbio-wrapper::after,
    .floating-element,
    .particle {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced hover effects with performance optimization */
.quickbio-wrapper:hover .floating-element {
    animation-play-state: paused;
    transform: scale(1.1) translateZ(0);
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quickbio-wrapper:hover::before {
    animation-duration: 4s;
}

.quickbio-wrapper:hover::after {
    animation-duration: 10s;
}

    /* Promo Banner Styles */
    .promo {
      position: relative;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 24px;
      padding: 0;
      overflow: hidden;
      box-shadow: 0 20px 60px ;
      animation: fadeInUp 0.8s ease-out;
      margin-top: 1.5rem;
    }

    .promo::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      animation: rotate 20s linear infinite;
    }

    .promo-content {
      position: relative;
      z-index: 1;
      padding: 60px 40px;
      text-align: center;
    }

    .promo-content h2 {
      font-size: 48px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
      text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      letter-spacing: -1px;
    }

    .promo-content p {
      font-size: 20px;
      color: rgba(255, 255, 255, 0.95);
      margin-bottom: 32px;
      font-weight: 400;
    }

    .btn-glow {
      background: white;
      color: #f5576c;
      border: none;
      padding: 18px 48px;
      font-size: 18px;
      font-weight: 700;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
      text-transform: uppercase;
      letter-spacing: 1px;
      position: relative;
      overflow: hidden;
    }

    .btn-glow::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(245, 87, 108, 0.1);
      transform: translate(-50%, -50%);
      transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-glow:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-glow:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    }

    .btn-glow:active {
      transform: translateY(-1px);
    }

    /* Decorative Elements */
    .promo-decoration {
      position: absolute;
      opacity: 0.15;
      pointer-events: none;
    }

    .spark-1 {
      top: 20px;
      left: 30px;
      font-size: 40px;
      animation: float 3s ease-in-out infinite;
    }

    .spark-2 {
      bottom: 30px;
      right: 40px;
      font-size: 35px;
      animation: float 4s ease-in-out infinite reverse;
    }

    .spark-3 {
      top: 50%;
      left: 10%;
      font-size: 30px;
      animation: pulse 2s ease-in-out infinite;
    }

    .spark-4 {
      top: 30%;
      right: 15%;
      font-size: 45px;
      animation: pulse 3s ease-in-out infinite;
    }

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

    @keyframes rotate {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-20px);
      }
    }

    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
        opacity: 0.15;
      }
      50% {
        transform: scale(1.2);
        opacity: 0.25;
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .promo-content {
        padding: 40px 24px;
      }

      .promo-content h2 {
        font-size: 36px;
      }

      .promo-content p {
        font-size: 16px;
        margin-bottom: 24px;
      }

      .btn-glow {
        padding: 14px 36px;
        font-size: 16px;
      }
    }


/* --- Container & Main UI --- */
.container-fluid {
    margin: 0 auto;
    padding: 16px 12px;
}
.main-comment-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}
.input-header { font-size:15px; font-weight:600; color:#0f172a; margin-bottom:12px; }
.input-wrapper { display:flex; gap:8px; align-items:flex-start; }
.input-wrapper img { width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid #f1f5f9; }
.input-container { flex:1; position:relative; }
#commentTextarea {
    width:100%; border:2px solid #e2e8f0; border-radius:8px; padding:10px 12px;
    font-size:14px; resize:none; transition:all .2s; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    line-height:1.5; color:#1e293b; background:#fff; min-height:40px;
}
#postCommentBtn {
    background: linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%); border:none; border-radius:8px;
    padding:8px 20px; font-weight:600; font-size:14px; color:white; cursor:pointer;
    transition:all .3s; display:inline-flex; align-items:center; gap:6px; margin-top:8px;
    box-shadow: 0 3px 8px rgba(139,92,246,0.25);
}
#postCommentBtn:disabled { opacity:.6; cursor:not-allowed; transform:none; }

/* --- Comments List --- */
.comments-list {
    display:flex;
    flex-direction:column;
    gap:15px;
    max-height:600px;
    overflow-y:auto;
    padding: 0 6px;
}

/* --- Individual comment (used for both comments & replies) --- */
.comment-card {

    gap:8px;
    padding:10px 12px;
    background:#ffffff;
    border-radius:8px;
    border:1px solid rgba(0,0,0,0.06);
    transition:all .2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    align-items:flex-start;
    width:100%;
}


                        
                                .is-reply{
                                	border:0px;
                                	box-shadow:none;
                                	padding:6px 2px;
                                }

/* Bubble */
.comment-bubble {
    background: #f8fafc; border-radius:8px; padding:8px 10px; margin-bottom:6px;
    display:flex; gap:8px; align-items:flex-start; flex:1;
}
.comment-card.is-reply .comment-bubble { 
    background: #f0fdf4; 
    border-left: 3px solid #22c55e; 
    padding:6px 10px; 
}

/* Avatar */
.comment-card img { 
    width:32px; height:32px; border-radius:50%; object-fit:cover; border:2px solid #f1f5f9; 
}
.comment-card.is-reply img { 
    width:28px; height:28px; border:2px solid #e2e8f0; 
}

/* Meta */
.user-info { display:flex; align-items:center; gap:4px; margin-bottom:3px; }
.user-name { font-weight:600; font-size:13px; color:#1e293b; }
.comment-card.is-reply .user-name { font-size:12px; }
.comment-dot { color:#cbd5e1; font-size:11px; }
.time-ago { font-size:12px; color:#64748b; }
.comment-card.is-reply .time-ago { font-size:11px; }
.comment-message { font-size:13px; color:#334155; line-height:1.4; margin:0; word-wrap:break-word; }
.comment-card.is-reply .comment-message { font-size:12px; line-height:1.3; }
.replying-to { font-size:11px; color:#64748b; display:block; margin-bottom:3px; font-style:italic; }

/* Footer */
.comment-footer { display:flex; align-items:center; gap:8px; padding-left:4px; margin-bottom:6px; }
.reply-link { background:none; border:none; color:#64748b; font-size:12px; font-weight:500; cursor:pointer; padding:3px 0; display:inline-flex; align-items:center; gap:4px; transition:all .15s; }
.reply-link:hover { color:#8b5cf6; }
.comment-card.is-reply .reply-link { font-size:11px; gap:3px; }

/* Replies container */
.replies-container { display:flex; flex-direction:column; gap:6px; }

/* Collapsed replies */
.collapsed-reply { display:none; }

/* Animation helpers */
@keyframes fadeIn { from { opacity:0; transform:translateY(-4px);} to { opacity:1; transform:translateY(0);} }
.expanding-reply { animation: fadeIn .15s ease forwards; }
.collapsing-reply { animation: fadeIn .15s reverse forwards; }

/* View more button */
.view-more-btn {
    background:transparent; border:none; color:#8b5cf6; font-size:12px; font-weight:600; cursor:pointer;
    padding:4px 6px; display:inline-flex; align-items:center; gap:4px; border-radius:6px;
}
.view-more-btn:hover { background: rgba(139,92,246,0.06); }

/* Reply form */
.reply-form {
    margin-top:4px; margin-bottom:10px; background:#f8fafc; border-radius:8px; padding:8px;
}
.reply-input-box { display:flex; gap:8px; align-items:flex-start; margin-bottom:6px; }
.reply-input-box img { width:28px; height:28px; border-radius:50%; object-fit:cover; border:2px solid #e2e8f0; }
.reply-input { flex:1; border:2px solid #e2e8f0; border-radius:6px; padding:6px 10px; font-size:13px; resize:none; min-height:36px; max-height:80px; }
.reply-form-actions { display:flex; justify-content:flex-end; gap:6px; }
.cancel-reply-btn, .submit-reply-btn { border:none; border-radius:6px; padding:5px 10px; font-size:12px; font-weight:600; cursor:pointer; }
.cancel-reply-btn { background:transparent; color:#64748b; }
.submit-reply-btn { background: linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%); color:#fff; }

/* Empty state */
.empty-state { text-align:center; padding:40px 16px; }
.empty-icon { margin:0 auto 12px; width:40px; height:40px; background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.empty-state h4 { font-size:15px; font-weight:600; color:#1e293b; margin:0 0 4px 0; }
.empty-state p { font-size:12px; color:#64748b; margin:0; }

/* Small loader */
.btn-loader { display:inline-block; width:8px; height:8px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin .6s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Responsive */
@media (max-width:768px) {
    .container-fluid { padding:12px 8px; }
    .main-comment-box { padding:12px; margin-bottom:12px; }
    .input-header { font-size:14px; margin-bottom:8px; }
    .input-wrapper { flex-direction:column; }
    .input-wrapper img { display:none; }
    #commentTextarea { font-size:13px; padding:8px 10px; min-height:36px; }
    #postCommentBtn { padding:6px 16px; font-size:13px; gap:4px; margin-top:6px; }
    .comments-list { max-height:500px; padding:0 4px; gap:6px; }
    .comment-card { padding:8px 10px; border-radius:8px; gap:6px; }
    .comment-bubble { padding:6px 8px; margin-bottom:4px; gap:6px; }
    .comment-card.is-reply .comment-bubble { padding:5px 8px; }
    .comment-card img { width:28px; height:28px; }
    .comment-card.is-reply img { width:24px; height:24px; }
    .user-name { font-size:12px; }
    .comment-card.is-reply .user-name { font-size:11px; }
    .time-ago { font-size:11px; }
    .comment-card.is-reply .time-ago { font-size:10px; }
    .comment-message { font-size:12px; }
    .comment-card.is-reply .comment-message { font-size:11px; }
    .replying-to { font-size:10px; margin-bottom:2px; }
    .reply-link { font-size:11px; gap:3px; }
    .comment-card.is-reply .reply-link { font-size:10px; }
    .replies-container { gap:4px; }
    .reply-input-box { gap:6px; }
    .reply-input-box img { width:24px; height:24px; }
    .reply-input { font-size:12px; padding:5px 8px; min-height:32px; }
    .view-more-btn { font-size:11px; padding:3px 5px; gap:3px; }
    .reply-form { padding:6px; margin-bottom:8px; }
    .reply-form-actions { gap:4px; }
    .cancel-reply-btn, .submit-reply-btn { padding:4px 8px; font-size:11px; }
    .comment-footer { gap:6px; margin-bottom:4px; }
    .reply-indicator { width:14px; height:14px; }
}









@media (max-width: 480px) {

  /* Profile image size adjustment */
  .profile-image-wrapper img {
    max-width: 120px !important;   /* smaller for mobile */
    height: auto;
  }

  /* Center the image wrapper */
  .profile-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
  }

  /* Adjust the glow to match the smaller image */
  .profile-glow {
   		top: -6px !important;
       
        bottom: -6px !important;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5) !important;
        width: 36%;
        margin: 0 auto;
  }
}


@media (max-width: 480px) {

  /* Make the text fit in one line */
  .lead {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  /* Arrange all badges in one line */
  .d-flex.flex-wrap.gap-2 {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 6px !important;

  }

  .d-flex.flex-wrap.gap-2 .badge {
    font-size: 12px;
    padding: 4px 8px;
    white-space: nowrap;
    
  }

  /* Center all text for better mobile appearance */
  .col-md-8 {
    text-align: center;

  }
}


@media (max-width: 480px) {

  /* Equal size for stat cards */
  .stat-card {
    min-width: 100px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .row.g-4.mb-4 {
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }

  .row.g-4.mb-4 .col-4 {
    padding: 0 4px;
  }

  /* Place all buttons in one row */
  .d-flex.flex-wrap.justify-content-start.gap-3 {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 6px !important;
    overflow-x: auto;         /* enables horizontal scroll if space is tight */
    padding-bottom: 4px;
  }

  .d-flex.flex-wrap.justify-content-start.gap-3 .btn {
    font-size: 12px;
    padding: 6px 10px;
    flex-shrink: 0;
  }

  /* Optional: make icons fit neatly with text */
  .d-flex.flex-wrap.justify-content-start.gap-3 .btn i {
    margin-right: 4px;
  }
}

@media (max-width: 480px) {
.profile-hero{
   margin-bottom: 24px !important;
}

}