/* CSS Reset & Variables */
:root {
  --bg-dark: #010101;
  --bg-card: #121212;
  --bg-input: #1f1f1f;
  --text-white: #ffffff;
  --text-gray: #a8a8a8;
  --text-muted: #757575;
  --tiktok-pink: #fe2c55;
  --tiktok-cyan: #25f4ee;
  --tiktok-cyan-glow: rgba(37, 244, 238, 0.4);
  --tiktok-pink-glow: rgba(254, 44, 85, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-premium: 0 8px 30px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: #080808;
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Background Decorative Blurs */
.bg-blur {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.blur-1 {
  background: var(--tiktok-pink);
  top: 10%;
  left: calc(50% - 350px);
}

.blur-2 {
  background: var(--tiktok-cyan);
  bottom: 10%;
  right: calc(50% - 350px);
}

/* Main Container Wrapper (Simulated Device on Desktop) */
.wrap {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-dark);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 10;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
}

/* Topbar Sticky Navigation */
.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 1, 1, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.topbar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.topbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.topbar-btn svg {
  width: 20px;
  height: 20px;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.verified-badge {
  color: var(--tiktok-cyan);
  display: inline-flex;
  align-items: center;
}

.verified-badge svg {
  width: 15px;
  height: 15px;
}

/* Profile Section Layout */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  text-align: center;
}

/* Avatar with follow plus animation badge */
.avatar-container {
  position: relative;
  margin-bottom: 16px;
}

.avatar-ring {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--tiktok-pink) 0%, var(--tiktok-cyan) 100%);
  animation: rotateRing 10s linear infinite;
  box-shadow: 0 0 20px rgba(254, 44, 85, 0.25);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-dark);
  background-color: var(--bg-card);
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-plus {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(25%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--tiktok-pink);
  border: 2px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(254, 44, 85, 0.4);
  transition: var(--transition-smooth);
}

.avatar-plus:hover {
  transform: translateX(-50%) translateY(25%) scale(1.15);
}

.avatar-plus svg {
  width: 16px;
  height: 16px;
}

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

.profile-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  font-size: 15px;
  color: var(--tiktok-cyan);
  background: rgba(37, 244, 238, 0.1);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.profile-handle {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
  margin-top: 4px;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 18px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-val {
  font-size: 17px;
  font-weight: 800;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

.font-glow .stat-val {
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Action Row (Buttons) */
.action-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
}

.btn {
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  flex: 1;
  background-color: var(--tiktok-pink);
  color: var(--text-white);
  box-shadow: 0 4px 15px var(--tiktok-pink-glow);
}

.btn-primary:hover {
  background-color: #e5284e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.6);
}

.btn-primary.following {
  background-color: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.btn-secondary {
  flex: 1;
  background-color: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  background-color: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

/* Bio Container */
.bio-container {
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.bio-text {
  font-size: 14px;
  color: #eeeeee;
  line-height: 1.6;
}

.bio-text strong {
  color: var(--text-white);
  font-size: 15px;
}

.bio-text .highlight {
  color: var(--tiktok-cyan);
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.bio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--tiktok-blue);
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  transition: var(--transition-smooth);
}

.bio-link:hover {
  text-decoration: underline;
  color: var(--tiktok-cyan);
}

.link-icon {
  width: 14px;
  height: 14px;
}

/* Playlist / Sorotan Section */
.playlist-section {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255,255,255,0.01);
}

.section-title-mini {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.playlist-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.playlist-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.playlist-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.playlist-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--tiktok-cyan);
  transform: scale(1.03);
}

.playlist-icon {
  font-size: 14px;
}

/* Tabs Bar */
.tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-dark);
  position: sticky;
  top: 60px;
  z-index: 50;
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn svg {
  width: 22px;
  height: 22px;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  color: var(--text-white);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 99px;
}

/* Tabs content & Panels */
.tabs-content {
  width: 100%;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

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

/* Post Video Grid (3 columns, 9:16 aspect ratio) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--bg-dark);
}

.video-card {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background-color: #141414;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.06);
}

/* Pinned badges on posts */
.badge-pin, .badge-hot {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.badge-pin {
  background-color: var(--tiktok-pink);
  color: var(--text-white);
}

.badge-hot {
  background-color: #ff9800;
  color: var(--text-white);
}

/* Views Count Overlay bottom left */
.video-stats {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.video-stats svg {
  width: 12px;
  height: 12px;
}

.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 40%);
  z-index: 1;
}

/* Locked State styling for empty/conversion tabs */
.locked-tab-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.locked-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.locked-icon svg {
  width: 28px;
  height: 28px;
}

.locked-tab-state h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.locked-tab-state p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 24px;
  line-height: 1.5;
}

.locked-tab-state .btn-primary {
  width: 100%;
  max-width: 220px;
}

/* Sections General Design */
.section {
  padding: 24px 20px;
  border-top: 8px solid #080808; /* Thick TikTok separator style */
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.2px;
}

.sub-header-link {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  cursor: pointer;
}

/* Reviews (TikTok comments design) */
.comment-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 12px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f5bd5 0%, #962fbf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
}

