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

:root {
  /* Colors - Cyberpunk/Futuristic Palette */
  --primary-color: #00f3ff;
  /* Neon Cyan */
  --primary-hover: #00c2cc;
  --secondary-color: #bc13fe;
  /* Neon Purple */
  --secondary-hover: #9c0ce3;

  --background-color: #050511;
  /* Deep Space Black */
  --surface-color: rgba(30, 41, 59, 0.4);
  /* Glass Surface */
  --surface-hover: rgba(30, 41, 59, 0.6);

  --text-color: #e2e8f0;
  /* Slate 200 */
  --text-muted: #94a3b8;
  /* Slate 400 */

  --border-color: rgba(148, 163, 184, 0.1);

  --success-color: #00ff9d;
  /* Neon Green */
  --error-color: #ff0055;
  /* Neon Red */
  --warning-color: #ffd700;
  /* Neon Gold */

  /* Effects */
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --backdrop-blur: blur(12px);

  --neon-glow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
  --purple-glow: 0 0 10px rgba(188, 19, 254, 0.5), 0 0 20px rgba(188, 19, 254, 0.3);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
  text-shadow: var(--neon-glow);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

header {
  background: rgba(5, 5, 17, 0.8);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: var(--glass-border);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-color);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  box-shadow: var(--neon-glow);
  border-radius: 2px;
}

main {
  flex: 1;
  padding: var(--spacing-xl) 0;
}

footer {
  background: rgba(5, 5, 17, 0.9);
  border-top: var(--glass-border);
  padding: var(--spacing-xl) 0;
  text-align: center;
  color: var(--text-muted);
  margin-top: auto;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #0099ff);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-color);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: var(--neon-glow);
}

.btn-block {
  width: 100%;
}

.card {
  background: var(--surface-color);
  backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--glass-shadow), 0 0 15px rgba(0, 243, 255, 0.1);
  border-color: rgba(0, 243, 255, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #1a1a2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
  line-height: 1.3;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-active {
  background: rgba(0, 255, 157, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(0, 255, 157, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

.badge-upcoming {
  background: rgba(0, 243, 255, 0.15);
  color: var(--primary-color);
  border: 1px solid rgba(0, 243, 255, 0.3);
}

.badge-expired {
  background: rgba(255, 0, 85, 0.15);
  color: var(--error-color);
  border: 1px solid rgba(255, 0, 85, 0.3);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-color);
  font-family: inherit;
  transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.2), var(--neon-glow);
  background: rgba(15, 23, 42, 0.8);
}

/* Utilities */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.gap-4 {
  gap: var(--spacing-md);
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Grid System */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Toast/Alert */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary-color);
  box-shadow: var(--neon-glow);
  z-index: 100;
  animation: slideIn 0.3s ease;
  color: var(--text-color);
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}