/* ══════════════════════════════════════
   MAIN CONTENT AREA + HERO
   ══════════════════════════════════════ */
.main {
  margin-left: var(--sidebar-collapsed);
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* TEMP: bg.webp as background — delete this ::before block to revert */
.main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
    url('/assets/backgrounds/bg.webp');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Content fill */
.content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* ── Dashboard hero: title + divider + tagline ── */
.dashboard-hero {
  text-align: center;
  padding: 60px 20px 0;
  /* Fill viewport minus content padding (40+40) so strip peeks at bottom */
  min-height: calc(100vh - 60px);   /* fallback for older browsers */
  min-height: calc(100dvh - 60px);  /* accounts for mobile browser chrome */
  position: relative;
  overflow: visible;
}

.dash-title {
  font-family: "Share Tech Mono", "Bebas Neue", "Segoe UI", sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  /* Gold gradient fill */
  background: linear-gradient(
    90deg,
    #ffe680 0%,
    #ffcc33 20%,
    #ffb400 45%,
    #d49500 70%,
    #a07000 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle 3D + glow (reduced from heavy emboss) */
  filter:
    drop-shadow(0 1px 0 #b8890a)
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 24px rgba(255, 180, 0, 0.25));
}

.dash-divider {
  width: min(420px, 60vw);
  height: 4px;
  margin: 24px auto 20px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 180, 0, 0.3) 15%,
    var(--ll-amber) 40%,
    var(--ll-gold) 50%,
    var(--ll-amber) 60%,
    rgba(255, 180, 0, 0.3) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(255, 180, 0, 0.6),
    0 0 28px rgba(255, 215, 0, 0.4);
}

.dash-tagline {
  color: #999;
  font-family: "Electrolize", "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 2px;
  /* Fade-in animation */
  opacity: 0;
  animation: tagline-fade-in 2s ease-out 0.6s forwards;
}

/* Sub-tagline above divider */
.dash-subtitle {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  margin: 12px 0 0;
  opacity: 0;
  animation: subtitle-wiggle 3s ease-out 0.3s forwards;
}

@keyframes subtitle-wiggle {
  0%   { opacity: 0; transform: translateY(8px); }
  20%  { opacity: 1; transform: translateY(0); }
  30%  { transform: translateX(3px); }
  40%  { transform: translateX(-3px); }
  50%  { transform: translateX(2px); }
  60%  { transform: translateX(-1px); }
  70%  { transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes tagline-fade-in {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Vignette removed — was too opaque */

/* ── Lantern wall glow ── */
.lantern-wall-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 180, 50, 0.18) 0%,
    rgba(255, 140, 0, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Floating embers — all styles handled in js/embers.js */
