/* === PROGRES FACETIPLACE === */
/* Light, warm, friendly - inspired by skoolromania.ro vibe */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Outfit:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg-page: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-soft: #F4EFE6;
  --bg-cream: #FDF9F1;
  --bg-mist: rgba(255, 255, 255, 0.7);

  --border-soft: rgba(15, 23, 42, 0.06);
  --border-mid: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.2);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --violet: #7C3AED;
  --violet-soft: #A78BFA;
  --violet-bg: #F3EEFF;
  --teal: #0891B2;
  --teal-soft: #22D3EE;
  --teal-bg: #ECFEFF;
  --gold: #D97706;
  --gold-soft: #F59E0B;
  --gold-bg: #FEF3C7;
  --coral: #EA580C;
  --coral-bg: #FFEDD5;
  --green: #059669;
  --green-soft: #10B981;
  --green-bg: #ECFDF5;
  --rose: #E11D48;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-warm: 0 12px 32px rgba(217, 119, 6, 0.12), 0 4px 12px rgba(217, 119, 6, 0.06);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 10% -5%, rgba(167, 139, 250, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 20%, rgba(245, 158, 11, 0.10), transparent 60%),
    radial-gradient(ellipse 500px 400px at 50% 95%, rgba(34, 211, 238, 0.08), transparent 70%);
}

.container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 28px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: white;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  padding: 7px 14px;
  background: var(--violet-bg);
  border-radius: 999px;
}

.hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
  opacity: 0;
  animation: rise 0.6s ease-out 0.1s forwards;
}

.hero-eyebrow::before { content: '🇷🇴 '; margin-right: 4px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text-primary);
  opacity: 0;
  animation: rise 0.7s ease-out 0.2s forwards;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  opacity: 0;
  animation: rise 0.7s ease-out 0.35s forwards;
}

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

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
  opacity: 0;
  animation: rise 0.7s ease-out 0.5s forwards;
}

.stat {
  background: var(--bg-card);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-value em { font-style: italic; color: var(--gold); }
.stat-emoji { font-size: 28px; margin-right: 2px; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.section-title .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-mid), transparent);
}

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 80px;
}

.cursant-card {
  display: grid;
  grid-template-columns: 56px 70px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cursant-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
}

.cursant-card.rank-1 {
  background: linear-gradient(135deg, var(--gold-bg) 0%, var(--bg-card) 50%);
  border-color: rgba(217, 119, 6, 0.2);
}
.cursant-card.rank-2 {
  background: linear-gradient(135deg, var(--violet-bg) 0%, var(--bg-card) 50%);
  border-color: rgba(124, 58, 237, 0.15);
}
.cursant-card.rank-3 {
  background: linear-gradient(135deg, var(--teal-bg) 0%, var(--bg-card) 50%);
  border-color: rgba(8, 145, 178, 0.15);
}

.rank-badge {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  font-style: italic;
  color: var(--text-faint);
  line-height: 1;
  text-align: center;
  letter-spacing: -0.03em;
}

.rank-1 .rank-badge { color: var(--gold); font-size: 44px; }
.rank-1 .rank-badge::before { content: '🥇 '; font-size: 28px; font-style: normal; }
.rank-2 .rank-badge { color: var(--violet); font-size: 42px; }
.rank-2 .rank-badge::before { content: '🥈 '; font-size: 26px; font-style: normal; }
.rank-3 .rank-badge { color: var(--teal); font-size: 40px; }
.rank-3 .rank-badge::before { content: '🥉 '; font-size: 24px; font-style: normal; }

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-bg), var(--coral-bg));
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 24px;
  color: var(--violet);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.cursant-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cursant-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.cursant-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

.etapa-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-secondary);
}

.etapa-pill[data-etapa^="1"] { background: var(--coral-bg); color: var(--coral); }
.etapa-pill[data-etapa^="2"] { background: var(--violet-bg); color: var(--violet); }
.etapa-pill[data-etapa^="3"] { background: var(--teal-bg); color: var(--teal); }
.etapa-pill[data-etapa^="4"] { background: var(--gold-bg); color: var(--gold); }

.progress-block {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.progress-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
}

.progress-percent {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.rank-1 .progress-percent { color: var(--gold); }
.rank-2 .progress-percent { color: var(--violet); }
.rank-3 .progress-percent { color: var(--teal); }

.progress-frac {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.bar {
  width: 220px;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--violet), var(--coral));
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rank-1 .bar-fill { background: linear-gradient(to right, var(--gold-soft), var(--gold)); }
.rank-3 .bar-fill { background: linear-gradient(to right, var(--teal-soft), var(--teal)); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-state .emoji { font-size: 56px; margin-bottom: 20px; display: block; }

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-state p { color: var(--text-secondary); max-width: 480px; margin: 0 auto; }

.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loading::after {
  content: '...';
  display: inline-block;
  animation: dots 1.4s infinite;
  width: 20px;
  text-align: left;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

.profile-header {
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-bg), var(--coral-bg));
  border: 3px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 44px;
  color: var(--violet);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-info h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.profile-info h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.profile-progress {
  text-align: right;
  font-family: var(--font-display);
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--gold-bg), transparent);
  border-radius: var(--radius);
  border: 1px solid rgba(217, 119, 6, 0.15);
}

