/* ================================================================
   🐐👑 GOAT ROYALTY THEME — Ms Money Penny Store
   Ultra-premium gold/navy glass-morphism with crown motifs
   Life Imitates Art Inc. — The Best Ever
   Version 3.0 — ULTIMATE BUILD
   ================================================================ */

@import url('./local-fonts.css');

/* ════════════════════════════════════════════════════════════════
   DESIGN TOKENS — Complete Variable System
   ════════════════════════════════════════════════════════════════ */
:root {
  /* ── Core Backgrounds ── */
  --bg-0:         #030609;
  --bg-1:         #050a14;
  --bg-2:         #080c14;
  --bg-3:         #0d1420;
  --bg-4:         #111928;
  --bg-5:         #1a2336;
  --bg-card:      rgba(13, 20, 32, 0.85);
  --bg-card-hover:rgba(22, 32, 50, 0.90);
  --bg-glass:     rgba(13, 20, 32, 0.55);
  --bg-glass-med: rgba(13, 20, 32, 0.72);
  --bg-glass-hi:  rgba(13, 20, 32, 0.88);
  --bg-overlay:   rgba(0, 0, 0, 0.75);

  /* ── Brand Gold ── */
  --gold:         #d4a03c;
  --gold-light:   #e8b84b;
  --gold-bright:  #f0c040;
  --gold-pale:    #f5d878;
  --gold-deep:    #a87828;
  --gold-glow:    rgba(212, 160, 60, 0.20);
  --gold-glow-med:rgba(212, 160, 60, 0.35);
  --gold-glow-hi: rgba(212, 160, 60, 0.55);
  --crown-glow:   rgba(240, 192, 64, 0.30);

  /* ── Semantic Colors ── */
  --red:          #e74c3c;
  --red-glow:     rgba(231, 76, 60, 0.25);
  --green:        #2ecc71;
  --green-glow:   rgba(46, 204, 113, 0.20);
  --blue:         #3498db;
  --blue-glow:    rgba(52, 152, 219, 0.20);
  --purple:       #9b59b6;
  --purple-glow:  rgba(155, 89, 182, 0.20);
  --cyan:         #00d4ff;
  --cyan-glow:    rgba(0, 212, 255, 0.18);
  --orange:       #f39c12;
  --orange-glow:  rgba(243, 156, 18, 0.20);
  --pink:         #e91e8c;
  --pink-glow:    rgba(233, 30, 140, 0.20);
  --teal:         #1abc9c;
  --teal-glow:    rgba(26, 188, 156, 0.18);

  /* ── Text ── */
  --text:         #f0ece4;
  --text-primary: #f5f0e8;
  --text-secondary:#c8c0b0;
  --text-muted:   #8a8070;
  --sub:          #7a7060;
  --sub-light:    #6a6050;

  /* ── Borders ── */
  --border:       rgba(212, 160, 60, 0.14);
  --border-light: rgba(212, 160, 60, 0.08);
  --border-med:   rgba(212, 160, 60, 0.25);
  --border-hi:    rgba(212, 160, 60, 0.50);
  --border-focus: rgba(212, 160, 60, 0.70);
  --border-glass: rgba(255, 255, 255, 0.06);

  /* ── Shadows ── */
  --shadow-sm:    0 2px 8px  rgba(0, 0, 0, 0.40);
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg:    0 8px 48px rgba(0, 0, 0, 0.65);
  --shadow-gold:  0 0 32px   rgba(212, 160, 60, 0.12);
  --shadow-card:  0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-glow:  0 0 60px   rgba(212, 160, 60, 0.08);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ── Typography ── */
  --font-main:    'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --font-ui:      'Space Grotesk', 'Inter', sans-serif;

  /* ── Radii ── */
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius:       12px;
  --radius-md:    16px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-pill:  9999px;

  /* ── Spacing ── */
  --space-1:      4px;
  --space-2:      8px;
  --space-3:      12px;
  --space-4:      16px;
  --space-5:      20px;
  --space-6:      24px;
  --space-8:      32px;
  --space-10:     40px;
  --space-12:     48px;
  --space-16:     64px;

  /* ── Transitions ── */
  --tr-fast:      all 0.15s ease;
  --tr:           all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:      all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-spring:    all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --tr-bounce:    all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* ── Z-Index Scale ── */
  --z-below:      -1;
  --z-base:       0;
  --z-raised:     10;
  --z-dropdown:   100;
  --z-sticky:     200;
  --z-fixed:      300;
  --z-modal:      400;
  --z-toast:      500;
  --z-top:        999;

  /* ── Layout ── */
  --nav-height:   56px;
  --sidebar-w:    260px;
  --content-max:  1440px;
}

