/* peter-digital — Digital Panel Style */
:root {
  --bg-dark: #0a0612;
  --bg-panel: rgba(15, 8, 25, 0.85);
  --border-glow: rgba(138, 43, 226, 0.4);
  --neon-purple: #8b2fd9;
  --neon-blue: #00d4ff;
  --neon-fuchsia: #ff00aa;
  --neon-white: #e8e0ff;
  --glow-purple: rgba(139, 47, 217, 0.6);
  --glow-blue: rgba(0, 212, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--neon-white);
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
}

/* Floating particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-blue);
  animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(30px, -50px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(-20px, -100px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 0.9;
  }
}

/* Main container */
.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Panel styling — digital frame */
.main-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 4rem 5rem;
  max-width: 700px;
  box-shadow:
    0 0 40px rgba(139, 47, 217, 0.15),
    inset 0 0 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.main-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    var(--neon-purple) 25%,
    var(--neon-blue) 50%,
    var(--neon-fuchsia) 75%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: border-flow 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Glow orbs in background */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orb-pulse 6s ease-in-out infinite;
}

.glow-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--neon-purple);
  top: -100px;
  right: -80px;
}

.glow-orb-2 {
  width: 200px;
  height: 200px;
  background: var(--neon-blue);
  bottom: -50px;
  left: -60px;
  animation-delay: -2s;
}

.glow-orb-3 {
  width: 150px;
  height: 150px;
  background: var(--neon-fuchsia);
  top: 50%;
  left: -40px;
  animation-delay: -4s;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.35; }
}

/* Brand title — DONATIONS-style neon */
.brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}

.brand-text {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e8e0ff 30%,
    #c4a8ff 60%,
    #8b2fd9 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px var(--glow-purple))
          drop-shadow(0 0 40px var(--glow-blue));
  animation: text-glow 3s ease-in-out infinite alternate;
}

.brand-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 47, 217, 0.3) 0%,
    rgba(0, 212, 255, 0.2) 40%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: 0;
}

@keyframes text-glow {
  from { filter: drop-shadow(0 0 20px var(--glow-purple)) drop-shadow(0 0 40px var(--glow-blue)); }
  to { filter: drop-shadow(0 0 30px var(--glow-purple)) drop-shadow(0 0 60px var(--glow-blue)); }
}

.tagline {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  text-align: center;
  color: rgba(232, 224, 255, 0.7);
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

/* Progress section */
.progress-section {
  margin-bottom: 2rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(232, 224, 255, 0.6);
}

.progress-percent {
  color: var(--neon-blue);
  font-weight: 600;
}

/* Progress bar — digital style */
.progress-track {
  height: 12px;
  background: rgba(20, 10, 35, 0.9);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(139, 47, 217, 0.3);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--neon-purple) 0%,
    var(--neon-blue) 50%,
    var(--neon-fuchsia) 100%
  );
  background-size: 200% 100%;
  border-radius: 5px;
  position: relative;
  transition: width 0.3s ease;
  animation: gradient-shift 3s ease infinite;
  box-shadow: 0 0 20px var(--glow-purple);
}

.progress-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
  border-radius: 5px 5px 0 0;
}

.progress-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 20% 50%,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 3px
  );
  background-size: 20px 10px;
  animation: particle-move 2s linear infinite;
  opacity: 0.6;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes particle-move {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

/* Status line */
.status-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(232, 224, 255, 0.5);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-blue);
  animation: status-blink 1.5s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Responsive */
@media (max-width: 600px) {
  .main-panel {
    padding: 2.5rem 2rem;
  }

  .brand {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }
}
