/* =============================================
   PLATIN CASINO ONLINE — Charts & SVG Styles
   ============================================= */

/* SVG LINE CHART */
.line-chart-wrap { position: relative; }
.line-chart-wrap svg { width: 100%; display: block; }
.chart-grid-line { stroke: rgba(255,255,255,0.06); }
.chart-axis-label { fill: #6a8ab5; font-size: 11px; font-family: inherit; }
.chart-value-label { fill: #ffffff; font-size: 11px; font-family: inherit; font-weight: 600; }
.chart-line { fill: none; stroke: url(#lineGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { fill: url(#areaGrad); opacity: 0.15; }
.chart-dot { fill: #c8960c; stroke: #040d1a; stroke-width: 2; }
.chart-dot:hover { r: 7; }

/* RADAR CHART */
.radar-wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.radar-svg { overflow: visible; }
.radar-bg-poly { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.radar-data-poly { fill: rgba(200,150,12,0.18); stroke: #f5c842; stroke-width: 2; }
.radar-axis { stroke: rgba(255,255,255,0.1); stroke-width: 1; }
.radar-label { fill: #a0b8d8; font-size: 11px; font-family: inherit; text-anchor: middle; }

/* COLUMN CHART (vertical bars) */
.column-chart { display: flex; align-items: flex-end; gap: 12px; height: 200px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0; }
.col-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.col-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--gold), var(--gold-light));
  min-height: 8px;
  transition: opacity 0.3s;
  position: relative;
}
.col-bar:hover { opacity: 0.85; }
.col-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}
.col-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.col-chart-wrap { padding-bottom: 30px; }

/* PIE CHART (decorative gauge) */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gauge-text { text-align: center; }
.gauge-pct { font-size: 2.2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.gauge-lbl  { font-size: 0.82rem; color: var(--text-muted); }

/* COMPARISON VISUAL */
.vs-chart { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.vs-side { display: flex; flex-direction: column; gap: 8px; }
.vs-name { font-weight: 700; font-size: 1rem; }
.vs-bar-right .vs-items { direction: rtl; }
.vs-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; padding: 4px 0; }
.vs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.vs-middle { text-align: center; font-weight: 900; font-size: 1.4rem; color: var(--gold); }

/* SPARKLINE (mini chart) */
.sparkline { display: inline-flex; align-items: flex-end; gap: 2px; height: 24px; }
.spark-bar {
  width: 4px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.7;
}

/* PROGRESS RINGS (SVG) */
.progress-ring-wrap { display: inline-flex; position: relative; align-items: center; justify-content: center; }
.progress-ring-bg { fill: none; stroke: rgba(255,255,255,0.07); }
.progress-ring-fg { fill: none; stroke: url(#ringGrad); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1); }
.progress-ring-label { position: absolute; text-align: center; }
.progress-ring-label span:first-child { display: block; font-size: clamp(1rem,2vw,1.4rem); font-weight: 700; color: var(--gold-light); line-height: 1; }
.progress-ring-label span:last-child  { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* TIMELINE */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), transparent); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; top: 4px; width: 22px; height: 22px; background: linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius: 50%; border: 3px solid var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--bg-deep); font-weight: 700; }
.timeline-body { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-md); padding: 18px 20px; }
.timeline-date { font-size: 0.78rem; color: var(--gold-light); font-weight: 600; margin-bottom: 6px; }
.timeline-title { font-weight: 700; margin-bottom: 6px; }
.timeline-text { font-size: 0.88rem; color: var(--text-muted); }

/* SCORECARD TABLE */
.scorecard { border-radius: var(--rad-md); overflow: hidden; border: 1px solid var(--gold-border); }
.scorecard-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scorecard-header span { font-weight: 700; color: var(--bg-deep); font-size: 0.9rem; }
.scorecard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  transition: var(--transition);
}
.scorecard-row:last-child { border-bottom: none; }
.scorecard-row:hover { background: rgba(255,255,255,0.02); }
.scorecard-key { color: var(--white-70); }
.scorecard-val { font-weight: 700; color: var(--white); }
.scorecard-val.good  { color: var(--success); }
.scorecard-val.meh   { color: var(--warning); }
.scorecard-val.bad   { color: var(--danger); }
.scorecard-val.gold  { color: var(--gold-light); }

/* FEATURE COMPARISON MATRIX */
.compare-matrix { border-radius: var(--rad-md); overflow: hidden; border: 1px solid var(--border); }
.compare-head { display: grid; background: rgba(200,150,12,0.1); }
.compare-row  { display: grid; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(255,255,255,0.02); }
.compare-cell {
  padding: 13px 16px;
  font-size: 0.88rem;
  border-right: 1px solid var(--border);
}
.compare-cell:last-child { border-right: none; }
.compare-head .compare-cell {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-cell .check  { color: var(--success); }
.compare-cell .cross  { color: var(--danger); }
.compare-cell .partial { color: var(--warning); }
