/* ====== ROOT CSS VARIABLES ====== */
:root {
  /* Primary Colors */
  --primary-color: #8240FF;
  --primary-light: #D2B8FF;
  --primary-dark: #6E20F4;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --primary-gradient-hover: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #d946ef 100%);
  --primary-gradient-50: linear-gradient(to bottom right, rgba(99, 102, 241, 0.74), rgba(139, 92, 246, 0.6), rgba(168, 85, 247, 0.54));

  --secondary-color: #6c757d;
  --secondary-dark: #5a6268;
  --success-color: #28a745;
  --success-light: #20c997;
  --danger-color: #FF4040;
  --danger-light: #F9B8FF;
  --warning-color: #ffc107;
  --warning-light: #fd7e14;
  --info-color: #17a2b8;
  --info-light: #6f42c1;

  /* Neutral Colors */
  --light-color: #f8f9fa;
  --light-alt: #e9ecef;
  --dark-color: #343a40;
  --dark-alt: #23272b;
  --border-color: #e9ecef;
  --border-light: rgba(130, 64, 255, 0.1);

  /* Shadow & Effects */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 30px rgba(110, 32, 244, 0.15);
  --shadow-primary: 0 8px 20px rgba(130, 64, 255, 0.3);
  --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-pill: 50px;
  --radius-lg: 25px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --radius-xs: 10px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-ease: all 0.3s ease;
  --transition-ripple: width 0.4s ease, height 0.4s ease;

  /* Button Styles */
  --btn-padding: 0.5rem 1.5rem;
  --btn-weight: 500;
  --btn-hover-transform: translateY(-2px);

  /* Form Controls */
  --form-padding: 0.75rem 1rem;
  --form-border-width: 2px;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.25rem;
  --spacing-xl: 1.5rem;
}
/* ====== FONT FACES ====== */
@font-face {
  font-family:'Inter';
  src:url(/fonts/Inter-VariableFont_opsz,wght.ttf) format("ttf");
  font-weight:400;
  font-style:normal
  }
  
  @font-face {
  font-family:'Inter';
  src:url(/fonts/Inter-Italic-VariableFont_opsz,wght.ttf) format("ttf");
  font-weight:700;
  font-style:italic
  }
/* ====== GENERAL STYLES ====== */
body {
  background: var(--bg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  max-width:100vw!important;
  overflow-x:hidden!important;
  height:100vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .isAdmin,.local-mode, .clerk-button {
    display:none
  }
  
  body.sfw-mode .nsfw-content {
    display: block !important; /* Hide NSFW content */
  }
  body.nsfw-mode .nsfw-content {
    display: block ; /* Or any other appropriate display value */
  }
  body.nsfw-mode .toggle-nsfw-btn-chat i.bi-toggle-off,body.nsfw-mode .toggle-nsfw-btn-chat i.bi-toggle-off {
    display: none !important;
  }
  body.sfw-mode .toggle-nsfw-btn i.bi-toggle-on, body.sfw-mode .toggle-nsfw-btn-chat i.bi-toggle-on {
    display: none !important;
  }
  .cursor-pointer {
  cursor:pointer
  }
  .fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Semi-transparent black background */
  z-index: 1050; /* Ensure it's above most other content */
  display: flex;
  justify-content: center;
  align-items: center;
}
  #adviceCarousel .carousel-inner .carousel-item .container {
  width:100%;
  height:100%;
  min-height:200px;
  object-fit:cover;
  align-items:center;
  display:flex;
  justify-content:center;
  flex-direction:column
  }
  
  .bg-gradient-danger {
  background:linear-gradient(90.9deg,#F9B8FF 2.74%,#FF4040 102.92%)
  }
  
  .text-muted {
  color:#dddedf!important;
  font-weight:300
  }
  .modal-content {
    margin-left: auto;
    margin-right: auto;
  }
  .payment-methods img {
  width:50px
  }
  
  #authTabContent input {
  background:#212529;
  color:#fff!important
  }
  
  #authTabContent label {
  position:absolute;
  top:10px;
  left:20px
  }
  
  .form-outline {
  position:relative
  }
  
  a.nav-link {
  color:#fff
  }
  
  .btn.ico-login-button {
  background-color:#f2f2f2;
  display:flex;
  align-items:center;
  justify-content:center
  }
  
  .btn.ico-login-button img {
  width:30px;
  margin-right:10px
  }
  
  #swiperModal .swiper-slide img {
  width:100%;
  height:80vh!important;
  object-fit:contain
  }
  
  
  .horizontal-image {
  width:100%;
  height:100%;
  object-fit:cover
  }
  #chat-wrapper {
    background-size: contain;
  }
  @media (max-width: 768px) {
    #chat-wrapper {
    background-size: cover;
    }
  }
  .chat-item {
  border-bottom:1px solid #ddd;
  padding-bottom:15px
  }
  
  .modal-content {
  border-radius:20px;
  width:70vw;
  height:90vh
  }
  
  .modal-dialog {
  min-width:100%
  }
  
  a {
  color:#9155f7
  }
  
  a:hover {
  color:#6a1af3
  }
  
  label {
  font-size:12px;
  color:#8d8b8b
  }
  
  .avatar-xl img {
  width:110px
  }
  
  .rounded-circle {
  border-radius:50%!important
  }
  
  img {
  vertical-align:middle;
  border-style:none
  }
  
  .text-muted {
  color:#aeb0b4!important;
  font-weight:300
  }
  
  .style-option {
  width:75px;
  cursor:pointer
  }
  
  .style-option.selected,  #imageStyleTabs .nav-link.active{
  border:4px solid #8849ff !important;
  }
  .image-fav-double-click{
    cursor: pointer;
  }
  .image-container {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s, border-color 0.3s;
  }
  .image-container:hover {
    box-shadow: 0 8px 24px rgba(136, 73, 255, 0.15), 0 1.5px 8px rgba(0,0,0,0.08);
  }
  .animated.fadeInDown .swal2-image {
  margin:0
  }
  
  .animated.fadeInDown .swal2-close {
  border:0
  }
  
  .swal2-bottom-slide-in {
  animation:bottom-slide-in .5s
  }
  
  .swal2-bottom-slide-out {
  animation:bottom-slide-out .5s
  }
  
  @keyframes bottom-slide-in {
  0% {
  transform:translateY(100%);
  opacity:0
  }
  
  100% {
  transform:translateY(0);
  opacity:1
  }
  }
  
  @keyframes bottom-slide-out {
  0% {
  transform:translateY(0);
  opacity:1
  }
  
  100% {
  transform:translateY(100%);
  opacity:0
  }
  }

.loading-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #D2B8FF 0deg,
    #8240FF 90deg,
    #D2B8FF 180deg,
    #8240FF 270deg,
    #D2B8FF 360deg
  );
  animation: loadingRotate 2s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.loading-circle + img.logo {
  position: relative;
  z-index: 3;
}

