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

:root {
  --bg-main: #0a0c12;
  --bg-surface: #111420;
  --bg-surface-elevated: #161a29;
  --bg-card: rgba(18, 22, 34, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --onyx-red: #ff3366;
  --onyx-red-glow: rgba(255, 51, 102, 0.35);
  --discord-blurple: #5865f2;
  --discord-hover: #4752c4;
  
  --text-main: #f1f5f9;
  --text-muted: #8b95a8;
  --text-dim: #545e75;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 51, 102, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 100% 30%, rgba(88, 101, 242, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Subtle background grid */
.bg-grid {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

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

/* Discord tag chip */
.discord-tag-box {
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #c7d2fe;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.discord-tag-box:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.5);
  color: white;
  transform: translateY(-1px);
}

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

.onyx-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff3366 0%, #e11d48 100%);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px var(--onyx-red-glow);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 51, 102, 0.55);
}

.btn-discord {
  background: var(--discord-blurple);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-1px);
}

/* Category filter tab */
.cat-pill {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

.cat-pill.active {
  background: #ff3366;
  border-color: #ff3366;
  color: white;
  box-shadow: 0 4px 15px var(--onyx-red-glow);
}

/* Product Card */
.drop-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.drop-card:hover {
  border-color: rgba(255, 51, 102, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.8), 0 0 20px -5px var(--onyx-red-glow);
}

.drop-card-img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.drop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.drop-card:hover .drop-card-img img {
  transform: scale(1.04);
}

/* Status Indicator Pulse */
@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.9; }
}

.pulse-dot {
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  animation: status-pulse 2s infinite ease-in-out;
}

/* Toast message notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e2235;
  color: white;
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Modal */
.modal-overlay {
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0c12;
}
::-webkit-scrollbar-thumb {
  background: #1c2236;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff3366;
}
