@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #000000;
  --bg-surface: #0E1017;
  --bg-surface-elevated: #141722;
  --accent-cyan: #00F2FE;
  --accent-pink: #FE2C55; /* TikTok signature red/pink */
  --accent-gold: #FFD700;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body {
  background-color: #050608;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100vh;
}

/* Completely Hide All Scrollbars (Clean Mobile Native App Feel) */
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
}
::-webkit-scrollbar-track {
  display: none !important;
  background: transparent !important;
}
::-webkit-scrollbar-thumb {
  display: none !important;
}

/* ==================================================== */
/* 📱 TIKTOK MOBILE SHELL & CONTAINER                   */
/* ==================================================== */
.phone-viewport-container {
  width: 100%;
  max-width: 420px; /* Authentic smartphone aspect ratio */
  height: 870px;
  margin: 0 auto;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  background: #000000;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 0 10px #151821, 0 0 0 12px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* TikTok Left Flying Gift Badge */
#tiktokLeftGiftBadge {
  transform: translateX(-160%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#tiktokLeftGiftBadge.badge-visible {
  transform: translateX(0) !important;
}

/* Widescreen Desktop Studio Mode */
.phone-viewport-container.widescreen-mode {
  max-width: 1440px;
  height: calc(100vh - 70px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.08);
}

/* Guaranteed Zero-Cutoff Studio Modal Navigation Tabs */
#studioToolsModal .grid-cols-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  min-height: 80px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

#studioToolsModal .grid-cols-3 button {
  min-height: 36px !important;
  height: auto !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  padding: 6px 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

/* Studio 4K High-Definition Video Anti-Noise Enhancement */
#activeStageVideo, #rivalStageVideo {
  image-rendering: auto !important;
  transform: translateZ(0) !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
}

/* Dynamic Island Notch */
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

/* ==================================================== */
/* TIKTOK TOP NAVIGATION OVERLAY (FYP FEED)             */
/* ==================================================== */
.tiktok-top-header {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: auto;
}

.tiktok-feed-tab {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tiktok-feed-tab.active {
  color: #FFFFFF;
  font-weight: 800;
}

.tiktok-feed-tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* TikTok Live Pulsing Badge in Header */
.tiktok-live-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 85, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.tiktok-live-pill:hover {
  transform: scale(1.05);
}

/* ==================================================== */
/* TIKTOK FLOATING RIGHT SIDEBAR                        */
/* ==================================================== */
.tiktok-right-actions {
  position: absolute;
  right: 12px;
  bottom: 85px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.tiktok-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.tiktok-icon-circle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform 0.15s ease;
}

.tiktok-icon-circle:hover {
  transform: scale(1.15);
}
.tiktok-icon-circle:active {
  transform: scale(0.92);
}

.tiktok-action-count {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin-top: 2px;
}

/* Creator Avatar with Red Plus Badge */
.tiktok-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.tiktok-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
}

.tiktok-avatar-plus {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #FE2C55;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: white;
  border: 2px solid #000000;
  box-shadow: 0 2px 6px rgba(254, 44, 85, 0.5);
}

/* Spinning Vinyl Record Disk */
.spinning-record {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#111, #333, #111, #444, #111);
  border: 5px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinRecord 4s linear infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  position: relative;
}

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

/* Music Floating Notes */
@keyframes floatMusicNote {
  0% { opacity: 0; transform: translateY(0) scale(0.6) rotate(0deg); }
  50% { opacity: 0.9; transform: translateY(-30px) scale(1) rotate(-15deg); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.8) rotate(15deg); }
}

.music-note {
  position: absolute;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  animation: floatMusicNote 2.5s ease-out infinite;
}

/* TikTok Bottom Metadata (Creator, Caption, Music) */
.tiktok-bottom-meta {
  position: absolute;
  left: 14px;
  bottom: 80px;
  right: 80px;
  z-index: 45;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* TikTok Center Iconic Plus Button */
.tiktok-create-btn {
  width: 45px;
  height: 28px;
  border-radius: 8px;
  position: relative;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.tiktok-create-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 45px;
  height: 28px;
  background: #00F2FE;
  border-radius: 8px;
  z-index: -1;
}

.tiktok-create-btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: -4px;
  width: 45px;
  height: 28px;
  background: #FE2C55;
  border-radius: 8px;
  z-index: -2;
}

.tiktok-create-btn:hover {
  transform: scale(1.08);
}

/* TikTok Global Bottom Navigation Bar */
.tiktok-bottom-nav {
  width: 100%;
  height: 58px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 60;
  padding: 0 4px;
  flex-shrink: 0;
}

