/* ==========================================================================
   XIT FILM - Premium TikTok / Reels Vertical Shorts CSS
   ========================================================================== */

:root {
  --shorts-bg: #000000;
  --shorts-card-bg: #09090e;
  --primary-glow: rgba(139, 92, 246, 0.4);
}

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

body.shorts-body {
  background: var(--shorts-bg);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Header Top Bar */
.shorts-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.shorts-topbar * {
  pointer-events: auto;
}

.shorts-logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.shorts-logo span {
  color: #8b5cf6;
}

.shorts-logo .badge-tag {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shorts-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.top-btn:hover {
  background: rgba(139, 92, 246, 0.5);
  transform: scale(1.05);
}

.partner-btn {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border: none;
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Vertical Feed Container */
.shorts-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #000;
}

.shorts-container::-webkit-scrollbar {
  display: none;
}

/* Single Short Item */
.short-item {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.short-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
}

.short-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Play/Pause Pulse Animation */
.play-pause-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  font-size: 55px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.play-pause-icon.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Overlay Gradients */
.short-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.short-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Action Sidebar (Right Side) */
.short-sidebar {
  position: absolute;
  right: 16px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 20;
}

.action-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.action-btn:hover, .action-btn:active {
  transform: scale(1.15);
}

.action-btn.liked {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.action-btn.code-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-weight: 900;
  font-size: 12px;
  border: none;
}

.action-count {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Bottom Content Info */
.short-info {
  position: absolute;
  left: 16px;
  right: 75px;
  bottom: 80px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.short-creator-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.short-creator-tag .verified-icon {
  color: #38bdf8;
  font-size: 13px;
}

.short-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Full Movie CTA Action Buttons */
.short-cta-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cta-watch-btn {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
  text-decoration: none;
  transition: transform 0.2s;
}

.cta-watch-btn:hover {
  transform: scale(1.03);
}

.cta-bot-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.cta-bot-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Playback Progress Bar */
.short-progress-container {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 25;
  cursor: pointer;
}

.short-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  transition: width 0.1s linear;
}

/* Bottom Nav Bar */
.shorts-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: 0.2s;
}

.nav-item i {
  font-size: 18px;
}

.nav-item.active {
  color: #8b5cf6;
}

.nav-item.active i {
  color: #a78bfa;
  transform: scale(1.1);
}

/* Loading Spinner */
.shorts-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 15px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ==========================================================================
   Auto Advance Button
   ========================================================================== */
.auto-advance-btn {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auto-advance-btn.active {
  background: rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
  color: #c4b5fd;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.auto-advance-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Volume Toast Notification
   ========================================================================== */
.volume-toast {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

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

/* ==========================================================================
   Desktop Keyboard Shortcuts Hint
   ========================================================================== */
.desktop-shortcuts-hint {
  position: fixed;
  top: 80px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.7;
}

.desktop-shortcuts-hint span {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-shortcuts-hint kbd {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 10px;
  color: #fff;
}

@media (max-width: 900px) {
  .desktop-shortcuts-hint {
    display: none;
  }
}

/* ==========================================================================
   Double Tap Floating Heart Burst Effect
   ========================================================================== */
.floating-heart {
  position: absolute;
  font-size: 70px;
  color: #ef4444;
  filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.8));
  pointer-events: none;
  z-index: 40;
  animation: heartBurst 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(-15deg);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3) rotate(0deg);
  }
  40% {
    transform: translate(-50%, -50%) scale(1) rotate(5deg);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -100px) scale(1.1) rotate(-5deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -140px) scale(0.8);
  }
}

/* ==========================================================================
   Shorts Modals (Overlay & Card)
   ========================================================================== */
.shorts-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.shorts-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.shorts-modal-card {
  width: 100%;
  max-width: 500px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px 20px 40px;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.shorts-modal-overlay.active .shorts-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Movie Info Modal Content */
.movie-info-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.m-info-poster {
  width: 80px;
  height: 115px;
  border-radius: 12px;
  object-fit: cover;
  background: #1e1e2d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-info-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-info-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.m-info-meta h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.m-info-tags {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.m-info-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
  max-height: 120px;
  overflow-y: auto;
}

.m-info-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-info-btn {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: 0.2s;
}

.m-info-btn.primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.m-info-btn.bot {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.m-info-btn:hover {
  transform: translateY(-2px);
}

/* Comments Modal Content */
.comments-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.comments-card-header .flex-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-card-header h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.quick-reactions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.quick-reactions::-webkit-scrollbar {
  display: none;
}

.reaction-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s;
}

.reaction-chip:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: #8b5cf6;
}

.comments-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 180px;
  max-height: 300px;
  padding-right: 4px;
}

