/* PandaBuilt.us/SkyWatch — public mirror page.
   style.css (loaded before this file) is byte-for-byte synced from Rocky's
   real astrology/index.html page every deploy (see pandabuilt_skywatch_deploy.py)
   -- that's the single source of truth for the whole visual language: colors,
   fonts, the "// LABEL" terminal-style headers, sw-hero-card stat tiles,
   cam-wrap video frame, gallery-item/type-badge capture cards, etc. This file
   only adds the handful of things that are genuinely public-page-specific
   and have no equivalent on Rocky's page -- nothing here should reinvent a
   color, font, or card style that style.css already defines. Keeping this
   file small IS the sync strategy: the less it overrides, the less it can
   drift from Rocky's page next time that page's design changes.
*/

/* Dave wants "-01566" at the exact same size/weight as "SkyWatch" -- no
   size reduction, just needs its own visible color (see note below). */
.brand-suffix {
  /* The shared h1 rule makes its text visible via a gradient background
     clipped to the text shape (color: transparent + background-clip: text)
     -- background/background-clip aren't inherited CSS properties, so
     without its own explicit color this span silently inherited
     color:transparent and rendered invisible. Give it a real solid color
     instead of trying to replicate the gradient-clip trick. */
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

/* Public nav has one more/different link than Rocky's (PandaBuilt.us home
   instead of Horoscope) -- no style changes needed, .nav-link already covers
   it, this file doesn't need to touch nav at all. */

/* ---------- Brand badge (extracted from Dave's provided logo sheet, 2026-08-20) ---------- */
.brand-badge {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(232, 200, 119, 0.35));
  animation: badge-float 6s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- SkyWatch banner background (same source sheet -- a clean,
   text-free strip cropped from underneath the original "SKYWATCHER" title
   art, so it doesn't visually collide with this page's real
   "SkyWatch-01566" heading) ---------- */
.sw-banner {
  background-image:
    linear-gradient(180deg, rgba(5,6,26,0.88) 0%, rgba(5,6,26,0.55) 45%, rgba(5,6,26,0.88) 100%),
    url('telescope-strip.jpg');
  background-size: cover;
  background-position: center 30%;
}

/* ---------- Quick-glance widgets (time / weather / moon) ---------- */
/* Rocky's page shows this as one plain text line; Dave explicitly wants to
   keep the public page's richer icon-topped widget cards instead -- so this
   stays a deliberate public-only difference, but built from the exact same
   card tokens (--card-bg/--card-border/--gold/--ink-dim, same blur+radius+
   hover-lift as .sw-hero-card) so it reads as part of the same design system
   rather than a bolted-on divergent style. */
.quick-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.quick-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px 22px;
  min-width: 130px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.quick-widget:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 200, 119, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 24px rgba(232, 200, 119, 0.12);
}

.qw-icon { font-size: 1.4rem; margin-bottom: 4px; }

.qw-value {
  font-family: var(--sw-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(232, 200, 119, 0.3);
  line-height: 1.2;
}

.qw-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--ink-dim);
  margin-top: 3px;
}

/* ---------- "Today's Stats" panel select-element styling ---------- */
/* Reuses the exact same select treatment as Rocky's .timelapse-options select
   (see style.css) for the category filter dropdowns in Notable Sightings /
   Captures, since this page doesn't have Rocky's LAN-only admin panel to
   naturally define that style near a <select> of its own. */
.public-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--ink);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  padding: 10px 14px;
  cursor: pointer;
}
.public-select:focus { outline: none; border-color: var(--sw-cyan); }

.public-search-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

/* ---------- Notable Sightings cards ---------- */
/* No equivalent on Rocky's page at all (that content only exists on the
   public mirror), so this is genuinely new -- built from the same
   gallery-item/card visual language (dark glass card, gold hover glow,
   backdrop blur) rather than a divergent style. */
.notable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.notable-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.notable-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 200, 119, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(232, 200, 119, 0.1);
}

.notable-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--sw-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.notable-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.notable-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.notable-body {
  padding: 12px 14px 14px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.notable-title {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.notable-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-dim);
  margin-bottom: 10px;
}

.notable-watch {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--sw-cyan);
  text-decoration: none;
  border-top: 1px solid var(--card-border);
  padding-top: 8px;
  width: 100%;
}
.notable-watch:hover { color: var(--gold); }

.notable-note {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.76rem;
  font-style: italic;
  color: var(--ink-dim);
  opacity: 0.75;
  margin-top: 6px;
}

/* Capture card "open full clip" link -- public page links to Rocky's raw
   captures host rather than a same-page lightbox, so it needs its own small
   link style matching .capture-action-btn's visual weight. */
.ci-open {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--card-border);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.76rem;
  color: var(--sw-cyan);
  text-decoration: none;
}
.ci-open:hover { color: var(--gold); }
