:root {
  --primary-red: #ff006a;
  --bright-red: #ff2bd7;
  --primary-gold: #00ffd1;
  --bright-gold: #00e5ff;
  --dark-bg: #0b0f1a;
  --panel-bg: #111426;
  --text-color: #e6f7ff;
  --border-color: #233;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 10% 10%, #1a1036 0%, #090b13 40%, #05060a 100%);
  color: var(--text-color);
  font-family: 'Orbitron', 'Roboto Mono', monospace;
  line-height: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  body { background-size: 120% 120%, auto, auto; animation: bgFloatCp 38s linear infinite alternate; }
}
@keyframes bgFloatCp {
  0%   { background-position: 0% 0%, center, center; }
  100% { background-position: 100% 50%, center, center; }
}
header {
  background: linear-gradient(90deg, rgba(0,229,255,0.06), rgba(255,0,106,0.08));
  border-bottom: 1px solid rgba(0,229,255,0.25);
  box-shadow: 0 0 25px rgba(0,229,255,0.12), inset 0 -2px 0 rgba(255,0,106,0.25);
  backdrop-filter: blur(6px);
}
.brand {
  color: var(--bright-gold);
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0,229,255,0.8);
}
.nav a {
  color: var(--text-color);
  border: 1px solid rgba(0,229,255,0.2);
  background: rgba(0,0,0,0.2);
}
.nav a:hover, .nav a.active {
  color: var(--bright-gold);
  border-color: rgba(255,0,106,0.6);
  box-shadow: 0 0 12px rgba(255,0,106,0.5), 0 0 24px rgba(0,229,255,0.4);
  background: linear-gradient(90deg, rgba(0,229,255,0.08), rgba(255,0,106,0.08));
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.65)), radial-gradient(circle at 80% 20%, rgba(0,229,255,0.15), transparent 40%), radial-gradient(circle at 20% 80%, rgba(255,0,106,0.15), transparent 40%);
  height: 320px;
  border-bottom: 2px solid rgba(255,0,106,0.4);
}
.hero h1 {
  color: var(--bright-gold);
  text-shadow: 0 0 20px rgba(0,229,255,0.9), 0 0 40px rgba(255,0,106,0.6);
  letter-spacing: 8px;
}
.panel-box, .card, form, .sidebar-box, .news-post {
  background: linear-gradient(180deg, rgba(10,14,28,0.85), rgba(9,11,19,0.85));
  border: 1px solid rgba(0,229,255,0.2);
  box-shadow: 0 0 20px rgba(0,229,255,0.08), inset 0 0 60px rgba(255,0,106,0.04);
  border-radius: 10px;
}
label { color: var(--bright-gold); }
input[type="text"], input[type="number"], input[type="email"], input[type="password"] {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--text-color);
}
input:focus {
  outline: none;
  border-color: rgba(255,0,106,0.8);
  box-shadow: 0 0 12px rgba(255,0,106,0.6);
}
.btn, button {
  background: linear-gradient(90deg, #ff006a 0%, #7a00ff 100%);
  color: #f4faff;
  border: 1px solid rgba(0,229,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 14px rgba(255,0,106,0.45), 0 0 30px rgba(0,229,255,0.25);
}
.btn:hover, button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,0,106,0.55), 0 0 36px rgba(0,229,255,0.35);
}
a { color: var(--bright-gold); }
a:hover { color: var(--primary-red); text-shadow: 0 0 8px rgba(255,0,106,0.8); }
.alert-success { background: rgba(0,255,209,0.1); border-color: rgba(0,255,209,0.6); color: #00ffd1; }
.alert-error { background: rgba(255,0,106,0.08); border-color: rgba(255,0,106,0.6); color: #ff4da0; }
footer {
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  border-top: 1px solid rgba(0,229,255,0.2);
  color: #9ab;
}

.card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid rgba(0,229,255,0.2);
  box-shadow: 0 0 12px rgba(0,229,255,0.08);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,106,0.6);
  box-shadow: 0 10px 24px rgba(255,0,106,0.25), 0 0 36px rgba(0,229,255,0.25);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.shop-item {
  background: linear-gradient(180deg, rgba(10,14,28,0.85), rgba(9,11,19,0.85));
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,229,255,0.08), inset 0 0 60px rgba(255,0,106,0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,0,106,0.6);
  box-shadow: 0 10px 24px rgba(255,0,106,0.25), 0 0 36px rgba(0,229,255,0.25);
}
.shop-item:hover .shop-quick { opacity: 1; }
.shop-item h4 { color: var(--bright-gold); margin: 10px 0 6px; letter-spacing: .5px; }
.shop-price { color: #9ff; margin-bottom: 12px; font-weight: 700; }
.rarity-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  letter-spacing: .5px;
  border: 1px solid rgba(0,229,255,0.25);
}
.rarity-common { color: #aab; border-color: #334; }
.rarity-rare { color: #00e5ff; border-color: rgba(0,229,255,0.6); box-shadow: 0 0 6px rgba(0,229,255,0.25); }
.rarity-epic { color: #ff2bd7; border-color: rgba(255,43,215,0.6); box-shadow: 0 0 6px rgba(255,43,215,0.25); }
.rarity-mythic { color: #ffe600; border-color: rgba(255,230,0,0.7); box-shadow: 0 0 8px rgba(255,230,0,0.25); }
.shop-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.5));
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 8px;
  transition: opacity .2s ease;
}
.shop-icon:not(.loaded) { opacity: .2; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

.sidebar-box a {
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
  border: 1px solid rgba(0,229,255,0.12);
  background: rgba(0,0,0,0.15);
}
.sidebar-box a:hover {
  color: var(--bright-gold) !important;
  background: linear-gradient(90deg, rgba(0,229,255,0.08), rgba(255,0,106,0.08));
  box-shadow: 0 0 12px rgba(0,229,255,0.25);
  transform: translateX(2px);
}

.shop-item:hover .shop-icon {
  transform: translateY(-2px) scale(1.06) rotate(1deg);
  filter: drop-shadow(0 0 14px rgba(0,229,255,0.8));
  transition: transform .2s ease, filter .2s ease;
}

.panel-box table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(180deg, rgba(10,14,28,0.6), rgba(9,11,19,0.6));
  border: 1px solid rgba(0,229,255,0.15);
}
.panel-box thead tr {
  background: linear-gradient(90deg, rgba(0,229,255,0.08), rgba(255,0,106,0.08));
  color: #cfefff;
}
.panel-box th, .panel-box td {
  padding: 10px;
  border-bottom: 1px solid rgba(0,229,255,0.12);
}
.panel-box tr:hover td {
  background: rgba(0,229,255,0.04);
}

.hero h1 {
  position: relative;
  background: linear-gradient(90deg, rgba(0,229,255,0.2), rgba(255,0,106,0.9), rgba(0,229,255,0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glowSweep 3.5s linear infinite;
}
@keyframes glowSweep {
  0% { background-position: -200% 0; text-shadow: 0 0 12px rgba(0,229,255,0.6); }
  50% { text-shadow: 0 0 18px rgba(255,0,106,0.8); }
  100% { background-position: 200% 0; text-shadow: 0 0 12px rgba(0,229,255,0.6); }
}

.nav a { position: relative; overflow: hidden; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #ff006a);
  transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.panel-box::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 2px, transparent 4px);
  opacity: .4;
  border-radius: 10px;
}
.panel-box { position: relative; }

input[type="text"],input[type="email"],input[type="password"],input[type="number"] { transition: box-shadow .2s ease, border-color .2s ease; }
button:active, .btn:active { transform: translateY(1px); }

.currency { font-weight: 700; }
.currency--cash { color: #00ffd1; }
.currency--wcoin { color: #00e5ff; }
.currency--dp { color: #ffd700; }
