.ql-toolbar.ql-snow {
        background: #0d0d14;
        border-color: #4ADE80 !important;
        border-radius: 0.75rem 0.75rem 0 0;
        padding: 12px;
    }
    
    .ql-container.ql-snow {
        background: #08080c;
        border-color: #4ADE80 !important;
        border-radius: 0 0 0.75rem 0.75rem;
        min-height: 300px;
    }
    
    .ql-editor {
        color: white;
        padding: 10px;
        line-height: 1.8;
        cursor: text;
        text-align: left;
        white-space: pre-wrap;
        word-wrap: break-word;
        min-height: 360px;
        font-size: 16px;
        letter-spacing: 0.3px;
    }

    .ql-editor a {
        color: #4ADE80 !important;
        text-decoration: underline !important;
        cursor: pointer !important;
        pointer-events: all !important;
    }

.ql-editor strong,
.ql-editor b {
  font-weight: 700 !important;
  
}

    .toast-notification {
    position: fixed;
    top: 20px;
    left: 30%;
    transform: translateX(-50%) translateY(-100px);
    background: #4ADE80;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #22c55e;
    width: 0;
    transition: width 4s linear;
    border-radius: 0 0 12px 12px;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification.show .toast-progress {
    width: 100%;
}

/* reCAPTCHA (visibility toggled from view-head.js) */
.g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
  margin: 0 auto;
}

.g-recaptcha > div {
  margin: 0 auto;
}

/* Hide reCAPTCHA badge (terms link still required in UI copy if needed) */
.grecaptcha-badge {
  visibility: hidden !important;
}

#captcha-status {
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(75, 85, 99, 0.3);
  border: 1px solid rgba(75, 85, 99, 0.5);
}

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


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

/* Premium black theme */
.premium-black-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 45%),
    linear-gradient(180deg, #020202 0%, #060608 30%, #08080c 60%, #030305 100%);
  background-attachment: fixed;
}
.tile-premium-border { border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04); }
.premium-dashboard-tile {
  background: linear-gradient(135deg, rgba(13, 13, 20, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.nav-translucent {
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.5) 0%, rgba(6, 6, 8, 0.45) 50%, rgba(3, 3, 5, 0.5) 100%);
}
.nav-enhanced-desktop {
  position: relative;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 40px -10px rgba(74, 222, 128, 0.15);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}
.nav-enhanced-desktop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.4) 50%, transparent 100%);
  opacity: 0.8;
}

/* --- section --- */

