/* ============================================================================
   DESIGN SYSTEM — Apify Actor Portfolio
   T04: styles.css

   Architecture:
   - CSS custom properties for colors, spacing, radii, shadows
   - Google Fonts: Outfit (variable weight)
   - Dark theme with glassmorphism, gradient accents, two blurred orbs
   - Responsive breakpoint: 720px
   - No framework, no build step
   ============================================================================ */

/* ---------- 1. Custom Properties (Design Tokens) ---------- */
:root {
  /* Colors */
  --bg: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(10, 10, 15, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.06);

  --text: #e8e8ed;
  --text-muted: #8a8a9a;
  --text-faint: #5a5a6a;

  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;

  --gradient-main: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  --gradient-subtle: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

  --green: #22c55e;
  --grey: #6b7280;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 8px 24px rgba(59, 130, 246, 0.12), 0 4px 12px rgba(139, 92, 246, 0.08);
  --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-focus: 0 0 0 2px var(--bg), 0 0 0 4px rgba(59, 130, 246, 0.4);

  /* Blur */
  --blur-header: 14px;
  --blur-orb: 120px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease);
  --transition-normal: 300ms var(--ease);
  --transition-slow: 500ms var(--ease);

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Screen reader only (visually hidden but accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

/* ---------- 3. Background Gradient Orbs ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Blue orb — top-left */
body::before {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -100px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(var(--blur-orb));
}

/* Purple orb — bottom-right */
body::after {
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -150px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  filter: blur(var(--blur-orb));
}

/* ---------- 4. Icon Utility ---------- */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.icon--lg {
  width: 3rem;
  height: 3rem;
}

/* ---------- 5. Site Header & Footer (shared .site) ---------- */
.site {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  min-height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-header));
  -webkit-backdrop-filter: blur(var(--blur-header));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-glass);
}

/* Brand (logo + name) */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.85;
}

.brand__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand__subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Navigation links */
.site nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link svg {
  width: 18px;
  height: 18px;
}

/* ---------- 6. Main / Layout ---------- */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* ---------- 7. Hero Section ---------- */
.hero {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 700px;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.lede a {
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.lede a:hover {
  color: var(--cyan);
}

/* ---------- 8. Stats ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-2xl);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 80px;
}

.stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: var(--gradient-subtle);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card__value--accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- 9. CTA Buttons ---------- */
.ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.btn--primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25), 0 2px 8px rgba(139, 92, 246, 0.15);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35), 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn .icon {
  width: 1em;
  height: 1em;
}

/* ---------- 10. Filter Bar ---------- */
.filters {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  width: 100%;
  max-width: var(--max-width);
  margin: var(--space-md) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-header));
  -webkit-backdrop-filter: blur(var(--blur-header));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-glass);
  transition: box-shadow var(--transition-fast);
}

.filters:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Search */
.filters__search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filters__search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.filters__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  padding: var(--space-xs) 0;
}

.filters__input::placeholder {
  color: var(--text-faint);
}

.filters__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.filters__clear:hover {
  color: var(--pink);
}

.filters__kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  min-width: 20px;
  flex-shrink: 0;
}

/* Chips container */
.filters__chips {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1px;
  flex-shrink: 0;
}

.filters__chips::-webkit-scrollbar {
  display: none;
}

/* Category chip (rendered by JS) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.chip[data-active="true"] {
  background: var(--gradient-subtle);
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  line-height: 1;
}

.chip[data-active="true"] .chip__count {
  background: rgba(255, 255, 255, 0.2);
}

/* Sort */
.filters__sort {
  flex-shrink: 0;
}

.filters__select {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
  transition: all var(--transition-fast);
}

.filters__select:hover,
.filters__select:focus {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

/* ---------- 11. Card Grid ---------- */
.grid-wrap {
  width: 100%;
  padding: var(--space-lg) 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  list-style: none;
}

/* ---------- 12. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  overflow: hidden;
}

/* Gradient border reveal on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
  opacity: 1;
}

/* Card icon */
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-light);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-normal);
}

.card:hover .card__icon {
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
}

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

.card__icon-letter {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card content */
.card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.card__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  transition: color var(--transition-fast);
}

.card:hover .card__title {
  color: white;
}

.card__status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-faint);
  flex-shrink: 0;
}

.card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.card__status--public .card__status-dot {
  background: var(--green);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.card__status--private .card__status-dot {
  background: var(--grey);
}

/* Card description */
.card__summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category badge */
.card__category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  width: fit-content;
}

/* Stats row */
.card__stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.card__stats span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.card__stats svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Card CTA */
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.card__cta:hover {
  color: var(--cyan);
}

.card__cta .icon {
  width: 1em;
  height: 1em;
  transition: transform var(--transition-fast);
}

.card__cta:hover .icon {
  transform: translateX(3px);
}

/* ---------- 13. Empty State ---------- */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  color: var(--text-muted);
}

.empty .icon--lg {
  color: var(--text-faint);
}

.empty span {
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- 14. Footer ---------- */
.site footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-header));
  -webkit-backdrop-filter: blur(var(--blur-header));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__cta {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer__cta a:hover {
  color: var(--cyan);
}

.footer__cta .icon {
  width: 1em;
  height: 1em;
  transition: transform var(--transition-fast);
}

.footer__cta a:hover .icon {
  transform: translateX(3px);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-faint);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.footer__social .icon {
  width: 18px;
  height: 18px;
}

/* ---------- 15. Responsive (breakpoint: 720px) ---------- */
@media (max-width: 720px) {
  :root {
    --space-3xl: 2.5rem;
    --space-2xl: 2rem;
  }

  /* Hide nav on mobile */
  .site {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .site nav {
    width: 100%;
    justify-content: center;
  }

  /* Hero adjustments */
  .hero {
    padding: var(--space-xl) var(--space-md);
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .lede {
    font-size: 1rem;
  }

  /* Stats stack */
  .stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
    text-align: center;
  }

  .stat-card {
    flex-direction: row;
    justify-content: space-between;
    padding: var(--space-sm) 0;
  }

  .stat-card__value {
    font-size: 1.5rem;
  }

  /* CTA full width on mobile */
  .ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  /* Filter bar stacks vertically */
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    position: relative;
    top: auto;
    border-radius: var(--radius-md);
    margin: var(--space-sm) 0;
  }

  .filters__search {
    width: 100%;
  }

  .filters__chips {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding: var(--space-xs) 0;
  }

  .filters__sort {
    width: 100%;
  }

  .filters__select {
    width: 100%;
  }

  /* Grid single column */
  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Footer stack */
  .footer__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer__cta {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- 16. Subtle Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger card entrance */
.card {
  animation: fadeInUp var(--transition-slow) var(--ease) both;
}

.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 60ms; }
.card:nth-child(3) { animation-delay: 120ms; }
.card:nth-child(4) { animation-delay: 180ms; }
.card:nth-child(5) { animation-delay: 240ms; }
.card:nth-child(6) { animation-delay: 300ms; }
.card:nth-child(7) { animation-delay: 360ms; }
.card:nth-child(8) { animation-delay: 420ms; }
.card:nth-child(9) { animation-delay: 480ms; }

/* Icon pulse on hover */
.card__icon {
  transition: all var(--transition-normal);
}

.card:hover .card__icon {
  transform: scale(1.05);
}
