/* === review (v2) === */

/* ── Hero ──────────────────────────────────────────────── */
.rv2-hero {
  background: linear-gradient(135deg, #5B21B6 0%, #4F46E5 55%, #6366F1 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.rv2-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: 360px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.rv2-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 220px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.rv2-hero-content {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.rv2-hero-text {
  flex: 1;
  min-width: 0;
  color: #fff;
}
.rv2-hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}
.rv2-hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: .9;
  margin-bottom: 10px;
}
.rv2-hero-desc {
  font-size: 0.82rem;
  opacity: .78;
  line-height: 1.6;
  max-width: 320px;
}
.rv2-hero-deco {
  font-size: 5.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.3));
  user-select: none;
  line-height: 1;
}
.rv2-hero-panel {
  flex-shrink: 0;
  width: 296px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 18px 20px;
  color: #fff;
}
.rv2-panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .82;
  margin-bottom: 14px;
}
.rv2-panel-mid {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* Circular ring */
.rv2-ring-wrap {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.rv2-ring-svg { width: 72px; height: 72px; }
.rv2-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
}
.rv2-pstats      { display: flex; align-items: center; gap: 0; flex: 1; }
.rv2-pstat       { flex: 1; text-align: center; }
.rv2-pstat-val   { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.rv2-pstat-lbl   { font-size: 0.68rem; opacity: .8; margin-top: 3px; line-height: 1.35; }
.rv2-pstat-sub   { font-size: 0.64rem; opacity: .65; }
.rv2-pstat-div   { width: 1px; height: 36px; background: rgba(255,255,255,.3); flex-shrink: 0; }
.rv2-start-btn {
  width: 100%;
  min-height: 40px;
  background: #fff;
  color: #5B21B6;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.rv2-start-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Section heading ───────────────────────────────────── */
.rv2-section-hd {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Mode cards ────────────────────────────────────────── */
.rv2-modes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}
.rv2-mode {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.rv2-mode:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rv2-mode-icon { font-size: 2rem; line-height: 1; }
.rv2-mode-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.rv2-mode-desc { font-size: 0.73rem; color: var(--text-muted); line-height: 1.4; flex: 1; }
.rv2-mode-btn {
  margin-top: 6px;
  width: 100%;
  min-height: 34px;
  border: none;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.rv2-mode--blue   { } .rv2-mode--blue:hover   { border-color: #2563EB; }
.rv2-mode--cyan   { } .rv2-mode--cyan:hover   { border-color: #0891B2; }
.rv2-mode--green  { } .rv2-mode--green:hover  { border-color: #16A34A; }
.rv2-mode--orange { } .rv2-mode--orange:hover { border-color: #EA580C; }
.rv2-mode--pink   { } .rv2-mode--pink:hover   { border-color: #DB2777; }

.rv2-mode--blue   .rv2-mode-btn { background: #EFF6FF; color: #2563EB; }
.rv2-mode--cyan   .rv2-mode-btn { background: #ECFEFF; color: #0891B2; }
.rv2-mode--green  .rv2-mode-btn { background: #F0FDF4; color: #16A34A; }
.rv2-mode--orange .rv2-mode-btn { background: #FFF7ED; color: #EA580C; }
.rv2-mode--pink   .rv2-mode-btn { background: #FDF2F8; color: #DB2777; }

.rv2-mode--blue   .rv2-mode-btn:hover { background: #DBEAFE; }
.rv2-mode--cyan   .rv2-mode-btn:hover { background: #CFFAFE; }
.rv2-mode--green  .rv2-mode-btn:hover { background: #DCFCE7; }
.rv2-mode--orange .rv2-mode-btn:hover { background: #FFEDD5; }
.rv2-mode--pink   .rv2-mode-btn:hover { background: #FCE7F3; }

/* ── Mid row (FSRS + Stats) ────────────────────────────── */
.rv2-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.rv2-srs-card,
.rv2-study-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.rv2-card-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.rv2-card-title { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.rv2-info       { font-size: 0.78rem; color: var(--text-muted); cursor: help; }

/* SRS nums */
.rv2-srs-nums {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 16px;
}
.rv2-num {
  flex: 1;
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.rv2-num-val { font-size: 1.4rem; font-weight: 800; color: var(--text); line-height: 1; }
.rv2-num-lbl { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; line-height: 1.3; }
.rv2-num--green .rv2-num-val { color: #16A34A; }
.rv2-num--warn  .rv2-num-val { color: #EA580C; }

/* SRS progress */
.rv2-srs-pct-lbl { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 6px; }
.rv2-srs-track {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.rv2-srs-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366F1, #8B5CF6);
  border-radius: var(--radius-pill);
  transition: width .6s ease;
}

/* Study nums 2x2 */
.rv2-study-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: 14px;
}
.rv2-snum {
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
}
.rv2-snum-val { font-size: 1.2rem; font-weight: 800; line-height: 1; }
.rv2-snum-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 3px; }
.rv2-snum-sub { font-size: 0.68rem; font-weight: 600; margin-top: 3px; }

.rv2-snum--blue   .rv2-snum-val, .rv2-snum--blue   .rv2-snum-sub { color: #2563EB; }
.rv2-snum--green  .rv2-snum-val, .rv2-snum--green  .rv2-snum-sub { color: #16A34A; }
.rv2-snum--purple .rv2-snum-val, .rv2-snum--purple .rv2-snum-sub { color: #7C3AED; }
.rv2-snum--orange .rv2-snum-val, .rv2-snum--orange .rv2-snum-sub { color: #EA580C; }

/* Days row */
.rv2-days {
  display: flex;
  gap: 5px;
}
.rv2-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  background: var(--bg);
  border-radius: 8px;
  text-align: center;
}
.rv2-day--today { background: var(--primary-light); }
.rv2-day-lbl  { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.rv2-day-mark { font-size: 0.76rem; font-weight: 700; color: var(--text-light); min-height: 14px; }
.rv2-day--done .rv2-day-mark { color: #16A34A; }

/* ── Tips row ────────────────────────────────────────────── */
.rv2-tips {
  display: flex;
  gap: var(--space-3);
}
.rv2-tip {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.rv2-tip-icon  { font-size: 1.3rem; flex-shrink: 0; }
.rv2-tip-title { font-size: 0.76rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.rv2-tip-desc  { font-size: 0.68rem; color: var(--text-muted); line-height: 1.45; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .rv2-hero-deco { font-size: 4rem; }
  .rv2-hero-panel { width: 272px; }
}
@media (max-width: 900px) {
  .rv2-hero-deco  { display: none; }
  .rv2-modes      { grid-template-columns: repeat(3, 1fr); }
  .rv2-mid        { grid-template-columns: 1fr; }
  .rv2-tips       { flex-wrap: wrap; }
  .rv2-tip        { flex: 0 0 calc(50% - 6px); }
}
@media (max-width: 640px) {
  .rv2-hero              { padding: 20px 18px; }
  .rv2-hero-content      { flex-direction: column; }
  .rv2-hero-panel        { width: 100%; }
  .rv2-hero-title        { font-size: 1.5rem; }
  .rv2-modes             { grid-template-columns: repeat(2, 1fr); }
  .rv2-tips              { flex-direction: column; }
  .rv2-tip               { flex: unset; }
}
