/**
 * TubeRaker — Profiles ("Account") sub-app page styles
 * ----------------------------------------------------------------------------
 * The five profiles/*.html templates (view, edit, settings, portfolio,
 * achievements) reference a large component vocabulary — profile-hero,
 * profile-avatar, stat-card, stats-grid, section-title, toggle, settings-list,
 * form-grid, info-banner, portfolio-grid, achievement-grid, level-progress,
 * card--danger, card--gradient-warning, etc. — that is NOT defined in the eight
 * shared stylesheets the pages load (reset/variables/base/layout/components/
 * forms/modals/animations). That is the direct cause of the "out of place",
 * unstyled rendering (raw checkboxes, un-gridded stat tiles, no card rhythm).
 *
 * This file implements that whole vocabulary using ONLY design tokens from
 * variables.css. It is loaded AFTER the eight shared stylesheets (and after
 * animations.css) but BEFORE header-embed.css, so a small number of deliberate
 * overrides of shared classes (.progress-bar--light, container padding) apply
 * only on profiles pages.
 *
 * Rules honoured throughout:
 *   - rem only (no px anywhere; the viewport meta tag is the only px exception)
 *   - colours only via var(--…); theme handled by the [data-theme] token switch
 *   - mobile-first; every layout reflows from 22.5rem and scales up at 40/48rem
 *   - interactive/touch targets >= 2.75rem
 *   - hover/transform micro-interactions are reduced-motion-guarded
 *   - correct in BOTH light and dark themes
 */

/* ===========================================================================
   0. Locally-scoped tokens
   The achievements hero paints text/knobs on a THEME-INDEPENDENT brand gradient
   (--color-brand-accent → --color-brand-secondary), which is only defined in
   :root and never re-mapped for light mode — so it renders the same amber→violet
   in both themes and always needs a fixed light foreground. --text-inverse is
   deliberately NOT used: it flips per theme (#0f172a dark / #ffffff light), which
   would paint near-black text on the gradient in dark mode. This mirrors the
   established convention in components.css (`.btn--primary { color: white }`) and
   the sibling pages/entries.css (`--color-on-brand: #ffffff`). A shared-token
   request to promote these into variables.css is filed in shared_requests; until
   it lands the literals are centralised here only (never a second colour literal).
   =========================================================================== */
:root {
  --profiles-fixed-white: #ffffff;
  --profiles-on-gradient-muted: rgba(255, 255, 255, 0.85);
  --profiles-gradient-track: rgba(255, 255, 255, 0.28);
  --profiles-knob-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.35);
}

/* ===========================================================================
   1. Page container / vertical rhythm
   layout.css gives .app-main no padding of its own; on profiles pages the
   shared-dashboard shell hides the local sidebar, so the content region is a
   single full-width column. Centre it in a max-width column with consistent
   side padding and section rhythm. The #main-content id keeps these rules
   winning over any equal-specificity rule that ships later in header-embed.css.
   =========================================================================== */
#main-content.app-main {
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-3xl);
}

#main-content.app-main > * {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

#main-content.app-main > * + * {
  margin-top: var(--spacing-xl);
}

/* ===========================================================================
   2. Text / utility helpers the templates rely on
   =========================================================================== */
.text-muted { color: var(--text-secondary); }
.text-sm { font-size: var(--font-size-sm); }

/* ===========================================================================
   3. Page headers
   =========================================================================== */
.page-header {
  margin-bottom: 0;
}

.page-header h1 {
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-xs);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin: 0;
}

.page-header--centered {
  text-align: center;
}

.page-header--centered .page-subtitle {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 40rem) {
  .page-header h1 { font-size: var(--font-size-3xl); }
}

/* ===========================================================================
   4. Section / subsection titles
   =========================================================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin: 0 0 var(--spacing-md);
}

.section-title i {
  color: var(--color-brand-primary);
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

.subsection-title i {
  color: var(--text-tertiary);
}

.section-title--danger,
.section-title--danger i {
  color: var(--color-error);
}

/* ===========================================================================
   5. Stat tiles + grids
   =========================================================================== */
.dashboard-stats,
.dashboard-section {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-md);
}

@media (min-width: 40rem) {
  .stats-grid,
  .stats-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--bg-elevated);
  border: 0.0625rem solid var(--border-primary);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card--compact {
  padding: var(--spacing-md);
}

.stat-value {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
}

.stat-value--primary { color: var(--color-brand-primary); }
.stat-value--success { color: var(--color-success); }
.stat-value--warning { color: var(--color-warning); }

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: no-preference) {
  .stat-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-md);
  }
}

/* ===========================================================================
   6. Profile hero (view.html)
   =========================================================================== */
.profile-hero {
  padding: var(--spacing-lg);
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-lg);
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 0.125rem solid var(--border-secondary);
  background-color: var(--bg-tertiary);
}