@keyframes loadingRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.video-generation-loader {
width: 100%;
border-radius: 0.5em 0.5em 0 0;
position: absolute;
top: 0;
bottom: 0;
opacity: 0.8;
}
  .custom-gradient-bg {
  background:var(--primary-gradient);
  color:#fff;
  border:none;
  border-radius:15px;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:color .3s ease-in-out
  }
  
  .custom-gradient-bg::before {
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:300%;
  height:300%;
  background:radial-gradient(circle,#ffffff80 0%,#fff0 80%);
  transform:translate(-50%,-50%) scale(0);
  transition:transform .5s ease-in-out;
  z-index:0
  }
  
  .custom-gradient-bg:hover::before {
  transform:translate(-50%,-50%) scale(1)
  }
  
  .custom-gradient-bg:hover {
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  #chatImage {
  width:100px;
  height:100px;
  object-fit:cover;
  object-position:top
  }
  
  #chatImage.on {
  width:auto!important;
  height:270px!important
  }
  
  .btn-gradient-radius {
  display:inline-block;
  padding:7px 20px;
  border-radius:25px;
  text-decoration:none;
  color:#FFF;
  background-image:linear-gradient(45deg,#FFC107 0%,#ff8b5f 100%);
  transition:.4s;
  font-size:21px
  }
  
  label {
  font-size:14px;
  color:#aaa
  }
  
  .button-group {
  top:0;
  right:15px
  }
  
  .scroll-container {
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto
  }
  
  .scroll-container > * {
  flex:0 0 auto;
  width:auto
  }
  
  .card-text.template {
  font-size:12px
  }
  
  label {
  font-size:12px;
  color:#8d8b8b
  }
  
  .avatar-xl img {
  width:110px
  }
  
  .rounded-circle {
  border-radius:50%
  }
  
  .rounded-circle.on {
  border-radius:15px!important
  }
  
  img {
  vertical-align:middle;
  border-style:none
  }
  
  .text-muted {
  color:#aeb0b4!important;
  font-weight:300
  }
  
  .form-control {
  display:block;
  width:100%;
  height:calc(1.5em + 0.75rem + 2px);
  padding:.375rem .75rem;
  font-size:.875rem;
  font-weight:400;
  line-height:1.5;
  color:#4d5154;
  background-color:#fff;
  background-clip:padding-box;
  border:1px solid #eef0f3;
  border-radius:.25rem;
  transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out
  }
  
  .p-fv-copy__middle {
  background:linear-gradient(90.9deg,#D2B8FF 2.74%,#8240FF 102.92%);
  background-clip:border-box;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-top:15px
  }
  
  .pricing-container {
  margin:0 auto;
  padding:40px 20px;
  text-align:center
  }
  
  .pricing-title {
  font-size:2em;
  margin-bottom:20px
  }
  
  .pricing-description {
  font-size:1em;
  margin-bottom:40px;
  color:#555
  }
  
  .switch-button-container {
  margin-bottom:20px
  }
  
  .switch {
  position:relative;
  display:inline-block;
  width:120px;
  height:54px
  }
  
  .switch input {
  opacity:0;
  width:0;
  height:0
  }
  
  .slider {
  position:absolute;
  cursor:pointer;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#e4e4e4;
  -webkit-transition:.4s;
  transition:.4s
  }
  
  .slider:before {
  position:absolute;
  content:"";
  height:46px;
  width:60px;
  left:4px;
  bottom:4px;
  background-color:#fff;
  -webkit-transition:.4s;
  transition:.4s
  }
  
  input:checked +.slider {
  background-color:#e4e4e4
  }
  
  input:focus +.slider {
  box-shadow:0 0 1px #e4e4e4
  }
  
  input:checked +.slider:before {
  -webkit-transform:translateX(50px);
  -ms-transform:translateX(50px);
  transform:translateX(50px)
  }
  
  .slider.round {
  border-radius:34px
  }
  
  .slider.round:before {
  border-radius:50px;
  background:linear-gradient(90.9deg,#D2B8FF 2.74%,#8240FF 102.92%)
  }
  
  .label {
  position:absolute;
  top:15px;
  font-size:16px;
  color:#666;
  font-weight:600
  }
  
  .label.monthly {
  left:16px
  }
  
  .label.yearly {
  right:16px
  }
  
  input:checked ~.label.yearly {
  color:#fff
  }
  
  input:checked ~.label.monthly {
  color:#666
  }
  
  input:not(:checked) ~.label.yearly {
  color:#666
  }
  
  input:not(:checked) ~.label.monthly {
  color:#fff
  }
  
  .card-header.plan-header {
  border:1px solid #8437f9;
  margin:10px;
  border-radius:5px;
  padding:5px 10px;
  color:#8437f9
  }
  
  .card-header.plan-header h2 {
  font-size:21px;
  line-height:initial;
  font-weight:700;
  margin:0
  }
  
  .plan-cards {
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:20px
  }
  
  .plan-card.best {
  border:2px solid #9d68ff
  }
  
  .plan-card {
  border:1px solid #e0e0e0;
  border-radius:8px;
  box-shadow:0 2px 8px #0000001a;
  /* overflow:hidden; */ /* Modified to allow badges to overflow */
  transition:box-shadow .3s ease
  }
  
  .plan-card:hover {
  box-shadow:0 4px 16px #00000026
  }
  
  .plan-header {
  background-color:#f7f7f7;
  padding:20px;
  font-size:1.5em;
  font-weight:700
  }
  
  .plan-price h3 {
  font-weight:700;
  font-size:1.8em;
  margin:20px 0
  }
  
  .plan-details {
  padding:20px;
  text-align:left;
  font-size:1.2em;
  line-height:1.1;
  font-weight:500
  }
  
  .plan-details ul {
  list-style:none;
  padding:0
  }
  
  .plan-details li {
  margin-bottom:10px
  }
  
  .plan-button.btn.btn-lamix {
  background:linear-gradient(90.9deg,#D2B8FF 2.74%,#8240FF 102.92%)
  }
  
  .plan-button {
  display:block;
  margin:20px auto;
  padding:10px 30px;
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  transition:background-color .3s ease
  }
  
  .plan-button:hover {
  background-color:#0056b3
  }
  
  .contact-sns {
  padding:20px;
  background-color:#f8f9fa;
  border-top:1px solid #e0e0e0
  }
  
  .contact-title {
  font-size:1.5em;
  margin-bottom:20px
  }
  
  .contact-description {
  font-size:1em;
  margin-bottom:20px;
  color:#555
  }
  
  .social-media {
  display:flex;
  justify-content:center;
  gap:20px
  }
  
  .social-media img {
  width:100px;
  height:100px;
  border-radius:8px;
  transition:transform .3s ease
  }
  
  .social-media img:hover {
  transform:scale(1.05)
  }
  
  @media (max-width: 600px) {
  .plan-details {
  font-size:.9em
  }
  }
  
  #markdownContainer {
  margin-bottom:20px;
  padding:20px;
  border:1px solid #eef0f3;
  border-radius:4px
  }
  
  .auto-gen {
  font-size:10px;
  border-radius:50px
  }
  
  .form-control {
  display:block;
  width:100%;
  height:calc(1.5em + 0.75rem + 2px);
  padding:.375rem .75rem;
  font-size:.875rem;
  font-weight:400;
  line-height:1.5;
  color:#4d5154;
  background-color:#fff;
  background-clip:padding-box;
  border:1px solid #eef0f3;
  border-radius:.25rem;
  transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out
  }
  
  .tab-pane {
  padding-top:0px
  }
  
  .image-nsfw-toggle.nsfw {
  color:red
  }
  
  .assistant-image-box {
  position:relative
  }

  .video-icon-overlay {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.video-icon-overlay:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.video-icon-overlay:active {
    transform: scale(1.1);
}
  .nsfw-badge-container {
  position:absolute;
  bottom:5px;
  right:5px;
  font-size:12px;
  opacity:.5;
  background:linear-gradient(to right,red,#ff4d4d,#f99)
  }
  
  .jp-date {
  display:none
  }
  
  .persona {
  display:none
  }
  
  .img-blur {
  filter:blur(5px);
  clip-path:inset(0)
  }
  
  img.select {
  border:2px solid
  }
  
  .style-option.is-premium {
  opacity:.5
  }
  
  .swal2-container {
  padding:0!important
  }
  
  .thumb-option {
  width:50px;
  height:50px;
  cursor:pointer;
  object-fit:cover;
  object-position:top
  }
  
  .overflow-visible {
  overflow:visible!important
  }
  
  #chat-users-gallery {
  scrollbar-width:thin
  }
  
  #chat-users-gallery::-webkit-scrollbar {
  height:8px
  }

  #chat-images-gallery .card {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden; /* Ensures content like scaled images respect card boundaries */
}

#chat-images-gallery .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(110, 32, 244, 0.15), 0 1.5px 8px rgba(0, 0, 0, 0.08);
  z-index: 10; /* To bring the hovered card above others if they overlap */
}

#chat-images-gallery .card .card-img-top {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), filter 0.3s;
  will-change: transform; /* Performance hint for browsers */
}

#chat-images-gallery .card:hover .card-img-top {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.05);
}