.comment-item {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
}

.comment-user-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 3px;
}

.comment-user-name {
  color: #f1f5f9;
}

.comment-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.35;
}

.comments-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  gap: 10px;
}

.comments-empty i {
  font-size: 32px;
  opacity: 0.5;
}

.comment-input-form {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.comment-input-form input {
  flex: 1;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.comment-input-form input:focus {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.06);
}

.comment-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.comment-send-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Feed Tabs (Instagram Reels Style)
   ========================================================================== */
.shorts-feed-tabs-container {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 4px 16px;
}

.shorts-feed-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 6px;
  border-radius: 25px;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.feed-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.feed-tab.active {
  background: #fff;
  color: #09090e;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.feed-tab:not(.active):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   2X Speed Indicator Badge (Press & Hold)
   ========================================================================== */
.speed-indicator-badge {
  position: fixed;
  top: 110px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(239, 68, 68, 0.95));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.speed-indicator-badge.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ==========================================================================
   Creator Follow Button
   ========================================================================== */
.creator-follow-btn {
  background: #8b5cf6;
  border: none;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.creator-follow-btn.following {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

.creator-follow-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Bookmark (Saqlash) Button
   ========================================================================== */
.action-btn.bookmarked {
  background: rgba(245, 158, 11, 0.3) !important;
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4) !important;
}

/* ==========================================================================
   Soundtrack & Spinning Vinyl Record (Instagram Reels element)
   ========================================================================== */
.short-soundtrack-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.short-soundtrack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.short-soundtrack i {
  color: #ec4899;
  font-size: 11px;
}

.spinning-vinyl {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #09090e;
  border: 4px solid #1e1e2d;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  animation: vinylSpin 3s linear infinite;
  cursor: pointer;
}

.spinning-vinyl::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.spinning-vinyl.paused {
  animation-play-state: paused;
}

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

/* Category / Genre Badges */
.short-genre-tag {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-right: 6px;
}

/* ==========================================================================
   Instagram Creator Profile Modal & Reels Grid
   ========================================================================== */
.creator-profile-card {
  max-width: 480px;
  width: 95%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: rgba(18, 18, 28, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  overflow-y: auto;
}

.creator-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.creator-avatar-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
}

.creator-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #09090e;
  background: #1e1e2d;
}

.creator-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #181824;
  border: 2px solid #09090e;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.creator-profile-stats {
  flex: 1;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

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

.c-stat-val {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.c-stat-lbl {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

.creator-bio-section {
  margin-bottom: 16px;
}

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.creator-name-row h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.creator-tag {
  font-size: 13px;
  color: #8b5cf6;
  font-weight: 700;
  margin-top: 2px;
}

.creator-bio-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-top: 6px;
}

.creator-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.c-action-btn {
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.c-action-btn.follow {
  background: #8b5cf6;
  color: #fff;
}

.c-action-btn.follow.following {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

.c-action-btn.telegram {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.c-action-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.creator-grid-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  margin-bottom: 12px;
}

.creator-shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  overflow-y: auto;
}

.c-grid-card {
  aspect-ratio: 9/16;
  background: #181824;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.c-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-grid-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px;
}

.c-grid-views {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.c-grid-card:hover {
  transform: scale(1.03);
  border-color: #8b5cf6;
}

/* Comments Creator Badge & Author Styles */
.comment-author-badge {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.comment-avatar.clickable,
.comment-user-name.clickable,
.short-creator-tag.clickable {
  cursor: pointer;
  transition: 0.2s;
}

.short-creator-tag.clickable:hover {
  transform: scale(1.04);
  color: #c4b5fd;
}



