/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #050714;
  --bg2:         #090d20;
  --bg3:         #0d1535;
  --panel:       #0b1230;
  --panel-hover: #111a3a;
  --border:      #1c2a5a;
  --gold:        #c8a84b;
  --gold-light:  #e8d08a;
  --gold-dim:    #7a6220;
  --text:        #c0cce8;
  --text-dim:    #6a7a9a;
  --text-bright: #e8eef8;
  --accent-blue: #3a7bd5;
  --accent-cyan: #00cfdd;
  --accent-arca: #6ab0f5;
  --accent-cs:   #7ad07a;
  --accent-fm:   #e06060;
  --accent-harle:#f0a040;
  --accent-menta:#b070e0;
  --accent-seraph:#60c0f0;
  --accent-slayer:#e05050;
  --accent-temp: #8090c0;
  --radius:      10px;
  --glow-gold: 0 0 12px #c8a84b55, 0 0 30px #c8a84b22;
  --glow-blue: 0 0 12px #3a7bd555, 0 0 30px #3a7bd522;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 10%, #101a4022 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, #0d0a2022 0%, transparent 55%);
  color: var(--text);
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ─── PARTICLES ─────────────────────────────────────────────────── */
#particles-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.35;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ─── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, #050714ee 0%, #050714cc 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.header-brand {
  display: flex; align-items: center; gap: 12px;
}

.header-logo-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 30%, var(--gold-light) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: 1px;
}

.header-logo-text span {
  font-size: 13px;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--text-dim), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: -4px;
}

.header-badge {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #1a0a30, #0d0a20);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 1px;
}

.header-badge::before { content: '⚔'; font-size: 12px; }

/* ─── SIDEBAR NAV ────────────────────────────────────────────────── */
.layout {
  display: flex;
  padding-top: 64px;
  min-height: 100vh;
  position: relative; z-index: 1;
}

.sidebar {
  width: 220px;
  min-width: 220px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  background: #070c1f;
}

.sidebar-title {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-dim);
  text-transform: uppercase;
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  margin-bottom: 3px;
  text-decoration: none;
}

.nav-item:hover {
  background: var(--panel-hover);
  color: var(--text-bright);
  border-color: var(--border);
}

.nav-item.active {
  background: linear-gradient(135deg, #111a3a, #0d1535);
  color: var(--text-bright);
  border-color: var(--gold-dim);
  box-shadow: inset 0 0 20px #c8a84b08;
}

.nav-item.active .nav-accent { opacity: 1; }

.nav-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-dps {
  font-size: 10px;
  color: var(--text-dim);
  margin-left: auto;
  white-space: nowrap;
}

.nav-item.active .nav-dps { color: var(--gold-dim); }

/* ─── MAIN CONTENT ───────────────────────────────────────────────── */
.main-content {
  flex: 1;
  overflow: hidden;
  padding: 28px 32px;
  max-width: 1200px;
}

/* ─── TOP OVERVIEW GRID ──────────────────────────────────────────── */
.overview-section {
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px; height: 14px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  border-radius: 2px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.class-overview-card {
  background: linear-gradient(145deg, var(--bg3), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.class-overview-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.class-overview-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
  box-shadow: 0 8px 24px #00000060, var(--glow-gold);
}

.class-overview-card:hover::before { opacity: 1; }

.class-overview-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim), var(--glow-gold);
}

.card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}

.card-class-logo {
  width: 38px; height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: #0a1025;
  padding: 3px;
  border: 1px solid var(--border);
}

.card-class-name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
}

.card-dps-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.card-dps-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Exo 2', sans-serif;
  letter-spacing: -0.5px;
}

.card-dps-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}

.dps-bar-bg {
  margin-top: 10px;
  height: 4px;
  background: var(--bg2);
  border-radius: 2px;
  overflow: hidden;
}

.dps-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── CLASS SECTION ──────────────────────────────────────────────── */
.class-section {
  display: none;
  animation: fadeIn 0.35s ease;
}
.class-section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.class-hero {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, var(--bg3), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.class-hero::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(270deg, transparent 0%, var(--panel) 100%);
  pointer-events: none;
}

