/* Kaushiki Kids - Safe Creative Platform for Kids (Photos & 15s Videos Only) */
/* Theme: Vibrant Orange & Warm Amber Citrus */

body {
  font-family: 'Quicksand', sans-serif;
  user-select: none;
  background-color: #FFFDF9;
}

::selection {
  background-color: #FED7AA;
  color: #7C2D12;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Fredoka', cursive, sans-serif;
}

/* Hide default scrollbars for clean creative feel */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Gradient Story Ring (Warm Orange / Golden Sunset) */
.ig-gradient-ring {
  background: linear-gradient(45deg, #FFB703 0%, #FF8500 35%, #FF6000 70%, #FF3C00 100%);
  padding: 2.5px;
  border-radius: 9999px;
  display: inline-flex;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ig-gradient-ring:hover {
  transform: scale(1.05);
}
.ig-gradient-ring img {
  border: 2px solid white;
}

/* Brand Text Gradient (Warm Orange) */
.ig-text-gradient {
  background: linear-gradient(45deg, #FF6D00 0%, #FF8500 50%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Post card animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-card {
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Double-Tap Floating Heart Animation */
@keyframes heartPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  45% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.95;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
.heart-pop {
  animation: heartPop 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

/* Like Button bounce */
@keyframes likeBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.like-bounce {
  animation: likeBounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3-Column Profile Grid item overlay */
.ig-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.ig-grid-item .ig-grid-overlay {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  background: rgba(0, 0, 0, 0.4);
}
.ig-grid-item:hover .ig-grid-overlay {
  opacity: 1;
}

/* Reels Fullscreen vertical card */
.reel-viewport {
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(255, 109, 0, 0.2);
}

/* Active Navigation Tab */
.nav-tab-active {
  color: #FF6D00 !important;
  font-weight: 700;
}
.nav-tab-active i, .nav-tab-active svg {
  stroke-width: 2.5px;
}

/* Active Filter Pill */
.filter-pill.active {
  background: #FF6D00;
  color: #FFFFFF;
  border-color: #FF6D00;
}
.filter-pill {
  transition: all 0.2s ease;
}

/* Subtle bounce */
@keyframes bounceSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.animate-bounce-subtle {
  animation: bounceSubtle 2.5s infinite ease-in-out;
}
