/* funstream — warm graphite dark theme */

:root {
  /* Surfaces — warm near-black with soft hue shifts */
  --bg:           #14110e;
  --bg-elev:      #1b1713;
  --surface:      #221c17;
  --surface-2:    #2a231d;
  --surface-3:    #332a23;
  --border:       #2e2620;
  --border-strong:#3e342c;
  --hairline:     rgba(245, 232, 215, 0.06);

  /* Type */
  --text:         #f4e8d7;
  --text-mid:     #c8b8a4;
  --text-dim:     #97877a;
  --text-faint:   #6a5d52;

  /* Brand — warm coral→pink→violet, tweakable */
  --c1: #FFB089;
  --c2: #FF6B9D;
  --c3: #B47AF0;
  --accent:       var(--c2);
  --accent-soft:  rgba(255, 107, 157, 0.14);
  --accent-grad:  linear-gradient(135deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%);

  /* Signals */
  --live:    #ff4458;
  --success: #4ade80;
  --warn:    #f59e0b;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.4);
  --shadow-2: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(255,107,157,0.3), 0 12px 32px -8px rgba(180,122,240,0.35);

  --font-sans: 'Geist', 'Geist Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
}

#root {
  height: 100%;
}

button { font-family: inherit; }

/* Custom scrollbar inside designs */
.fs-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.fs-scroll::-webkit-scrollbar-track { background: transparent; }
.fs-scroll::-webkit-scrollbar-thumb {
  background: rgba(245, 232, 215, 0.08);
  border-radius: 999px;
}
.fs-scroll::-webkit-scrollbar-thumb:hover { background: rgba(245, 232, 215, 0.16); }

/* Tiny live pulse */
@keyframes fs-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.85); }
}

@keyframes fs-float-up {
  0%   { transform: translate(var(--dx, 0px), 0) scale(0.8); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate(calc(var(--dx, 0px) + var(--drift, 0px)), -180px) scale(1.4); opacity: 0; }
}

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

@keyframes fs-stream-gradient {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(8%, -6%) rotate(2deg); }
  66%      { transform: translate(-6%, 4%) rotate(-2deg); }
}

@keyframes fs-aurora-1 {
  0%, 100% { transform: translate(0%, 0%)   scale(1);   }
  33%      { transform: translate(10%, -8%) scale(1.15);}
  66%      { transform: translate(-6%, 6%)  scale(0.95);}
}
@keyframes fs-aurora-2 {
  0%, 100% { transform: translate(0%, 0%)  scale(1);   }
  50%      { transform: translate(-12%, 8%) scale(1.2); }
}
@keyframes fs-aurora-3 {
  0%, 100% { transform: translate(0%, 0%)  scale(1);   }
  40%      { transform: translate(8%, 10%) scale(1.1); }
  80%      { transform: translate(-4%, -8%) scale(0.9);}
}
@keyframes fs-rotate {
  to { transform: rotate(360deg); }
}
@keyframes fs-ping {
  0%   { transform: scale(0.95); opacity: 0.55; }
  100% { transform: scale(1.9);  opacity: 0;    }
}
@keyframes fs-blink {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 1;    }
}

@keyframes fs-bar {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* Reset all DesignCanvas artboards to dark by default */
.fs-artboard {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
