/**
 * Phoenix Kior — Official Superstar Experience
 * Production CSS — Universal Multi-Platform Static Engine
 */

:root {
  --pk-neon-pink: #ff007f;
  --pk-deep-pink: #cc3399;
  --pk-bg-dark: #070709;
  --pk-surface-dark: #111116;
  --pk-text-muted: #9ca3af;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pk-bg-dark);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070709;
}
::-webkit-scrollbar-thumb {
  background: #ff007f44;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff007f;
}

/* Typography Helpers */
.font-rock {
  font-family: 'Bebas Neue', Impact, sans-serif;
}

.font-cyber {
  font-family: 'Orbitron', monospace, sans-serif;
}

/* Enforce pure white on headings */
h1, h2, h3, h4 {
  color: #ffffff;
}

h1 span:not(.text-glow-pink) {
  color: #ffffff;
}

/* Neon Glows & Buttons */
.text-glow-pink {
  color: #ff007f;
  text-shadow: 0 0 15px rgba(255, 0, 127, 0.8), 0 0 35px rgba(204, 51, 153, 0.6);
}

.border-glow-pink {
  border-color: #ff007f;
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
}

.btn-neon {
  background: linear-gradient(135deg, #ff007f, #aa0055);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-neon:hover {
  box-shadow: 0 0 45px rgba(255, 0, 127, 0.9);
  transform: translateY(-2px);
}

/* ==========================================================================
   PANORAMIC WIDESCREEN 3D CYLINDER CAROUSEL (Centered & Symmetrical)
   ========================================================================== */
.carousel-viewport {
  perspective: 1200px;
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0.5rem auto;
  overflow: visible;
  touch-action: pan-y;
}

.carousel-ring {
  width: 480px;
  height: 280px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

.carousel-card {
  position: absolute;
  width: 480px;
  height: 280px;
  left: 0;
  top: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 0, 127, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 0, 127, 0.25);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  user-select: none;
  background: #0d0d12;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-card.active-front {
  border-color: #ff007f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 0, 127, 0.7);
  filter: brightness(1.08);
}

.carousel-card:not(.active-front) {
  filter: brightness(0.65);
}

/* Stage Floor Reflection */
.stage-reflection {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(255, 0, 127, 0.35) 0%, transparent 75%);
  filter: blur(12px);
  pointer-events: none;
}

/* Equalizer Bar Animation */
.cyber-bar {
  width: 4px;
  background: #ff007f;
  box-shadow: 0 0 10px #ff007f;
  border-radius: 2px;
  animation: pulse-bar 0.7s infinite alternate ease-in-out;
}

@keyframes pulse-bar {
  0% { height: 6px; }
  100% { height: 28px; }
}

/* Modal Dialog */
dialog.cyber-modal {
  background: #111116;
  border: 2px solid #ff007f;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(255, 0, 127, 0.4);
  color: #fff;
  padding: 1.5rem;
  max-width: 800px;
  width: 90%;
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

dialog.cyber-modal:not([open]) {
  display: none !important;
}

dialog.cyber-modal[open] {
  display: block;
}

dialog.cyber-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

/* VIP Form Feedback Message */
.pk-form-status {
  display: none;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  transition: all 0.3s ease;
}

.pk-form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.pk-form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* Modern Web Guidance: Defer Offscreen Rendering */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: 1px 750px;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 640px) {
  .carousel-viewport {
    height: 230px;
  }
  .carousel-ring {
    width: 300px;
    height: 180px;
  }
  .carousel-card {
    width: 300px;
    height: 180px;
  }
  .stage-reflection {
    width: 320px;
    height: 25px;
  }
}