.tiktok-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease;
  width: 60px;
}

.tiktok-nav-item.active {
  color: #FFFFFF;
}

/* ==================================================== */
/* MULTI-GUEST & LIVE STAGE (HOST + UP TO 8 GUESTS)    */
/* ==================================================== */
.stage-main-area {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.spotlight-main-window {
  flex: 1;
  width: 100%;
  position: relative;
  background: #0B0D14;
  overflow: hidden;
  cursor: pointer;
}

.guest-compact-tray {
  width: 100%;
  background: rgba(8, 10, 16, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px 4px 60px 4px; /* bottom padding so input doesn't occlude */
  max-height: 220px;
  overflow-y: auto;
  z-index: 35;
}

.stage-grid-mode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  width: calc(100% - 32px); /* Leaves space for right vertical action dock */
  max-width: 380px;
  margin-left: 6px;
  margin-top: 195px;
  height: 380px; /* Perfectly sized to fit cleanly between top PK controls and bottom chat */
  padding: 0 2px;
  z-index: 20;
}

.guest-cell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 1 / 1;
}

.guest-cell:hover {
  border-color: var(--accent-cyan);
}

.guest-cell.pinned-active {
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.guest-name-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-main-window .guest-name-badge {
  display: none !important; /* Uklonjeno sa čela strimera! Ime je već gore levo u piluli! */
}

/* ==================================================== */
/* CINEMATIC 4K GIFTS & AUDIO VISUALS                  */
/* ZERO DARKENING / ZERO BLACK BARS                     */
/* ==================================================== */
.cinematic-active::before,
.cinematic-active::after {
  display: none !important;
  content: none !important;
}

/* ANTI-TAP-DARKENING / SEAMLESS HARDWARE ACCELERATED TAPPING (GLOBAL) */
*,
*::before,
*::after,
#view-live,
*,
*::before,
*::after,
body,
#phoneContainer,
#view-live,
.tiktok-screen,
.phone-viewport-container,
.side-action-btn,
#multiGuestStage,
#activeStageVideo,
.stage-main-area,
.spotlight-main-window,
#floatingLikesContainer {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  outline: none !important;
}

/* ==================================================== */
/* MEGA VIDEO GIFTS - SEAMLESS FULL SCREEN DISPLAY      */
/* 100% UNCLIPPED, FULL SCREEN ROCKET FLIGHT            */
/* ZERO HARD HORIZONTAL CUTOFF LINE                     */
/* ==================================================== */
#live40kGiftOverlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 35 !important;
  background: transparent !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#aurora40kGiftVideo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  mix-blend-mode: screen !important;
  filter: contrast(1.15) brightness(1.2) drop-shadow(0 0 35px rgba(251, 191, 36, 0.7)) !important;
  margin: 0 !important;
}

/* Hide gift goal widget during PK Battle so it never overlaps the PK bar */
#pkBattleBar:not(.hidden) ~ #liveGiftGoalWidget {
  display: none !important;
}

@keyframes letterboxSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@keyframes letterboxSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

#giftCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 60;
}

