/* hIPlay Custom Modern Light Theme Styles */
/* Fonts loaded via <link> in HTML head - no @import needed */

/* Offset anchor scroll so section titles clear the sticky nav + announcement bar */
section[id] {
  scroll-margin-top: 90px;
}

:root {
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fredoka', cursive, 'Plus Jakarta Sans', sans-serif;
  
  --hiplay-red: #FF4D5A;
  --hiplay-coral: #FF6B6B;
  --hiplay-yellow: #FFB703;
  --hiplay-amber: #FFA200;
  --hiplay-blue: #00A8FF;
  --hiplay-cyan: #0EA5E9;
  --hiplay-purple: #8B5CF6;
  --hiplay-violet: #6D28D9;
  --hiplay-green: #10B981;
  --hiplay-pink: #F472B6;
  
  --bg-main: #FAFBFC;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
}

.font-display {
  font-family: var(--font-display);
}

/* Candy Pill Glows & Gradients */
.gradient-hiplay-text {
  background: linear-gradient(135deg, #FF4D5A 0%, #FFA200 35%, #00A8FF 70%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-hero-badge {
  background: linear-gradient(135deg, #FFF1F2 0%, #FEF3C7 50%, #E0F2FE 100%);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.gradient-funnel-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.candy-shadow {
  box-shadow: 0 20px 40px -15px rgba(255, 77, 90, 0.15), 0 10px 20px -10px rgba(0, 168, 255, 0.1);
}

.candy-shadow-hover {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.candy-shadow-hover:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 12px 24px -8px rgba(255, 183, 3, 0.2);
}

/* Bubble Background Shapes */
.bubble-shape {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.bubble-yellow {
  background: radial-gradient(circle, rgba(255, 214, 10, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
}

.bubble-coral {
  background: radial-gradient(circle, rgba(255, 107, 107, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.bubble-blue {
  background: radial-gradient(circle, rgba(0, 168, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.bubble-purple {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-1.5deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatReverse 7s ease-in-out 1s infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Modern Card Polish */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Hide scrollbar for clean carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Interactive IP Card Badge */
.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* Slide viewer modal */
.slide-active-thumb {
  outline: 3px solid #FF4D5A;
  outline-offset: 2px;
}
