/* Premshetu — Premium luxury dating UI */

:root {
  --flame-glow: rgba(244, 63, 94, 0.35);
  --flame-soft: rgba(251, 113, 133, 0.15);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(244, 63, 94, 0.35);
  color: #fff;
}

/* Ambient background */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: orb-drift 20s ease-in-out infinite;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #be123c 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #881337 0%, transparent 70%);
  bottom: 20%;
  left: -10%;
  animation-delay: -7s;
}

.ambient-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #fda4af 0%, transparent 70%);
  top: 50%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -14s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Hero full banner video */
.hero-video-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video,
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
}

.hero-video {
  transform: scale(1.08);
  animation: ken-burns 24s ease-in-out infinite alternate;
}

.bg-video.is-playing {
  opacity: 1;
}

.video-banner-inner.video-is-playing .video-banner-media,
.hero-video-banner.video-is-playing .hero-video {
  animation: ken-burns 24s ease-in-out infinite alternate;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.55) 40%, rgba(10, 10, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.7) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(190, 18, 60, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.hero-video-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes ken-burns {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}

.video-sound-toggle {
  position: absolute;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, background 0.3s;
}

.video-sound-toggle:hover {
  transform: scale(1.08);
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.15);
}

.video-sound-toggle svg {
  width: 20px;
  height: 20px;
}

.video-sound-toggle .hidden {
  display: none;
}

/* Cinematic full-width video banner */
.video-banner-section {
  padding: 0 1.5rem 0;
  margin-bottom: 2rem;
}

.video-banner-inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  height: min(85vh, 720px);
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  background: #0a0a0a;
}

.video-banner-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: video-banner-drift 22s ease-in-out infinite alternate;
}

.video-banner-inner.video-is-playing .video-banner-media {
  opacity: 1;
}

@keyframes video-banner-drift {
  0% { transform: scale(1.1) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.5%, -1%); }
}

.video-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 30%),
    radial-gradient(ellipse at center, rgba(190, 18, 60, 0.2) 0%, transparent 60%);
}

.video-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 3rem 2rem 4rem;
  z-index: 2;
}

.video-banner-tag {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(251, 113, 133, 0.9);
  margin-bottom: 1rem;
}

.video-banner-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.video-banner-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.video-banner-shine {
  position: absolute;
  z-index: 1;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
  animation: shine-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0%, 100% { transform: translateX(-30%) rotate(25deg); }
  50% { transform: translateX(30%) rotate(25deg); }
}

/* Premium App Store / Google Play badges */
.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-badges-row:not(.store-badges-center) {
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-content .store-badges-row {
    justify-content: flex-start;
  }
}

.store-badges-center {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  min-width: 168px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s ease,
    border-color 0.3s,
    background 0.3s;
  position: relative;
  overflow: hidden;
}

.store-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.store-badge:hover::before {
  opacity: 1;
}

.store-badge:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.store-badge-glow:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(244, 63, 94, 0.2);
}

.store-badge-apple:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.store-badge-google:hover {
  border-color: rgba(74, 222, 128, 0.35);
}

