.signature-flavors {
  position: relative;
  overflow: hidden;
  padding: 60px 0 90px;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 43, 0, .12), transparent 24%),
    radial-gradient(circle at 91% 82%, rgba(0, 111, 255, .16), transparent 27%),
    #08090d;
}

.signature-flavors::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.signature-flavors-inner { position: relative; z-index: 1; }

.signature-heading {
  max-width: 900px;
  margin: 0 auto 62px;
  text-align: center;
}

.signature-heading .pill-badge { margin: 0 auto 20px; }

.signature-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.signature-heading h2 span {
  color: #ffd400;
  text-shadow: 0 0 34px rgba(255, 212, 0, .22);
}

.signature-heading p {
  max-width: 660px;
  margin: 25px auto 0;
  color: #b9c0cc;
  font-size: 17px;
  line-height: 1.7;
}

.profile-pop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-pop-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--pop) 65%, white 10%);
  border-radius: 28px;
  color: #fff;
  background: #11131a;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.profile-pop-card:hover {
  z-index: 3;
  transform: translateY(-10px) rotate(-.65deg);
  border-color: var(--soft);
  box-shadow: 0 30px 75px color-mix(in srgb, var(--pop) 26%, rgba(0,0,0,.72));
}

.profile-pop-card:nth-child(even):hover { transform: translateY(-10px) rotate(.65deg); }

.profile-number {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #090b10;
  background: var(--soft);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

.profile-pop-art {
  position: relative;
  height: 270px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--soft) 65%, white 10%), transparent 36%),
    linear-gradient(145deg, var(--pop), var(--deep));
}

.profile-pop-art::before,
.profile-pop-art::after {
  content: "";
  position: absolute;
  border: 2px solid color-mix(in srgb, var(--soft) 72%, transparent);
  border-radius: 50%;
  opacity: .72;
}

.profile-pop-art::before { width: 215px; height: 215px; top: 34px; left: 50%; transform: translateX(-50%); }
.profile-pop-art::after { width: 290px; height: 290px; top: -15px; left: 50%; transform: translateX(-50%); opacity: .3; }

.profile-pop-art img {
  position: relative;
  z-index: 3;
  width: auto;
  height: 255px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.48));
  transform: translateY(14px) rotate(-2deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}

.profile-pop-card:nth-child(even) .profile-pop-art img { transform: translateY(14px) rotate(2deg); }
.profile-pop-card:hover .profile-pop-art img { transform: translateY(5px) rotate(2deg) scale(1.08); filter: drop-shadow(0 24px 25px rgba(0,0,0,.6)); }
.profile-pop-card:nth-child(even):hover .profile-pop-art img { transform: translateY(5px) rotate(-2deg) scale(1.08); }

.profile-mixed-fruit .profile-pop-art img { height: 278px; transform: translateY(20px) rotate(2deg); }
.profile-mixed-fruit:hover .profile-pop-art img { transform: translateY(10px) rotate(-2deg) scale(1.08); }

.pop-word {
  position: absolute;
  z-index: 1;
  top: 38px;
  right: -12px;
  color: rgba(255,255,255,.2);
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  transform: rotate(8deg);
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
}

.pop-shape { position: absolute; z-index: 2; display: block; }
.shape-a { width: 32px; height: 32px; right: 23px; bottom: 30px; background: var(--soft); transform: rotate(18deg); clip-path: polygon(50% 0,61% 37%,100% 50%,61% 63%,50% 100%,39% 63%,0 50%,39% 37%); }
.shape-b { width: 48px; height: 18px; left: 22px; bottom: 52px; border: 5px solid var(--soft); border-left: 0; border-right: 0; transform: rotate(-22deg); }

.profile-pop-copy {
  position: relative;
  min-height: 190px;
  padding: 23px 23px 25px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--deep) 42%, #101218), #101218 70%);
}

.profile-pop-copy::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--pop), var(--soft));
}

.profile-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--soft);
  background: color-mix(in srgb, var(--pop) 19%, transparent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-pop-copy h3 {
  margin: 13px 0 7px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.profile-pop-copy p { margin: 0; min-height: 48px; color: #c8ced8; font-size: 13px; line-height: 1.55; }
.profile-explore { display: inline-block; margin-top: 15px; color: var(--soft); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; transition: transform .25s ease; }
.profile-pop-card:hover .profile-explore { transform: translateX(6px); }

/* Each flavor gets its own playful graphic language. */
.profile-classic .profile-pop-art { background-color: #0033a0; background-image: linear-gradient(120deg, transparent 42%, rgba(255,220,0,.9) 43% 48%, transparent 49%), radial-gradient(circle at 52% 47%, #197dff, #00194f 68%); }
.profile-sugar-free .profile-pop-art { background-image: radial-gradient(circle at 20% 25%, rgba(255,255,255,.74) 0 5px, transparent 6px), radial-gradient(circle at 82% 36%, rgba(255,255,255,.5) 0 10px, transparent 11px), linear-gradient(145deg, #35d7ff, #005b9e); background-size: 62px 62px, 94px 94px, auto; }
.profile-cranberry .profile-pop-art { background-image: radial-gradient(circle, rgba(255,190,205,.55) 0 13px, transparent 14px), linear-gradient(145deg, #ff315e, #650018); background-size: 72px 72px, auto; }
.profile-mojito .profile-pop-art { background-image: repeating-radial-gradient(ellipse at 15% 20%, transparent 0 19px, rgba(188,255,145,.32) 20px 22px, transparent 23px 38px), linear-gradient(145deg, #30d766, #004426); }
.profile-mango .profile-pop-art { background-image: repeating-conic-gradient(from -8deg at 50% 65%, rgba(255,224,83,.42) 0 8deg, transparent 8deg 18deg), linear-gradient(145deg, #ffa012, #7a2600); }
.profile-mixed-fruit .profile-pop-art { background-image: radial-gradient(circle at 16% 22%, #ffb326 0 8px, transparent 9px), radial-gradient(circle at 80% 28%, #702bff 0 11px, transparent 12px), radial-gradient(circle at 24% 74%, #ff71b7 0 13px, transparent 14px), linear-gradient(145deg, #f3295d, #510014); }
.profile-watermelon .profile-pop-art { background-image: repeating-linear-gradient(118deg, transparent 0 28px, rgba(121,255,118,.18) 29px 35px), linear-gradient(160deg, #ff344c 0 54%, #08713b 55%); }
.profile-bubble-gum .profile-pop-art { background-image: radial-gradient(circle at 18% 24%, rgba(255,255,255,.28) 0 18px, transparent 19px), radial-gradient(circle at 80% 30%, rgba(66,222,255,.62) 0 26px, transparent 27px), radial-gradient(circle at 24% 74%, rgba(255,114,202,.72) 0 22px, transparent 23px), linear-gradient(145deg, #ff2aa5, #0061ad); }

@media (max-width: 1180px) {
  .profile-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-pop-art { height: 300px; }
  .profile-pop-art img { height: 285px; }
  .profile-mixed-fruit .profile-pop-art img { height: 310px; }
}

@media (max-width: 640px) {
  .signature-flavors { padding: 80px 0 90px; }
  .signature-heading { margin-bottom: 40px; }
  .signature-heading h2 { font-size: clamp(38px, 13vw, 58px); }
  .profile-pop-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-pop-art { height: 280px; }
  .profile-pop-art img { height: 270px; }
  .profile-pop-copy { min-height: 0; }
  .profile-pop-copy p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-pop-card,
  .profile-pop-art img,
  .profile-explore { transition: none; }
}