/* ════════════════════════════════════════════════════════════════
   RESETS & BASE
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img, video, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--tr); }
a:hover { color: var(--gold-bright); }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--gold-glow-med); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   SCROLLBARS
   ════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::-webkit-scrollbar-corner { background: var(--bg-2); }
* { scrollbar-width: thin; scrollbar-color: var(--gold-deep) var(--bg-2); }

/* ════════════════════════════════════════════════════════════════
   BACKGROUND SYSTEM
   ════════════════════════════════════════════════════════════════ */
.goat-bg {
  position: fixed;
  inset: 0;
  background: url('../goat-background.png') center center / cover no-repeat;
  z-index: var(--z-below);
  opacity: 1;
}
.goat-bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 10, 20, 0.88) 0%,
    rgba(8, 12, 20, 0.82) 40%,
    rgba(5, 10, 20, 0.90) 100%
  );
  z-index: var(--z-below);
}
.goat-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: var(--z-below);
  pointer-events: none;
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.goat-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-glass-hi);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--space-6);
  gap: var(--space-4);
  z-index: var(--z-fixed);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.03);
}

.goat-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px var(--gold-glow-med);
  flex-shrink: 0;
}
.goat-nav-logo .crown { font-size: 1.4rem; animation: crownFloat 3s ease-in-out infinite; }
@keyframes crownFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }

.goat-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.goat-nav-links::-webkit-scrollbar { display: none; }

.goat-nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--tr);
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  position: relative;
}
.goat-nav-link:hover {
  color: var(--text);
  background: var(--bg-glass);
  border-color: var(--border);
}
.goat-nav-link.active {
  color: var(--gold);
  background: var(--gold-glow);
  border-color: var(--border-med);
}
.goat-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.goat-nav-spacer { flex: 1; }

.goat-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.goat-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 0 12px var(--gold-glow);
}
.goat-nav-avatar:hover { box-shadow: 0 0 20px var(--gold-glow-med); transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════════
   SIDEBAR NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.goat-sidebar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-glass-hi);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-section {
  padding: var(--space-2) var(--space-4) var(--space-1);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: var(--space-2);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px var(--space-4);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--tr);
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.sidebar-item:hover {
  color: var(--text);
  background: var(--bg-glass);
}
.sidebar-item.active {
  color: var(--gold);
  background: var(--gold-glow);
}
.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.sidebar-item-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-item-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--gold-glow);
  color: var(--gold);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS — Complete System
   ════════════════════════════════════════════════════════════════ */

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.15s;
}
.btn:active::after { opacity: 0.06; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Primary — Gold */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 2px 12px var(--gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-bright) 100%);
  box-shadow: 0 4px 20px var(--gold-glow-med);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary */
.btn-secondary {
  background: var(--bg-glass);
  color: var(--text);
  border-color: var(--border-med);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  color: var(--gold);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-glass); color: var(--text); border-color: var(--border-med); }

/* Danger */
.btn-danger {
  background: var(--red-glow);
  color: var(--red);
  border-color: rgba(231, 76, 60, 0.35);
}
.btn-danger:hover { background: rgba(231, 76, 60, 0.2); border-color: var(--red); }