.store-badge-lg {
  padding: 0.75rem 1.5rem 0.75rem 1.15rem;
  min-width: 185px;
  border-radius: 16px;
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge-lg .store-badge-icon {
  width: 32px;
  height: 32px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-badge-label {
  font-size: 0.6rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.store-badge-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-badge-lg .store-badge-name {
  font-size: 1.15rem;
}

/* Enhanced animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
}

body.loaded .hero-content .animate-fade-up {
  animation: fade-up 0.9s var(--ease-out-expo) forwards;
  animation-delay: calc(0.08s * var(--i, 0) + 0.2s);
}

.video-banner-section .animate-fade-up {
  animation: none;
}

.video-banner-section.visible .animate-fade-up {
  animation: fade-up 0.9s var(--ease-out-expo) forwards;
  animation-delay: calc(0.1s * var(--i, 0) + 0.15s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: btn-shimmer 3.5s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.hero-phone-stage {
  transition: transform 0.1s linear;
  will-change: transform;
}

.feature-card,
.step-card,
.testimonial-card {
  transition:
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s ease,
    border-color 0.3s;
}

/* Card pop on scroll */
.step-card.reveal.visible,
.feature-card.reveal.visible,
.matchmaker-card.reveal.visible {
  animation: card-pop 0.7s var(--ease-out-expo) backwards;
}

.matchmaker-card.reveal.visible:nth-child(1) { animation-delay: 0.05s; }
.matchmaker-card.reveal.visible:nth-child(2) { animation-delay: 0.12s; }
.matchmaker-card.reveal.visible:nth-child(3) { animation-delay: 0.19s; }
.matchmaker-card.reveal.visible:nth-child(4) { animation-delay: 0.26s; }

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero effects */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 40%, rgba(190, 18, 60, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.blur-circle-1 {
  width: 300px;
  height: 300px;
  background: rgba(244, 63, 94, 0.12);
  top: 20%;
  right: 10%;
  animation: pulse-glow 8s ease-in-out infinite;
}

.blur-circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(251, 113, 133, 0.1);
  bottom: 30%;
  left: 5%;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

.blur-circle-3 {
  width: 150px;
  height: 150px;
  background: rgba(225, 29, 72, 0.15);
  top: 60%;
  right: 30%;
  animation: pulse-glow 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #fff;
  font-weight: 500;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, opacity 0.3s;
  box-shadow: 0 4px 24px rgba(244, 63, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(244, 63, 94, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out-expo);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Header scroll state */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

#header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 1024px) {
  #header nav {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

#header nav > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#header nav ul {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  #header nav ul {
    display: flex;
  }
}

#header nav ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 300;
}

#header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0;
}

#header.scrolled nav {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Floating profiles */
.hero-phone-stage {
  position: relative;
  width: 320px;
  height: 640px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-phone-stage {
    width: 300px;
    height: 620px;
  }
}

.floating-profile {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 5;
  animation: float-profile 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 0 30px var(--flame-glow),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.floating-profile::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.6), rgba(190, 18, 60, 0.3));
  z-index: -1;
  animation: ring-pulse 3s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.floating-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-1 { top: 5%; left: -8%; }
.fp-2 { top: 15%; right: -12%; }
.fp-3 { top: 35%; left: -15%; }
.fp-4 { top: 45%; right: -18%; }
.fp-5 { bottom: 35%; left: -10%; }
.fp-6 { bottom: 25%; right: -14%; }
.fp-7 { bottom: 10%; left: 5%; }
.fp-8 { top: 55%; right: -8%; }
.fp-9 { top: 8%; left: 20%; }
.fp-10 { bottom: 45%; right: 5%; }

@keyframes float-profile {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(2deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
  75% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(244, 63, 94, 0.15);
  z-index: 10;
  margin: 0 auto;
}

.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  transform: scale(0.96);
  padding: 36px 14px 14px;
}

.screen-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.phone-screen-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.phone-screen-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.phone-screen-dots .dot.active {
  background: #f43f5e;
  transform: scale(1.2);
}

/* Mock app UI */
.mock-discover,
.mock-matches,
.mock-chat,
.mock-video {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.mock-filter {
  font-size: 14px;
  opacity: 0.6;
}

.mock-card-stack {
  flex: 1;
  position: relative;
  min-height: 0;
}

.mock-profile-card {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.mock-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.mock-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.mock-card-info p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.mock-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 12px;
}

.mock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.mock-pass {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.mock-super {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.mock-like {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
}

.mock-match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mock-match-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-match-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.mock-match-item strong {
  display: block;
  font-size: 12px;
}

.mock-match-item span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.mock-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-chat-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.mock-chat-header strong {
  display: block;
  font-size: 12px;
}

.mock-chat-header span {
  font-size: 9px;
  color: #4ade80;
}

.mock-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  overflow: hidden;
}

.mock-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 10px;
  line-height: 1.4;
}

.mock-msg.them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}

.mock-msg.me {
  align-self: flex-end;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  border-bottom-right-radius: 4px;
}

.mock-chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.mock-send {
  color: #f43f5e;
  font-weight: 600;
}

.mock-video-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.mock-video-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-video-pip {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mock-video-pip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-video-timer {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 6px;
}

.mock-video-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
}

.mock-video-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  cursor: default;
}

