/* ==========================================================================
   FLOOR41 STUDIOS - OFFICIAL BLACK MARBLE & ROYAL GOLD DESIGN SYSTEM
   Aesthetic: Deep Obsidian / Nero Marble + Liquid Gold Veins + Gold LED Accents
   ========================================================================== */

:root {
  --bg-primary: #050608;
  --bg-secondary: #0A0B0E;
  --bg-card: rgba(14, 15, 20, 0.88);
  --bg-card-hover: rgba(22, 24, 32, 0.95);
  
  /* Royal Gold Palette */
  --gold-primary: #D4AF37;
  --gold-light: #FDE047;
  --gold-champagne: #F5E6B3;
  --gold-bronze: #8E6508;
  --gold-deep: #5A3E00;
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #FFF3CD 0%, #D4AF37 50%, #8E6508 100%);
  --gold-gradient-subtle: linear-gradient(145deg, rgba(212, 175, 55, 0.12) 0%, rgba(14, 15, 20, 0.95) 100%);
  --gold-gradient-card: linear-gradient(180deg, rgba(26, 23, 16, 0.8) 0%, rgba(10, 11, 14, 0.95) 100%);
  --marble-overlay: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);

  /* Borders & Glows */
  --border-subtle: rgba(212, 175, 55, 0.18);
  --border-gold-glow: rgba(212, 175, 55, 0.5);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-led-shadow: 0 0 20px rgba(212, 175, 55, 0.25), 0 0 40px rgba(212, 175, 55, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: #F8FAFC;
  line-height: 1.6;
  background-image: 
    /* Diagonal Fine Golden Marble Veins */
    linear-gradient(115deg, transparent 48%, rgba(212, 175, 55, 0.035) 49.5%, rgba(255, 243, 205, 0.07) 50%, rgba(212, 175, 55, 0.035) 50.5%, transparent 52%),
    linear-gradient(295deg, transparent 48%, rgba(212, 175, 55, 0.025) 49.6%, rgba(212, 175, 55, 0.05) 50%, rgba(212, 175, 55, 0.025) 50.4%, transparent 52%),
    /* Ambient Marble Clouds */
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(142, 101, 8, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  background-size: 100% 100%, 800px 800px, 1200px 1200px, 100% 100%;
}

/* Typography Helpers */
.font-display {
  font-family: 'Syne', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Luxury Royal Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFFDF0 0%, #F5E6B3 25%, #D4AF37 60%, #9E7311 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-gradient-glow {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5E6B3 30%, #D4AF37 70%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

/* Ambient Subtle Golden Grid & LED Ambient Rays */
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(212, 175, 55, 0.16), transparent 70%),
    linear-gradient(to right, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  mask-image: radial-gradient(circle at 50% 30%, black 45%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 45%, transparent 90%);
  pointer-events: none;
}

/* Ambient Golden Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(140px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow-gold-hero {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #D4AF37 0%, #8E6508 55%, transparent 80%);
  top: -180px;
  left: 20%;
  animation: floatGold 22s ease-in-out infinite alternate;
}

.glow-gold-secondary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #B8860B 0%, #3D2806 70%, transparent 85%);
  top: 45%;
  right: -100px;
  animation: floatGold 26s ease-in-out infinite alternate-reverse;
}

@keyframes floatGold {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 25px) scale(1.05); }
  100% { transform: translate(-25px, 40px) scale(0.95); }
}

/* Luxury Black Marble Studio Cards with Gold Hairlines */
.studio-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(212, 175, 55, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.studio-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

/* Gold LED Glow lines */
.led-gold-border {
  position: relative;
}

.led-gold-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

/* Primary Button Styling (Majestic Gold) */
.btn-primary {
  background: linear-gradient(135deg, #FFF3CD 0%, #D4AF37 50%, #B8860B 100%);
  color: #050608;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 25px -4px rgba(212, 175, 55, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 35px -2px rgba(212, 175, 55, 0.7);
  transform: translateY(-2px);
  color: #000000;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Gold Outline Button */
.btn-secondary {
  background: rgba(10, 11, 14, 0.8);
  color: #F5E6B3;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* Package Selection Active States */
.selected-package {
  border-color: #D4AF37 !important;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.14) 0%, rgba(14, 15, 20, 0.95) 100%) !important;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.25), inset 0 0 20px rgba(212, 175, 55, 0.08) !important;
}

/* Input Fields */
.input-field {
  transition: all 0.2s ease;
}

.input-field:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25) !important;
}

/* Step Navigation */
.step-nav.active span:first-child {
  background: var(--gold-gradient);
  color: #050608;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
  font-weight: 800;
}

.step-nav.completed span:first-child {
  background: #D4AF37;
  color: #050608;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Add-on selection row active */
.addon-row.active {
  border-color: rgba(212, 175, 55, 0.6) !important;
  background-color: rgba(212, 175, 55, 0.08) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #050608;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.55);
}

/* Subtle animations */
@keyframes pulseGoldGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
  }
}

.gold-glow-pulse {
  animation: pulseGoldGlow 4s ease-in-out infinite;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: white;
  padding: 12px 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 15px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55), 0 0 25px rgba(212, 175, 55, 0.5);
  color: #FFFFFF;
}

/* Audio Player Waveform Visualizer Bars */
.audio-wave-bar {
  width: 3px;
  background: var(--gold-gradient);
  border-radius: 3px;
  transition: height 0.15s ease;
}

.audio-playing .audio-wave-bar:nth-child(1) { animation: waveAnim 0.8s ease-in-out infinite alternate; }
.audio-playing .audio-wave-bar:nth-child(2) { animation: waveAnim 0.6s ease-in-out infinite 0.1s alternate; }
.audio-playing .audio-wave-bar:nth-child(3) { animation: waveAnim 0.9s ease-in-out infinite 0.2s alternate; }
.audio-playing .audio-wave-bar:nth-child(4) { animation: waveAnim 0.7s ease-in-out infinite 0.15s alternate; }
.audio-playing .audio-wave-bar:nth-child(5) { animation: waveAnim 1.0s ease-in-out infinite 0.3s alternate; }

@keyframes waveAnim {
  0% { height: 6px; }
  100% { height: 26px; }
}

/* Discord Hub Card Highlights */
.discord-card-glow {
  position: relative;
  overflow: hidden;
}

.discord-card-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Social Streaming Badge Icons */
.streaming-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 0.25s ease;
  color: #D4AF37;
}