.gift-banner-cinematic {
  position: absolute;
  top: 80px;
  left: 12px;
  right: 12px;
  background: rgba(12, 14, 22, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 20px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.3);
  z-index: 70;
  animation: bannerEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bannerEnter {
  from { opacity: 0; transform: translateY(-30px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================================================== */
/* CHAT ROWS & TOASTS                                  */
/* ==================================================== */
.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  line-height: 1.35;
}

#auraToastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
  width: calc(100% - 40px);
}

.aura-toast {
  pointer-events: auto;
  background: rgba(14, 16, 25, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(-15px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================================================== */
/* PRIVATE PHOTO SHARING & DM LIGHTBOX STYLES          */
/* ==================================================== */
.dm-photo-thumbnail {
  max-width: 200px;
  max-height: 200px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dm-photo-thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
}

.dm-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dm-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  object-fit: contain;
}

/* Side Action Buttons in Live Stream */
.side-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.side-action-btn:hover {
  transform: scale(1.12);
}
.side-action-btn:active {
  transform: scale(0.92);
}

/* ==================================================== */
/* INTERACTIVE BOTTOM SHEETS & FULL FEATURE MODALS     */
/* ==================================================== */
.bottom-sheet-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 17, 26, 0.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 16px;
  z-index: 80;
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.9);
  animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 75%;
  display: flex;
  flex-direction: column;
}

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

.bottom-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 75;
}

/* FYP Video Feed Navigation Buttons */
.fyp-nav-arrow {
  position: absolute;
  left: 12px;
  z-index: 45;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fyp-nav-arrow:hover {
  background: rgba(0, 242, 254, 0.25);
  border-color: #00F2FE;
  transform: scale(1.1);
}
.fyp-nav-arrow.arrow-prev { top: 138px; }
.fyp-nav-arrow.arrow-next { top: 182px; }

/* Interactive Guided Tour Floating Bar */
.guided-tour-bar {
  background: rgba(15, 18, 28, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Sound Wave Animation for Audio Calls */
.sound-wave-bar {
  width: 4px;
  background: #00F2FE;
  border-radius: 2px;
  animation: wavePulse 0.8s ease-in-out infinite alternate;
}
@keyframes wavePulse {
  from { height: 6px; }
  to { height: 28px; }
}


/* ==================================================== */
/* AURA CUSTOMIZATION MARKET: AVATAR BORDERS & GLOW NICKS*/
/* ==================================================== */

@keyframes auraPulseGold {
  0%, 100% { box-shadow: 0 0 12px #f59e0b, inset 0 0 6px #f59e0b; }
  50% { box-shadow: 0 0 25px #fbbf24, 0 0 35px #d97706, inset 0 0 12px #f59e0b; }
}

@keyframes auraPulseCyber {
  0% { box-shadow: 0 0 12px #06b6d4, 0 0 20px #ec4899; }
  100% { box-shadow: 0 0 25px #3b82f6, 0 0 35px #a855f7; }
}

@keyframes auraFlameFlicker {
  0%, 100% { box-shadow: 0 0 15px #f97316, 0 0 30px #dc2626; border-color: #ef4444; }
  50% { box-shadow: 0 0 25px #ea580c, 0 0 45px #b91c1c; border-color: #f97316; }
}

.border-royal-gold {
  border: 3px solid #f59e0b !important;
  animation: auraPulseGold 2s infinite ease-in-out;
}

.border-cyberpunk-neon {
  border: 3px solid #06b6d4 !important;
  animation: auraPulseCyber 2.5s infinite alternate;
}

.border-inferno-flame {
  border: 3px solid #ef4444 !important;
  animation: auraFlameFlicker 1.5s infinite;
}

.border-diamond-ice {
  border: 3px solid #38bdf8 !important;
  box-shadow: 0 0 20px #38bdf8, 0 0 35px #0284c7 !important;
}

.border-cosmic-nebula {
  border: 3px solid #a855f7 !important;
  box-shadow: 0 0 22px #c084fc, inset 0 0 10px #9333ea !important;
}

/* NICK GLOW & STYLES */
.glow-gold-majesty {
  color: #fef08a !important;
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.95), 0 0 20px rgba(202, 138, 4, 0.7) !important;
  font-weight: 900 !important;
}

.glow-cyber-neon {
  color: #67e8f9 !important;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.95), 0 0 20px rgba(236, 72, 153, 0.75) !important;
  font-weight: 900 !important;
}

.glow-ruby-fire {
  color: #fca5a5 !important;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.95), 0 0 20px rgba(220, 38, 38, 0.7) !important;
  font-weight: 900 !important;
}

.glow-holographic {
  background: linear-gradient(135deg, #38bdf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.85));
  font-weight: 900 !important;
}

.aurora-glow-superfan {
  color: #e9d5ff !important;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.95), 0 0 22px rgba(236, 72, 153, 0.7) !important;
  font-weight: 900 !important;
}

.aurora-glow-host {
  color: #fef08a !important;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.95), 0 0 25px rgba(234, 179, 8, 0.7) !important;
  font-weight: 900 !important;
}

/* PK BATTLE 50/50 SPLIT SCREEN - FULL HEIGHT BELOW PK BAR, NEMA CRNIH RUPA NA EKRANU! */
.stage-main-area.stage-battle-half {
  margin-top: 145px !important;
  height: calc(100% - 145px) !important;
  min-height: calc(100% - 145px) !important;
  max-height: none !important;
  flex: 1 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-main-area.stage-battle-half video,
.stage-main-area.stage-battle-half img {
  object-fit: cover !important;
  object-position: center center !important;
  image-rendering: auto !important;
  filter: contrast(1.05) brightness(1.02) saturate(1.05);
}

.small-gift-toast-item {
  animation: smallGiftFloat 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smallGiftFloat {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.85);
  }
  15% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scale(0.9);
  }
}

/* Stories & Live Horizontal Bar */
#homeStoriesLiveBar {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#homeStoriesLiveBar::-webkit-scrollbar {
  display: none !important;
}

/* TikTok Floating Circular Combo Button Animation */
#tiktokFloatingComboWidget {
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.85));
  right: 88px !important;
  z-index: 55 !important;
}

#tiktokFloatingComboWidget:active {
  transform: scale(0.88);
}

/* ==================================================== */
/* 🏆 VIP GIFTER TIERS & GLOW BORDERS (LEVELS 1 - 6)    */
/* ==================================================== */

/* LEVEL 1: Bronzani Donator (1 - 1,000 Koina) */
@keyframes glowBronze {
  0%, 100% {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7), inset 0 0 5px rgba(245, 158, 11, 0.4);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.95), 0 0 30px rgba(245, 158, 11, 0.5), inset 0 0 10px rgba(245, 158, 11, 0.6);
    border-color: #d97706;
  }
}
.gifter-frame-lvl1 {
  border: 2.5px solid #f59e0b !important;
  animation: glowBronze 2.4s infinite ease-in-out;
}
.gifter-badge-lvl1 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.45));
  border: 1px solid rgba(245, 158, 11, 0.75);
  color: #fbbf24;
  font-weight: 900;
}