.mock-end-call {
  background: #ef4444 !important;
  color: #fff;
  font-size: 10px !important;
  font-weight: 600;
  width: 56px !important;
  border-radius: 24px !important;
}

/* Editorial — Who we are */
.editorial-about {
  background: linear-gradient(180deg, transparent 0%, rgba(190, 18, 60, 0.04) 50%, transparent 100%);
}

.about-tilt-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.about-tilt-frame {
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease-out-expo);
}

.about-tilt-wrap:hover .about-tilt-frame {
  transform: rotate(-2deg) scale(1.02);
}

.about-tilt-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 80px rgba(244, 63, 94, 0.15);
}

.editorial-heading {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.editorial-subheading {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.editorial-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.editorial-body p:last-child {
  margin-bottom: 0;
}

/* AI Matchmaker grid */
.ai-matchmaker-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.matchmaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .matchmaker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .matchmaker-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

.matchmaker-card {
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo);
}

.matchmaker-card:hover {
  transform: translateY(-6px);
}

.matchmaker-visual {
  margin-bottom: 1.5rem;
}

.matchmaker-visual-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s;
}

.matchmaker-card:hover .matchmaker-visual-inner {
  border-color: rgba(244, 63, 94, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 40px rgba(244, 63, 94, 0.08);
}

.ai-orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #be123c 0%, #6366f1 50%, #fda4af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(190, 18, 60, 0.4);
  animation: orb-pulse 4s ease-in-out infinite;
}

.ai-face {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.sparkle {
  position: absolute;
  font-size: 0.75rem;
  color: #fda4af;
  animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle-1 { top: 18%; left: 15%; animation-delay: 0s; }
.sparkle-2 { top: 25%; right: 12%; animation-delay: 0.8s; }
.sparkle-3 { bottom: 20%; left: 20%; animation-delay: 1.6s; }

@keyframes sparkle-float {
  0%, 100% { opacity: 0.4; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(-6px) scale(1.2); }
}

.profile-stack,
.date-stack {
  position: relative;
  width: 120px;
  height: 100px;
}

.stack-img {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0a0a0a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stack-1 { left: 0; top: 20px; z-index: 1; }
.stack-2 { left: 32px; top: 0; z-index: 2; }
.stack-3 { left: 64px; top: 24px; z-index: 3; }

.date-1 { left: 8px; top: 16px; z-index: 1; }
.date-2 { left: 48px; top: 8px; z-index: 2; }

.match-badge {
  position: absolute;
  bottom: 12%;
  right: 12%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0a;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
  z-index: 10;
}

.advisor-circle {
  position: relative;
  width: 90px;
  height: 90px;
}

.advisor-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.headset-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.matchmaker-title {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
}

.matchmaker-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* Video testimonials */
.video-testimonials-section {
  overflow: hidden;
}

.video-testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(253, 164, 175, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(190, 18, 60, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(190, 18, 60, 0.05) 50%, rgba(10, 10, 10, 0) 100%);
  pointer-events: none;
}

.video-testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-testimonials-track {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem 0;
}

.video-testimonials-slider {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.65s var(--ease-out-expo);
}

.video-test-card {
  flex: 0 0 min(100%, 280px);
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .video-test-card {
    flex: 0 0 calc(33.333% - 0.85rem);
  }
}

.video-test-media {
  position: relative;
  aspect-ratio: 9/14;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.video-test-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s;
}

.video-test-card:hover .video-test-media {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 50px rgba(244, 63, 94, 0.12);
}

.video-test-player,
.love-story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #1a1a1a;
  display: block;
  z-index: 0;
}

.love-story-photo {
  transition: transform 8s var(--ease-out-expo);
  min-height: 100%;
}

.love-story-photo[src=""],
.love-story-photo:not([src]) {
  opacity: 0;
}

/* Hide alt text when image fails — show gradient fallback */
.video-test-media:has(.love-story-photo) {
  background: linear-gradient(160deg, #1a1a1a 0%, #2d1018 50%, #1a1a1a 100%);
}

.love-story-card.is-active .love-story-photo,
.love-story-card.is-previewing .love-story-photo {
  animation: story-ken-burns 12s ease-in-out infinite alternate;
}

@keyframes story-ken-burns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}

.love-story-card .video-test-play.is-active {
  opacity: 0;
  pointer-events: none;
}

.love-story-card.is-active .video-test-media::after {
  opacity: 0.35;
}

.video-test-card.is-previewing .video-test-play {
  opacity: 0.85;
}

.video-test-card.is-previewing .video-test-play.is-active,
.video-test-card.is-previewing .video-test-play.is-playing {
  opacity: 0;
}

.video-test-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s, opacity 0.3s;
  z-index: 4;
}

.video-test-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.35);
}

