/*
 * Base CSS - Design tokens, typography, and reusable components
 * This replaces Tailwind - plain CSS only
 */

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

/* ===== DESIGN TOKENS ===== */
:root {
  color-scheme: dark;

  /* Primary Colors */
  --color-orange: #FF6B35;
  --color-orange-bright: #FF8C42;
  --color-red: #E63946;
  --color-yellow: #FFD166;
  --color-gold: #F4A261;

  /* Supporting Colors */
  --color-jade: #10B981;
  --color-jade-rgb: 16, 185, 129;
  --color-azure: #22D3EE;
  --color-indigo: #6366F1;
  --color-pink: #F472B6;
  --color-blue: #3B82F6;
  --color-blue-dark: #1D4ED8;
  --color-red-rgb: 230, 57, 70;

  /* Backgrounds */
  --color-bg-0: #1a1a1a;
  --color-bg-1: #222222;
  --color-bg-2: #2a2a2a;
  --color-bg-3: #333333;
  --color-surface: rgba(30, 30, 30, 0.8);
  --color-surface-solid: #1e1e1e;
  --color-surface-2: #2a2a2a;
  --color-surface-bright: #333333;

  /* Text */
  --color-text: #F3F4F6;
  --color-text-1: #F3F4F6;
  --color-text-2: #A1A1AA;
  --color-text-3: #71717A;

  /* Borders */
  --color-border: rgba(255, 107, 53, 0.2);
  --color-border-strong: rgba(255, 107, 53, 0.5);

  /* Fonts */
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Exo 2', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Shadows */
  --shadow-orange: 0 0 36px -8px rgba(255, 107, 53, 0.6);
  --shadow-card: 0 6px 28px rgba(0, 0, 0, 0.45);
  --shadow-dropdown: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg-0);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(255, 107, 53, 0.08), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(230, 57, 70, 0.05), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 6px);
  background-attachment: fixed;
  color: var(--color-text-1);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 8% -12%, rgba(255, 107, 53, 0.12), transparent 55%),
    radial-gradient(900px 600px at 102% 12%, rgba(230, 57, 70, 0.08), transparent 55%);
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-1);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-orange-bright);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(255, 107, 53, 0.3);
  color: var(--color-text-1);
}

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-0); }
::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-orange); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px -4px rgba(255, 107, 53, 0.8);
}

.btn-secondary {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text-1);
}

.btn-secondary:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-solid);
}

.btn-sm {
  padding: 0.4rem 1.125rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===== FORM INPUTS ===== */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-1);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-1);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:hover {
  border-color: var(--color-border-strong);
}

.input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

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

/* Select */
.select {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  background: var(--color-bg-1);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-1);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select:hover {
  border-color: var(--color-border-strong);
}

.select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

/* Textarea */
.textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-1);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-1);
  font-size: 1rem;
  font-family: inherit;
  min-height: 120px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea:hover {
  border-color: var(--color-border-strong);
}

.textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.textarea::placeholder {
  color: var(--color-text-3);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: var(--color-surface);
  color: var(--color-text-2);
}

.badge-success { background: var(--color-jade); color: white; }
.badge-warning { background: var(--color-yellow); color: var(--color-bg-0); }
.badge-danger { background: var(--color-red); color: white; }
.badge-info { background: var(--color-azure); color: var(--color-bg-0); }
.badge-orange { background: rgba(255, 107, 53, 0.15); color: var(--color-orange); }