/* LEVEL 2: Srebrni Patron (1,001 - 10,000 Koina) */
@keyframes glowSilver {
  0%, 100% {
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.75), inset 0 0 6px rgba(224, 242, 254, 0.4);
    border-color: #38bdf8;
  }
  50% {
    box-shadow: 0 0 24px rgba(224, 242, 254, 1), 0 0 35px rgba(56, 189, 248, 0.7), inset 0 0 12px rgba(56, 189, 248, 0.6);
    border-color: #e0f2fe;
  }
}
.gifter-frame-lvl2 {
  border: 3px solid #38bdf8 !important;
  animation: glowSilver 2.1s infinite ease-in-out;
}
.gifter-badge-lvl2 {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(224, 242, 254, 0.35));
  border: 1px solid rgba(56, 189, 248, 0.8);
  color: #a5f3fc;
  font-weight: 900;
}

/* LEVEL 3: Zlatni Šampion (10,001 - 50,000 Koina) */
@keyframes glowGoldMajestyVIP {
  0%, 100% {
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.85), inset 0 0 8px rgba(234, 179, 8, 0.5);
    border-color: #facc15;
  }
  50% {
    box-shadow: 0 0 30px rgba(250, 204, 21, 1), 0 0 50px rgba(202, 138, 4, 0.85), inset 0 0 14px rgba(250, 204, 21, 0.7);
    border-color: #fef08a;
  }
}
.gifter-frame-lvl3 {
  border: 3.5px solid #facc15 !important;
  animation: glowGoldMajestyVIP 1.8s infinite ease-in-out;
}
.gifter-badge-lvl3 {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.35), rgba(202, 138, 4, 0.5));
  border: 1.5px solid rgba(250, 204, 21, 0.9);
  color: #fef08a;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}

/* LEVEL 4: Smaragdni Lord (50,001 - 100,000 Koina) */
@keyframes glowEmeraldVIP {
  0%, 100% {
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.9), inset 0 0 8px rgba(5, 150, 105, 0.6);
    border-color: #10b981;
  }
  50% {
    box-shadow: 0 0 35px rgba(16, 185, 129, 1), 0 0 55px rgba(52, 211, 153, 0.85), inset 0 0 16px rgba(16, 185, 129, 0.8);
    border-color: #6ee7b7;
  }
}
.gifter-frame-lvl4 {
  border: 3.5px solid #10b981 !important;
  animation: glowEmeraldVIP 1.6s infinite ease-in-out;
}
.gifter-badge-lvl4 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.5));
  border: 1.5px solid rgba(16, 185, 129, 0.9);
  color: #6ee7b7;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
}

/* LEVEL 5: Rubin Imperator (100,001 - 500,000 Koina) */
@keyframes glowRubyVIP {
  0%, 100% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.95), inset 0 0 10px rgba(220, 38, 38, 0.6);
    border-color: #ef4444;
  }
  50% {
    box-shadow: 0 0 40px rgba(239, 68, 68, 1), 0 0 65px rgba(185, 28, 28, 0.9), inset 0 0 18px rgba(244, 63, 94, 0.85);
    border-color: #fca5a5;
  }
}
.gifter-frame-lvl5 {
  border: 4px solid #ef4444 !important;
  animation: glowRubyVIP 1.4s infinite ease-in-out;
}
.gifter-badge-lvl5 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(185, 28, 28, 0.55));
  border: 1.5px solid rgba(239, 68, 68, 0.95);
  color: #fca5a5;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
}

