@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #c9932b;
  --primary-light: #d4a73b;
  --primary-dark: #8f5a1e;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --nebula-pink: #ec4899;
  --nebula-blue: #3b82f6;
  --nebula-purple: #8b5cf6;
  --bg: #050510;
  --bg-card: rgba(15, 15, 30, 0.6);
  --bg-card-hover: rgba(25, 25, 50, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(201, 147, 43, 0.3);
  --text: #f0f0f5;
  --text-muted: #b0b0cc;
  --text-dim: #8080aa;
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --gold-50: #fbf8eb;
  --gold-100: #f5eed1;
  --gold-200: #eadba5;
  --gold-300: #debf69;
  --gold-400: #d4a73b;
  --gold-500: #c9932b;
  --gold-600: #b17721;
  --gold-700: #8f5a1e;
  --gold-800: #77491f;
  --glow-gold: 0 0 20px rgba(201, 147, 43, 0.4);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.4);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

/* Glassmorphism */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.glass:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.glass-gold {
  background: rgba(201, 147, 43, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
}

.glass-purple {
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--gold-300), var(--primary), var(--gold-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-purple {
  background: linear-gradient(135deg, var(--accent-light), var(--nebula-pink), var(--nebula-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--gold-400));
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(201, 147, 43, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* Input */
.input-field {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 147, 43, 0.15);
}

.input-field::placeholder {
  color: var(--text-dim);
}

.input-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Card */
.card {
  padding: 32px;
  border-radius: 24px;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  border: 1px solid;
}

.badge-gold {
  background: rgba(201, 147, 43, 0.15);
  color: var(--gold-400);
  border-color: rgba(201, 147, 43, 0.3);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  border-color: rgba(139, 92, 246, 0.3);
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Tabs */
.tab-group {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  width: fit-content;
}

.tab {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.tab.active {
  background: var(--primary);
  color: #000;
  box-shadow: var(--glow-gold);
}

.tab:hover:not(.active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Page Wrapper */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .tab-group { flex-wrap: wrap; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a1a; }
::-webkit-scrollbar-thumb { background: #2a2a4a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Selection */
::selection {
  background: rgba(201, 147, 43, 0.3);
  color: #fff;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 147, 43, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 147, 43, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Utility */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 24px; }
.rounded-full { border-radius: 50%; }
