/* =========================================================
   FEATURES — "Adventure, Wishes & Magic"
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&display=swap");

.fx {
  /* ---- change these to fit your site ---- */
  --fx-bg: rgb(48, 0, 99);        /* section background */
  --fx-card: rgba(32, 18, 92, .55);
  --fx-line: rgba(200, 160, 255, .22);
  --fx-text: #d9ccff;
  --fx-pic-ratio: 16 / 9;   /* shape of the pictures (width / height) */

  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 20px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(140, 80, 255, .28), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(255, 100, 210, .14), transparent 70%),
    var(--fx-bg);
  font-family: "Outfit", "Fredoka", system-ui, sans-serif;
  color: #fff;
}

.fx-inner { position: relative; max-width: 1240px; margin: 0 auto; }

/* ---------- heading ---------- */
.fx-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }

.fx-kicker {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: rgba(150, 90, 255, .12);
  font: 600 clamp(11px, 1.1vw, 13px)/1 "Fredoka", sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e6c8ff;
}

.fx-title {
  margin: 18px 0 14px;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: .01em;
  background: linear-gradient(100deg, #ffffff 0%, #f3d9ff 30%, #c48bff 55%, #ffffff 75%, #ffd6f4 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(170, 100, 255, .45));
  animation: fx-shine 7s linear infinite;
}
.fx-amp {
  background: linear-gradient(180deg, #ffe48a, #ff9bd8);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
@keyframes fx-shine { to { background-position: -220% center; } }

.fx-sub {
  margin: 0 auto;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--fx-text);
}

/* ---------- cards ---------- */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.fx-card {
  --fx-glow: #c48bff;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), var(--fx-card);
  border: 1px solid var(--fx-line);
  box-shadow: 0 18px 40px rgba(5, 0, 30, .45);
  backdrop-filter: blur(6px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.fx-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--fx-glow) 60%, transparent);
  box-shadow: 0 24px 50px rgba(5, 0, 30, .55),
              0 0 36px color-mix(in srgb, var(--fx-glow) 35%, transparent);
}

/* picture slot — shows a soft glow box until your picture is there */
.fx-pic {
  position: relative;
  aspect-ratio: var(--fx-pic-ratio);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--fx-glow) 35%, transparent), transparent 70%),
    linear-gradient(160deg, #2a1670, #120a45);
}
.fx-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.fx-card:hover .fx-pic img { transform: scale(1.06); }

.fx-num {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 4, 50, .6);
  border: 1px solid rgba(255,255,255,.18);
  font: 600 12px/1 "Fredoka", sans-serif;
  letter-spacing: .1em;
  color: var(--fx-glow);
}

.fx-body { padding: 18px 12px 14px; }

.fx-name {
  margin: 0 0 8px;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 26px);
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 0 18px color-mix(in srgb, var(--fx-glow) 55%, transparent);
}
.fx-name::after {
  content: "";
  display: block;
  width: 38px; height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fx-glow), transparent);
}

.fx-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fx-text);
}

/* ---------- tablet: 2 per row ---------- */
@media (max-width: 1000px) {
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone: 1 per row ---------- */
@media (max-width: 560px) {
  .fx { padding-left: 16px; padding-right: 16px; }
  .fx-grid { grid-template-columns: 1fr; gap: 16px; }
  .fx-card { border-radius: 22px; }
  .fx-body { padding: 14px 8px 8px; }
  .fx-name { font-size: 21px; }
  .fx-text { font-size: 14.5px; }
  .fx-card:hover { transform: none; }
}

/* people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  .fx-title { animation: none; }
  .fx-card, .fx-pic img { transition: none; }
}