/* 
 * ====================================================================
 *                 ZENSMP-STORE - AURORA STYLESHEET
 * ====================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=Kanit:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --aurora-teal: #00F5A0;
  --aurora-cyan: #00D9F5;
  --aurora-blue: #38BDF8;
  --aurora-purple: #8B5CF6;
  --aurora-magenta: #D946EF;
  --aurora-dark: #070B14;
  --aurora-darker: #03060B;
  --aurora-card: rgba(13, 20, 36, 0.72);
  --aurora-border: rgba(0, 245, 160, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--aurora-darker);
  color: #E2E8F0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Chakra Petch', 'Kanit', sans-serif;
}

/* ================= Aurora Background Animation ================= */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 245, 160, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 50% at 15% 45%, rgba(0, 217, 245, 0.16), transparent 70%),
    radial-gradient(ellipse 90% 60% at 75% 85%, rgba(217, 70, 239, 0.14), transparent 70%),
    var(--aurora-darker);
}

.aurora-ribbon {
  position: fixed;
  top: -10%;
  left: -20%;
  width: 140%;
  height: 60%;
  background: linear-gradient(135deg, 
    rgba(0, 245, 160, 0.15) 0%, 
    rgba(0, 217, 245, 0.15) 25%, 
    rgba(139, 92, 246, 0.18) 50%, 
    rgba(217, 70, 239, 0.12) 75%, 
    transparent 100%);
  filter: blur(80px);
  opacity: 0.75;
  animation: auroraFlow 18s ease-in-out infinite alternate;
  z-index: -9;
  pointer-events: none;
}

.aurora-ribbon-2 {
  position: fixed;
  bottom: -15%;
  right: -20%;
  width: 140%;
  height: 55%;
  background: linear-gradient(315deg, 
    rgba(139, 92, 246, 0.15) 0%, 
    rgba(0, 245, 160, 0.14) 35%, 
    rgba(6, 182, 212, 0.18) 70%, 
    transparent 100%);
  filter: blur(95px);
  opacity: 0.65;
  animation: auroraFlowReverse 22s ease-in-out infinite alternate;
  z-index: -9;
  pointer-events: none;
}

@keyframes auroraFlow {
  0% {
    transform: translate(0, 0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translate(4%, 6%) rotate(3deg) scale(1.08);
  }
  100% {
    transform: translate(-3%, 3%) rotate(-2deg) scale(0.96);
  }
}

@keyframes auroraFlowReverse {
  0% {
    transform: translate(0, 0) rotate(2deg) scale(1);
  }
  50% {
    transform: translate(-5%, -4%) rotate(-4deg) scale(1.05);
  }
  100% {
    transform: translate(3%, -2%) rotate(1deg) scale(0.95);
  }
}

/* ================= Star Particles overlay ================= */
.stars-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 40px 60px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 150px 220px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 300px 100px, rgba(0, 245, 160, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 450px 380px, rgba(139, 92, 246, 0.5), transparent),
    radial-gradient(1px 1px at 600px 180px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 750px 420px, rgba(0, 217, 245, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 900px 120px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 1100px 320px, rgba(217, 70, 239, 0.4), transparent);
  background-size: 1200px 600px;
  opacity: 0.55;
  z-index: -8;
  pointer-events: none;
}

/* ================= Aurora Glassmorphism Components ================= */
.glass-panel {
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.glass-panel-glow {
  background: rgba(13, 20, 36, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 0 25px -5px rgba(0, 245, 160, 0.15), 0 12px 35px -10px rgba(0, 0, 0, 0.7);
}

.aurora-card-interactive {
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.aurora-card-interactive::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.4), rgba(139, 92, 246, 0.15), rgba(0, 217, 245, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.aurora-card-interactive:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -10px rgba(0, 245, 160, 0.2), 0 0 20px 2px rgba(139, 92, 246, 0.15);
}

.aurora-card-interactive:hover::before {
  opacity: 1;
}

/* ================= Aurora Gradient Text & Buttons ================= */
.text-aurora {
  background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 40%, #A855F7 80%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-aurora-teal {
  background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-aurora {
  background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 50%, #8B5CF6 100%);
  color: #030712;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-aurora::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-aurora:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(0, 245, 160, 0.45);
  transform: translateY(-2px);
}

.btn-aurora:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-aurora-outline {
  background: rgba(13, 20, 36, 0.8);
  border: 1px solid rgba(0, 245, 160, 0.4);
  color: #E2E8F0;
  transition: all 0.25s ease;
}

.btn-aurora-outline:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: #00F5A0;
  color: #00F5A0;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.3);
}

/* ================= Minecraft Skin Head Rendering Animation ================= */
.mc-avatar-bounce {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mc-avatar-bounce:hover {
  transform: scale(1.12) rotate(4deg);
}

/* ================= Badges ================= */
.badge-aurora-pulse {
  animation: badgeGlow 2.5s infinite alternate;
}

@keyframes badgeGlow {
  0% {
    box-shadow: 0 0 5px rgba(0, 245, 160, 0.3);
  }
  100% {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
  }
}

/* ================= Custom Scrollbar ================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #070B14;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00F5A0, #8B5CF6);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00F5A0;
}

/* ================= Modal Animation ================= */
.modal-backdrop {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
}

.modal-enter {
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ================= Pulse Circle ================= */
.status-indicator {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
}

.status-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