/* Success */
.btn-success {
  background: var(--green-glow);
  color: var(--green);
  border-color: rgba(46, 204, 113, 0.35);
}
.btn-success:hover { background: rgba(46, 204, 113, 0.2); border-color: var(--green); }

/* Size variants */
.btn-xs { padding: 3px 10px; font-size: 0.72rem; border-radius: var(--radius-xs); }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.btn-lg { padding: 12px 28px; font-size: 0.92rem; border-radius: var(--radius); }
.btn-xl { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; }

/* Icon button */
.btn-icon {
  padding: 8px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.btn-icon-sm { width: 28px; height: 28px; padding: 5px; font-size: 0.85rem; }
.btn-icon-lg { width: 44px; height: 44px; padding: 10px; font-size: 1.1rem; }

/* ════════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  backdrop-filter: blur(12px);
  transition: var(--tr);
  box-shadow: var(--shadow-card);
}
.card:hover { border-color: var(--border-med); box-shadow: var(--shadow-card), var(--shadow-gold); }
.card-sm { padding: var(--space-4); border-radius: var(--radius); }
.card-lg { padding: var(--space-8); border-radius: var(--radius-lg); }

.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-inset), 0 1px 32px rgba(0,0,0,0.3);
}

.card-gold {
  background: linear-gradient(135deg, rgba(212,160,60,0.08) 0%, rgba(212,160,60,0.03) 100%);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.card-subtitle { font-size: 0.8rem; color: var(--sub); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════
   BADGES & TAGS
   ════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.badge-gold    { background: var(--gold-glow);    color: var(--gold);   border: 1px solid var(--border-med); }
.badge-green   { background: var(--green-glow);   color: var(--green);  border: 1px solid rgba(46,204,113,0.25); }
.badge-red     { background: var(--red-glow);     color: var(--red);    border: 1px solid rgba(231,76,60,0.25); }
.badge-blue    { background: var(--blue-glow);    color: var(--blue);   border: 1px solid rgba(52,152,219,0.25); }
.badge-purple  { background: var(--purple-glow);  color: var(--purple); border: 1px solid rgba(155,89,182,0.25); }
.badge-cyan    { background: var(--cyan-glow);    color: var(--cyan);   border: 1px solid rgba(0,212,255,0.25); }
.badge-orange  { background: var(--orange-glow);  color: var(--orange); border: 1px solid rgba(243,156,18,0.25); }
.badge-pink    { background: var(--pink-glow);    color: var(--pink);   border: 1px solid rgba(233,30,140,0.25); }
.badge-muted   { background: rgba(122,112,96,0.15); color: var(--sub); border: 1px solid rgba(122,112,96,0.2); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-5);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--tr);
}
.tag:hover, .tag.active { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

/* ════════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: var(--space-4); }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.form-hint { font-size: 0.72rem; color: var(--sub); margin-top: var(--space-1); }

.input, .select, .textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.85rem;
  padding: 9px 14px;
  outline: none;
  transition: var(--tr);
  appearance: none;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--bg-4);
}
.input::placeholder { color: var(--sub); }
.input-sm { padding: 6px 10px; font-size: 0.78rem; }
.input-lg { padding: 12px 16px; font-size: 0.92rem; }

.input-group {
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--tr);
}
.input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.input-group .input { border: none; background: transparent; }
.input-group .input:focus { box-shadow: none; }
.input-addon {
  padding: 9px 12px;
  font-size: 0.82rem;
  color: var(--sub);
  background: var(--bg-4);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.input-addon-right {
  border-right: none;
  border-left: 1px solid var(--border);
}

/* Checkbox & Radio */
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.checkbox-label, .radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--tr);
}
.checkbox-label:hover, .radio-label:hover { color: var(--text); }

/* Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-5);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 6px var(--gold-glow-med);
  transition: var(--tr);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.3); box-shadow: 0 0 12px var(--gold-glow-hi); }
input[type="range"]::-moz-range-thumb { width:14px;height:14px;border-radius:50%;background:var(--gold);border:none;cursor:pointer; }
input[type="range"].range-blue::-webkit-slider-thumb { background: var(--blue); }
input[type="range"].range-green::-webkit-slider-thumb { background: var(--green); }
input[type="range"].range-red::-webkit-slider-thumb { background: var(--red); }
input[type="range"].range-purple::-webkit-slider-thumb { background: var(--purple); }
input[type="range"].range-cyan::-webkit-slider-thumb { background: var(--cyan); }

/* Select */
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a03c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ════════════════════════════════════════════════════════════════
   MODALS
   ════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  animation: fadeIn 0.2s ease;
}
.modal {
  background: var(--bg-3);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 520px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-sm { max-width: 380px; padding: var(--space-6); }
.modal-lg { max-width: 720px; }
.modal-xl { max-width: 960px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--sub);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--tr);
}
.modal-close:hover { background: var(--red-glow); color: var(--red); border-color: var(--red); }
.modal-footer {
  display: flex; gap: var(--space-3); justify-content: flex-end;
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════════
   DROPDOWNS & MENUS
   ════════════════════════════════════════════════════════════════ */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--bg-3);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  padding: var(--space-2) 0;
  animation: slideDown 0.18s ease;
  backdrop-filter: blur(16px);
}
.dropdown-menu-right { left: auto; right: 0; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px var(--space-4);
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--tr-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.dropdown-item:hover { background: var(--gold-glow); color: var(--gold); }
.dropdown-item.danger:hover { background: var(--red-glow); color: var(--red); }
.dropdown-divider { height: 1px; background: var(--border); margin: var(--space-2) 0; }

/* ════════════════════════════════════════════════════════════════
   TABS
   ════════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-glass);
}
.tab-item {
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.tab-item:hover { color: var(--text); background: var(--bg-glass); }
.tab-item.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Pill Tabs */
.tabs-pill {
  display: flex;
  gap: var(--space-2);
  background: var(--bg-3);
  padding: var(--space-1);
  border-radius: var(--radius);
}
.tab-pill {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--tr);
  flex: 1;
  text-align: center;
}
.tab-pill:hover { color: var(--text); }
.tab-pill.active { background: var(--gold-glow); color: var(--gold); box-shadow: var(--shadow-sm); }

/* ════════════════════════════════════════════════════════════════
   PROGRESS & METERS
   ════════════════════════════════════════════════════════════════ */
.progress {
  height: 6px;
  background: var(--bg-5);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
.progress-sm { height: 4px; }
.progress-md { height: 8px; }
.progress-lg { height: 12px; }

/* VU Meter */
.vu-meter {
  display: flex;
  gap: 2px;
  height: 40px;
  align-items: flex-end;
}
.vu-bar {
  flex: 1;
  border-radius: 1px;
  background: linear-gradient(to top, var(--green) 0%, var(--green) 60%, var(--gold) 80%, var(--red) 95%);
  transition: height 0.05s;
}

/* ════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: var(--z-toast);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-3);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  color: var(--text);
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(16px);
  max-width: 360px;
}
.toast.success { border-color: rgba(46,204,113,0.4); }
.toast.error   { border-color: rgba(231,76,60,0.4); }
.toast.warning { border-color: rgba(243,156,18,0.4); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-close { margin-left: auto; cursor: pointer; color: var(--sub); font-size: 1rem; flex-shrink: 0; }
.toast-close:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════════
   TABLES
   ════════════════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.table th {
  padding: 10px var(--space-4);
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--bg-4);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 10px var(--space-4);
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-glass); }
.table-striped tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

/* ════════════════════════════════════════════════════════════════
   STAT CARDS
   ════════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: 0;
  transition: var(--tr);
}
.stat-card:hover { border-color: var(--border-med); transform: translateY(-2px); }
.stat-card:hover::before { opacity: 1; }
.stat-value { font-size: 1.8rem; font-weight: 900; font-family: var(--font-ui); }
.stat-label { font-size: 0.75rem; color: var(--sub); text-transform: uppercase; letter-spacing: 0.8px; }
.stat-change { font-size: 0.78rem; display: flex; align-items: center; gap: 4px; }
.stat-change.up { color: var(--green); }
.stat-change.down { color: var(--red); }

/* ════════════════════════════════════════════════════════════════
   TOOLTIPS
   ════════════════════════════════════════════════════════════════ */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-5);
  color: var(--text);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  border: 1px solid var(--border-med);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(4px);
  z-index: var(--z-top);
}
[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS & LAYOUT HELPERS
   ════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--space-12) var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