/* LEVEL 6: Kosmički Titan TOP STATUS (500,001 - 1,000,000+ Koina) */
/* NAJLEPŠI SJAJ I FRAME BORDER: Spektralna zvezdana rotirajuća aura */
@keyframes glowCosmicTitanVIP {
  0% {
    box-shadow: 0 0 25px #a855f7, 0 0 50px #ec4899, 0 0 75px #00f2fe, inset 0 0 14px #f59e0b;
    border-color: #a855f7;
  }
  33% {
    box-shadow: 0 0 35px #ec4899, 0 0 60px #00f2fe, 0 0 85px #f59e0b, inset 0 0 18px #a855f7;
    border-color: #ec4899;
  }
  66% {
    box-shadow: 0 0 40px #00f2fe, 0 0 65px #f59e0b, 0 0 95px #a855f7, inset 0 0 20px #ec4899;
    border-color: #00f2fe;
  }
  100% {
    box-shadow: 0 0 25px #a855f7, 0 0 50px #ec4899, 0 0 75px #00f2fe, inset 0 0 14px #f59e0b;
    border-color: #a855f7;
  }
}
.gifter-frame-lvl6 {
  border: 4.5px solid transparent !important;
  background-image: linear-gradient(black, black), linear-gradient(135deg, #FF0080, #7928CA, #00DFD8, #FFD700);
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: glowCosmicTitanVIP 2.2s infinite linear;
}
.gifter-badge-lvl6 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.45), rgba(121, 40, 202, 0.5), rgba(0, 242, 254, 0.45));
  border: 1.5px solid #f472b6;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(236, 72, 153, 0.95), 0 0 20px rgba(0, 242, 254, 0.9);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.7);
}


/* ==================================================== */
/* AURA PHOTO SLIDESHOW EFFECTS & SUPER FAN GLOW STYLES */
/* ==================================================== */

.effect-neon_cyber {
  filter: contrast(125%) saturate(150%) brightness(105%);
  box-shadow: inset 0 0 50px rgba(236, 72, 153, 0.5), 0 0 25px rgba(6, 182, 212, 0.4);
}

.effect-retro_vhs {
  filter: sepia(30%) contrast(115%) brightness(95%);
  position: relative;
}
.effect-retro_vhs::after {
  content: " ";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
}

.effect-golden_hour {
  filter: sepia(45%) saturate(160%) brightness(108%) contrast(110%);
  box-shadow: inset 0 0 60px rgba(245, 158, 11, 0.4);
}

.effect-glitch_pulse {
  animation: auraGlitchPulse 2.5s infinite ease-in-out;
}
@keyframes auraGlitchPulse {
  0%, 100% { filter: contrast(120%) hue-rotate(0deg); transform: scale(1); }
  50% { filter: contrast(140%) hue-rotate(25deg) saturate(180%); transform: scale(1.02); }
  52% { filter: invert(10%) contrast(160%); transform: translate(-2px, 1px); }
  54% { filter: contrast(120%); transform: translate(0, 0); }
}

.effect-romantic_sparkles {
  filter: brightness(112%) saturate(125%) contrast(108%);
  box-shadow: inset 0 0 45px rgba(244, 114, 182, 0.45);
}

.effect-cinematic_fade {
  filter: contrast(135%) brightness(92%) saturate(110%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.8);
}

/* Super Fan Gold Crown Glow in Chat */
.aurora-glow-superfan {
  color: #fbbf24 !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.8), 0 0 20px rgba(245, 158, 11, 0.5) !important;
  font-weight: 900 !important;
}

.superfan-chat-bubble {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(168, 85, 247, 0.15)) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25) !important;
}


/* ==================================================== */
/* ⚡ 60FPS ULTRA PERFORMANCE & COMPOSITOR OPTIMIZATIONS */
/* ==================================================== */
[class*="backdrop-blur-"] {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.chat-row {
  contain: layout style;
  transform: translateZ(0);
}

#chatMessagesContainer {
  contain: content;
  overflow-anchor: auto;
  will-change: scroll-position;
}

#floatingLikesContainer {
  contain: strict;
  pointer-events: none;
}

#giftCanvas {
  contain: strict;
  pointer-events: none;
}

.will-change-transform {
  will-change: transform;
  transform: translateZ(0);
}

/* Hardware accelerated layer isolation for mobile viewport */
.phone-viewport-container {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Smooth transitions */
.tiktok-action-sheet,
.aura-modal-backdrop,
.aura-glass-toast {
  transform: translateZ(0);
}