.swal2-custom-popup {
  border-radius:50px
  }
  
  #chat-users-gallery::-webkit-scrollbar-thumb {
  background-color:#0003;
  border-radius:4px
  }
  
  #chat-users-gallery::-webkit-scrollbar-track {
  background-color:#0000000d
  }
  
  .rounded-circle {
  object-fit:cover;
  object-position:top
  }
  
  .rounded-avatar {
  border: 2px solid white;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:top;
  border-radius:50px;
  background-color:#ffffff54
  }
  
  img.style-option {
  width:100px;
  height:100px;
  object-fit:cover;
  object-position:top
  }
  
  iframe {
  width:100%;
  height:100%;
  border:none
  }
  
  #chat-container {
  background-size:contain
  }
  
  #chatContainer > div:nth-child(1) {
  padding-top:35px
  }
  
  .one-line {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100px;
  display:block
  }
  
  .swal2-custom-close-button {
  display:none
  }
  
  .swal2-top-left-close-button {
  position:absolute;
  top:10px;
  left:10px
  }
  
  #introChat-none {
  overflow-y:scroll;
  background-color:#ffffffe6;
  justify-content:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  position:absolute;
  bottom:120px;
  right:10px;
  left:10px
  }
  
  #imageStyleTabs .nav-item button {
  padding:10px
  }

  .audio-controller {
  align-items:center;
  color:#fff;
  border-radius:20px;
  width:auto;
  justify-content:center;
  position:absolute;
  top:-11px;
  left:60px;
  font-size:12px;
  z-index:10;
  }
  
  .audio-controller button {
  border:none;
  cursor:pointer;
  color:#fff;
  font-size:12px;
  width:50px
  }
  
  .h-100vh {
  height:100vh
  }
  
  .h-90vh {
  height:90vh
  }
  
  .h-80vh {
  height:80vh
  }
  
  .h-30vh {
  height:30vh
  }
  
  .gen-idea-container #swal2-html-container,.album-popup #swal2-html-container {
  border-radius:40px 40px 0 0;
  padding:0;
  width:100%
  }
  
  .gen-idea-container,.album-popup {
  border-radius:40px 40px 0 0
  }
  
  .gen-idea-container,.album-popup,.custom-prompt-container {
  width:100%;
  left:0;
  right:0;
  bottom:0
  }
  
  .album-popup {
  background:linear-gradient(135deg,#1e1946,#1e1928c2,#24243e)
  }
  
  .gen-idea-container {
  background:linear-gradient(135deg,#1e1946,#1e1928c2,#24243e)
  }
  
  .custom-prompt-container {
  max-height:50vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch
  }
  
  .gen-idea-container .swal2-close,.custom-prompt-container .swal2-close {
  right:15px;
  border-radius:50%;
  font-size:31px;
  top:10px;
  background:#9796963d
  }
  
  .gen-idea-container .swal2-close {
  background:#9796963d
  }
  
  em {
  font-size:13px;
  color:#979393
  }
  
  .text-short {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  width:150px;
  display:inline-block
  }
  .truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px !important;
  display: -webkit-inline-box;  
}

  .assistant-image-box img, .assistant-video-box video {
  width:100%;
  border-radius:0.5em 0.5em 0 0;
  cursor:pointer
  }
  .image-tools,.video-tools, .title.assistant-chat-box, .assistant-image-box img, .assistant-video-box video {
    max-width: 270px !important;
  }
  .assistant-video-box.video-container video {
    width:100%;
    border-radius:0.5em 0.5em 0 0;
  }
  .isLoading .fa-image {
  display:none
  }
  
  .isLoading .fa-spin {
  display:inherit!important
  }
  
  .border-top-custom-gradient {
  position:relative;
  border-top:0 solid transparent
  }
  
  .new-chat {
  display:none
  }
  
  .hidden {
  opacity:0
  }
  
  .border-top-custom-gradient::before {
  border-radius:4px 4px 0 0;
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:10px;
  --tw-bg-opacity:1;
  background-color:rgb(168 85 247/var(--tw-bg-opacity));
  z-index:1
  }
  
  .custom-gradient-bg-no-animation {
  --tw-bg-opacity:1;
  background-color:rgb(168 85 247/var(--tw-bg-opacity))
  }
  
  .custom-gradient-bg {
  --tw-bg-opacity:1;
  background-color:rgb(168 85 247/var(--tw-bg-opacity));
  color:#fff;
  border:none;
  border-radius:5px;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:color .3s ease-in-out
  }
  
  .custom-gradient-bg::before {
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:300%;
  height:300%;
  background:radial-gradient(circle,#ffffff80 0%,#fff0 80%);
  transform:translate(-50%,-50%) scale(0);
  transition:transform .5s ease-in-out;
  z-index:0
  }
  
  .custom-gradient-bg.danger {
  background:linear-gradient(90.9deg,#F9B8FF 2.74%,#FF4040 102.92%)!important
  }
  
  .custom-gradient-bg.danger:hover {
  background:linear-gradient(90.9deg,#F9B8FF 2.74%,#FF4040 102.92%)!important
  }
  
  .custom-gradient-bg:hover::before {
  transform:translate(-50%,-50%) scale(1)
  }
  
  .custom-gradient-bg:hover {
  color:#fff;
  --tw-bg-opacity:1;
  background-color:rgb(168 85 247/var(--tw-bg-opacity))
  }
  
  .custom-gradient-bg-outline {
  --tw-bg-opacity:1;
  background-color:transparent;
  color:rgb(168 85 247/var(--tw-bg-opacity));
  border:2px solid rgb(168 85 247/var(--tw-bg-opacity));
  border-radius:5px;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:background-color .3s ease-in-out,color .3s ease-in-out
  }
  
  .custom-gradient-bg-outline:hover {
  background-color:rgb(168 85 247/var(--tw-bg-opacity));
  color:#fff
  }
  
  .chatbot-info-card {
  height:80vh;
  overflow-y:scroll
  }
  
  .chatbot-info-card .swal-image.analyze {
  margin-left:auto!important;
  margin-right:auto!important;
  margin-top:25px!important
  }
  
  .chatbot-image-chat {
  cursor:pointer
  }
  
  .chatbot-category-button img {
  object-fit:cover;
  width:70px!important;
  height:70px;
  border-radius:50%
  }

.assistant-chat-box {
  border-radius:0 15px 15px 15px;
  background-color:#151213b0;
  color:#fff;
  font-size:14px;
  max-width: 81%;
  }
  
  .narration-container {
  font-size:13px;
  color:#606060
  }
  
  .chat-option-menu .dropdown-item {
  padding:5px 15px
  }
  
  .chat-option-menu li {
  padding:3px 10px
  }
  
  #chat-discovery h4 {
  margin-bottom:0!important
  }
  
  .message-container p {
  margin-bottom:0
  }
  
  .btn.ico-login-button {
  background-color:#f2f2f2;
  display:flex;
  align-items:center;
  justify-content:center
  }
  
  .btn.ico-login-button img {
  width:30px;
  margin-right:10px
  }
  
  .animated.fadeInDown .swal2-image {
  margin:0
  }
  
  .animated.fadeInDown .swal2-close {
  border:0
  }
  
  .spin {
    display: inline-block;
    animation:spin 1s linear infinite
  }
  
  @keyframes spin {
  from {
  transform:rotate(0deg)
  }
  
  to {
  transform:rotate(360deg)
  }
  }
  
  .swal2-bottom-slide-in {
  animation:bottom-slide-in .5s
  }
  
  .swal2-bottom-slide-out {
  animation:bottom-slide-out .5s
  }
  
  @keyframes bottom-slide-in {
  0% {
  transform:translateY(100%);
  opacity:0
  }
  
  100% {
  transform:translateY(0);
  opacity:1
  }
  }
  
  @keyframes bottom-slide-out {
  0% {
  transform:translateY(0);
  opacity:1
  }
  
  100% {
  transform:translateY(100%);
  opacity:0
  }
  }
  
  .text-muted {
  color:#aeb0b4!important;
  font-weight:300
  }
  
  .scroll-horizontal {
  flex-wrap:nowrap;
  width:100%;
  flex-direction:row;
  overflow-x:scroll;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  touch-action:pan-x
  }
  
  .modal-content {
  border-radius:5px
  }
  
  .modal-title {
  font-size:20px;
  font-weight:600;
  background-image:radial-gradient(circle at 0 0,#ffa0d9,#8d34e2 50%,#8d34e2);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text
  }
  
  .u-color-grad {
  background-image:radial-gradient(circle at 0 0,#ffa0d9,#8d34e2 50%,#8d34e2);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-right:6px;
  letter-spacing:0;
  font-size:54px;
  line-height:1
  }
  @media screen and (max-width: 600px) {
    .u-color-grad {
      font-size: 30px;
    }
    
  }
  .character-speech-bubble{
    border-radius: 0 16px 16px 16px;
  }
  #chat-page-list .gallery, #chat-page-list .message-count {
    display: none;
  }

  .chat-card-container .card-img-top {
    transition: transform 0.3s ease-in-out;
    transition: background-size 0.3s ease-in-out, background-position 0.3s ease-in-out;
    background-repeat: no-repeat;
    background-size: auto 120%;
  }

  .chat-card-container:hover .card-img-top {
    transition: background-size 0.3 ease-in-out, background-position 0.3s ease-in-out;
    background-size: auto 140% !important;
  }

  .card-img-top.girls_avatar {
  object-fit:cover;
  object-position:top;
  width:100%;
  margin:auto;
  border-radius:15px;
  height:280px;
  padding:0 5px;
  background-position:top;
  }  

  .loading-overlay.on{
    display: flex !important;
  }
    .avatar {
    object-fit:cover;
    object-position:top;
    width:35px
    }
  
    
  .scroll-container {
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto
  }
  
  .scroll-container > * {
  flex:0 0 auto;
  width:auto
  }
  
  .category-container {
  display:flex;
  overflow-x:auto;
  white-space:nowrap
  }
  
  .category-button {
  margin:5px
  }
  
  .card-round-design .col-12 {
  margin-top:50px
  }
  
  .card-round-design .col-12 .card .card-img-top {
  position:absolute;
  top:-50px;
  width:100px;
  height:100px;
  left:0;
  right:0;
  margin:auto;
  border-radius:150px;
  object-fit:cover;
  object-position:top
  }
  
  .card-round-design .col-12 .card .card-body {
  padding-top:100px
  }
  
  .card-round-design .col-10 .card .card-img-top {
  height:270px;
  margin:auto;
  object-fit:cover;
  object-position:top
  }
  
  .swal-image.analyze {
  object-fit:cover;
  object-position:top;
  width:auto!important;
  height:200px!important;
  border-radius:6px!important
  }
  
  .chat-container {
  display:flex;
  overflow-x:auto;
  padding-bottom:0;
  padding-top:0
  }
  
  .chat-card {
  flex:0 0 auto;
  width:30vw;
  margin-right:15px
  }
  
  .online-text {
  width:95%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
  }
  
  .character-short-description {
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  line-clamp:3;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  font-size:13px
  }
  
  .character-title {
  font-weight:600;
  font-size:16px;
  color:#000
  }
  
  .chat-container .card:hover {
  background:none!important
  }
  
  @media (max-width: 600px) {
  #chat-container {
  background-size:cover
  }
  
  .noscroll {
  display:block;
  overflow:hidden
  }
  
  .top-img {
  width:70%
  }
  
  .card.chat-card {
  width:330px
  }
  }
  
  .intro-thumbnail {
  border-radius:150px;
  margin-bottom:10px;
  width:100px;
  object-fit:cover;
  height:100px;
  object-position:top
  }
  
  .sidebar,.sidebar-history {
  height:100vh;
  width:260px;
  position:fixed;
  top:0;
  left:0;
  z-index:1034;
  background-color:#f5f5f5;
  transition:transform .3s ease;
  transform:translateX(0);
  overflow:scroll
  }
  
  .sidebar.hidden,.sidebar-history.hidden {
  transform:translateX(-260px)
  }
  
  .sidebar-history.shadow {
  z-index:1035
  }
  
  .content {
  margin-left:260px;
  transition:margin-left .3s ease
  }
  
  .content.collapsed {
  margin-left:0
  }
  .sticky-bottom{
    z-index: 1020;
  }
  nav.navbar,.sticky-bottom {
  margin-left:0;
  transition:margin-left .3s ease
  }
  
  nav.navbar.move {
  margin-left:260px
  }
  
  .sticky-bottom.move {
  margin-left:260px
  }
  
  .choice-container {
  text-wrap:nowrap;
  overflow:auto;
  padding:15px 0
  }
  
  #startButton {
  border-radius:10px;
  font-weight:600;
  padding:15px 0
  }
  
  .fade-content {
  height:100%;
  mask-image:linear-gradient(to bottom,#0000,#000f 10%);
  -webkit-mask-image:linear-gradient(to bottom,#0000,#000f 10%)
  }
  
  #chat-container {
  flex-grow:1;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  overflow-y: hidden;
  height: 100vh;
  padding-top: 20vh;
  }
  
  .card-header,.card-footer {
  flex-shrink:0
  }
  
  .card-body {
  flex-grow:1;
  overflow-y:auto;
  position:relative
  }
  
  .btn-flat-border {
  display:inline-block;
  padding:.3em 1em;
  text-decoration:none;
  color:#742af4;
  border:solid 2px #b58df9;
  border-radius:3px;
  transition:.4s;
  margin-right:5px;
  margin-left:5px;
  font-size:18px
  }
  
  .dropdown-toggle::after {
  display:none!important
  }
  
  .btn-flat-border:hover {
  background:#742af4;
  color:#fff
  }
  
  #messages {
  padding:10px;
  padding-bottom:100px;
  border-radius:5px;
  z-index:1
  }
  
 


  
  .user-chat {
  cursor:pointer
  }
  
  .user-chat:hover {
  background-color:#f8f9fa
  }
  .toolbar-title{
    display: none;
  }
  .prompt-card.selected {
  border:2px solid #bd6bf7;
  box-shadow:0 8px 16px #007bff4d;
  background-color:#fff;
  transition:all .3s ease
  }
  
  .prompt-card.selected img {
  opacity:.9
  }
  
  .prompt-card.selected p {
  font-weight:700;
  color:#bd6bf7
  }
  
  .chat-list .thumb {
  margin-right:0
  }
  
  .chat-list .thumb img {
  width:40px;
  height:40px;
  -o-object-fit:cover;
  object-fit:cover;
  overflow:hidden;
  object-position:top;
  border-radius:13px
  }
  
  .chat-list.item:hover,.user-chat-history:hover {
  background-color:#c6c9cc99!important
  }
  
  .chat-list.item.active,.user-chat-history.active {
  background-color:#c6c9cc99!important
  }
  
  .chat-list .dropdown .dropdown-toggle,#chat-history .dropdown .dropdown-toggle {
  transform:rotate(90deg);
  opacity:1;
  pointer-events:none
  }
  
  .online-text {
  width:150px;
  white-space:nowrap;
  overflow:hidden
  }
  
  .lines-paragraph {
  display:-webkit-box;
  line-clamp:3;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden
  }
  
  .chat-contain .card-body {
  width:100%
  }
  
  .smaller-title .swal2-title {
  font-size:18px;
  font-weight:600
  }
  
  .swal-image {
  border-radius:50px;
  object-fit:cover
  }
  
  .img-gen-button {
  background-size:cover;
  border-radius:50%;
  padding:15px
  }
  
  .upload-area {
  border:2px dashed #ccc;
  padding:20px;
  text-align:center;
  cursor:pointer
  }
  
  .upload-area.dragover {
  border-color:#000
  }
  
  .liked i {
  color:red
  }
  .cl-cardBox.cl-signIn-start {
    box-shadow: none;
    }
    
  @media (max-width: 600px) {

  .dropdown-menu {
  transform:translate3d(20px,36px,0px)!important
  }
  
  .avatar-menu.dropdown-menu {
  transform:translate3d(18px,46px,0px)!important
  }
  
  .modal-content {
  border-radius:20px;
  width:100%
  }
  
  #adviceCarousel .carousel-inner .carousel-item .container {
  min-height:200px
  }
  
  #adviceCarousel .carousel-inner .carousel-item .container h4 {
  font-size:100%
  }
  
  .chat-contain .card-body {
  width:100%
  }
  
  .content,nav.navbar.move {
  margin-left:0
  }
  
  #navbarNav .navbar-nav {
  padding-top:0!important
  }
  }

  .character-create-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px !important;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
    min-width: 30vw;
}

