/* ============================================================
   detail.css — shared styles for project detail pages
   (projects/*.html). Requires site-bubbles.css loaded first.
   Each page sets its identity in a small inline block:
     :root { --accent: R,G,B; --accent-2: R,G,B; --accent-bright: R,G,B; }
     body  { background: linear-gradient(...); }  (per-project tint)
   ============================================================ */

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

body {
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  padding: 48px 20px 80px;
}

.detail-container {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.detail-container-wide { max-width: 900px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 36px;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-bright);
  box-shadow: var(--glow-shadow);
}

.detail-card .glass-badge { margin-bottom: 22px; }

.detail-card {
  background: rgba(10, 10, 15, 0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 24px;
  padding: 56px 60px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5),
              0 0 80px rgba(var(--accent, var(--glow-rgb)), 0.15);
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 30px rgba(var(--accent, var(--glow-rgb)), 0.5);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent,
    rgba(var(--accent, var(--glow-rgb)), 0.6),
    rgba(var(--accent-2, var(--accent, var(--glow-rgb))), 0.35),
    transparent);
  margin-bottom: 32px;
}

.detail-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.detail-body h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  margin-top: 32px;
  letter-spacing: 0.5px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: '→';
  color: rgb(var(--accent-bright, var(--accent, var(--glow-rgb))));
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-links {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Muted non-interactive pill for unlaunched projects */
.coming-soon-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: default;
}

.body-link {
  color: rgb(var(--accent-bright, var(--accent, var(--glow-rgb))));
  text-decoration: none;
}
.body-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .detail-card { padding: 36px 24px; }
  h1 { font-size: 2rem; }
}