.video-test-play.is-playing {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-test-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  z-index: 3;
}

.caption-highlight {
  color: #fda4af;
  font-weight: 500;
}

.video-test-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, background 0.3s;
  z-index: 5;
}

.video-test-nav svg {
  width: 20px;
  height: 20px;
}

.video-test-nav:hover {
  transform: scale(1.08);
  border-color: rgba(244, 63, 94, 0.6);
  background: rgba(244, 63, 94, 0.15);
}

@media (max-width: 640px) {
  .video-test-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .video-test-prev { left: 0; }
  .video-test-next { right: 0; }

  .video-testimonials-carousel {
    padding: 0 2.5rem;
  }
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.25);
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Steps */
.steps-connector {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.3), transparent);
  transform: translateY(-50%);
}

.step-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.3s;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 63, 94, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(244, 63, 94, 0.08);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: #fb7185;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  line-height: 1.6;
}

/* Feature cards */
.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(244, 63, 94, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 0 50px rgba(244, 63, 94, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: #fb7185;
  padding: 10px;
  background: rgba(244, 63, 94, 0.1);
  border-radius: 14px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  line-height: 1.55;
}

/* Showcase */
.showcase-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(190, 18, 60, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.showcase-phone {
  width: 220px;
  height: 440px;
  border-radius: 36px;
}

.showcase-phone-main {
  width: 250px;
  height: 500px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(244, 63, 94, 0.2);
}

.showcase-phone-wrap {
  text-align: center;
}

.showcase-label {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.showcase-float-1 {
  animation: showcase-float 5s ease-in-out infinite;
}

.showcase-float-2 {
  animation: showcase-float 5s ease-in-out infinite;
  animation-delay: -1.5s;
}

.showcase-float-3 {
  animation: showcase-float 5s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes showcase-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Testimonials */
.testimonial-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--glass);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.testimonial-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 63, 94, 0.3);
  transform: scale(1.05);
}

.testimonial-card {
  flex: 0 0 min(100%, 420px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(244, 63, 94, 0.2);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.3);
}

.testimonials-slider {
  transition: transform 0.6s var(--ease-out-expo);
}

/* Download section */
.download-section {
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.25) 0%, rgba(10, 10, 10, 0.9) 50%, rgba(136, 19, 55, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.download-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.download-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: shape-float 12s ease-in-out infinite;
}

.ds-1 {
  width: 200px;
  height: 200px;
  background: rgba(244, 63, 94, 0.3);
  top: -50px;
  left: 10%;
}

.ds-2 {
  width: 150px;
  height: 150px;
  background: rgba(251, 113, 133, 0.2);
  bottom: -30px;
  right: 20%;
  animation-delay: -4s;
}

.ds-3 {
  width: 100px;
  height: 100px;
  background: rgba(190, 18, 60, 0.25);
  top: 50%;
  right: 10%;
  animation-delay: -8s;
}

@keyframes shape-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #fff;
  transition: transform 0.4s var(--ease-out-expo), background 0.3s, border-color 0.3s;
  backdrop-filter: blur(8px);
}

.store-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.store-btn-small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