/* ===== UTILITY CLASSES (DEPRECATED) ===== */
/*
 * Backwards compatibility for templates still using Tailwind-style classes.
 * DO NOT add new utilities here - use colocated <style> blocks in .templ files instead.
 * When editing a template, convert its utility classes to colocated styles.
 * Periodically audit and remove unused utilities.
 */

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid */
.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)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-full { grid-column: 1 / -1; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Width/Height */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.min-h-0 { min-height: 0; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }

/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }
.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Colors - using CSS variables */
.text-white { color: white; }
.text-text-1 { color: var(--color-text-1); }
.text-text-2 { color: var(--color-text-2); }
.text-text-3 { color: var(--color-text-3); }
.text-orange { color: var(--color-orange); }
.text-red { color: var(--color-red); }
.text-jade { color: var(--color-jade); }
.text-blue { color: var(--color-blue); }
.bg-transparent { background-color: transparent; }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-solid { background-color: var(--color-surface-solid); }
.bg-bg-0 { background-color: var(--color-bg-0); }
.bg-bg-1 { background-color: var(--color-bg-1); }
.bg-orange { background-color: var(--color-orange); }
.bg-red { background-color: var(--color-red); }
.bg-jade { background-color: var(--color-jade); }
.bg-blue { background-color: var(--color-blue); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-none { border: none; }
.border-border { border-color: var(--color-border); }
.border-transparent { border-color: transparent; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* Transitions */
.transition { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Transforms */
.transform { transform: translateX(0); }
.translate-x-full { transform: translateX(100%); }
.-translate-x-full { transform: translateX(-100%); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

/* Misc */
.object-cover { object-fit: cover; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.select-none { user-select: none; }
.whitespace-nowrap { white-space: nowrap; }
.break-words { word-wrap: break-word; }

/* Hover states */
.hover\:bg-surface:hover { background-color: var(--color-surface); }
.hover\:text-text-1:hover { color: var(--color-text-1); }
.hover\:text-orange:hover { color: var(--color-orange); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* Focus states */
.focus\:outline-none:focus { outline: none; }
.focus\:border-orange:focus { border-color: var(--color-orange); }

/* Additional spacing */
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-12 { margin-bottom: 3rem; }

/* Line height */
.leading-relaxed { line-height: 1.625; }

/* Small transforms */
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }

/* Color with opacity - common patterns */
.bg-jade\/5 { background-color: rgba(16, 185, 129, 0.05); }
.bg-jade\/10 { background-color: rgba(16, 185, 129, 0.1); }
.border-jade\/30 { border-color: rgba(16, 185, 129, 0.3); }
.bg-orange\/10 { background-color: rgba(255, 107, 53, 0.1); }
.bg-orange\/15 { background-color: rgba(255, 107, 53, 0.15); }
.border-orange\/20 { border-color: rgba(255, 107, 53, 0.2); }
.bg-bg-1\/50 { background-color: rgba(34, 34, 34, 0.5); }

/* Max width */
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-\[1200px\] { max-width: 1200px; }

/* Responsive grids */
@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-\[340px\] { width: 340px; }
  .lg\:shrink-0 { flex-shrink: 0; }
  .lg\:sticky { position: sticky; }
  .lg\:top-20 { top: 5rem; }
  .lg\:self-start { align-self: flex-start; }
}

/* Space utilities */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Divide utilities */
.divide-y > * + * { border-top: 1px solid var(--color-border); }
.divide-border\/70 > * + * { border-color: rgba(255, 107, 53, 0.14); }
.divide-border\/50 > * + * { border-color: rgba(255, 107, 53, 0.1); }

/* Fractional spacing */
.gap-1\.5 { gap: 0.375rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.mx-0\.5 { margin-left: 0.125rem; margin-right: 0.125rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.ml-0\.5 { margin-left: 0.125rem; }
.pl-1\.5 { padding-left: 0.375rem; }
.pl-5 { padding-left: 1.25rem; }

/* Small sizes */
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-16 { width: 4rem; }

/* Text sizes with arbitrary values */
.text-\[10px\] { font-size: 10px; }

/* Additional colors */
.text-red-400 { color: #f87171; }
.bg-red-400\/5 { background-color: rgba(248, 113, 113, 0.05); }
.border-red-400\/30 { border-color: rgba(248, 113, 113, 0.3); }
.text-yellow { color: var(--color-yellow); }
.bg-yellow { background-color: var(--color-yellow); }

/* More opacity variants */
.bg-jade\/8 { background-color: rgba(16, 185, 129, 0.08); }
.bg-jade\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-jade\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-orange\/5 { background-color: rgba(255, 107, 53, 0.05); }
.bg-orange\/8 { background-color: rgba(255, 107, 53, 0.08); }
.bg-orange\/12 { background-color: rgba(255, 107, 53, 0.12); }
.bg-orange\/20 { background-color: rgba(255, 107, 53, 0.2); }
.border-orange\/30 { border-color: rgba(255, 107, 53, 0.3); }
.from-orange\/15 { --tw-gradient-from: rgba(255, 107, 53, 0.15); }
.to-orange\/5 { --tw-gradient-to: rgba(255, 107, 53, 0.05); }
.from-jade\/15 { --tw-gradient-from: rgba(16, 185, 129, 0.15); }
.to-jade\/5 { --tw-gradient-to: rgba(16, 185, 129, 0.05); }
.from-jade\/10 { --tw-gradient-from: rgba(16, 185, 129, 0.1); }
.via-jade\/5 { --tw-gradient-via: rgba(16, 185, 129, 0.05); }
.border-border\/30 { border-color: rgba(255, 107, 53, 0.06); }
.border-border\/50 { border-color: rgba(255, 107, 53, 0.1); }
.bg-bg-1\/30 { background-color: rgba(34, 34, 34, 0.3); }
.bg-bg-1\/40 { background-color: rgba(34, 34, 34, 0.4); }
.bg-bg-1\/60 { background-color: rgba(34, 34, 34, 0.6); }
.bg-bg-1\/80 { background-color: rgba(34, 34, 34, 0.8); }
.bg-text-3\/10 { background-color: rgba(113, 113, 122, 0.1); }
.bg-text-3\/50 { background-color: rgba(113, 113, 122, 0.5); }
.hover\:bg-bg-1\/40:hover { background-color: rgba(34, 34, 34, 0.4); }
.hover\:bg-bg-1\/60:hover { background-color: rgba(34, 34, 34, 0.6); }
.hover\:bg-jade\/8:hover { background-color: rgba(16, 185, 129, 0.08); }
.hover\:bg-orange\/12:hover { background-color: rgba(255, 107, 53, 0.12); }

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from, transparent), var(--tw-gradient-via, var(--tw-gradient-from, transparent)), var(--tw-gradient-to, transparent));
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}
.from-bg-1 { --tw-gradient-from: var(--color-bg-1); }
.to-transparent { --tw-gradient-to: transparent; }
.from-orange { --tw-gradient-from: var(--color-orange); }
.to-red { --tw-gradient-to: var(--color-red); }

/* Animation */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Typography */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* Group variants */
.group-open\:rotate-90 { transform: rotate(0deg); transition: transform 0.2s; }
details[open] .group-open\:rotate-90 { transform: rotate(90deg); }

/* Border left */
.border-l-2 { border-left: 2px solid; }

/* Surface opacity */
.bg-surface\/50 { background-color: rgba(30, 30, 30, 0.4); }
