/* Dating App — 02 Transform (lavender band) */

@keyframes cw-dating-transform-ping {
  0% { box-shadow: 0 0 0 0 rgba(212, 245, 60, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(212, 245, 60, 0); }
}

@keyframes cw-dating-transform-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes cw-dating-transform-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cw-dating-transform {
  background: #cfc4f6;
  color: #141210;
  width: 100%;
  margin-inline: 0;
  --cw-dt-edge: clamp(10px, 1.25vw, 16px);
  --cw-dt-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-dating-transform__inner {
  box-sizing: border-box;
  width: min(1360px, calc(100vw - 2 * var(--cw-dt-edge)));
  max-width: calc(100vw - 2 * var(--cw-dt-edge));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 120px) var(--cw-dt-pad-x);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.cw-dating-transform__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: end;
}

.cw-dating-transform__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cw-dating-transform__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #c8391a;
  letter-spacing: -0.01em;
}

.cw-dating-transform__intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #2e2822;
  text-wrap: pretty;
}

.cw-dating-transform__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.cw-dating-transform__stat {
  background: #141210;
  color: #f3efe7;
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 190px;
  box-sizing: border-box;
}

.cw-dating-transform__stat-value {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5.2vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.cw-dating-transform__stat-label {
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 231, 225, 0.12);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(234, 231, 225, 0.78);
  min-height: 44px;
}

.cw-dating-transform__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.cw-dating-transform__why {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-dating-transform__why-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8e2a12;
}

.cw-dating-transform__why-bar {
  width: 28px;
  height: 2px;
  background: #c8391a;
}

.cw-dating-transform__why-p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #2e2822;
}

.cw-dating-transform__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-dating-transform__tilt {
  perspective: 1000px;
}

.cw-dating-transform__match-card {
  background: #141210;
  color: #f3efe7;
  border-radius: 26px;
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 40px 80px -40px rgba(40, 20, 80, 0.65);
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

.cw-dating-transform__match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.cw-dating-transform__match-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4f53c;
}

.cw-dating-transform__match-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4f53c;
  animation: cw-dating-transform-ping 1.8s infinite;
}

.cw-dating-transform__match-time {
  color: rgba(234, 231, 225, 0.5);
}

.cw-dating-transform__match-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cw-dating-transform__avatars {
  position: relative;
  width: 132px;
  height: 76px;
  flex: none;
}

.cw-dating-transform__avatar {
  position: absolute;
  top: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font: 800 22px 'Inter Tight', sans-serif;
  border: 3px solid #141210;
}

.cw-dating-transform__avatar--a {
  left: 0;
  background: #d4f53c;
  color: #141210;
  padding-right: 18px;
}

.cw-dating-transform__avatar--b {
  right: 0;
  background: #cfc4f6;
  color: #141210;
}

.cw-dating-transform__avatar-heart {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  background: #e0431c;
  border: 3px solid #141210;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cw-dating-transform-bob 2.4s ease-in-out infinite;
}

.cw-dating-transform__match-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  color: #ff5527;
}

.cw-dating-transform__match-sub {
  font-size: 13.5px;
  color: rgba(234, 231, 225, 0.7);
}

.cw-dating-transform__compat-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.cw-dating-transform__compat-head span:first-child {
  color: rgba(234, 231, 225, 0.7);
}

.cw-dating-transform__compat-pct {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  color: #d4f53c;
}

.cw-dating-transform__compat-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(234, 231, 225, 0.1);
  overflow: hidden;
}

.cw-dating-transform__compat-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #e0431c, #d4f53c);
}

.cw-dating-transform__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.cw-dating-transform__tags span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.16);
  font-size: 12px;
}

.cw-dating-transform__chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #1f1b18;
}

.cw-dating-transform__bubble {
  max-width: 90%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.cw-dating-transform__bubble--in {
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
  background: #2c2723;
}

.cw-dating-transform__bubble--out {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: #e0431c;
  color: #fff;
  font-weight: 500;
}

.cw-dating-transform__composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  height: 42px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  background: #141210;
  font-size: 13px;
  color: rgba(234, 231, 225, 0.45);
}

.cw-dating-transform__composer-send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d4f53c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-dating-transform__revenue {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
}

.cw-dating-transform__revenue-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #4a3c7a;
}

.cw-dating-transform__revenue-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-dating-transform__revenue-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  font: 600 14px 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #141210;
}

.cw-dating-transform__revenue-tab.is-active {
  background: #141210;
  color: #fff;
}

.cw-dating-transform__revenue-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #2e2822;
  animation: cw-dating-transform-fade 0.3s ease-out both;
}
