/* FunChat - Warm Ivory & Champagne Gold Luxury Mobile Theme */
.hidden {
  display: none !important;
}

:root {
  --app-bg: #fdf8f0;
  --card-bg: #ffffff;
  --card-border: #f1e4d1;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --accent-gold: #f59e0b;
  --accent-brown: #4a2e14;
  --accent-green: #10b981;
}

body {
  background-color: #f3eadc;
  color: #1e1b18;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(180, 130, 70, 0.25);
  border-radius: 999px;
}

/* Mobile Frame Container for Desktop / Native for Mobile */
.app-container {
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  background: radial-gradient(circle at top center, #fde8c8 0%, #fdf8f0 32%, #faf5ec 100%);
  box-shadow: 0 0 40px rgba(90, 60, 20, 0.12), 0 0 1px rgba(180, 140, 90, 0.2);
  display: flex;
  flex-direction: column;
}

/* Fixed / Sticky Header Lock */
#main-app-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 45 !important;
}

/* Pulse animation for online live avatars */
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-pulse {
  animation: livePulse 2s infinite;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.primary-gradient {
  background: linear-gradient(135deg, #f5a623 0%, #e08e0b 100%);
}

/* Crisp White / Warm Cream Cards */
.glass-panel {
  background: #ffffff;
  border: 1px solid #f2e6d5;
  box-shadow: 0 4px 16px rgba(120, 85, 40, 0.06);
}

.glass-bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #f1e4d1;
  box-shadow: 0 -4px 18px rgba(120, 85, 40, 0.06);
}

/* Chat bubble styling */
.bubble-sent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.bubble-received {
  background: #ffffff;
  color: #1e1b18;
  border: 1px solid #f1e4d1;
  border-bottom-left-radius: 4px;
}

/* Coin float animation */
@keyframes coinFloat {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-24px) scale(1.15); opacity: 0; }
}

.coin-deduct-toast {
  animation: coinFloat 1.2s ease-out forwards;
}

/* Chat Window slide-in animation */
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 0.25s ease-out forwards;
}

/* Login Photo Collage Diagonal Effect */
.collage-tilt {
  transform: rotate(-14deg) scale(1.15);
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