/* Frosted-glass container ------------------------------------------------ */
 .mobile-nav-glass{
    height:4rem;
    background:rgba(2,2,2,.5)!important;
    backdrop-filter:blur(30px);
   -webkit-backdrop-filter:blur(30px);
   border-top:1px solid rgba(255,255,255,.08);
    transition:background .3s ease, backdrop-filter .3s ease;
    overflow:hidden;
 }
  .mobile-nav-glass::before{
    content:'';
    position:absolute;inset:0;
    background:radial-gradient(ellipse at 50% 0%,
      rgba(255,255,255,.12)0%,rgba(255,255,255,.06)40%,
      rgba(255,255,255,.02)80%,transparent 100%);
    border-top:1px solid rgba(255,255,255,.22);
    border-bottom:1px solid rgba(0,0,0,.25);
    pointer-events:none;
  }
  .mobile-nav-scrolled{
    background:rgba(2,2,2,.7)!important;
    backdrop-filter:blur(35px);
    -webkit-backdrop-filter:blur(35px);
  }

  /* Items ------------------------------------------------------------------ */
  .mobile-nav-item{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-decoration:none;color:rgba(156,163,175,.8);
    transition:.3s;padding:.5rem;border-radius:12px;min-width:54px;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-nav-item:hover,.mobile-nav-item:active{
    color:rgba(74,222,128,.9);background:rgba(74,222,128,.1);
    transform:translateY(-2px);
  }
  .mobile-nav-item.active{
    color:rgba(74,222,128,1);background:rgba(74,222,128,.15);
  }

  .mobile-nav-icon{
    display:flex;align-items:center;justify-content:center;
    width:26px;height:26px;margin-bottom:2px;transition:transform .2s;
  }
  .mobile-nav-item:hover .mobile-nav-icon,
  .mobile-nav-item:active .mobile-nav-icon{transform:scale(1.1)}

  .mobile-nav-label{font-size:9px;text-align:center;line-height:1;letter-spacing:.025em}

  /* Centre/profile item ---------------------------------------------------- */
  .mobile-nav-center{position:relative}
  .mobile-nav-icon-center{
    display:flex;align-items:center;justify-content:center;
    width:32px;height:32px;margin-bottom:2px;transition:transform .2s;
  }
  .mobile-nav-center:hover .mobile-nav-icon-center,
  .mobile-nav-center:active .mobile-nav-icon-center{transform:scale(1.1)}

  /* Premium glow ----------------------------------------------------------- */
  .mobile-nav-center.premium-user{
    background:radial-gradient(circle,rgba(251,191,36,.1)0%,transparent 70%);
  }
  .mobile-nav-center.premium-user .mobile-nav-icon-center{
    filter:drop-shadow(0 0 8px rgba(251,191,36,.3));
  }
  #mobilePremiumIndicator{
    top:-.125rem;right:-.25rem;
    animation:premiumPulse 2s ease-in-out infinite;
  }
  @keyframes premiumPulse{
    0%,100%{transform:scale(1);opacity:1}
    50%{transform:scale(1.1);opacity:.8}
  }

  /* Premium navigation glow effect */
  .nav-link[href="/premium.html"] svg,
  .mobile-nav-item[href="/premium.html"] svg {
    filter: drop-shadow(0 0 8px #fbbf24) drop-shadow(0 0 16px #f59e0b);
    color: #fbbf24;
    transition: all 0.3s ease;
  }
  
  .nav-link[href="/premium.html"]:hover svg,
  .mobile-nav-item[href="/premium.html"]:hover svg {
    filter: drop-shadow(0 0 12px #fbbf24) drop-shadow(0 0 24px #f59e0b);
    transform: scale(1.1);
  }
  
  .nav-link[href="/premium.html"] span,
  .mobile-nav-item[href="/premium.html"] .mobile-nav-label {
    color: #fbbf24;
    font-weight: 600;
  }

/* --- section --- */

.plan-card{
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform: scale(1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(13, 13, 20, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.plan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.plan-title{font-size:1.5rem;line-height:2rem;font-weight:700;color:rgb(34 197 94);margin-bottom:0.5rem;}
.plan-price{font-size:1.875rem;line-height:2.25rem;font-weight:700;color:rgb(34 197 94);}
.plan-save{font-size:0.875rem;line-height:1.25rem;color:rgb(156 163 175);margin-bottom:1rem;}
.plan-btn{background-color:rgb(34 197 94);color:white;font-weight:600;padding:0.5rem 2rem;border-radius:0.25rem;transition:background-color 0.15s;width:100%;}
.plan-btn:hover{background-color:rgb(22 163 74);}
.plan-title{font-size:1.5rem;line-height:2rem;font-weight:700;color:rgb(34 197 94);margin-bottom:0.5rem;}
.plan-price{font-size:1.875rem;line-height:2.25rem;font-weight:700;color:rgb(34 197 94);}
.plan-save{font-size:0.875rem;line-height:1.25rem;color:rgb(156 163 175);margin-bottom:1rem;}
.plan-btn{background-color:rgb(34 197 94);color:white;font-weight:600;padding:0.5rem 2rem;border-radius:0.25rem;transition:background-color 0.15s;width:100%;}
.plan-btn:hover{background-color:rgb(22 163 74);}

/* Timer wait — creator profile strip (matches profile.html theme) */
.view-creator-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  box-sizing: border-box;
}

.view-creator-profile.hidden {
  display: none;
}

.view-creator-profile__avatar-link {
  flex-shrink: 0;
  border-radius: 9999px;
  line-height: 0;
}

.view-creator-profile__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 27, 0.8);
}

.view-creator-profile__meta {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.view-creator-profile__label-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}

.view-creator-profile__label-link:hover .view-creator-profile__label,
.view-creator-profile__label-link:hover .view-creator-profile__label-arrow {
  color: #bbf7d0;
}

.view-creator-profile__label-arrow {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: #86efac;
}

.view-creator-profile--above-content {
  padding: 0 0 0.625rem;
  margin: 0 0 0.375rem -0.125rem;
}

@media (min-width: 640px) {
  .view-creator-profile--above-content {
    padding: 0 0 0.75rem;
  }
}

.view-creator-profile__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #86efac;
  line-height: 1.2;
}

.view-creator-profile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.view-creator-profile__handle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(244, 244, 245, 0.98);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.view-creator-profile__handle:hover {
  color: #fff;
}

.view-creator-profile__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  margin-left: auto;
}

.view-creator-profile__follow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  color: #0a0a0f;
  padding: 0.3125rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.view-creator-profile__follow:hover {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
  .view-creator-profile {
    padding: 0;
    margin-bottom: 1rem;
    gap: 0.625rem;
  }

  .view-creator-profile__avatar {
    width: 2.75rem;
    height: 2.75rem;
  }

  .view-creator-profile__label {
    font-size: 0.75rem;
  }

  .view-creator-profile__handle {
    font-size: 0.75rem;
  }

  .view-creator-profile__follow,
  .view-creator-profile__actions .profile-dm-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Creator profile link — green glass pill */
@keyframes creator-profile-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 4px 14px rgba(0, 0, 0, 0.22),
      0 0 16px rgba(16, 185, 129, 0.12);
    border-color: rgba(74, 222, 128, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 4px 18px rgba(0, 0, 0, 0.26),
      0 0 32px rgba(16, 185, 129, 0.38),
      0 0 56px rgba(16, 185, 129, 0.16);
    border-color: rgba(74, 222, 128, 0.52);
  }
}