.streaming-icon-pill:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
  color: #FFF3CD;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   APP CATEGORY VIEW ARCHITECTURE (Variante A)
   ========================================================================== */
.category-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Nav Tab Active Underline & Gold Glow */
.nav-tab-link {
  position: relative;
  transition: all 0.25s ease;
}

.nav-tab-link.active-tab {
  color: #FDE047 !important;
  font-weight: 700;
}

.nav-tab-link.active-tab::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Gateway Cards on Home View */
.gateway-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gateway-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.18);
  transform: translateY(-4px);
}

.gateway-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   CINEMATIC STUDIO CONSOLE BACKDROP (Großflächiges Mix & Master Artwork)
   ========================================================================== */
.studio-backdrop-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.studio-backdrop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/studio-neon-console-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.32;
  filter: contrast(1.15) brightness(0.88);
  transform: scale(1.02);
  transition: opacity 0.6s ease, background-image 0.6s ease;
}

@media (min-width: 1024px) {
  .studio-backdrop-image {
    background-position: center 30%;
    opacity: 0.35;
  }
}

/* Atmospheric Vignette: Soft dark gradients to preserve 100% crisp text readability */
.studio-backdrop-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 55%, transparent 20%, rgba(5, 6, 8, 0.72) 65%, rgba(5, 6, 8, 0.96) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.40) 30%, rgba(5, 6, 8, 0.50) 70%, rgba(5, 6, 8, 0.96) 100%);
  pointer-events: none;
}

