
:root {
  --bg-dark: #07080D;
  --bg-surface: rgba(18, 20, 31, 0.85);
  --bg-surface-elevated: rgba(26, 29, 44, 0.9);
  --glass-border: rgba(255, 255, 255, 0.18);

  --accent-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
  --accent-pink: rgba(255, 255, 255, 0.9);
  --accent-purple: rgba(255, 255, 255, 0.7);
  --accent-blue: rgba(255, 255, 255, 0.8);
  --gold-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
  
  --text-main: #FFFFFF;
  --text-sub: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.55);
  
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --radius-full: 9999px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

*, *::before, *::after,
html, body, div, section, main, article, aside, header, footer,
.scrollable, .modal-card, .modal-backdrop, .comments-list,
#inboxThreadMessages, #chatMessagesList, #creatorModal, .modal-card.drawer-style,
.filter-pills, .gift-grid, .conversations-list, #creatorVideoGrid, #viewMessages {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
div::-webkit-scrollbar,
section::-webkit-scrollbar,
main::-webkit-scrollbar,
article::-webkit-scrollbar,
aside::-webkit-scrollbar,
header::-webkit-scrollbar,
footer::-webkit-scrollbar,
.scrollable::-webkit-scrollbar,
.modal-card::-webkit-scrollbar,
.modal-backdrop::-webkit-scrollbar,
.comments-list::-webkit-scrollbar,
#inboxThreadMessages::-webkit-scrollbar,
#chatMessagesList::-webkit-scrollbar,
#creatorModal::-webkit-scrollbar,
.modal-card.drawer-style::-webkit-scrollbar,
.filter-pills::-webkit-scrollbar,
.gift-grid::-webkit-scrollbar,
.conversations-list::-webkit-scrollbar,
#creatorVideoGrid::-webkit-scrollbar,
#viewMessages::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

body {
  background: #000000;
  color: var(--text-main);
  font-family: var(--font-family);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-container {
  width: 100%;
  max-width: 450px;
  height: 100vh;
  max-height: 920px;
  background: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

.bg-video-element,
.card-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 450px) {
  .app-container {
    height: 94vh;
    border-radius: 36px;
    border: 1px solid var(--glass-border);
  }
}

/* ==========================================================================
   HIGH-REFRACTION LIQUID GLASS TOOLBAR (LUCAS ROMERO DB ARCHITECTURE)
   ========================================================================== */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.liquidGlass-wrapper.bottom-app-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 28px);
  max-width: 420px;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.liquidGlass-wrapper.bottom-app-nav:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 110, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  filter: url(#glass-distortion);
  pointer-events: none;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 2px 2px 3px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 2px 1px rgba(255, 255, 255, 0.3);
}

.liquidGlass-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 55%
  );
  animation: liquidShimmer 6s infinite linear;
  pointer-events: none;
}

@keyframes liquidShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.liquidGlass-text {
  z-index: 3;
  color: #ffffff;
  width: 100%;
}

.dock {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 10px;
  width: 100%;
}

/* APP NAVIGATION BUTTONS INSIDE DOCK (AIR & MINIMALIST ELEGANCE) */
.app-nav-buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.nav-item {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-item:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-item.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 12px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.nav-svg-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-item:hover .nav-svg-icon {
  transform: scale(1.1);
  stroke: #FFFFFF;
}

.nav-item.active .nav-svg-icon {
  transform: scale(1.05);
  stroke: #FFFFFF;
}

/* Upload (+) Button in center: Pure Frosted Pearl Minimalist Pill */
.upload-btn {
  width: 42px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  color: #080A10;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.upload-btn:hover {
  background: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.45);
}

.upload-svg-icon {
  width: 20px;
  height: 20px;
  stroke: #080A10;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.upload-btn:hover .upload-svg-icon {
  transform: rotate(90deg);
}

.dot-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   TOP NAV & VIEWS
   ========================================================================== */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  pointer-events: auto;
}

.nav-brand { display: flex; align-items: center; gap: 6px; }

.logo-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.nav-tabs { display: flex; gap: 16px; }

.tab-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
  transition: all 0.2s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.tab-btn.active { color: var(--text-main); font-weight: 800; }

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.screen-title { font-weight: 800; font-size: 17px; letter-spacing: 0.5px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }

.coin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: inherit;
  color: #FFFFFF;
}

