@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-obsidian: #08090C;
  --bg-surface: #0E1118;
  --bg-surface-elevated: #141824;
  --color-mint: #00FFA3;
  --color-mint-dim: rgba(0, 255, 163, 0.12);
  --color-mint-glow: rgba(0, 255, 163, 0.35);
  --color-violet: #8B5CF6;
  --color-violet-dim: rgba(139, 92, 246, 0.15);
  --color-coral: #FF4B2B;
}

body {
  background-color: var(--bg-obsidian);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(0, 255, 163, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(0, 255, 163, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  color: #E2E8F0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(14, 17, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
}

.glass-card {
  background: rgba(16, 20, 29, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.15rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(0, 255, 163, 0.38);
  box-shadow: 0 12px 36px -8px rgba(0, 255, 163, 0.18), 0 0 1px 1px rgba(0, 255, 163, 0.2);
  transform: translateY(-3px);
}

/* Cyber Mint Button */
.btn-cyber {
  background: linear-gradient(135deg, #00FFA3 0%, #00D588 100%);
  color: #060709;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.03em;
  border-radius: 0.85rem;
  box-shadow: 0 0 24px rgba(0, 255, 163, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cyber:hover {
  background: linear-gradient(135deg, #26ffb1 0%, #00e08f 100%);
  box-shadow: 0 0 35px rgba(0, 255, 163, 0.55);
  transform: translateY(-1px) scale(1.02);
}

.btn-cyber-outline {
  background: rgba(0, 255, 163, 0.05);
  border: 1px solid rgba(0, 255, 163, 0.35);
  color: #00FFA3;
  font-weight: 600;
  border-radius: 0.85rem;
  transition: all 0.2s ease;
}

.btn-cyber-outline:hover {
  background: rgba(0, 255, 163, 0.15);
  border-color: #00FFA3;
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.25);
}

/* Gamer Live Radar Dot */
.radar-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
}
.radar-dot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #00FFA3;
  border-radius: 50%;
}
.radar-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 2px solid #00FFA3;
  border-radius: 50%;
  animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* CS2 Case Opening Reel */
.case-roulette-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #090B10;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.case-roulette-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #00FFA3;
  box-shadow: 0 0 15px #00FFA3, 0 0 30px #00FFA3;
  z-index: 20;
  transform: translateX(-50%);
}

.case-roulette-center-arrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #00FFA3;
  z-index: 21;
}

.case-roulette-track {
  display: flex;
  position: absolute;
  left: 0;
  top: 10px;
  height: 160px;
  will-change: transform;
}

.case-roulette-item {
  width: 140px;
  height: 155px;
  margin: 0 5px;
  flex-shrink: 0;
  border-radius: 0.85rem;
  background: rgba(20, 24, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-roulette-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #08090C;
}
::-webkit-scrollbar-thumb {
  background: #1C2230;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00FFA3;
}