.profile-status {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-full);
  background-color: var(--color-success);
  box-shadow: 0 0 0 0.1875rem var(--bg-elevated);
}

.profile-info {
  min-width: 0;
  width: 100%;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.profile-name-row h1 {
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-tight);
  margin: 0;
}

.profile-verified i {
  color: var(--color-brand-primary);
  font-size: var(--font-size-xl);
}

#profile-username {
  color: var(--text-secondary);
  margin: var(--spacing-xs) 0 0;
}

.profile-bio {
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  max-width: 42rem;
  margin: var(--spacing-sm) auto 0;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-md);
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.profile-meta > span {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.profile-socials .btn {
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.profile-actions .btn {
  min-height: 2.75rem;
}

/* Desktop: avatar left, identity beside it, actions anchored top-right. */
@media (min-width: 40rem) {
  .profile-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .profile-avatar {
    width: 8rem;
    height: 8rem;
  }

  .profile-name-row,
  .profile-meta,
  .profile-socials,
  .profile-actions {
    justify-content: flex-start;
  }

  .profile-bio {
    margin-left: 0;
    margin-right: 0;
  }

  .profile-name-row h1 {
    font-size: var(--font-size-3xl);
  }

  .profile-actions {
    margin-left: auto;
    align-self: flex-start;
  }
}

@media (max-width: 39.9375rem) {
  .profile-actions .btn {
    flex: 1 1 auto;
  }
}

/* ===========================================================================
   7. Skill tags / generic tag list
   =========================================================================== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

/* ===========================================================================
   8. Empty / loading states
   =========================================================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  color: var(--text-secondary);
}

.empty-state > i {
  font-size: var(--font-size-4xl);
  color: var(--text-tertiary);
}

.empty-state p {
  margin: 0;
  max-width: 32rem;
}

.empty-state__action {
  margin-top: var(--spacing-sm);
}

.empty-state--error > i {
  color: var(--color-error);
}

/* Loading placeholder cards shown before an (as-yet-unwired) fetch resolves. */
.loading-grid {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  width: 100%;
}

.loading-card {
  height: 11rem;
  border-radius: var(--radius-xl);
}

/* ===========================================================================
   9. Forms (edit.html)
   =========================================================================== */
.form-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 42rem;
  margin-inline: auto;
}

/* Bare labels inside form groups (edit form uses <label for="…"> with no class). */
.form-group > label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-group {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 40rem) {
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-hint {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin: var(--spacing-xs) 0 0;
}

#bioCount {
  text-align: right;
}

#bioCount.is-near-limit {
  color: var(--color-warning);
}

/* Profile picture upload block */
.profile-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  text-align: center;
}

.profile-upload-preview img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 0.125rem solid var(--border-secondary);
  background-color: var(--bg-tertiary);
}

.profile-upload-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.profile-upload-controls .btn {
  min-height: 2.75rem;
}

