/* NO BELL ($NOBELL) - Luxury Cyberpunk Crypto Theme */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Syne:wght@700;800;900&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --neon-green: #00FF66;
  --neon-green-glow: rgba(0, 255, 102, 0.45);
  --neon-green-soft: rgba(0, 255, 102, 0.12);
  --neon-green-border: rgba(0, 255, 102, 0.25);
  --gold-accent: #EAB308;
  --bg-dark: #07090E;
  --bg-card: rgba(14, 19, 28, 0.75);
  --bg-card-hover: rgba(20, 28, 42, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: #F8FAFC;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(0, 255, 102, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 255, 102, 0.05) 0%, transparent 45%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Cyber Grid Background */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.glow-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.15) 0%, rgba(0, 255, 102, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography classes */
.font-display {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.03em;
}

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

.font-heading {
  font-family: 'Space Grotesk', 'Syne', sans-serif;
}

/* Neon & Glow Utilities */
.text-neon {
  color: var(--neon-green);
}

.text-glow {
  text-shadow: 0 0 15px var(--neon-green-glow), 0 0 35px rgba(0, 255, 102, 0.3);
}

.text-glow-subtle {
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.25);
}

.box-glow {
  box-shadow: 0 0 25px var(--neon-green-glow), inset 0 0 15px rgba(0, 255, 102, 0.1);
}

.box-glow-sm {
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
}

.border-neon {
  border-color: var(--neon-green-border);
}

/* Glassmorphism Card */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--neon-green-border);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0, 255, 102, 0.15);
}

.glass-panel-static {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
}

/* Button styles */
.btn-primary {
  background: var(--neon-green);
  color: #05080A;
  font-weight: 800;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #22ff77;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.65);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(0, 255, 102, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.25);
  transform: translateY(-2px);
}

/* Gradient Borders */
.gradient-border-box {
  position: relative;
  border-radius: 1rem;
  background: #0B0E14;
  padding: 1px;
}

.gradient-border-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.5), transparent 60%, rgba(234, 179, 8, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Marquee Infinite Loop */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pulse indicator */
.pulse-green {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

.pulse-red {
  animation: pulse-ring-red 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring-red {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

/* Floating Animation */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

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

::-webkit-scrollbar-track {
  background: #080B10;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

/* Accordion Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-content.open {
  max-height: 400px;
  opacity: 1;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

/* Canvas Background */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Toast */
#toast {
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* 3D tilt card effect */
.tilt-card {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  will-change: transform;
}

/* Bell Shatter Shake Animation */
@keyframes shake-shatter {
  0% { transform: translate(0, 0) rotate(0deg); filter: drop-shadow(0 0 20px rgba(0,255,102,0.4)); }
  20% { transform: translate(-4px, 4px) rotate(-2deg); filter: drop-shadow(0 0 40px rgba(0,255,102,0.8)); }
  40% { transform: translate(4px, -3px) rotate(2deg); filter: drop-shadow(0 0 60px rgba(0,255,102,1)); }
  60% { transform: translate(-3px, 2px) rotate(-1deg); }
  80% { transform: translate(3px, -2px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.shattering {
  animation: shake-shatter 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}


/* Additional Styles for Bell Board & NO BELL Market */
.terminal-card {
  background: rgba(11, 16, 26, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 255, 102, 0.15);
}

.vote-bar {
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.prediction-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prediction-btn.selected-green {
  background: rgba(0, 255, 102, 0.2) !important;
  border-color: #00FF66 !important;
  color: #00FF66 !important;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.35);
}

.prediction-btn.selected-red {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #EF4444 !important;
  color: #EF4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

.leaderboard-row {
  transition: all 0.2s ease;
}

.leaderboard-row:hover {
  background: rgba(0, 255, 102, 0.05);
  border-color: rgba(0, 255, 102, 0.2);
}

.gold-glow {
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.35);
  border-color: rgba(234, 179, 8, 0.5);
}

.loop-step {
  position: relative;
}

.loop-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #00FF66;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .loop-step:not(:last-child)::after {
    display: none;
  }
}