.profile-progress .num {
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.profile-progress .frac {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-top: 6px;
  text-transform: uppercase;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding-bottom: 100px;
}

@media (max-width: 980px) {
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-header { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar { margin: 0 auto; }
  .profile-progress { text-align: center; }
}

.current-week {
  position: relative;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--coral-bg), var(--gold-bg));
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-warm);
}

.current-week-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.current-week-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.2);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.current-week h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.current-week .descriere {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.current-week .note {
  padding: 16px 20px;
  background: var(--bg-mist);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
}

.timeline-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.timeline { position: relative; padding-left: 36px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), var(--coral), var(--gold), var(--teal-soft));
  opacity: 0.35;
  border-radius: 2px;
}

.borna-item {
  position: relative;
  padding: 20px 24px;
  margin-bottom: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.borna-item:hover { box-shadow: var(--shadow); }

.borna-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--text-faint);
}

.borna-item[data-status="✅ Atinsă"]::before {
  background: var(--green-soft);
  border-color: var(--green-soft);
  box-shadow: 0 0 0 4px var(--green-bg);
}

.borna-item[data-status="🎯 Activă"]::before {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-bg);
  animation: pulse 2s ease-in-out infinite;
}

.borna-item[data-status="🔄 În lucru"]::before {
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-bg);
}

.borna-item[data-status="🎯 Activă"] {
  border-color: rgba(234, 88, 12, 0.25);
  background: linear-gradient(135deg, var(--coral-bg), var(--bg-card) 40%);
}

.borna-item[data-status="✅ Atinsă"] .borna-title {
  text-decoration: line-through;
  text-decoration-color: var(--text-faint);
  text-decoration-thickness: 1px;
  color: var(--text-muted);
}

.borna-item[data-status="🔒 Blocată"] {
  opacity: 0.65;
  background: var(--bg-soft);
}

.borna-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.borna-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.borna-orizont {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  white-space: nowrap;
}

.borna-orizont[data-orizont="12 luni"] { background: var(--gold-bg); color: var(--gold); }
.borna-orizont[data-orizont="6 luni"] { background: var(--violet-bg); color: var(--violet); }
.borna-orizont[data-orizont="3 luni"] { background: var(--teal-bg); color: var(--teal); }
.borna-orizont[data-orizont="1 lună"] { background: var(--coral-bg); color: var(--coral); }
.borna-orizont[data-orizont="Săptămânal"] { background: var(--bg-soft); color: var(--text-secondary); }

.borna-descriere {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 6px;
}

.borna-note {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--violet-bg);
  border-left: 3px solid var(--violet);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.5;
}

.borna-meta {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
}

.borna-meta span { display: flex; align-items: center; gap: 6px; }

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.side-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.side-card.gold {
  background: linear-gradient(135deg, var(--gold-bg), var(--bg-card) 60%);
  border-color: rgba(217, 119, 6, 0.15);
}

.side-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.side-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.activitate-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.activitate-item:last-child { border-bottom: none; padding-bottom: 0; }
.activitate-item:first-child { padding-top: 0; }

.activitate-week {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activitate-scor {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--green-bg);
  color: var(--green);
  text-transform: none;
  letter-spacing: 0.05em;
}

.activitate-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.site-footer {
  padding: 40px 0 56px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border-soft);
  margin-top: 60px;
  background: var(--bg-cream);
}

.site-footer a {
  color: var(--violet);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { padding: 40px 0 28px; }
  .hero p { font-size: 16px; }
  .stat-value { font-size: 32px; }
  .cursant-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .avatar { display: none; }
  .progress-block {
    grid-column: 1 / -1;
    min-width: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }
  .bar { width: 60%; }
  .cursant-name { font-size: 20px; }
  .rank-badge { font-size: 28px; }
  .rank-1 .rank-badge, .rank-2 .rank-badge, .rank-3 .rank-badge { font-size: 32px; }
  .section-title h2 { font-size: 28px; }
  .profile-info h1 { font-size: 36px; }
  .profile-progress { padding: 18px; }
  .profile-progress .num { font-size: 48px; }
  .current-week { padding: 22px 20px; }
  .current-week h2 { font-size: 24px; }
  .timeline { padding-left: 24px; }
  .timeline::before { left: 7px; }
  .borna-item::before { left: -22px; width: 10px; height: 10px; }
  .borna-title { font-size: 19px; }
}
