:root {
  --primary: #ef4444;
  --secondary: #f43f5e;
  --accent: #fb7185;
  --bg-dark: #0a0a0a;
  --bg-slate: #1a0a0a;
  --bg-slate-heavy: #2d1a1a;
  --bg-gradient: linear-gradient(-45deg, #0a0a0a, #1a0a0a, #2d1a1a, #1a0a0a);
}

.glass { 
  background: rgba(26, 10, 10, 0.7); 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(239, 68, 68, 0.2); 
}

.gradient-bg { 
  background: linear-gradient(-45deg, #0a0a0a, #1a0a0a, #2d1a1a, #1a0a0a); 
  background-size: 400% 400%; 
  animation: gradient 15s ease infinite; 
}

@keyframes gradient { 
  0% { background-position: 0% 50%; } 
  50% { background-position: 100% 50%; } 
  100% { background-position: 0% 50%; } 
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #ef4444;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f43f5e;
}

/* Legacy Utility Overrides for Buzz Theme */
.panel {
  background: rgba(26, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 1rem;
  overflow: hidden;
}

.pad { padding: 1.5rem; }
.grow { flex-grow: 1; }
.row { display: flex; flex-wrap: wrap; gap: 1rem; }

.muted { color: #9ca3af; font-size: 0.875rem; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #ef4444, #f43f5e);
  color: white;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn.secondary {
  background: rgba(26, 10, 10, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn.secondary:hover {
  background: rgba(239, 68, 68, 0.1);
}

.price {
  font-weight: 900;
  color: #ef4444;
}

.price-xxl {
  font-size: 2.5rem;
  line-height: 1;
}

.gradient-text {
  background: linear-gradient(to right, #ffffff, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Admin Specific & Form Styles */
.page-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  background: linear-gradient(to right, #fff, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ef4444;
  border-left: 4px solid #ef4444;
  padding-left: 1rem;
}

.section-title-first { margin-top: 0; }

.row-between { justify-content: space-between; align-items: center; }

.field {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.field input, 
.field textarea, 
.field select {
  background: rgba(26, 10, 10, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: white;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.field input:focus, 
.field textarea:focus, 
.field select:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
  background: rgba(26, 10, 10, 0.9);
}

.field input::placeholder, 
.field textarea::placeholder {
  color: #4b5563;
}

.help {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Notice & Error */
.notice, .error {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  animation: slideUp 0.3s ease-out;
}

.notice {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Grid for cards */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.spacer-12 { height: 12px; }