.store-btn-large {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

/* Footer */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.social-icon:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.08);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Scroll indicator */
@keyframes bounce-slow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.animate-bounce-slow {
  animation: bounce-slow 2.5s ease-in-out infinite;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .video-banner-inner {
    height: 70vh;
    border-radius: 1.25rem;
  }

  .video-banner-title {
    font-size: 2.25rem;
  }

  .store-badge {
    min-width: 100%;
    justify-content: center;
  }

  .store-badges-row {
    flex-direction: column;
    width: 100%;
  }

  .video-sound-toggle {
    bottom: 4.5rem;
    right: 1rem;
  }
  .hero-phone-stage {
    width: 280px;
    height: 560px;
  }

  .floating-profile {
    width: 42px;
    height: 42px;
  }

  .fp-9,
  .fp-10 {
    display: none;
  }

  .phone-mockup.hero-phone {
    width: 230px;
    height: 460px;
  }

  .showcase-phone {
    width: 200px;
    height: 400px;
  }

  .showcase-phone-main {
    width: 220px;
    height: 440px;
  }
}

/* Coins & Wallet */
.coins-section {
  overflow: hidden;
}

.coins-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.2) 0%, transparent 70%);
  top: 10%;
  left: -10%;
  pointer-events: none;
  filter: blur(80px);
}

.coins-glow-2 {
  left: auto;
  right: -5%;
  top: 50%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.15) 0%, transparent 70%);
}

/* How to buy / use guides */
.coin-guides-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.coin-guide-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.coin-guide-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.coin-guide-tab.is-active {
  color: #fff;
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.45);
}

.coin-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .coin-guides-grid {
    grid-template-columns: 1fr;
  }
}

.coin-guide-block {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  scroll-margin-top: 120px;
  transition: border-color 0.3s, box-shadow 0.4s;
}

.coin-guide-block:target {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 50px rgba(244, 63, 94, 0.1);
}

.coin-guide-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.coin-guide-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 16px;
  background: rgba(244, 63, 94, 0.12);
}

.coin-guide-icon.use {
  background: rgba(168, 85, 247, 0.12);
}

.coin-guide-title {
  font-weight: 500;
  margin-bottom: 6px;
}

.coin-guide-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.coin-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coin-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.coin-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.coin-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.coin-step-body strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.95);
}

.coin-step-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.coin-step-body em {
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
}

.coin-inline-link {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.coin-inline-link:hover {
  color: #fda4af;
}

.coin-guide-cta {
  text-decoration: none;
}

.coin-examples {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 24px;
}

.coin-examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .coin-examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.coin-example {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.coin-example-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.coin-example-math {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  font-family: ui-monospace, monospace;
}

.coin-example-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fb7185;
}

#coin-calculator {
  scroll-margin-top: 120px;
}

.wallet-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(190, 18, 60, 0.06) 100%);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 28px;
  padding: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 60px rgba(244, 63, 94, 0.08);
}

.wallet-card-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 26px;
  backdrop-filter: blur(20px);
}

.wallet-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.wallet-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.coin-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.wallet-amount {
  font-size: 2.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s var(--ease-out-expo);
}

.wallet-amount.bump {
  animation: coin-bump 0.5s var(--ease-out-expo);
}

@keyframes coin-bump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.wallet-unit {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.coin-usage-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.5s var(--ease-out-expo);
}

.coin-usage-card:hover {
  border-color: rgba(244, 63, 94, 0.25);
  transform: translateY(-4px);
}

.coin-usage-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 16px;
  color: #fb7185;
}

.coin-usage-icon.voice {
  background: rgba(244, 63, 94, 0.12);
}

.coin-usage-icon.video {
  background: rgba(168, 85, 247, 0.12);
  color: #c4b5fd;
}

.coin-usage-icon svg {
  width: 100%;
  height: 100%;
}

.coin-usage-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.coin-rate {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.coin-rate-value {
  color: #fb7185;
  font-size: 1.5rem;
}

.coin-rate-per {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.coin-usage-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  line-height: 1.5;
}

.coin-calculator {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 32px;
  backdrop-filter: blur(16px);
}

.coin-calculator-title {
  font-weight: 500;
}

.coin-calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: end;
}

