:root {
  --bg: #030303;
  --primary: #FF0000;
  --primary-rgb: 255, 0, 0;
  --secondary: #0a0a0a;
  --accent: #FF3131;
  --text-main: #e2e8f0;
  --text-muted: #64748b;
  --glass: rgba(5, 5, 5, 0.8);
  --border-glass: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none !important;
  user-select: none;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* FPS CURSOR STYLE */
body, a, button, input, select {
  cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2V6M12 18V22M2 12H6M18 12H22' stroke='%23FF0000' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23FF0000'/%3E%3C/svg%3E") 12 12, auto !important;
}

/* NOISE TEXTURE EFFECT */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(to bottom, var(--primary), transparent);
  border-radius: 10px;
}

/* UTILITY CLASSES */
.glow-text {
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5), 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
}

.grid-bg {
  background-image: 
    linear-gradient(rgba(var(--primary-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* BUTTONS: TACTICAL-CYBER */
.btn-cyber {
  position: relative;
  padding: 1rem 2rem;
  background-color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  overflow: hidden;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-cyber:hover {
  border-color: rgba(var(--primary-rgb), 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.2);
}

.btn-cyber::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-cyber:hover::before {
  opacity: 0.2;
}

/* ANIMATIONS */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.animate-shake {
  animation: shake 0.2s ease-in-out infinite alternate;
}

/* HUD BORDERS */
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--primary);
}
.corner-tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

/* PRICE CARDS ENHANCEMENT */
.price-card {
  position: relative;
  transition: all 0.5s;
  overflow: hidden;
}

.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--primary-rgb), 0.1) 0%, transparent 80%);
  pointer-events: none;
}
.group:hover .price-card::after {
  opacity: 1;
}

/* RESPONSIVE TYPE */
h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-style: italic;
}