.comment-content {
  display: flex;
  flex-direction: column;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 3px;
}

.comment-text {
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.45;
}

.comment-footer {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  align-items: center;
}

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  font-weight: 700;
  cursor: pointer;
}

/* Nested Reply inside Comment */
.comment-reply {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-left: 4px;
  border-left: 2px solid var(--border-color);
}

.comment-reply-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--tiktok-pink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.comment-reply-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.comment-reply-text {
  font-size: 13px;
  color: #eeeeee;
  line-height: 1.4;
}

.comment-reply-footer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Comment Like Button (Right column) */
.comment-like-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
  gap: 2px;
}

.comment-like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.comment-like-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2.5;
  transition: var(--transition-smooth);
}

.comment-like-btn.liked svg {
  fill: var(--tiktok-pink);
  stroke: var(--tiktok-pink);
  transform: scale(1.2);
}

.comment-likes-count {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* FAQ Q&A Accordion styling */
.qa-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.qa-card.active {
  border-color: rgba(37, 244, 238, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.qa-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--text-white);
}

.qa-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.q-badge {
  background-color: var(--tiktok-cyan);
  color: #000000;
}

.a-badge {
  background-color: var(--tiktok-pink);
  color: var(--text-white);
}

.qa-question {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.qa-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}

.qa-arrow svg {
  width: 18px;
  height: 18px;
}

.qa-card.active .qa-arrow {
  transform: rotate(180deg);
  color: var(--text-white);
}

.qa-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qa-inner {
  padding: 0 16px 16px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
}

.qa-answer {
  font-size: 13.5px;
  color: #d1d1d1;
  line-height: 1.5;
}

/* Sticky Bottom Call-To-Action Nav Bar (TikTok Neon CTA Style) */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 1000;
  background: rgba(1, 1, 1, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nav-btn {
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn-login {
  background-color: var(--bg-card);
  color: var(--text-white);
  border: 1.5px solid var(--tiktok-cyan);
  box-shadow: 0 0 10px rgba(37, 244, 238, 0.2);
}

.nav-btn-login:hover {
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 16px var(--tiktok-cyan-glow);
  transform: translateY(-2px);
}

.nav-btn-register {
  background-color: var(--tiktok-pink);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(254, 44, 85, 0.3);
}

.nav-btn-register:hover {
  background-color: #e5284e;
  box-shadow: 0 0 16px var(--tiktok-pink-glow);
  transform: translateY(-2px);
}

/* Neon Glow Utility class */
.font-glow {
  animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
  from {
    filter: drop-shadow(0 0 2px rgba(254, 44, 85, 0.2));
  }
  to {
    filter: drop-shadow(0 0 8px rgba(254, 44, 85, 0.5)) drop-shadow(0 0 12px rgba(37, 244, 238, 0.3));
  }
}

/* Mobile Responsiveness Fine-Tuning */
@media (max-width: 360px) {
  .stats-row {
    gap: 16px;
  }
  .profile-title {
    font-size: 19px;
  }
  .qa-question {
    font-size: 13px;
  }
  .comment-text {
    font-size: 13px;
  }
}

/* Simulated TikTok Video Modal Styles */
.video-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: #000000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpModal 0.35s cubic-bezier(0.32, 0.94, 0.6, 1);
}

@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  z-index: 2100;
}

.modal-close-btn, .modal-action-btn {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover, .modal-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.modal-close-btn svg, .modal-action-btn svg {
  width: 22px;
  height: 22px;
}

.modal-nav-tabs {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal-nav-tabs span {
  cursor: pointer;
  padding-bottom: 4px;
}

.modal-nav-tabs span.active {
  color: var(--text-white);
  border-bottom: 2.5px solid var(--text-white);
}

/* Video Frame simulation */
.modal-video-container {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.1); }
}

.video-play-overlay {
  position: absolute;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.7);
  display: none;
  pointer-events: none;
  z-index: 1000;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.3);
  align-items: center;
  justify-content: center;
}