@media (max-width: 768px) {
  .coin-calculator-grid {
    grid-template-columns: 1fr;
  }
}

.calc-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.calc-select,
.calc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: rgba(244, 63, 94, 0.4);
}

.calc-result {
  text-align: right;
  padding: 12px 0;
}

@media (max-width: 768px) {
  .calc-result {
    text-align: left;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
  }
}

.calc-result-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.calc-result-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fb7185;
}

.calc-afford {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 400;
}

.calc-afford.ok {
  color: #86efac;
}

.calc-afford.low {
  color: #fca5a5;
}

.coin-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .coin-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .coin-packages-grid {
    grid-template-columns: 1fr;
  }
}

.coin-pack {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.3s, box-shadow 0.5s;
}

.coin-pack:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 63, 94, 0.3);
}

.coin-pack-popular {
  border-color: rgba(244, 63, 94, 0.45);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.1) 0%, var(--glass) 100%);
  box-shadow: 0 0 40px rgba(244, 63, 94, 0.12);
}

.coin-pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.coin-pack-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.coin-pack-coins {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.coin-pack-bonus {
  font-size: 12px;
  color: #86efac;
  margin-bottom: 12px;
}

.coin-pack-price {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-weight: 500;
}

.coin-pack-btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Coin modals */
.coin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.coin-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.coin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.coin-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #111;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-out-expo);
}

.coin-modal.is-open .coin-modal-panel {
  transform: translateY(0) scale(1);
}

.coin-modal-panel-wide {
  max-width: 480px;
  max-height: 70vh;
  overflow-y: auto;
}

.coin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.coin-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.coin-purchase-form .form-field {
  margin-bottom: 16px;
}

.coin-purchase-form label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.coin-purchase-form input[type="text"],
.coin-purchase-form input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}

.coin-purchase-form input:focus {
  outline: none;
  border-color: rgba(244, 63, 94, 0.4);
}

.payment-methods {
  margin-top: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.payment-option:has(input:checked) {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.08);
}

.payment-option input {
  accent-color: #f43f5e;
}

.transaction-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-item .tx-type {
  font-weight: 500;
}

.transaction-item .tx-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.transaction-item .tx-amount {
  font-weight: 600;
  white-space: nowrap;
}

.transaction-item .tx-amount.credit {
  color: #86efac;
}

.transaction-item .tx-amount.debit {
  color: #fca5a5;
}

.coin-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 110;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.35s, visibility 0.35s;
}

.coin-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Legal pages */
body.legal-site #header {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-hero {
  padding: 9.5rem 0 3.5rem;
  position: relative;
}

.legal-hero > div,
.legal-layout {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .legal-hero > div,
  .legal-layout {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.legal-hero-kicker {
  color: rgba(251, 113, 133, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.legal-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-weight: 300;
}

.legal-layout {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.legal-toc {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
}

@media (min-width: 1024px) {
  .legal-toc {
    position: sticky;
    top: 6.5rem;
  }
}

.legal-toc h2 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.9rem;
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-toc a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  transition: color 0.2s;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: #fda4af;
}

.legal-article {
  max-width: 48rem;
}

.legal-article > p.legal-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.legal-article h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 2.75rem 0 1rem;
  scroll-margin-top: 6.5rem;
}

.legal-article h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 1.75rem 0 0.7rem;
}

.legal-article p,
.legal-article li {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 300;
  line-height: 1.75;
  font-size: 0.98rem;
}

.legal-article p {
  margin-bottom: 1rem;
}

.legal-article ul,
.legal-article ol {
  margin: 0 0 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-article a {
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article a:hover {
  color: #fff;
}

.legal-note {
  border: 1px solid rgba(244, 63, 94, 0.22);
  background: rgba(244, 63, 94, 0.08);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

.legal-contact {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  margin-top: 1rem;
}

.legal-contact p {
  margin-bottom: 0.35rem;
}

.legal-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
