/* ==========================================================================
   WHAT WE CAST — category grid component
   ========================================================================== */

.cast-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 234, 219, 0.5), transparent 55%),
    #ffffff;
  padding: 72px 18px;
}

.cast-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.cast-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.cast-label {
  display: inline-block;
  background: #f5eadb;
  color: #9a6a2d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 8px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cast-head h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  color: #0b1730;
  letter-spacing: -0.03em;
}

.cast-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- Card ---------- */

.cast-card {
  --accent: #9a6a2d;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid #ebe7df;
  border-radius: 24px;
  padding: 30px 24px 32px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}

/* Colored accent bar that grows in on hover */
.cast-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
}

.cast-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.11);
  border-color: color-mix(in srgb, var(--accent) 35%, #ebe7df);
}

.cast-card:hover::after {
  transform: scaleX(1);
}

.cast-card-lead     { --accent: #df7a24; }
.cast-card-featured { --accent: #7c4dff; }
.cast-card-junior   { --accent: #0f9d7a; }
.cast-card-model    { --accent: #2563eb; }

/* ---------- Icon ---------- */

.cast-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .35s ease;
}

.cast-icon svg {
  width: 34px;
  height: 34px;
}

.cast-card:hover .cast-icon {
  transform: scale(1.06);
}

/* Soft tinted icon backgrounds per category */
.cast-icon.lead     { color: #df7a24; background: #fdf1e7; border: 1px solid #f6e0cb; }
.cast-icon.featured { color: #7c4dff; background: #f2eeff; border: 1px solid #e3daff; }
.cast-icon.junior   { color: #0f9d7a; background: #e7f7f2; border: 1px solid #cdeee4; }
.cast-icon.model    { color: #2563eb; background: #eaf1fe; border: 1px solid #d5e3fb; }

/* ---------- Text ---------- */

.cast-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f1b35;
}

.cast-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cast-section {
    padding: 56px 14px;
  }

  .cast-head {
    margin-bottom: 32px;
  }

  .cast-head h2 {
    font-size: 28px;
  }

  .cast-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cast-card {
    padding: 26px 22px 28px;
    border-radius: 20px;
  }

  .cast-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .cast-icon svg {
    width: 30px;
    height: 30px;
  }
}