.class-hero-bg {
  position: absolute; right: 20px; bottom: -10px;
  width: 140px; height: 140px;
  object-fit: contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.class-hero-logo {
  width: 72px; height: 72px;
  border-radius: 14px;
  object-fit: contain;
  background: #080d22;
  padding: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px #00000060;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.class-hero-info {
  flex: 1;
  position: relative; z-index: 1;
}

.class-hero-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light) 30%, var(--gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}

.class-hero-type {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-stats-row {
  display: flex; gap: 24px; flex-wrap: wrap;
}

.hero-stat {
  display: flex; flex-direction: column; gap: 2px;
}

.hero-stat-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Exo 2', sans-serif;
  letter-spacing: -0.5px;
}

.hero-stat-value.no-data {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* ─── SKILL TABLE ────────────────────────────────────────────────── */
.skills-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skills-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--bg3), var(--panel));
  border-bottom: 1px solid var(--border);
}

.skills-panel-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.skills-search {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px 6px 32px;
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  width: 200px;
  outline: none;
  transition: border-color 0.2s;
  position: relative;
}
.skills-search:focus { border-color: var(--gold-dim); }

.search-wrap {
  position: relative;
  display: flex; align-items: center;
}
.search-wrap::before {
  content: '⚡';
  position: absolute;
  left: 10px;
  font-size: 11px;
  color: var(--text-dim);
  pointer-events: none;
}

.sort-controls {
  display: flex; gap: 6px; align-items: center;
}

.sort-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.sort-btn:hover { color: var(--text-bright); border-color: var(--gold-dim); }
.sort-btn.active { border-color: var(--gold); color: var(--gold); background: #1a1500; }

/* ─── TABLE ──────────────────────────────────────────────────────── */
.skills-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: #080d22;
  border-bottom: 1px solid var(--border);
}

thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold-dim);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
thead th:hover { color: var(--gold); }
thead th.sorted { color: var(--gold); }
thead th.sorted::after { content: ' ↓'; }
thead th.sorted.asc::after { content: ' ↑'; }

tbody tr {
  border-bottom: 1px solid #0d1535;
  transition: background 0.15s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--panel-hover); }
tbody tr.hidden { display: none; }

td {
  padding: 10px 16px;
  vertical-align: middle;
}

/* Skill icon + name cell */
.skill-cell {
  display: flex; align-items: center; gap: 10px;
  min-width: 200px;
}

.skill-icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: #0a0f2a;
  border: 1px solid var(--border);
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: pixelated;
}

.skill-icon-fallback {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a1530, #0d1025);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--gold-dim);
}

.skill-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-bright);
}

/* Hit range cell */
.hit-cell {
  font-family: 'Exo 2', monospace;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.hit-min { color: var(--text-dim); }
.hit-sep { color: var(--border); margin: 0 4px; }
.hit-max { color: var(--accent-cyan); font-weight: 600; }

/* DPS cell */
.dps-cell {
  min-width: 200px;
}

.dps-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.dps-bar-row {
  display: flex; align-items: center; gap: 8px;
}

.dps-mini-bar-bg {
  flex: 1;
  height: 3px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  min-width: 80px;
}

.dps-mini-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}

.dps-rank {
  font-size: 10px;
  color: var(--text-dim);
  min-width: 24px;
  text-align: right;
}

