/* ARS Gaming Store - Modern Cyberpunk Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-dark: #080c14;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --primary: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.4);
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --success: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(139, 92, 246, 0.07) 0%, transparent 40%);
}

.font-cyber {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 20px var(--primary-glow);
}

.glow-purple {
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #080c14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Interactive Cards */
.game-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.game-card.active {
  border-color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
}

.game-card.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.nominal-card {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.nominal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
}

.nominal-card.active {
  border-color: var(--primary);
  background: rgba(6, 182, 212, 0.12);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* Gradient Texts */
.text-gradient {
  background: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Modal Dialog */
dialog.custom-modal {
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #0d1322;
  color: var(--text-main);
  max-width: 480px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
  padding: 0;
  overflow: hidden;
}

dialog.custom-modal::backdrop {
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
}

/* Loading Pulse */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pulsing {
  animation: pulse-glow 2s infinite ease-in-out;
}