.video-play-overlay svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* Right Sidebar Icons */
.modal-sidebar {
  position: absolute;
  right: 12px;
  bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  z-index: 2100;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.sidebar-icon-container {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-item:hover .sidebar-icon-container {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-icon-container svg {
  width: 22px;
  height: 22px;
}

.sidebar-item.liked .sidebar-icon-container svg {
  fill: var(--tiktok-pink);
  color: var(--tiktok-pink);
  filter: drop-shadow(0 0 5px var(--tiktok-pink));
  transform: scale(1.15);
}

.profile-sidebar {
  position: relative;
  margin-bottom: 8px;
}

.sidebar-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--text-white);
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sidebar-avatar-plus {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--tiktok-pink);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 5px rgba(254,44,85,0.8);
  transition: var(--transition-smooth);
}

.sidebar-avatar-plus:hover {
  transform: translateX(-50%) scale(1.2);
}

.rotating-disk-container {
  margin-top: 8px;
}

.vinyl-disk {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0b0b0b;
  border: 6px solid #222222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateDisk 4s linear infinite;
  box-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

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

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

/* Bottom Text Info */
.modal-info-overlay {
  position: absolute;
  left: 16px;
  bottom: 120px;
  right: 76px;
  z-index: 2100;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  text-align: left;
}

.modal-user-handle {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-white);
  margin-bottom: 6px;
  cursor: pointer;
}

.modal-video-desc {
  font-size: 13px;
  color: #f1f1f1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hashtag {
  color: var(--tiktok-cyan);
  font-weight: 700;
}

.modal-music-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-white);
  cursor: pointer;
  overflow: hidden;
  width: 100%;
}

.music-note-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ticker-text-wrapper {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollTicker 14s linear infinite;
  font-size: 12px;
  font-weight: 600;
}

@keyframes scrollTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Call-to-action bottom banner overlay */
.modal-cta-banner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  padding: 12px 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2100;
  border-top: 1.5px solid var(--border-color);
}

.modal-cta-btn {
  width: 100%;
  height: 46px;
  border-radius: 8px;
  background-color: var(--tiktok-pink);
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 4px 15px var(--tiktok-pink-glow);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.modal-cta-btn:hover {
  background-color: #e5284e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.7);
}

/* Floating heart animation on double tap */
.heart-burst-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1005;
}

.floating-heart {
  position: absolute;
  color: var(--tiktok-pink);
  width: 80px;
  height: 80px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: heartPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  filter: drop-shadow(0 2px 10px rgba(254,44,85,0.6));
}

@keyframes heartPop {
  0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
  15% { transform: translate(-50%, -50%) scale(1.2) rotate(-15deg); opacity: 0.9; }
  30% { transform: translate(-50%, -50%) scale(1.0) rotate(10deg); opacity: 1; }
  80% { transform: translate(-50%, -100%) scale(0.9) rotate(0deg); opacity: 0.8; }
  100% { transform: translate(-50%, -150%) scale(0) rotate(-10deg); opacity: 0; }
}

