/* FILE: rock-analytics.css
 *
 * Styles for the Culbertson Rock Hunt member analytics page.
 * This is intentionally modular so you can keep bolting on new
 * panels, charts, and stat blocks as the analytics hub grows.
 */

/* Page base */

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, #26233b 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, #1d263f 0%, transparent 55%),
    linear-gradient(135deg, #05060a, #05060a 45%, #05060a 100%);
  color: #f7f7f7;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Outer shell */

.analytics-shell {
  max-width: 1200px;
  margin: 1.8rem auto 2.4rem;
  padding: 1.8rem 1.5rem 2.2rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.06), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(135deg, rgba(9,10,18,0.97), rgba(6, 8, 18, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.96),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.analytics-shell-inner {
  position: relative;
  z-index: 1;
}

/* Header */

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.analytics-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.analytics-title span {
  color: #ffce78;
}

.analytics-sub {
  font-size: 0.9rem;
  color: #c5cad8;
  max-width: 520px;
}

/* Badge */

.badge-premium {
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(244,179,91,0.7);
  background: radial-gradient(circle at left, rgba(244,179,91,0.2), transparent 65%);
  color: #ffce78;
  white-space: nowrap;
}

/* Gate cards */

.gate-card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 8, 18, 0.96);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.96),
    inset 0 0 0 1px rgba(0,0,0,0.7);
  padding: 1.2rem 1.4rem;
  text-align: center;
}

.gate-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.gate-card p {
  font-size: 0.9rem;
  color: #c5cad8;
  margin-bottom: 0.9rem;
}

.gate-note {
  font-size: 0.8rem;
  color: #9aa0b7;
}

/* Buttons */

.btn-gold {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f4b35b, #e29024);
  color: #1b1308;
  box-shadow: 0 16px 44px rgba(0,0,0,0.96);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Layout grids */

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.analytics-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .analytics-grid,
  .analytics-grid-secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Panels */

.panel {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 8, 18, 0.96);
  padding: 1rem 1.1rem;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.96),
    inset 0 0 0 1px rgba(0,0,0,0.7);
}

.panel-main {
  /* Use if you want subtle variations later */
}

.panel-side {
  /* Reserved for right-hand column tweaks */
}

.panel-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #c5cad8;
  margin-bottom: 0.4rem;
}

.panel-title span {
  color: #ffce78;
}

.panel-note {
  font-size: 0.8rem;
  color: #9aa0b7;
  margin-bottom: 0.6rem;
}

.panel-block {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(5, 7, 15, 0.9);
  padding: 0.75rem 0.8rem 0.85rem;
}

.panel-block + .panel-block {
  margin-top: 0.7rem;
}

.panel-block-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5cad8;
}

/* Lists for “future metrics” blocks */

.panel-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #c5cad8;
}

.panel-list li {
  padding: 0.2rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.panel-list li:last-child {
  border-bottom: none;
}

/* Charts */

.chart-shell {
  position: relative;
  min-height: 230px;
}

.chart-shell canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Helper */

.d-none {
  display: none !important;
}