/* Rank colors */
.rank-1 .dps-value  { color: #ffd700; }
.rank-2 .dps-value  { color: #c0c0c0; }
.rank-3 .dps-value  { color: #cd7f32; }

.rank-1 .dps-mini-bar-fill { background: linear-gradient(90deg, #a07800, #ffd700); }
.rank-2 .dps-mini-bar-fill { background: linear-gradient(90deg, #707070, #c0c0c0); }
.rank-3 .dps-mini-bar-fill { background: linear-gradient(90deg, #7a4a18, #cd7f32); }

/* Default bar */
tbody tr .dps-mini-bar-fill {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
}

/* ─── MEDALS TOP 3 ───────────────────────────────────────────────── */
.medal { font-size: 16px; line-height: 1; }

/* ─── INFO RAIL (right panel) ────────────────────────────────────── */
.info-rail {
  width: 230px;
  min-width: 230px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 20px 14px;
  border-left: 1px solid var(--border);
  background: #070c1f;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}

/* Oroth image */
.oroth-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: #0a0d1a;
  margin-bottom: 4px;
  position: relative;
  border: 1px solid var(--border);
}

.oroth-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: var(--radius);
  mix-blend-mode: screen;
}

/* Vignette to blend the remaining white edges into the dark border */
.oroth-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #0a0d1a 0%, transparent 25%, transparent 75%, #0a0d1a 100%),
    linear-gradient(to right,  #0a0d1a 0%, transparent 20%, transparent 80%, #0a0d1a 100%);
  pointer-events: none;
  border-radius: var(--radius);
}

.oroth-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light) 30%, var(--gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  letter-spacing: 1px;
}

.oroth-subtitle {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4px;
}

.oroth-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 6px 0;
}

.oroth-section-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
  margin-top: 2px;
}

.oroth-stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.oroth-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #0b1230;
  border: 1px solid #1a2550;
}

.oroth-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.oroth-stat-value {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  color: var(--text-bright);
  white-space: nowrap;
}

.oroth-stat-value.oroth-fire    { color: #f07a40; }
.oroth-stat-value.oroth-weak    { color: #60e090; }
.oroth-stat-value.oroth-resist  { color: #e05050; }
.oroth-stat-value.oroth-neutral { color: var(--text-dim); }
.oroth-stat-value.oroth-danger  { color: #e06060; }

/* Build condition blocks */
.oroth-condition-block {
  background: linear-gradient(135deg, var(--bg3), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 4px;
}

.oroth-condition-tag {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 7px;
}

.adoch-tag {
  background: #1a0a0a;
  border: 1px solid #501010;
  color: #f07060;
}

.mage-tag {
  background: #0a1530;
  border: 1px solid #1a3a80;
  color: #60a0f0;
}

.oroth-condition-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.oroth-condition-list li {
  font-size: 11px;
  color: var(--text);
  padding-left: 12px;
  position: relative;
}

.oroth-condition-list li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--gold-dim);
}

/* Hide info-rail on narrow screens */
@media (max-width: 1200px) {
  .info-rail { display: none; }
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 1px;
  position: relative; z-index: 1;
  margin-left: 220px;
}

/* ─── TOOLTIP ────────────────────────────────────────────────────── */
[data-tip] { position: relative; cursor: help; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%);
  background: #0d1535;
  border: 1px solid var(--gold-dim);
  color: var(--text-bright);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  z-index: 200;
}
[data-tip]:hover::after { opacity: 1; }

/* ─── MOBILE ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-content { padding: 16px; }
  .site-footer { margin-left: 0; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .class-hero { flex-direction: column; align-items: flex-start; }
  .hero-stats-row { gap: 16px; }
}

@media (max-width: 600px) {
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .skills-panel-header { flex-direction: column; gap: 10px; align-items: flex-start; }
  .sort-controls { flex-wrap: wrap; }
}

/* ─── LOADING ANIMATION ──────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

/* ─── GLOW PULSE ─────────────────────────────────────────────────── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px #c8a84b30; }
  50%       { box-shadow: 0 0 20px #c8a84b60; }
}

.class-overview-card.selected {
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* ─── BADGE TAGS ─────────────────────────────────────────────────── */
.type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  background: #1a0a30;
  border: 1px solid #4a1060;
  color: #c080f0;
}
.type-badge.magic { background: #0a1530; border-color: #1a3a80; color: #60a0f0; }
.type-badge.melee { background: #1a0a0a; border-color: #501010; color: #f07060; }
.type-badge.ranged{ background: #0a1a0a; border-color: #104030; color: #70c090; }

/* ─── DIVIDERS ───────────────────────────────────────────────────── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 32px 0;
}

/* ─── STAT BAR ───────────────────────────────────────────────────── */
.hero-stat-bar-wrap { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-stat-bar-bg {
  height: 6px; width: 140px;
  background: var(--bg2); border-radius: 3px; overflow: hidden;
}
.hero-stat-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