.character-create-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(110, 32, 244, 0.15) !important;
    background: linear-gradient(145deg, #ffffff, #f5f5ff);
}

.character-create-icon {
    background: rgba(110, 32, 244, 0.08) !important;
    transition: all 0.5s ease;
    position: relative;
}

.character-create-card:hover .character-create-icon {
    background: rgba(110, 32, 244, 0.15) !important;
    transform: scale(1.12) rotate(5deg);
}

.character-create-card:hover .bi {
    animation: pulse 1.5s infinite;
}

.character-create-card h5 {
    font-weight: 600;
    transition: color 0.3s ease;
}

.character-create-card:hover h5 {
    color: #6E20F4;
}
.text-purple, .text-primary{
    color: #6E20F4 !important;
}
.bg-purple, .bg-primary {
    background-color: #6E20F4 !important;
}
.character-card-menu {
    width: 100%;
    padding: 10px 0;
}

.card-menu-container {
    max-width: 100%;
    overflow: hidden;
    padding: 0 10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

  .profile-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f0e6ff 100%);
    box-shadow: 0 8px 15px rgba(110, 32, 244, 0.1);
    text-align: start;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .profile-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(110, 32, 244, 0.2);
  }
  
  .profile-image-container {
    overflow: hidden;
    border-right: 1px solid rgba(110, 32, 244, 0.1);
  }
  
  .profile-image {
    transition: transform 0.5s ease;
  }
  
  .profile-card:hover .profile-image {
    transform: scale(1.07);
  }
  
  .profile-details li {
    border-bottom: 1px solid rgba(110, 32, 244, 0.1);
    padding: 6px 0;
    font-size: 0.92rem;
  }
  
  .profile-details .small {
    font-size: 0.8rem;
    opacity: 0.8;
  }
  
  .profile-card .card-title {
    background: linear-gradient(90deg, #6E20F4 0%, #9161fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .profile-card .card-body {
    padding: 1.2rem;
  }
  
  .profile-card .btn {
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .profile-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(110, 32, 244, 0.3);
  }
  
  @media (max-width: 767px) {
    .profile-image-container {
      max-height: 400px;
      border-right: none;
      border-bottom: 1px solid rgba(110, 32, 244, 0.1);
    }
    
    .profile-card .card-body {
      padding: 1rem 0.8rem;
    }
    
    .profile-card .card-title {
      font-size: 1.4rem;
    }
    
    .profile-details li {
      padding: 5px 0;
    }
  }

  #swiperModal .swiper-slide img {
    width: 100%;
    height: 80vh !important;
    object-fit: contain;
  }
  .chat-images-horizontal {
    display: flex;
    overflow-x: auto;
  }
  .horizontal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .chat-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
  }
  .hero-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for hero */
  }
  .hero-section img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .section-padding {
    padding: 40px 0;
  }
  .feature-icon {
    font-size: 2rem;
    color: #6E20F4;
  }
  .btn-lg-custom {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
  }
  .character-avatar-large {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border: 3px solid #8d34e2;
  }