/* "Preview only" pill so the disabled-save reality is unmistakable. */
.upload-note {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

@media (min-width: 40rem) {
  .profile-upload {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .profile-upload-controls {
    align-items: flex-start;
  }
}

/* Sticky action bar */
.form-actions--sticky {
  position: sticky;
  bottom: 0;
  justify-content: space-between;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--bg-primary);
  border: 0.0625rem solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
}

.form-actions--sticky .form-actions-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.form-actions--sticky .btn {
  min-height: 2.75rem;
}

@media (max-width: 39.9375rem) {
  .form-actions--sticky {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions--sticky .form-actions-right {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions--sticky .btn {
    width: 100%;
  }
}

/* ===========================================================================
   10. Settings lists + toggles (settings.html)
   =========================================================================== */
.settings-list {
  display: flex;
  flex-direction: column;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  min-height: 3.5rem;
  padding: var(--spacing-md) 0;
  border-bottom: 0.0625rem solid var(--border-primary);
}

.settings-item:last-child {
  border-bottom: 0;
}

.settings-item-info {
  min-width: 0;
  flex: 1 1 14rem;
}

.settings-item-info strong {
  display: block;
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

.settings-item-info p {
  margin: var(--spacing-xs) 0 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.settings-item .btn {
  min-height: 2.75rem;
}

/* Full-width action rows (Download data / Request correction) */
.settings-action {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
  min-height: 2.75rem;
  padding: var(--spacing-md);
  margin-top: var(--spacing-sm);
  text-align: left;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border: 0.0625rem solid var(--border-primary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.settings-action:first-child {
  margin-top: 0;
}

.settings-action i {
  color: var(--color-brand-primary);
  width: 1.25rem;
  text-align: center;
}

.settings-action:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-secondary);
}

/* Accessible switch — keeps the <label class="toggle"><input><span class="toggle-slider">
   <span class="sr-only"> markup and every id intact. */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
  flex-shrink: 0;
  background-color: var(--bg-tertiary);
  border: 0.0625rem solid var(--border-secondary);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: var(--radius-full);
  background-color: var(--profiles-fixed-white);
  box-shadow: var(--profiles-knob-shadow);
  transition: transform var(--transition-fast);
}

.toggle input:checked + .toggle-slider {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(1.1875rem);
}

.toggle input:focus-visible + .toggle-slider {
  box-shadow: var(--shadow-focus);
}

/* Info banner (GDPR notice) */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  background-color: var(--color-info-bg);
  border-left: 0.1875rem solid var(--color-info);
  margin-bottom: var(--spacing-md);
}

.info-banner > i {
  color: var(--color-info);
  font-size: var(--font-size-lg);
  margin-top: 0.125rem;
}

.info-banner h3 {
  font-size: var(--font-size-base);
  margin: 0 0 var(--spacing-xs);
  color: var(--text-primary);
}

.info-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

/* Danger zone card */
.card--danger {
  border: 0.0625rem solid var(--color-error);
  background-color: color-mix(in srgb, var(--color-error) 6%, var(--bg-elevated));
}

/* ===========================================================================
   11. Filter bars / button groups (portfolio + achievements)
   The inline JS toggles btn-primary / btn-secondary on these buttons — those
   class names are preserved verbatim; only touch-target sizing is enforced.
   =========================================================================== */
.filter-bar {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.btn-group {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: var(--spacing-xs);
}

.filter-bar .btn,
.btn-group .btn {
  min-height: 2.75rem;
  white-space: nowrap;
}

/* ===========================================================================
   12. Portfolio grid + cards (portfolio.html)
   =========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 40rem) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-elevated);
  border: 0.0625rem solid var(--border-primary);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-card__media {
  aspect-ratio: 16 / 9;
  background-color: var(--bg-tertiary);
  object-fit: cover;
  width: 100%;
}

.portfolio-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
}

.portfolio-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.portfolio-card__meta {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .portfolio-card:hover,
  .achievement-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
  }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.pagination .btn {
  min-height: 2.75rem;
}

.pagination-info {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* ===========================================================================
   13. Achievements (achievements.html)
   =========================================================================== */
.card--gradient-warning {
  background: linear-gradient(135deg, var(--color-brand-accent), var(--color-brand-secondary));
  border: none;
  color: var(--profiles-fixed-white);
}

.card--gradient-warning h2,
.card--gradient-warning .stat-value {
  color: var(--profiles-fixed-white);
}

.card--gradient-warning .stat-label,
.card--gradient-warning .text-muted,
.card--gradient-warning #hero-level,
.card--gradient-warning #xp-remaining,
.card--gradient-warning .level-progress-labels {
  color: var(--profiles-on-gradient-muted);
}

.achievement-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.achievement-hero h2 {
  font-size: var(--font-size-2xl);
  margin: var(--spacing-sm) 0 0;
}

.achievement-hero p {
  margin: 0;
}

.achievement-trophy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-full);
  background-color: var(--profiles-gradient-track);
  font-size: var(--font-size-3xl);
  color: var(--profiles-fixed-white);
}

.achievement-badge-count {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  min-width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.375rem;
  border-radius: var(--radius-full);
  background-color: var(--color-error);
  color: var(--profiles-fixed-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
}

/* Stat tiles placed on the gradient hero */
.stat-card--transparent {
  background-color: transparent;
  border-color: var(--profiles-gradient-track);
}

/* Level progress */
.level-progress-section {
  margin-top: var(--spacing-md);
}

.level-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
}

/* .progress-bar in components.css is the FILL; here the template uses
   .progress-bar.progress-bar--light as the TRACK, so redefine it as a track. */
.progress-bar--light {
  width: 100%;
  height: 0.75rem;
  background-color: var(--profiles-gradient-track);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--color-brand-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.progress-bar-fill--gradient {
  background: linear-gradient(90deg, var(--color-brand-primary-light), var(--profiles-fixed-white));
}

/* Achievement grid + badge cards */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-md);
}

@media (min-width: 40rem) {
  .achievement-grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
}

.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background-color: var(--bg-elevated);
  border: 0.0625rem solid var(--border-primary);
  border-left-width: 0.1875rem;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.achievement-card--locked {
  opacity: 0.55;
}

.rarity--legendary { border-left-color: var(--color-warning); }
.rarity--epic { border-left-color: var(--color-brand-secondary); }
.rarity--rare { border-left-color: var(--color-brand-primary); }
.rarity--common { border-left-color: var(--text-tertiary); }

/* ===========================================================================
   14. Focus-visible affordances (a11y) — profiles pages only
   =========================================================================== */
.btn:focus-visible,
.settings-action:focus-visible,
.profile-socials a:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: scale(0.98);
  }
}