@keyframes creator-profile-shine {
  0% {
    left: -130%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  42% {
    left: 145%;
    opacity: 1;
  }
  50%, 100% {
    left: 145%;
    opacity: 0;
  }
}

.creator-profile-link-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: rgba(187, 247, 208, 0.95);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.16) 0%,
    rgba(6, 95, 70, 0.1) 45%,
    rgba(10, 10, 15, 0.32) 100%
  );
  border: 1px solid rgba(74, 222, 128, 0.24);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: creator-profile-pulse 2.6s ease-in-out infinite;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.creator-profile-link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.04) 72%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: creator-profile-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.creator-profile-link-btn:hover:not(:disabled) {
  color: #ecfdf5;
  animation: none;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.22) 0%,
    rgba(6, 95, 70, 0.14) 45%,
    rgba(10, 10, 15, 0.28) 100%
  );
  border-color: rgba(74, 222, 128, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 18px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(16, 185, 129, 0.28);
  transform: translateY(-1px);
}

.creator-profile-link-btn:hover:not(:disabled)::before {
  animation-duration: 2.2s;
}

.creator-profile-link-btn:active:not(:disabled) {
  transform: translateY(0);
}

.creator-profile-link-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  animation: none;
}

.creator-profile-link-btn:disabled::before {
  animation: none;
}

.creator-profile-link-btn.hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .creator-profile-link-btn {
    animation: none;
  }
  .creator-profile-link-btn::before {
    animation: none;
    display: none;
  }
}

@media (max-width: 639px) {
  .creator-profile-link-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.875rem;
  }
}

/* Paste content footer — Copy / DATE / Views */
.paste-content-controls {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.8fr);
  gap: 0.375rem;
  align-items: stretch;
  width: 100%;
}

.paste-content-controls__copy,
.paste-content-controls__date,
.paste-content-controls__views {
  min-width: 0;
}

.paste-content-controls__copy {
  padding: 0.5rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.2;
}

.paste-content-controls__date,
.paste-content-controls__views {
  padding: 0.5rem 0.375rem;
}

.paste-content-controls__meta {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  line-height: 1.25;
  font-weight: 300;
  color: rgba(209, 213, 219, 1);
  text-align: center;
}

@media (min-width: 640px) {
  .paste-content-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .paste-content-controls__copy {
    flex: 0 0 auto;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }

  .paste-content-controls__copy-label::after {
    content: " Text";
  }

  .paste-content-controls__date,
  .paste-content-controls__views {
    flex: 0 0 auto;
    padding: 0.625rem 1rem;
  }

  .paste-content-controls__meta {
    font-size: 0.875rem;
  }
}


 .loading-spinner {
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 45%),
    linear-gradient(180deg, #020202 0%, #060608 30%, #08080c 60%, #030305 100%);
  background-attachment: fixed;
}

#loading-status, #loading-details {
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced glow for progress bar */
#loading-progress {
  box-shadow: 
    0 0 15px rgba(34, 197, 94, 0.4),
    0 0 30px rgba(34, 197, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Smoother bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-8px) scale(1.1);
    opacity: 1;
  }
  60% {
    transform: translateY(-4px) scale(1.05);
    opacity: 0.9;
  }
}

/* Entrance animation */
.loading-spinner > div {
  animation: fadeInScale 0.8s ease-out;
}

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

/* --- section --- */

/* Animation for premium button shimmer effect */
    @keyframes shimmer {
      0% { background-position: -100% 0; }
      100% { background-position: 100% 0; }
    }
    
    /* Ensure Quill content display styling matches our theme */
    .ql-editor {
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.8;
      text-align: left;
      white-space: pre-wrap;
      word-wrap: break-word;
      font-size: 16px;
      letter-spacing: 0.3px;
      font-weight: 400;
      background: transparent;
      border: none !important;
    }
    
    /* Fix for Quill container */
    .ql-container.ql-snow {
      border: none !important;
      background: transparent !important;
    }

/* --- section --- */

@media (max-width:768px){
  body{ padding-bottom:5rem !important; }
  #wait-screen{ 
    padding-left:2px !important; 
    padding-right:2px !important; 
    margin-left:0 !important; 
    margin-right:0 !important; 
    width: calc(100% - 4px) !important;
    max-width: none !important;
  }
}
