/* =========================================================================
   ONE BOOST — fps.css
   "Before / After" FPS comparison section (illustrative gains, animated).
   ========================================================================= */

.fps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fps-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .28s;
}
.fps-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.fps-game { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-2); letter-spacing: .5px; margin-bottom: 16px; }
.fps-nums { display: flex; align-items: baseline; justify-content: center; gap: 8px; direction: ltr; margin-bottom: 16px; }
.fps-nums .before { color: var(--text-3); font-size: 20px; font-weight: 700; font-family: var(--font-display); text-decoration: line-through; text-decoration-color: var(--line-2); }
.fps-nums .arrow { color: var(--red-ink); align-self: center; }
.fps-nums .arrow svg { width: 18px; height: 18px; display: block; }
.fps-nums .after { font-family: var(--font-display); font-weight: 800; font-size: 34px; background: linear-gradient(120deg, #33d17a, #7fe6a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fps-nums .unit { color: var(--text-3); font-size: 12px; font-weight: 600; align-self: center; }
.fps-track { height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-bottom: 14px; }
.fps-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2ea043, #33d17a); transition: width 1.3s var(--ease); }
.fps-grid.in .fps-fill { width: var(--to, 0%); }
.fps-gain { display: inline-block; color: #33d17a; background: color-mix(in srgb, #33d17a 14%, transparent); border: 1px solid color-mix(in srgb, #33d17a 30%, transparent); border-radius: 999px; padding: 4px 12px; font-family: var(--font-display); font-weight: 700; font-size: 13px; direction: ltr; }
.fps-note { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 28px; }
