/* Dating App hero — from Corewave Dating App Page (01 Hero) */

@keyframes cw-dating-hero-rise {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translateY(-110vh) rotate(40deg); opacity: 0; }
}

@keyframes cw-dating-hero-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 39, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(255, 85, 39, 0); }
}

@keyframes cw-dating-hero-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

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

@keyframes cw-dating-hero-float {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-120px) scale(1.4); opacity: 0; }
}

.cw-dating-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(800px 500px at 80% 40%, rgba(255, 85, 39, 0.12), transparent 70%), #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  --cw-dh-edge: clamp(10px, 1.25vw, 16px);
  --cw-dh-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-dating-hero__hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cw-dating-hero__heart-float {
  position: absolute;
  bottom: -40px;
  opacity: 0;
  animation: cw-dating-hero-rise linear infinite;
}

.cw-dating-hero__inner {
  position: relative;
  box-sizing: border-box;
  width: min(1360px, calc(100vw - 2 * var(--cw-dh-edge)));
  max-width: calc(100vw - 2 * var(--cw-dh-edge));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--cw-dh-pad-x) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}

.cw-dating-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cw-dating-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-dating-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5527;
  animation: cw-dating-hero-ping 1.8s infinite;
}

.cw-dating-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f3efe7;
}

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

.cw-dating-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(234, 231, 225, 0.78);
  text-wrap: pretty;
}

.cw-dating-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-dating-hero__btn {
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-dating-hero__btn--primary {
  padding: 0 26px;
  background: #e0431c;
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(224, 67, 28, 0.8);
}

.cw-dating-hero__btn--primary:hover {
  background: #c93a16;
  color: #fff;
}

.cw-dating-hero__btn--secondary {
  border: 1px solid rgba(234, 231, 225, 0.25);
  color: #eae7e1;
}

.cw-dating-hero__btn--secondary:hover {
  border-color: #ff5527;
  color: #fff;
}

.cw-dating-hero__deck-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.cw-dating-hero__deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(234, 231, 225, 0.6);
}

.cw-dating-hero__liked-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ff7a50;
}

.cw-dating-hero__stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 500px;
}

.cw-dating-hero__card-back {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.cw-dating-hero__card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #1e1b18;
  border: 1px solid rgba(234, 231, 225, 0.1);
  cursor: grab;
  touch-action: none;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  animation: cw-dating-hero-pop 0.4s cubic-bezier(0.3, 0.7, 0.2, 1) both;
  user-select: none;
}

.cw-dating-hero__card.is-dragging {
  cursor: grabbing;
  transition: none;
}

.cw-dating-hero__card-top {
  position: relative;
  height: 250px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-dating-hero__card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 18, 16, 0.12) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
}

.cw-dating-hero__card-icon {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-dating-hero__card-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.85);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #eae7e1;
}

.cw-dating-hero__stamp {
  position: absolute;
  top: 56px;
  padding: 6px 14px;
  border-radius: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  opacity: 0;
  background: rgba(20, 18, 16, 0.6);
  pointer-events: none;
}

.cw-dating-hero__stamp--add {
  left: 18px;
  border: 3px solid #d4f53c;
  color: #d4f53c;
  transform: rotate(-14deg);
}

.cw-dating-hero__stamp--skip {
  right: 18px;
  border: 3px solid #ff5527;
  color: #ff5527;
  transform: rotate(14deg);
}

.cw-dating-hero__card-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.cw-dating-hero__card-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #f3efe7;
}

.cw-dating-hero__card-kind {
  font-size: 13px;
  color: rgba(234, 231, 225, 0.55);
  margin-left: 10px;
  font-weight: 400;
}

.cw-dating-hero__card-bio {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(234, 231, 225, 0.78);
}

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

.cw-dating-hero__tag {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.16);
  font-size: 12px;
  color: #eae7e1;
}

.cw-dating-hero__done {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: #e0431c;
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  animation: cw-dating-hero-pop 0.45s cubic-bezier(0.3, 0.7, 0.2, 1) both;
  z-index: 4;
}

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

.cw-dating-hero__done-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cw-dating-hero__done-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.cw-dating-hero__done-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(20, 18, 16, 0.18);
  font-size: 14px;
  font-weight: 500;
}

.cw-dating-hero__done-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.cw-dating-hero__done-actions button {
  height: 48px;
  border-radius: 999px;
  font: 600 15px 'Inter', sans-serif;
  cursor: pointer;
}

.cw-dating-hero__done-actions .cw-dating-hero__build {
  flex: 1;
  border: 0;
  background: #141210;
  color: #fff;
}

.cw-dating-hero__done-actions .cw-dating-hero__restart {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.cw-dating-hero__match {
  position: absolute;
  inset: -10px;
  z-index: 5;
  border-radius: 32px;
  background: rgba(20, 18, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  animation: cw-dating-hero-fade 0.25s ease-out both;
}

.cw-dating-hero__match-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 46px;
  color: #ff5527;
  animation: cw-dating-hero-pop 0.5s cubic-bezier(0.3, 0.7, 0.2, 1) both;
}

.cw-dating-hero__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cw-dating-hero__ctrl {
  border-radius: 50%;
  background: #1e1b18;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.cw-dating-hero__ctrl:hover {
  transform: scale(1.08);
}

.cw-dating-hero__ctrl--nope {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 85, 39, 0.5);
  color: #ff5527;
}

.cw-dating-hero__ctrl--undo {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(234, 231, 225, 0.2);
  color: #eae7e1;
}

.cw-dating-hero__ctrl--like {
  width: 60px;
  height: 60px;
  border: 0;
  background: #d4f53c;
  color: #141210;
}
