/* Custom Styles for DiviniTV Web Experience */

:root {
  --primary-cyan: #00f0ff;
  --primary-purple: #8b5cf6;
  --primary-magenta: #ff0080;
  --bg-deep: #080911;
  --bg-card: rgba(18, 20, 36, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--bg-deep);
  color: #f1f5f9;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Background Ambient Glows */
.ambient-glow-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(0, 240, 255, 0.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.15) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(18, 20, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-card {
  background: rgba(23, 26, 46, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 36px rgba(139, 92, 246, 0.15), 0 0 20px rgba(0, 240, 255, 0.1);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ff0080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Accent Glows */
.btn-glow {
  background: linear-gradient(135deg, #00f0ff 0%, #7928ca 50%, #ff0080 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(121, 40, 202, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.6), 0 0 15px rgba(255, 0, 128, 0.4);
  transform: scale(1.02);
}

.btn-secondary-glow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-secondary-glow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* TV Frame Realistic Mockup */
.tv-bezel {
  border: 12px solid #141724;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 
              0 0 60px rgba(121, 40, 202, 0.25),
              inset 0 0 10px rgba(0, 0, 0, 0.9);
  position: relative;
  background: #000;
  overflow: hidden;
}

.tv-stand {
  width: 140px;
  height: 14px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  margin: 0 auto;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.tv-base {
  width: 260px;
  height: 8px;
  background: linear-gradient(90deg, #1e293b, #475569, #1e293b);
  margin: 0 auto;
  border-radius: 4px;
}

/* Live stream pulsing dot */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #080911;
}
::-webkit-scrollbar-thumb {
  background: #1e2238;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* Shimmer animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}
.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}
