/* PRISM Theme - Cosmic crystalline aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@400;500;600;700&display=swap');

:root {
  --prism-bg-dark: #0a0a1a;
  --prism-bg-mid: #12122a;
  --prism-bg-gradient: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 35%, #0d1a2d 70%, #0a0a1a 100%);
  --prism-purple: #8b5cf6;
  --prism-fuchsia: #d946ef;
  --prism-blue: #3b82f6;
  --prism-cyan: #06b6d4;
  --prism-green: #22c55e;
  --prism-pink: #ec4899;
  --prism-white: #ffffff;
  --prism-text: #e2e8f0;
  --prism-text-muted: #94a3b8;
  --prism-glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);
  --prism-glow-fuchsia: 0 0 30px rgba(217, 70, 239, 0.4);
  --prism-glow-green: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* Animations */
@keyframes prismShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes prismGlow {
  0%, 100% { opacity: 0.6; filter: blur(60px); }
  50% { opacity: 1; filter: blur(80px); }
}
@keyframes prismFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -10px) rotate(5deg); }
  66% { transform: translate(-5px, 5px) rotate(-3deg); }
}
@keyframes prismPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.6); }
}
@keyframes prismGlowText {
  0%, 100% { text-shadow: 0 0 12px rgba(139, 92, 246, 0.5); }
  50% { text-shadow: 0 0 24px rgba(217, 70, 239, 0.8); }
}
@keyframes prismBorderGlow {
  0%, 100% { border-color: rgba(139, 92, 246, 0.5); }
  50% { border-color: rgba(217, 70, 239, 0.8); }
}

.prism-body {
  font-family: 'Exo 2', sans-serif;
  background: var(--prism-bg-gradient);
  color: var(--prism-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Crystalline background overlay - enhanced */
.prism-body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse 100% 60% at 50% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 85% 50%, rgba(217, 70, 239, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 15% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 90%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: prismGlow 8s ease-in-out infinite;
}

/* Floating prism shapes */
.prism-body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(135deg, transparent 45%, rgba(139, 92, 246, 0.03) 50%, transparent 55%),
    linear-gradient(225deg, transparent 45%, rgba(217, 70, 239, 0.03) 50%, transparent 55%),
    linear-gradient(315deg, transparent 45%, rgba(6, 182, 212, 0.03) 50%, transparent 55%);
  background-size: 200px 200px, 150px 150px, 180px 180px;
  background-position: 0 0, 50px 50px, 100px 100px;
  pointer-events: none;
  z-index: 0;
  animation: prismFloat 20s ease-in-out infinite;
}

.prism-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, #8b5cf6 25%, #d946ef 50%, #06b6d4 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
  animation: prismShimmer 4s ease-in-out infinite;
}

.prism-hex-card {
  background: rgba(18, 18, 42, 0.85);
  border: 2px solid var(--prism-green);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  color: var(--prism-text);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25), inset 0 0 60px rgba(34, 197, 94, 0.05);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.prism-hex-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(34, 197, 94, 0.08) 50%, transparent 60%);
  animation: prismShimmer 6s linear infinite;
}
.prism-hex-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 50px rgba(34, 197, 94, 0.5), 0 0 80px rgba(6, 182, 212, 0.2);
  border-color: var(--prism-cyan);
}

.prism-hex-card .card-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--prism-green);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.prism-hex-card .card-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--prism-white);
}

.prism-btn-primary {
  background: linear-gradient(135deg, var(--prism-purple) 0%, var(--prism-fuchsia) 50%, var(--prism-pink) 100%);
  background-size: 200% 200%;
  color: var(--prism-white) !important;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.prism-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(217, 70, 239, 0.6), 0 0 80px rgba(139, 92, 246, 0.3);
  background-position: 100% 50%;
}

.prism-btn-secondary {
  background: transparent;
  color: var(--prism-cyan) !important;
  border: 2px solid var(--prism-cyan);
  border-radius: 10px;
  padding: 12px 28px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prism-btn-secondary:hover {
  background: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.prism-card {
  background: rgba(18, 18, 42, 0.9);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(139, 92, 246, 0.03);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.prism-card:hover {
  border-color: var(--prism-purple);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.4), 0 0 60px rgba(217, 70, 239, 0.2);
  animation: prismBorderGlow 3s ease-in-out infinite;
}

/* Decorative prism crystal */
.prism-crystal {
  position: absolute;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(217, 70, 239, 0.1) 50%, transparent 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  animation: prismFloat 15s ease-in-out infinite;
}
.prism-crystal-sm { width: 40px; height: 40px; opacity: 0.6; }
.prism-crystal-lg { width: 120px; height: 120px; opacity: 0.15; }

.prism-accent-purple { color: var(--prism-purple); }
.prism-accent-fuchsia { color: var(--prism-fuchsia); }
.prism-accent-cyan { color: var(--prism-cyan); }
.prism-accent-green { color: var(--prism-green); }