.tags-wrapper {
  width: 100%;
  overflow-x: hidden;
}
.tag-item {
  background: rgba(108, 117, 125, 0.12);
  color: #495057;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag-item:hover {
  background: #9e7dde !important;
  border-color: #9e7dde !important;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tags-cloud {
  margin: 0 auto;
}
@media (max-width: 768px) {
  .tag-item {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem !important;
  }
}

#notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#imagePreviewModal {
  z-index: 10000;
  }

/* Gallery card styles moved to character-cards.css */
/* Tag hover effect for .gallery-tags */
.gallery-tags .badge {
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.gallery-tags .badge:hover,
.gallery-tags .badge:focus {
  background: #9e7dde !important;
  color: #fff !important;
  border-color: #9e7dde !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
.gif-message-image{
  width: 100%;
  border-radius: 15px;
  max-height: 60px;
  object-fit: contain;
  margin-left: auto;
  object-position: right;
  padding: 10px;
}
.prompt-card.inactive, .gift-card.inactive {
  opacity: 0.5;
}
.prompt-card.inactive .custom-badge, .gift-card.inactive .custom-badge {
  display: none;
}

.prompt-card.active {
  opacity: 1;
  pointer-events: auto;
}
.assistant-image-box .blur-overlay {
backdrop-filter: blur(3px);
}
/* New gradient styles for plan differentiation */
.premium-gradient {
  background: linear-gradient(90.9deg, #D2B8FF 2.74%, #8240FF 102.92%);
  box-shadow: 0 8px 20px rgba(130, 64, 255, 0.25);
  /* transform: scale(1.03); */ /* Handled by .plan-card.premium-gradient specific hover if needed */
  border: 2px solid #9e7dde;
  z-index: 10; /* To ensure it's above others if scaled */
}

.standard-gradient {
  background: linear-gradient(90.9deg, #B8D2FF 2.74%, #4080FF 102.92%);
  box-shadow: 0 6px 16px rgba(64, 128, 255, 0.2);
}

.basic-gradient {
  background: linear-gradient(90.9deg, #B8FFF0 2.74%, #40BFF2 102.92%);
  box-shadow: 0 4px 14px rgba(64, 191, 242, 0.2);
}

.oneday-gradient {
  background: linear-gradient(90.9deg, #FFD6B8 2.74%, #FF8C40 102.92%);
  box-shadow: 0 4px 14px rgba(255, 140, 64, 0.2);
}

/* Feature comparison table styling */
.plan-comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

.plan-comparison-table th {
  background-color: #f5f5f5;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.plan-comparison-table th:first-child {
  text-align: left;
}

.plan-comparison-table td {
  padding: 12px 15px;
  text-align: center;
  border-top: 1px solid #eee;
}

.plan-comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.plan-comparison-table tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.plan-comparison-table .highlight-row {
  background-color: #f0e6ff !important;
}

/* Badge styles */
.popular-badge {
  position: absolute;
  top: -15px; /* Adjusted for better visibility */
  right: 15px; /* Adjusted for better visibility */
  background: linear-gradient(45deg, #FF5E7E, #FF8C40);
  color: white;
  padding: 6px 18px; /* Slightly larger padding */
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem; /* Slightly larger font */
  box-shadow: 0 4px 12px rgba(255, 94, 126, 0.35);
  transform: rotate(3deg); /* Slight rotation for emphasis */
  z-index: 12; /* Ensure it's above card content */
}

.guarantee-badge { /* Example, can be adapted */
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 11;
}

/* Enhanced plan cards */
.plan-card { /* Base .plan-card already exists, this enhances it */
  position: relative; /* Needed for absolute positioned badges */
  transition: all 0.3s ease-in-out;
  overflow: visible; /* Allow badges to be outside */
  display: flex; /* For better internal alignment */
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Push button to bottom */
}

.plan-card.premium-gradient { /* Specific styling for premium card */
    transform: scale(1.03); /* Make premium slightly larger by default */
}

.plan-card:hover {
  transform: translateY(-8px) scale(1.05); /* Enhanced hover effect */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.plan-card.premium-gradient:hover {
    transform: translateY(-10px) scale(1.08); /* More pronounced hover for premium */
}


.plan-features {
  margin-top: 15px;
  text-align: left;
  font-size: 0.9rem;
  padding-left: 0; /* Remove default ul padding */
  list-style-type: none; /* Remove default list bullets */
}

.plan-features li {
  margin-bottom: 8px; /* Increased spacing */
  display: flex;
  align-items: center;
  color: #fff; /* Ensure text is visible on dark gradients */
}

.plan-features i { /* For Bootstrap Icons */
  margin-right: 8px;
  color: #fff; /* Default icon color, can be overridden by specific gradients */
  font-size: 1.1em;
}

/* Specific icon colors for gradients if needed, or keep them white */
.premium-gradient .plan-features i { color: #f0e6ff; }
.standard-gradient .plan-features i { color: #e0eaff; }
.basic-gradient .plan-features i { color: #d4f5fa; }
.oneday-gradient .plan-features i { color: #ffe8d8; }


.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px; /* Increased padding */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); /* Softer shadow */
  margin: 15px 0;
  position: relative;
  height: 100%; /* Ensure cards in a row have same height */
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee; /* Subtle border */
}

.testimonial-quote { /* Using Bootstrap icon class */
  position: absolute;
  top: 15px;
  right: 20px;
  color: #e0e0e0;
  font-size: 2.5rem; /* Larger quote icon */
}

.testimonial-card p {
    flex-grow: 1; /* Allow paragraph to take available space */
    margin-bottom: 1rem;
}
.testimonial-card .text-warning i { /* For Bootstrap star icons */
    font-size: 1rem;
}


.cta-button {
  display: inline-block;
  padding: 14px 35px; /* Larger padding */
  font-size: 1.15rem; /* Slightly larger font */
  font-weight: bold;
  text-align: center;
  border-radius: 30px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px; /* More space above button */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Stronger hover shadow */
}

.cta-button i { /* For Bootstrap Icons */
    font-size: 1em; /* Match button font size */
}

.cta-button.premium {
  background: linear-gradient(90.9deg, #D2B8FF 2.74%, #8240FF 102.92%);
  color: white;
  border: 4px solid #fff;
}

.cta-button.standard {
  background: linear-gradient(90.9deg, #B8D2FF 2.74%, #4080FF 102.92%);
  color: white;
  border: 4px solid #fff;
}
.cta-button.basic { /* Added for consistency */
  background: linear-gradient(90.9deg, #B8FFF0 2.74%, #40BFF2 102.92%);
  color: white;
  border: 4px solid #fff;
}

.cta-button.oneday {
  background: linear-gradient(90.9deg, #FFD6B8 2.74%, #FF8C40 102.92%);
  color: white;
  border: 4px solid #fff;
}
.rounded-circle-button-size {
  width: 60px;
  height: 60px;
}
.album-link-styled .bi-images {
  font-size: 21px; 
}
@media (max-width: 600px) {
  .rounded-circle-button-size {
    width: 50px;
    height: 50px;
  }
  .album-link-styled .bi-images {
    font-size: 18px; 
  }
}

.album-link-styled {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(212, 190, 254, 1), rgba(110, 33, 244, 1));
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  border: none; /* Override potential Bootstrap button borders */
  box-shadow: 0 8px 15px rgba(0,0,0,0.08); /* Base shadow similar to character-create-card */
}

.album-link-styled .bi-images {
  transition: transform 0.3s ease; 
  color: #fff ;
}

.album-link-styled:hover {
  transform: scale(1.12) rotate(5deg); /* Hover transform from character-create-icon */
  box-shadow: 0 15px 30px rgba(110, 32, 244, 0.15); /* Hover shadow similar to character-create-card */
}

.album-link-styled:hover .bi-images {
  animation: pulse 1.5s infinite; /* Pulse animation on icon hover */
}

.album-link-styled .image-count-badge {
  font-size: 10px;
  position: absolute;
  top: -5px;
  right: -6px;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border-radius: 50px;
  padding: 4px 3px;
  border: 1px solid rgba(110, 32, 244, 0.3);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}
.assistant-image-box{
  transition: all 0.3s ease;
  max-width: 100% !important;
}

.assistant-image-box:hover {
  transform: scale(1.12) rotate(5deg);
}
.transition-none:hover {
  transform: none !important;
}
.vertical-transition:hover {
  transform: translateY(-3%) !important;
}
.feature-icon-container {
  text-align: center;
  margin: 40px 0;
}

.feature-icon-item {
  padding: 20px; /* Increased padding */
}

.feature-icon-item i { /* For Bootstrap Icons */
  font-size: 2.5rem; /* Larger icons */
  margin-bottom: 15px;
  color: #8240FF; /* Main accent color */
}
.feature-icon-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Limited time offer banner */
.limited-time-offer {
  background: linear-gradient(135deg, #FF5E7E, #FF8C40);
  color: white;
  text-align: center;
  padding: 15px; /* Increased padding */
  border-radius: 8px; /* Softer radius */
  margin: 25px auto; /* Centered with auto margins */
  font-weight: bold;
  animation: pulseOffer 2s infinite;
  box-shadow: 0 5px 20px rgba(255, 94, 126, 0.35);
  max-width: 80%; /* Control width */
}
.limited-time-offer i { /* For Bootstrap Icons */
    font-size: 1.1em;
}

@keyframes pulseOffer { /* Renamed to avoid conflict if 'pulse' is used elsewhere */
  0% {
    box-shadow: 0 5px 20px rgba(255, 94, 126, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 5px 30px rgba(255, 94, 126, 0.55);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 5px 20px rgba(255, 94, 126, 0.35);
    transform: scale(1);
  }
}

/* Safe test badge for one-day pass */
.safe-test-badge {
  background: rgba(255, 255, 255, 0.25); /* Semi-transparent white */
  color: #fff; /* Ensure text is white and readable on orange gradient */
  border-radius: 50px;
  padding: 8px 15px; /* Increased padding */
  display: inline-flex;
  align-items: center;
  margin-top: 12px; /* More space */
  backdrop-filter: blur(5px);
  font-size: 0.85rem;
  font-weight: 500;
}

.safe-test-badge i { /* For Bootstrap Icons */
  margin-right: 6px;
  font-size: 1.1em;
}

/* Accordion styling for FAQ */
.accordion-button {
    font-weight: 500;
}
.accordion-button:not(.collapsed) {
    color: #8240FF;
    background-color: #f0e6ff;
}
.accordion-item {
    margin-bottom: 0.5rem;
    border-radius: 0.5rem !important; /* Ensure consistent border radius */
    border: 1px solid #eee;
}
.accordion-header {
    border-radius: 0.5rem 0.5rem 0 0; /* Match item radius */
}
.accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Compact chat list support for narrow sidebar */
.chat-list-container {
    padding: 0 4px; /* Reduced padding for narrow sidebar */
}

.chat-list-container .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Override existing chat list styles for compact design */
.chat-list .thumb img {
    width: 40px; /* Reduced from 40px to match new design */
    height: 40px;
    object-fit: cover;
    overflow: hidden;
    object-position: top;
    border-radius: 50%; /* Make fully circular */
}

.chat-list.item {
    margin-bottom: 4px; /* Reduced spacing */
    border-radius: 8px; /* Smaller radius */
}

.chat-list.item:hover, .user-chat-history:hover {
    background-color: #f0f0f0 !important; /* Lighter hover color */
}

.chat-list.item.active, .user-chat-history.active {
    background-color: #e6d3ff !important; /* Purple active state */
}

/* Adjust dropdown for narrow sidebar */
.chat-option-menu .dropdown-item {
    padding: 4px 8px; /* Reduced padding */
    font-size: 0.8rem; /* Smaller font */
}

.chat-option-menu li {
    padding: 1px 4px; /* Reduced padding */
}

/* Make sure text doesn't overflow in narrow sidebar */
.online-text {
    width: 100px; /* Reduced from 150px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Compact user chat count */
#user-chat-count {
    font-size: 0.75rem;
}

.video-chat-card .video-thumbnail-wrapper {
    overflow: hidden;
}

.video-chat-card .play-button-overlay {
    transition: opacity 0.3s ease;
}

.video-chat-card:hover .play-button-overlay {
    opacity: 0.7;
}

.video-chat-card .video-thumbnail {
    transition: transform 0.3s ease;
}

.video-chat-card:hover .video-thumbnail {
    transform: scale(1.05);
}

#latest-video-chats-gallery::-webkit-scrollbar {
    height: 8px;
}

#latest-video-chats-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#latest-video-chats-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#latest-video-chats-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.character-update-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

.message-tools-controller .message-action-btn, .message-tools-controller .message-regenerate-btn {
  padding: 5px !important;
}

/* Settings Switch Styles */
.settings-switch {
    position: relative;
    display: inline-block;
    width: 65px;
    height: 30px;
}

.settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.settings-switch-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.settings-switch input:checked + .settings-switch-slider {
    background: linear-gradient(135deg, #6E20F4 0%, #8B4CF8 100%);
    box-shadow: 0 4px 15px rgba(110, 32, 244, 0.2);
}

.settings-switch input:focus + .settings-switch-slider {
    box-shadow: 0 0 1px #2196F3;
}

.settings-switch input:checked + .settings-switch-slider:before {
    transform: translateX(35px);
}
.settings-info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.settings-info-box i {
    color: #6c757d;
    font-size: 16px;
}

.dark-mode .settings-info-box {
    background: #2d3748;
    border-color: #4a5568;
    color: #a0aec0;
}

.dark-mode .settings-info-box i {
    color: #a0aec0;
}
/* Enhanced Settings Modal Styles */
.settings-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.settings-modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.settings-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.settings-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
}

.settings-modal-title i {
    color: #6E20F4;
    font-size: 1.4rem;
}

.settings-close-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 1.2rem;
}

.settings-close-btn:hover {
    background: #e9ecef;
    border-color: #6E20F4;
    color: #6E20F4;
    transform: scale(1.05);
}

.settings-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.settings-modal-body::-webkit-scrollbar {
    width: 6px;
}

.settings-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.settings-modal-body::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.settings-modal-body::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Section Styles */

.settings-section {
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    background: linear-gradient(135deg, #fdfdfe 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
}

.settings-section:hover {
    border-color: rgba(110, 32, 244, 0.2);
    box-shadow: 0 4px 12px rgba(110, 32, 244, 0.08);
}

.settings-section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.settings-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.settings-section-title i {
    color: #6E20F4;
    font-size: 1.2rem;
}

.settings-subsection {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid #f1f3f4;
}

.settings-subsection-title {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 8px;
}

/* Field Styles */
.settings-field {
    margin-bottom: 20px;
}

.settings-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.settings-label {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 6px;
    display: block;
}

.settings-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d !important;
}

/* Form Controls */
.settings-range-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.settings-range {
    flex-grow: 1;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.settings-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6E20F4, #8B4CF8);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(110, 32, 244, 0.3);
    transition: all 0.3s ease;
}

.settings-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(110, 32, 244, 0.4);
}

.settings-range-value {
    min-width: 32px;
    text-align: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #6E20F4, #8B4CF8);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
}

.settings-textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.settings-textarea:focus {
    outline: none;
    border-color: #6E20F4;
    box-shadow: 0 0 0 3px rgba(110, 32, 244, 0.1);
}

.settings-textarea:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Switch Container */
.settings-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-switch-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.settings-switch-label.premium-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tone Grid */
.settings-tone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.settings-tone-option {
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.settings-tone-option:hover {
    border-color: #6E20F4;
    background: rgba(110, 32, 244, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 32, 244, 0.15);
}

.settings-tone-option.selected {
    border-color: #6E20F4;
    background: linear-gradient(135deg, rgba(110, 32, 244, 0.1), rgba(139, 76, 248, 0.1));
    color: #6E20F4;
    font-weight: 600;
}

.settings-tone-option.premium-relationship {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.settings-tone-option.premium-relationship:hover {
    border-color: #ffb000;
    background: rgba(255, 193, 7, 0.2);
}

/* Voice Grid */
.settings-voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.settings-voice-option {
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-voice-option:hover {
    border-color: #6E20F4;
    background: rgba(110, 32, 244, 0.05);
    transform: translateY(-2px);
}

.settings-voice-option.selected {
    border-color: #6E20F4;
    background: linear-gradient(135deg, rgba(110, 32, 244, 0.1), rgba(139, 76, 248, 0.1));
    box-shadow: 0 4px 12px rgba(110, 32, 244, 0.15);
}

.settings-voice-name {
    font-size: 1rem;
    margin-bottom: 4px;
}

.settings-voice-description {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Premium Features */
.premium-feature-indicator {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.premium-icon {
    font-size: 0.9rem;
}

/* Footer */
.settings-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin: -28px -28px 0 -28px;
    padding: 24px 28px;
}

.settings-save-btn {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6E20F4, #8B4CF8);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.settings-save-btn:hover {
    background: linear-gradient(135deg, #5a1acc, #7a42e0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110, 32, 244, 0.3);
}

.settings-save-btn:active {
    transform: translateY(0);
}

/* Loading State */
.voice-loading-spinner {
    color: #6c757d;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .settings-modal {
        margin: 10px;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .settings-modal-header,
    .settings-modal-body,
    .settings-footer {
        padding: 20px;
    }
    
    .settings-section {
        padding: 18px;
        margin-bottom: 24px;
    }
    
    .settings-tone-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-voice-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-field-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .settings-switch-container {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .settings-modal-title {
        font-size: 1.3rem;
    }
    
    .settings-section-title {
        font-size: 1.1rem;
    }
    
    .settings-modal-header {
        padding: 16px 20px;
    }
    
    .settings-close-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

  /* Query Tags Styles */
  .query-tags-scroll-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
  }
  
  .query-tags-scroll-container::-webkit-scrollbar {
    height: 6px;
  }
  
  .query-tags-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .query-tags-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  
  .query-tags-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .query-tags-list {
    padding: 10px 0;
    white-space: nowrap;
    gap: 8px;
  }
  
  .query-tag {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 25px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
  }
  
  .query-tag:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .query-tag.active {
    background: linear-gradient(90.9deg, #D2B8FF 2.74%, #8240FF 102.92%);
    color: white;
    border-color: #8240FF;
    box-shadow: 0 2px 8px rgba(130,64,255,0.3);
  }
  
  .query-tag.active:hover {
    background: linear-gradient(90.9deg, #C2A8FF 2.74%, #7230EF 102.92%);
    transform: translateY(-1px);
  }
  
  .query-tag-all {
    background: #fff;
    border: 2px solid #8240FF;
    color: #8240FF;
    font-weight: 600;
  }
  
  .query-tag-all.active {
    background: #8240FF;
    color: white;
  }

/* Site Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
}

.site-footer::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 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.footer-section {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #6E20F4, #8B4CF8);
  border-radius: 1px;
}

.social-links {
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: linear-gradient(135deg, #6E20F4, #8B4CF8);
  border-color: #6E20F4;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(110, 32, 244, 0.3);
}

.footer-nav {
  margin: 0;
  padding: 0;
}

.footer-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}

.footer-link:hover {
  color: #fff;
  background: rgba(110, 32, 244, 0.1);
  transform: translateX(5px);
}

.footer-link i {
  color: #6E20F4;
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6E20F4, #8B4CF8);
  border-radius: 12px;
  box-shadow: none;
}

.copyright-text {
  font-size: 0.9rem;
  color: #888;
}

.text-primary {
  color: #6E20F4 !important;
}
.keyword-tag.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    transform: none !important;
}

.keyword-tag.disabled:hover {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.keyword-tag.limit-reached {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    transform: scale(1.05);
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) scale(1.05); }
    25% { transform: translateX(-2px) scale(1.05); }
    75% { transform: translateX(2px) scale(1.05); }
}

.keyword-counter {
    font-size: 0.75rem;
    font-weight: normal;
}

.selected-section {
    border-left: 3px solid #007bff;
    padding-left: 8px;
}

.section-label {
    text-transform: capitalize;
}

.keyword-limit-tooltip {
    pointer-events: none;
    animation: fadeInUp 0.2s ease-out;
}

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

@media (max-width: 768px) {
    .keyword-counter {
        font-size: 0.7rem;
    }
    
    .selected-section {
        margin-bottom: 8px;
    }
}
/* Enhanced NSFW Toggle Styling */
.nsfw-toggle-container {
  position: relative;
  margin: 1rem 0;
  padding: 1.2rem;
  background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
  border: 2px solid #fee2e2;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nsfw-toggle-container.nsfw-disabled {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-color: #e5e7eb;
}

.nsfw-toggle-container:hover {
  border-color: #fca5a5;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

.nsfw-toggle-container.nsfw-disabled:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 15px rgba(107, 114, 128, 0.1);
}

.nsfw-toggle-container.enabled {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
}

.nsfw-toggle-container.enabled:hover {
  border-color: #d97706;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* Custom NSFW Switch */
.nsfw-switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 26px;
  margin-left: auto;
}

.nsfw-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nsfw-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  transition: 0.4s;
  border-radius: 36px;
  border: 2px solid #d1d5db;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nsfw-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nsfw-switch input:checked + .nsfw-switch-slider {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #92400e;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.nsfw-switch input:checked + .nsfw-switch-slider:before {
  transform: translateX(34px);
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.nsfw-switch input:disabled + .nsfw-switch-slider {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: #d1d5db;
}

.nsfw-switch input:disabled + .nsfw-switch-slider:before {
  background: #e5e7eb;
}

/* Make sure the slider is clickable when enabled */
.nsfw-switch input:not(:disabled) + .nsfw-switch-slider {
  cursor: pointer;
}

.nsfw-switch input:not(:disabled) + .nsfw-switch-slider:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* NSFW Label Styling */
.nsfw-label-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.nsfw-main-label {
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nsfw-warning-icon {
  color: #ef4444;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

.nsfw-status-indicator {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nsfw-status-indicator.disabled {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.nsfw-status-indicator.enabled {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border: 1px solid #d97706;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.nsfw-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6b7280;
  margin: 0.5rem 0;
}

.nsfw-premium-prompt {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border: 1px solid #fb923c;
  border-radius: 8px;
  font-size: 0.9rem;
}

.nsfw-premium-prompt .bi-star {
  color: #f59e0b;
  margin-right: 0.5rem;
}

.nsfw-premium-prompt .alert-link {
  color: #ea580c;
  font-weight: 600;
  text-decoration: none;
}

.nsfw-premium-prompt .alert-link:hover {
  color: #c2410c;
  text-decoration: underline;
}

/* Animation for warning icon */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nsfw-label-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .nsfw-switch {
    align-self: flex-end;
  }
  
  .nsfw-toggle-container {
    padding: 1rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem !important;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-bottom .row > div:first-child {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-bottom .row > div:last-child {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .brand-logo {
    width: 45px;
    height: 45px;
  }
  
  .footer-heading {
    font-size: 1rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
  }
}

#footer-toolbar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 500px;
  height: 65px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 32.5px;
  z-index: 1010;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#footer-toolbar a{
  text-decoration: none !important;
}

.toolbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  flex-grow: 1;
  text-align: center;
  transition: color 0.3s ease;
}

.toolbar-item:hover {
  color: #6E20F4;
}

.toolbar-side-items {
  display: flex;
  justify-content: space-around;
  flex-grow: 1;
}

.toolbar-label {
  font-size: 10px;
  margin-top: 2px;
  font-weight: 500;
}

.toolbar-create-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8B4CF8 0%, #6E20F4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(110, 32, 244, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid white;
}

.toolbar-create-btn:hover {
  transform: translateY(-25px) scale(1.05);
  box-shadow: 0 12px 25px rgba(110, 32, 244, 0.4);
  color: white;
}

.benefits-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.benefit-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.benefit-icon {
    animation: float 3s ease-in-out infinite;
}

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

.benefit-highlight .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .benefit-card {
        min-width: 250px !important;
        max-width: 280px !important;
    }
}

/* Enhanced Swiper Styles */
.image-preview-swiper {
    --swiper-theme-color: #ffffff;
    --swiper-navigation-size: 24px;
}

.image-preview-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-preview-swiper .swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navigation buttons */
.image-preview-swiper .swiper-button-next,
.image-preview-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white !important;
    transition: all 0.3s ease;
}

.image-preview-swiper .swiper-button-next:hover,
.image-preview-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Pagination */
.image-preview-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.image-preview-swiper .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

.swiper-pagination {
    bottom: 10px !important;
}
/* Like button styles - TOP LEFT */
.image-like-overlay .image-like-btn {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.image-like-overlay .image-like-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Like button ripple effect */
.like-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Info overlay styles - BOTTOM CENTER */
.image-info-overlay .image-info-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.44);
}

.image-prompt-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.image-prompt-container::-webkit-scrollbar {
    width: 4px;
}

.image-prompt-container::-webkit-scrollbar-track {
    background: transparent;
}

.image-prompt-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.image-prompt-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Floating heart animation */
.floating-heart {
    animation: floatUp 1.2s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotate(-30deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -70%) scale(1) rotate(30deg);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .image-preview-swiper .swiper-button-next,
    .image-preview-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .image-preview-swiper .swiper-button-next {
        right: 10px;
    }
    
    .image-preview-swiper .swiper-button-prev {
        left: 10px;
    }
    
    .image-like-overlay {
        top: 50px;
        left: 10px;
    }
    
    .image-like-overlay .image-like-btn {
        width: 45px;
        height: 45px;
    }
    
    .image-info-overlay .image-info-container {
        margin: 0 10px;
        padding: 12px;
        font-size: 14px;
    }
    
    .image-title {
        font-size: 16px !important;
    }
    
    .image-prompt {
        font-size: 13px !important;
    }
    
    .image-prompt-container {
        max-height: 50px !important;
    }
    
}

/* Touch feedback */
.swiper-slide img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Zoom cursor - only for pinch gestures */
.swiper-zoom-container {
    cursor: grab;
}

.swiper-zoom-container:active {
    cursor: grabbing;
}

.swiper-zoom-container.swiper-zoom-container-zoomed {
    cursor: move;
}

/* Disable text selection in modal */
#imagePreviewModal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Enhanced heart beat animation */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.animate__heartBeat {
    animation: heartBeat 1s ease-in-out;
}

#goals-enable-toggle {
    transition: all 0.3s ease;
}

#goals-enable-toggle[data-enabled="true"] {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

#goals-enable-toggle[data-enabled="false"] {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
}

#goals-enable-toggle[data-enabled="false"] .bi-toggle-on:before {
    content: "\f235"; /* toggle-off icon */
}
/* Hide NSFW prompts and gifts when SFW mode is enabled */
/*
#promptContainer.sfw .prompt-card.nsfw-true, #giftsList.sfw .gift-card.nsfw-true {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}
*/

/* ============================================================================
   NATIVE SECTION & BENEFITS STYLES
   ============================================================================ */

.native-section {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.native-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  padding-bottom: 12px;
}

.native-section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.native-section-icon {
  font-size: 18px;
  color: #8240FF;
}

.native-section-action {
  font-size: 13px;
  padding: 8px 12px;
  background: rgba(130, 64, 255, 0.1);
  color: #8240FF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.native-section-action:hover {
  background: rgba(130, 64, 255, 0.2);
  transform: translateX(2px);
}

.native-section-content {
  padding: 0 16px 16px;
}

.native-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 16px 16px;
}

@media (min-width: 640px) {
  .native-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.native-benefit-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.native-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(110, 32, 244, 0.15);
}

.native-benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: #8240FF;
}

.native-benefit-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.native-benefit-description {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .native-section {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  
  .native-section-title {
    color: #f0f0f0;
  }
  
  .native-section-action {
    background: rgba(130, 64, 255, 0.15);
    color: #D2B8FF;
  }
  
  .native-section-action:hover {
    background: rgba(130, 64, 255, 0.25);
  }
  
  .native-benefit-card {
    background: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .native-benefit-card:hover {
    box-shadow: 0 4px 15px rgba(130, 64, 255, 0.3);
  }
  
  .native-benefit-title {
    color: #f0f0f0;
  }
  
  .native-benefit-description {
    color: #b0b0b0;
  }
}

/* ============================================================================
   HERO SECTION STYLES
   ============================================================================ */

.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 1.5rem auto 2rem;
  max-width: 700px;
}

.hero-cta-buttons .btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 700;
  border-radius: 12px;
  min-width: 180px;
}

.hero-cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(130, 64, 255, 0.4);
}

.hero-cta-buttons .btn:active {
  transform: translateY(-1px);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(210, 184, 255, 0.1);
  flex-wrap: wrap;
}

.hero-features > div {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 15px !important;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin: 1rem auto 1.5rem;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-features {
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
  }

  .hero-features > div {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 30px 12px !important;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0.8rem auto 1rem;
  }

  .hero-features {
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1.5rem;
  }

  .hero-features > div:nth-child(n+3) {
    display: none;
  }

  .hero-features > div {
    flex: 0 0 100%;
  }
}


/* === BROWSE SECTION === */
.browse-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.browse-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
}

.browse-link-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.browse-link-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

.browse-link-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.browse-link-secondary:hover {
    background: var(--primary-gradient-hover);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}


.level-badge {
    transform: translateX(-50%);
    background: #888;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    bottom: -10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}
.level-badge.zero     { background: linear-gradient(135deg, #bbb, #888); }
.level-badge.bronze   { background: linear-gradient(135deg, #cd7f32, #a0522d); }
.level-badge.gold     { background: linear-gradient(135deg, #ffd700, #ffaa00); }
.level-badge.platinum { background: linear-gradient(135deg, #f0f0f0, #cccccc); }
.level-badge.purple   { background: linear-gradient(135deg, #9f7aea, #6b46c1); box-shadow: 0 0 12px rgba(159,122,234,0.6); }
.level-badge.diamond  { background: linear-gradient(135deg, #66d9ef, #b9f2ff); box-shadow: 0 0 20px rgba(102,239,255,0.8); }

@keyframes breathe {
    0%,100% { box-shadow: 0 0 20px rgba(102,239,255,0.7); }
    50%     { box-shadow: 0 0 35px rgba(102,239,255,1); }
}
/* Heart badge styles */
.heart-badge {
    transform: translateX(-50%);
    pointer-events: none;
    bottom: -14px;
    width: 26px;
    height: 26px;

}
.heart-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Legendary purple glow for everyone – you wanted this as default */
    filter: brightness(1.4) drop-shadow(0 0 20px #c084fc);
}
.heart-icon.legendary{
    /* Extra pulse only on the beating heart (level 21+) */
    animation: heartBeat 1.4s ease-in-out infinite;
}
.heart-number {
    position: absolute;
    font-size: 9px;
    font-weight: 900;
    text-shadow: 0 0 0px #000, 0 1px 1px rgba(0, 0, 0, 0.62);
    pointer-events: none;
}

/* Optional: even stronger glow on legendary tier */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}
/* Chat Level Container Button Styles */
#chatLevelContainer .btn-primary {
    background: rgba(0, 123, 255, 0.5) !important; /* Semi-transparent blue */
}

#chatLevelContainer .btn-success {
    background: rgba(40, 167, 69, 0.5) !important; /* Semi-transparent green */
}

#chatLevelContainer .btn-warning {
    background: rgba(255, 193, 7, 0.5) !important; /* Semi-transparent yellow */
}

#chatLevelContainer .btn-danger {
    background: rgba(220, 53, 69, 0.5) !important; /* Semi-transparent red */
}

#chatLevelContainer .btn-info {
    background: rgba(23, 162, 184, 0.5) !important; /* Semi-transparent cyan */
}

#chatLevelContainer .btn-dark {
    background: rgba(52, 58, 64, 0.5) !important; /* Semi-transparent dark */
}
.btn.btn-outline-primary.edit-strength-btn.active {
background: var(--primary-gradient) !important;
color: #fff !important;
}