.section-sm   { padding: var(--space-8) var(--space-6); }
.section-lg   { padding: var(--space-16) var(--space-6); }
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 40px var(--gold-glow);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

/* Grid helpers */
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }

/* Flex helpers */
.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }

/* Dividers */
.divider { height: 1px; background: var(--border); margin: var(--space-5) 0; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ════════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes pulseSlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px var(--gold-glow); }
  50%       { box-shadow: 0 0 28px var(--gold-glow-med); }
}
@keyframes borderGlow {
  0%, 100% { border-color: var(--border); }
  50%       { border-color: var(--border-hi); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scanline {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100vh); }
}
@keyframes numberCount {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Animation utility classes */
.animate-fadeIn    { animation: fadeIn 0.4s ease both; }
.animate-fadeInUp  { animation: fadeInUp 0.5s ease both; }
.animate-slideUp   { animation: slideUp 0.4s ease both; }
.animate-scaleIn   { animation: scaleIn 0.3s ease both; }
.animate-pulse     { animation: pulse 1.5s infinite; }
.animate-spin      { animation: spin 1s linear infinite; }
.animate-float     { animation: float 4s ease-in-out infinite; }
.animate-glow      { animation: glowPulse 2.5s ease-in-out infinite; }
.animate-shimmer   { animation: shimmer 2s infinite; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ════════════════════════════════════════════════════════════════
   SPECIAL EFFECTS
   ════════════════════════════════════════════════════════════════ */

/* Gold Shimmer Text */
.text-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 40%, var(--gold-pale) 60%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

/* Crown Decoration */
.crown-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: 0 0 40px var(--gold-glow-med), 0 0 80px var(--gold-glow);
  position: relative;
}
.crown-title::before {
  content: '👑';
  font-size: 0.6em;
  position: absolute;
  top: -0.5em;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: none;
  animation: crownFloat 3s ease-in-out infinite;
}

/* Glass Card Effect */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--border-glass);
}

/* Gradient Border */
.border-gradient {
  position: relative;
  border: none !important;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}
.border-gradient::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 40%, var(--purple) 100%);
  z-index: -1;
}

/* Scanlines Effect */
.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Glow border on hover */
.hover-glow { transition: var(--tr); }
.hover-glow:hover {
  box-shadow: 0 0 0 1px var(--gold), 0 0 20px var(--gold-glow-med);
}

/* ════════════════════════════════════════════════════════════════
   LOADING STATES
   ════════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-4) 25%, var(--bg-5) 50%, var(--bg-4) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
.skeleton-text  { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 22px; width: 60%; margin-bottom: 12px; }
.skeleton-card  { height: 120px; border-radius: var(--radius-md); }

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-med);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.spinner-sm { width: 16px; height: 16px; }
.spinner-lg { width: 36px; height: 36px; border-width: 3px; }

/* ════════════════════════════════════════════════════════════════
   AUDIO / MUSIC SPECIFIC
   ════════════════════════════════════════════════════════════════ */
.waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}
.waveform-bar {
  width: 3px;
  background: var(--gold);
  border-radius: 1.5px;
  transition: height 0.1s;
}

/* Beat grid */
.beat-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
}
.beat-step {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--bg-5);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--tr-fast);
}
.beat-step:hover { background: var(--bg-card-hover); border-color: var(--border-med); }
.beat-step.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 8px var(--gold-glow-med); }
.beat-step.current { border-top-color: var(--red); }

/* Knob */
.knob-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.knob-label { font-size: 0.65rem; color: var(--sub); text-align: center; white-space: nowrap; }
.knob-value { font-size: 0.7rem; color: var(--text); font-weight: 600; text-align: center; }

/* Fader */
.fader-vertical {
  position: relative;
  width: 4px;
  height: 100%;
  background: var(--bg-5);
  border-radius: 2px;
  margin: 0 auto;
}
.fader-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: height 0.05s;
}
.fader-thumb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: linear-gradient(180deg, #ddd 0%, #aaa 100%);
  border-radius: 2px;
  cursor: ns-resize;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Transport controls */
.transport-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-med);
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--tr);
  flex-shrink: 0;
}
.transport-btn:hover { background: var(--bg-4); border-color: var(--gold); }
.transport-btn.play  { background: var(--green-glow); border-color: var(--green); color: var(--green); }
.transport-btn.rec   { background: var(--red-glow); border-color: var(--red); color: var(--red); }
.transport-btn.loop  { background: var(--blue-glow); border-color: var(--blue); color: var(--blue); }

/* ════════════════════════════════════════════════════════════════
   STATUS INDICATORS
   ════════════════════════════════════════════════════════════════ */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.active   { background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 1.5s infinite; }
.status-dot.idle     { background: var(--orange); }
.status-dot.offline  { background: var(--sub); }
.status-dot.error    { background: var(--red); animation: pulse 1s infinite; }
.status-dot.live     { background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 0.8s infinite; }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.4);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 0.8s infinite;
}

/* ════════════════════════════════════════════════════════════════
   PAGE LAYOUT PATTERNS
   ════════════════════════════════════════════════════════════════ */
.page-with-nav { padding-top: var(--nav-height); }
.page-with-sidebar { padding-left: var(--sidebar-w); padding-top: var(--nav-height); }

.page-header {
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(180deg, var(--bg-3) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}
.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.page-content { padding: var(--space-6); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  :root { --sidebar-w: 220px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hide-md { display: none !important; }
}
@media (max-width: 768px) {
  :root { --nav-height: 50px; --sidebar-w: 0px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-8) var(--space-4); }
  .hide-sm { display: none !important; }
  .goat-sidebar { transform: translateX(-100%); width: 260px; }
  .goat-sidebar.open { transform: translateX(0); }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .modal { padding: var(--space-5); }
  .hide-xs { display: none !important; }
}

/* Print */
@media print {
  .goat-nav, .goat-sidebar, .no-print { display: none !important; }
  body { background: white; color: black; }
  .page-with-nav, .page-with-sidebar { padding: 0; }
}

/* ════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ════════════════════════════════════════════════════════════════ */
.text-gold-grad { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-primary   { color: var(--text) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted     { color: var(--sub) !important; }
.text-gold-c    { color: var(--gold) !important; }
.text-green-c   { color: var(--green) !important; }
.text-red-c     { color: var(--red) !important; }
.text-blue-c    { color: var(--blue) !important; }
.text-cyan-c    { color: var(--cyan) !important; }
.text-purple-c  { color: var(--purple) !important; }
.text-sm   { font-size: 0.78rem; }
.text-xs   { font-size: 0.68rem; }
.text-lg   { font-size: 1.1rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 2rem; }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }
.font-bold { font-weight: 700; }
.font-black{ font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.pointer { cursor: pointer; }
.no-select { user-select: none; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; }
.hidden { display: none !important; }