/**
 * demo-basic.css
 * Styles for PantherUI basic demo page (stage + indicators + hint only)
 */

/* --- Reset & Base ------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0d0d0d;
  font-family: 'DM Mono', monospace;
}

/* --- Stage -------------------------------------------------------- */

#stage {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, #1a1a1a 0%, #0d0d0d 100%);
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* --- PantherUI overrides ------------------------------------------ */

.panther-Carousel-panelTitleBar {
  background: rgba(10,10,10,0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem !important;
  letter-spacing: 0.06em;
}

.panther-Carousel-panelContent {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: #ccc;
  padding: 14px !important;
}

.panther-Carousel-panelContent ul { box-shadow: none !important; }

.panther-Carousel-panelContent li {
  background: rgba(255,255,255,0.04) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  color: #bbb !important;
  font-size: 0.77rem;
}

.panther-Carousel-panelContent li:nth-child(even) {
  background: rgba(255,255,255,0.02) !important;
}

/* --- Panel accent bars -------------------------------------------- */

.panel-accent { height: 3px; width: 100%; }
.p-accent-orange { background: linear-gradient(90deg, #e84c1e, #f09050); }
.p-accent-teal   { background: linear-gradient(90deg, #1a8a8a, #2dd4bf); }
.p-accent-blue   { background: linear-gradient(90deg, #1a4aaa, #60a5fa); }
.p-accent-green  { background: linear-gradient(90deg, #166534, #4ade80); }
.p-accent-purple { background: linear-gradient(90deg, #6b21a8, #c084fc); }

/* --- Dot indicators ----------------------------------------------- */

#indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 50;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #444;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dot.active {
  background: #e84c1e;
  border-color: #e84c1e;
  transform: scale(1.4);
}

/* --- Hint --------------------------------------------------------- */

#hint {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid #2a2a2a;
  color: #555;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 50;
  animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

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

/* --- Static panel content helpers -------------------------------- */

.panel-body {
  padding: 14px;
  font-size: 0.78rem;
  line-height: 2;
}

.panel-heading {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #eee;
  margin-bottom: 8px;
}

.panel-desc {
  color: #7a7a7a;
  margin-bottom: 12px;
}

.panel-credit {
  color: #555;
  margin-top: 10px;
  font-size: 0.75rem;
}