.coin-badge:active { transform: scale(0.94); }
.coin-svg-icon { width: 14px; height: 14px; stroke: #FFFFFF; }
.coin-amount { font-weight: 700; font-size: 13px; color: #FFFFFF; }
.coin-plus { color: rgba(255, 255, 255, 0.7); font-weight: 800; font-size: 12px; }

/* VIEW ROUTER WITH SMOOTH PAGE TRANSITIONS */
.view-screen {
  flex: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  padding-bottom: 95px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.38s linear;
  pointer-events: none;
  z-index: 1;
  will-change: opacity, transform;
}

.view-screen.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 10;
}

.view-screen:not(#viewFeed) {
  background: #000000 !important;
}

#viewCreatorProfile, #viewProfile {
  padding-top: 0 !important;
}

#inboxListView, #inboxThreadView {
  animation: fadeInSlide 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.screen-content { flex: 1; width: 100%; height: 100%; padding: 16px; overflow-y: auto; }
.screen-content.scrollable { overflow-y: auto; }

/* FEED CARDS & OVERLAYS */
#viewFeed { padding-top: 0; padding-bottom: 0; }
.feed-slider { width: 100%; height: calc(100% - 102px); position: relative; }

.video-card {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-card.active { opacity: 1; pointer-events: auto; }
.video-media-wrapper { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }

.video-sim-bg {
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mesh-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  filter: blur(50px);
  animation: pulseGlow 4s infinite alternate;
}

.animated-sound-wave { display: flex; gap: 4px; align-items: flex-end; height: 30px; z-index: 2; }
.animated-sound-wave span {
  width: 4px;
  height: 100%;
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  animation: wave 1s infinite alternate ease-in-out;
}
.animated-sound-wave span:nth-child(2) { animation-delay: 0.2s; }
.animated-sound-wave span:nth-child(3) { animation-delay: 0.4s; }
.animated-sound-wave span:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave { 0% { height: 6px; } 100% { height: 30px; } }
.play-state-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 25;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.video-card.paused .play-state-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.teaser-bar {
  position: absolute;
  top: 75px;
  left: 20px;
  z-index: 40;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.teaser-bar.free-badge { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }

.teaser-bar.expired {
  background: rgba(255, 45, 85, 0.2);
  border-color: rgba(255, 45, 85, 0.6);
  color: #FF2D55;
}

.teaser-dot {
  width: 8px;
  height: 8px;
  background: #FF2D55;
  border-radius: 50%;
  box-shadow: 0 0 10px #FF2D55;
  animation: pulseDot 1.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.action-sidebar {
  position: absolute;
  right: 14px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.creator-avatar-wrap { position: relative; margin-bottom: 4px; cursor: pointer; }
.avatar-img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); object-fit: cover; transition: all 0.3s ease; }
.creator-avatar-wrap.subscribed .avatar-img {
  border-color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
}

.follow-btn {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.95);
  color: #080A10;
  border: none;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.follow-btn:hover {
  transform: translateX(-50%) scale(1.15);
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

.follow-btn.following {
  background: #FFFFFF;
  color: #080A10;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
  animation: followPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes followPop {
  0% { transform: translateX(-50%) scale(0.8); }
  50% { transform: translateX(-50%) scale(1.35); }
  100% { transform: translateX(-50%) scale(1); }
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.action-btn:active .icon-circle { transform: scale(0.9); }
.action-btn svg { width: 20px; height: 20px; }
.action-svg-icon { width: 20px; height: 20px; stroke: #FFFFFF; }

.action-btn.active .icon-circle {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.like-btn.active .icon-circle {
  background: rgba(255, 45, 85, 0.25);
  border-color: #FF2D55;
  color: #FF2D55;
  box-shadow: 0 0 16px rgba(255, 45, 85, 0.6);
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn.active svg {
  fill: #FF2D55;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.icon-circle.gold-glow { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.35); }
.audio-disc-wrapper {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.tonearm-svg {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
  transform-origin: 30px 8px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audio-disc-wrapper:hover .tonearm-svg {
  transform: rotate(-12deg);
}

.audio-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, #202432 15%, #0c0e16 65%, #040508 100%);
  padding: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audio-disc:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.35);
}

.vinyl-groove {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.disc-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.disc-center-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #080A10;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

.spinning {
  animation: vinylSpin 6s linear infinite;
}

@keyframes vinylSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.creator-meta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 80px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.creator-identity { display: flex; align-items: center; gap: 6px; }
.username { font-weight: 800; font-size: 16px; }

.verified-badge {
  background: #0084FF;
  color: #ffffff;
  font-size: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: none;
  box-shadow: 0 0 8px rgba(0, 132, 255, 0.6);
}

.badge-vip {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #080A10;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  border: none;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.caption { font-size: 13px; color: var(--text-sub); line-height: 1.4; font-weight: 500; }
.hashtag { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.audio-track-info { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.music-svg-icon { width: 14px; height: 14px; stroke: rgba(255, 255, 255, 0.7); }

.feed-swipe-hint {
  position: absolute;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  animation: bounceHint 2s infinite;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
@keyframes bounceHint { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

.paywall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 95 !important;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.glass-paywall-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lock-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.lock-svg { width: 24px; height: 24px; stroke: #FFFFFF; }

.glass-paywall-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.glass-paywall-card p { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }

.unlock-price-tag { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 18px; }
.price-amount { font-size: 34px; font-weight: 800; color: #FFFFFF; }
.price-unit { font-size: 14px; color: var(--text-sub); font-weight: 600; }

.btn-primary-gradient {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
  color: #080A10;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-primary-gradient:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.btn-primary-gradient:active { transform: scale(0.97); }
.subtext-secure { font-size: 11px; color: var(--text-muted); margin-top: 12px; }

/* OTHER VIEWS */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.search-svg-icon { width: 18px; height: 18px; stroke: var(--text-muted); }
.search-box input { background: none; border: none; outline: none; color: #fff; font-family: inherit; font-size: 14px; width: 100%; }

.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 16px; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}
.pill-btn.active {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.section-title-wrap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.section-title-wrap h3 { font-size: 16px; font-weight: 800; }
.link-see-all { font-size: 12px; color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 600; }

.creators-horizontal-grid { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px; scrollbar-width: none; }
.creators-horizontal-grid::-webkit-scrollbar { display: none; }
.creator-card-small { min-width: 130px; height: 170px; border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; border: 1px solid var(--glass-border); }
.creator-card-small img { width: 100%; height: 100%; object-fit: cover; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.c-name { font-weight: 800; font-size: 13px; color: #fff; }
.c-subs { font-size: 10px; color: var(--text-sub); }

.inbox-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.inbox-header h2 { font-size: 20px; font-weight: 800; }
.unread-pill { background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid rgba(255, 255, 255, 0.25); }
.conversations-list { display: flex; flex-direction: column; gap: 12px; }
.chat-row { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border); padding: 12px 14px; border-radius: var(--radius-lg); cursor: pointer; backdrop-filter: blur(16px); }
.chat-row.unread { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); }
.chat-avatar-wrap { position: relative; }
.chat-avatar-wrap img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.online-indicator { width: 10px; height: 10px; background: #FFFFFF; border: 2px solid var(--bg-dark); border-radius: 50%; position: absolute; bottom: 0; right: 0; box-shadow: 0 0 6px rgba(255, 255, 255, 0.8); }
.chat-info { flex: 1; }
.chat-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.chat-name { font-weight: 800; font-size: 14px; }
.chat-time { font-size: 11px; color: var(--text-muted); }
.chat-preview { font-size: 12px; color: var(--text-sub); }

.profile-header-card { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; position: relative; margin-bottom: 20px; backdrop-filter: blur(20px); }
.settings-gear-btn { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gear-svg-icon { width: 18px; height: 18px; stroke: #FFFFFF; }
.profile-avatar-large { position: relative; margin-bottom: 12px; }
.profile-avatar-large img { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); object-fit: cover; }
.profile-badge-verify { position: absolute; bottom: 0; right: -4px; background: rgba(255, 255, 255, 0.9); color: #080A10; font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: var(--radius-full); }
.profile-name { font-size: 20px; font-weight: 800; }
.profile-handle { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }

.vip-status-card { width: 100%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-lg); padding: 12px 14px; display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 16px; backdrop-filter: blur(10px); }
.crown-svg-icon { width: 24px; height: 24px; stroke: #FFFFFF; }
.vip-info { display: flex; flex-direction: column; text-align: left; flex: 1; }
.vip-title { font-weight: 700; font-size: 13px; color: #FFFFFF; }
.vip-sub { font-size: 11px; color: var(--text-sub); }
.btn-sm-gold { background: rgba(255, 255, 255, 0.95); color: #080A10; border: none; font-weight: 700; font-size: 11px; padding: 6px 12px; border-radius: var(--radius-full); cursor: pointer; transition: all 0.2s ease; }
.btn-sm-gold:hover { background: #FFFFFF; transform: translateY(-1px); }

.settings-top-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.back-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border); color: #fff; padding: 8px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; cursor: pointer; backdrop-filter: blur(16px); }
.settings-group { margin-bottom: 24px; }
.setting-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-border); padding: 14px 16px; border-radius: var(--radius-lg); margin-bottom: 8px; backdrop-filter: blur(16px); }
.setting-item.clickable { cursor: pointer; }
.setting-info { display: flex; flex-direction: column; gap: 2px; }
.setting-title { font-weight: 700; font-size: 14px; }
.setting-desc { font-size: 11px; color: var(--text-sub); }

/* MODALS WITH INSTANT OPAQUE BLACK BACKDROP & SMOOTH SLIDE-UP DRAWER */
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 300;
  background: #000000 !important;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s, opacity 0s;
}

.modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #000000 !important;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 24px 20px 36px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.modal-header h2 { font-size: 17px; font-weight: 800; }
.close-btn { background: rgba(255, 255, 255, 0.1); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.modal-desc { font-size: 12px; color: var(--text-sub); margin-bottom: 20px; }

.coin-packs-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.coin-pack { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.coin-pack.featured { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.pack-badge { font-size: 9px; font-weight: 800; color: var(--text-muted); }
.pack-badge.hot { color: #FFFFFF; }
.pack-coins { font-size: 15px; font-weight: 700; color: #FFFFFF; }
.pack-price { font-size: 15px; font-weight: 700; }

.comments-list { display: flex; flex-direction: column; gap: 14px; max-height: 250px; overflow-y: auto; margin-bottom: 16px; }
.comment-item { display: flex; gap: 10px; }
.comment-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.c-body { display: flex; flex-direction: column; gap: 2px; }
.c-user { font-size: 12px; font-weight: 800; }
.c-text { font-size: 13px; color: var(--text-sub); }
.c-time { font-size: 10px; color: var(--text-muted); }

.add-comment-box { display: flex; gap: 10px; }
.add-comment-box input { flex: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-border); border-radius: var(--radius-full); padding: 10px 16px; color: #fff; outline: none; font-family: inherit; }
.send-comment-btn { background: rgba(255, 255, 255, 0.95); border: none; color: #080A10; font-weight: 700; padding: 0 18px; border-radius: var(--radius-full); cursor: pointer; }

.gift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.gift-card { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: all 0.2s ease; }
.gift-card.active, .gift-card:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.14); }
.gift-svg { width: 28px; height: 28px; stroke: #FFFFFF; }
.gift-name { font-size: 12px; font-weight: 700; }
.gift-cost { font-size: 11px; color: rgba(255, 255, 255, 0.85); font-weight: 700; }

.upload-dropzone { border: 2px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius-lg); padding: 24px; text-align: center; background: rgba(255,255,255,0.03); }
.video-camera-svg { width: 36px; height: 36px; stroke: rgba(255, 255, 255, 0.8); margin-bottom: 6px; }
.text-pink { color: #FFFFFF; text-decoration: underline; }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.w-100 { width: 100%; }

/* GIFT EMBED ANIMATION IN PRIVATE CHAT */
.gift-embed-card-chat {
  animation: giftEmbedGlow 2.5s infinite alternate ease-in-out;
}
@keyframes giftEmbedGlow {
  0% {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.2);
  }
  100% {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 22px rgba(255, 215, 0, 0.5);
  }
}

/* FULL-SCREEN CHAT CONVERSATION MODE */
.app-container.chat-thread-open .liquidGlass-wrapper {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(140%) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-container.chat-thread-open #topNav {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-container.chat-thread-open #viewMessages {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  height: 100% !important;
  z-index: 150 !important;
}

.app-container.chat-thread-open #viewMessages .screen-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 8px 16px 8px 16px !important;
}

.app-container.chat-thread-open #inboxThreadView {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
}

.app-container.chat-thread-open #inboxThreadMessages {
  flex: 1 !important;
  max-height: none !important;
  height: 100% !important;
}

.app-container.chat-thread-open #inboxThreadView .add-comment-box {
  margin-top: auto !important;
  padding-top: 8px !important;
  padding-bottom: 2px !important;
}
