:root {
  color-scheme: dark;
  --bg: #06040b;
  --text: #fff8f2;
  --muted: #cfc4df;
  --pink: #ff4fd8;
  --rose: #8b2cff;
  --blue: #7ff0ff;
  --gold: #ffd36a;
  --line: rgba(214, 177, 255, 0.22);
  --panel: rgba(14, 11, 28, 0.78);
  --shadow: 0 24px 90px rgba(94, 27, 214, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #ff4fd8 #120821;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #120821;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #120821;
  border-radius: 999px;
  background:
    linear-gradient(#ff4fd8, #8b2cff),
    #ff4fd8;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(164, 48, 255, 0.38), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgba(255, 79, 216, 0.22), transparent 28rem),
    radial-gradient(circle at 45% 52%, rgba(81, 20, 190, 0.38), transparent 36rem),
    linear-gradient(145deg, #05030a 0%, #0b0718 44%, #080313 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.heart-scroll {
  position: fixed;
  z-index: 30;
  top: 86px;
  right: 12px;
  bottom: 86px;
  width: 30px;
  pointer-events: none;
}

.heart-scroll__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(transparent, rgba(255, 79, 216, 0.75), rgba(127, 240, 255, 0.55), transparent);
}

.heart-scroll__track::before,
.heart-scroll__track::after {
  content: "♥";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 248, 242, 0.55);
  font-size: 13px;
}

.heart-scroll__track::before {
  top: -18px;
}

.heart-scroll__track::after {
  bottom: -18px;
}

.heart-scroll__thumb {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translate(-50%, 0);
  color: #fff8f2;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 79, 216, 0.95), 0 0 28px rgba(139, 44, 255, 0.65);
  filter: drop-shadow(0 8px 16px rgba(255, 79, 216, 0.35));
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 24px clamp(18px, 4vw, 54px) clamp(56px, 6vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(214, 177, 255, 0.18);
  border-radius: 28px;
  box-shadow: inset 0 0 42px rgba(139, 44, 255, 0.12);
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.28) contrast(1.12) hue-rotate(18deg);
  transform: scale(1.08);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(151, 42, 255, 0.35), transparent 25rem),
    linear-gradient(90deg, rgba(6, 4, 11, 0.96) 0%, rgba(7, 4, 15, 0.66) 48%, rgba(6, 4, 11, 0.30) 100%),
    linear-gradient(0deg, rgba(6, 4, 11, 1) 0%, rgba(6, 4, 11, 0.05) 48%);
}

.floaties {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floaties span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: min(220px, 38vw);
  transform: translate(-50%, -50%) rotate(var(--r));
  padding: 7px 12px;
  border: 1px solid rgba(214, 177, 255, 0.28);
  border-radius: 999px;
  background: rgba(22, 14, 45, 0.72);
  color: #efe3ff;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.72;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(139, 44, 255, 0.24);
  animation: floaty 4.8s ease-in-out infinite;
}

.floaties span:nth-child(2n) {
  animation-delay: -1.7s;
}

.floaties span:nth-child(3n) {
  animation-delay: -3.1s;
}

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.nav {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  background: rgba(28, 18, 54, 0.72);
  backdrop-filter: blur(14px);
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(850px, 100%);
  padding-top: 42px;
  transform: translateY(-2vh);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 850px;
  font-size: clamp(36px, 6.2vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  text-shadow: 0 0 36px rgba(164, 48, 255, 0.42);
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.mini-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mini-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 999px;
  background: rgba(14, 11, 28, 0.68);
  color: var(--muted);
  font-weight: 800;
}

.mini-stats strong {
  color: var(--gold);
  font-size: 18px;
}

.button {
  cursor: pointer;
  border: 0;
  background: linear-gradient(135deg, #ff4fd8, #8b2cff 58%, #5129ff);
  box-shadow: 0 14px 42px rgba(139, 44, 255, 0.42);
}

.nav a:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 248, 242, 0.36);
  box-shadow: 0 18px 48px rgba(139, 44, 255, 0.5);
}

.nav a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(127, 240, 255, 0.74);
  outline-offset: 4px;
}

.button--ghost {
  background: rgba(22, 14, 45, 0.78);
  box-shadow: none;
}

.shark-card {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(20px, 6vw, 86px);
  width: min(230px, 32vw);
  border: 1px solid var(--line);
  background: rgba(14, 11, 28, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 10px;
  transform: rotate(3deg);
  border-radius: 18px;
  cursor: pointer;
}

.shark-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ru-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #05030a;
  border-radius: 10px;
}

.shark-card span,
.love__sticker span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin: -36px -18px 18px;
  border-block: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(90deg, #6d00ff, #d600ff 48%, #6d00ff);
  color: #fff8f2;
  box-shadow: 0 22px 70px rgba(139, 44, 255, 0.42);
  transform: rotate(-2.1deg) scaleX(1.04);
}

.ticker div {
  display: flex;
  gap: 26px;
  width: max-content;
  padding: 22px 0;
  animation: ticker 15s linear infinite;
}

.ticker span {
  font-weight: 950;
  font-size: clamp(16px, 1.7vw, 26px);
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.38);
}

.ticker span::after {
  content: " ✦";
  color: var(--gold);
  margin-left: 24px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

main {
  position: relative;
}

.proof,
.anniversary,
.countdown-section,
.story,
.route,
.coincidences,
.game,
.adventures,
.profile,
.hug-zone,
.promise-zone,
.millionaires,
.gallery-section,
.love,
.certificate {
  padding: clamp(34px, 4.8vw, 68px) clamp(18px, 4vw, 54px);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

h2 {
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof article {
  min-height: 178px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
}

.proof strong {
  color: var(--pink);
  font-size: 14px;
}

.proof h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.proof p,
.section-head p,
.love p {
  color: var(--muted);
  line-height: 1.55;
}

.chaos-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 54px) clamp(34px, 5vw, 62px);
}

.chaos-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 216, 0.2), transparent 12rem),
    rgba(14, 11, 28, 0.74);
  color: #fff8f2;
  font-weight: 950;
  text-align: center;
  box-shadow: var(--shadow);
}

.anniversary {
  margin: 0 clamp(18px, 4vw, 54px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 79, 216, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 79, 216, 0.30), transparent 22rem),
    radial-gradient(circle at 92% 40%, rgba(127, 240, 255, 0.16), transparent 20rem),
    rgba(14, 11, 28, 0.86);
  box-shadow: 0 26px 90px rgba(139, 44, 255, 0.24);
}

.anniversary h2 {
  max-width: 900px;
}

.anniversary p {
  max-width: 880px;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(16px, 1.55vw, 21px);
}

.anniversary strong {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  box-shadow: 0 14px 42px rgba(139, 44, 255, 0.42);
}

.countdown-section {
  padding-top: 24px;
}

.countdown-card,
.route-map,
.game,
.hug-zone,
.promise-zone,
.millionaires {
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 216, 0.2), transparent 18rem),
    rgba(14, 11, 28, 0.82);
  box-shadow: var(--shadow);
}

.countdown-card {
  padding: clamp(24px, 4vw, 44px);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}

.countdown span {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.countdown strong {
  display: block;
  color: #fff8f2;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 79, 216, 0.52);
}

.story {
  position: relative;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 216, 0.75), rgba(127, 240, 255, 0.55), transparent);
  opacity: 0.7;
}

.timeline article {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 216, 0.18), transparent 13rem),
    rgba(14, 11, 28, 0.82);
  box-shadow: var(--shadow);
}

.timeline article::before {
  content: "♥";
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--pink);
  text-shadow: 0 0 18px rgba(255, 79, 216, 0.75);
}

.timeline time {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.timeline h3 {
  margin: 34px 0 10px;
  font-size: 21px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.timeline__highlight {
  border-color: rgba(255, 79, 216, 0.62) !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 79, 216, 0.32), transparent 15rem),
    radial-gradient(circle at 80% 80%, rgba(127, 240, 255, 0.18), transparent 13rem),
    rgba(18, 10, 38, 0.9) !important;
}

.love-map {
  position: relative;
  min-height: clamp(390px, 46vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 79, 216, 0.28), transparent 18rem),
    radial-gradient(circle at 84% 22%, rgba(127, 240, 255, 0.20), transparent 18rem),
    linear-gradient(145deg, rgba(12, 8, 28, 0.96), rgba(7, 5, 17, 0.96));
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.map-glow {
  position: absolute;
  z-index: 1;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.65;
}

.map-glow--one {
  left: 5%;
  bottom: 4%;
  background: rgba(255, 79, 216, 0.42);
}

.map-glow--two {
  right: 8%;
  top: 5%;
  background: rgba(127, 240, 255, 0.28);
}

.route-svg {
  position: absolute;
  z-index: 2;
  inset: 8% 4%;
  width: 92%;
  height: 78%;
  overflow: visible;
}

.route-shadow,
.route-path {
  fill: none;
  stroke-linecap: round;
}

.route-shadow {
  stroke: rgba(255, 79, 216, 0.18);
  stroke-width: 22;
  filter: blur(12px);
}

.route-path {
  stroke: url("#unused");
  stroke: #ff4fd8;
  stroke-width: 5;
  stroke-dasharray: 16 14;
  animation: routeDash 1.25s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 79, 216, 0.85));
}

@keyframes routeDash {
  to { stroke-dashoffset: -30; }
}

.route-dot {
  fill: #fff8f2;
  stroke-width: 6;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.7));
}

.route-dot--start {
  stroke: var(--pink);
}

.route-dot--finish {
  stroke: var(--blue);
}

.map-heart {
  position: absolute;
  z-index: 3;
  left: 13%;
  top: 72%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  font-size: 25px;
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.6);
  animation: travelHeart 6s ease-in-out infinite;
}

@keyframes travelHeart {
  0%, 100% { left: 13%; top: 72%; transform: scale(1) rotate(-8deg); }
  28% { left: 34%; top: 58%; transform: scale(1.08) rotate(10deg); }
  55% { left: 52%; top: 50%; transform: scale(0.98) rotate(-6deg); }
  82% { left: 83%; top: 29%; transform: scale(1.12) rotate(8deg); }
}

.map-pin {
  position: absolute;
  z-index: 4;
  width: min(250px, 38vw);
  padding: 16px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 20px;
  background: rgba(13, 9, 30, 0.84);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.map-pin--start {
  left: 5%;
  bottom: 8%;
}

.map-pin--finish {
  right: 5%;
  top: 8%;
}

.map-pin span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-pin h3 {
  margin: 10px 0 6px;
  font-size: 22px;
}

.map-pin p {
  margin: 0;
  color: var(--blue);
  font-weight: 850;
}

.map-note {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 4;
  width: min(330px, 44vw);
  transform: translateX(-50%);
  padding: 16px;
  border: 1px solid rgba(255, 79, 216, 0.3);
  border-radius: 20px;
  background: rgba(21, 10, 43, 0.78);
  text-align: center;
}

.map-note strong {
  color: #fff8f2;
}

.map-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.route-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(214, 177, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 950;
}

.route-mini strong {
  color: var(--pink);
}

.coincidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coincidence-grid article {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(127, 240, 255, 0.16), transparent 14rem),
    rgba(14, 11, 28, 0.82);
  box-shadow: var(--shadow);
}

.coincidence-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--rose));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(127, 240, 255, 0.34);
}

.coincidence-grid h3 {
  margin: 34px 0 10px;
  font-size: 21px;
}

.coincidence-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.bob-card {
  overflow: visible;
}

.sponge-bob {
  position: absolute;
  right: 24px;
  top: -44px;
  width: 86px;
  height: 106px;
  transform: rotate(7deg);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  animation: bobSit 3.2s ease-in-out infinite;
}

.sponge-bob__body {
  position: relative;
  width: 70px;
  height: 76px;
  margin: 0 auto;
  border: 3px solid #5d4810;
  border-radius: 14px 12px 10px 12px;
  background:
    radial-gradient(circle at 18% 24%, rgba(104, 83, 19, 0.45) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 18%, rgba(104, 83, 19, 0.38) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 58%, rgba(104, 83, 19, 0.32) 0 4px, transparent 5px),
    linear-gradient(#ffe866, #ffc928);
  box-shadow: inset 0 -8px 0 rgba(180, 109, 18, 0.22);
}

.sponge-bob__body::before,
.sponge-bob__body::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #1d1a22;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 55%, #101018 0 3px, transparent 4px),
    #fff8f2;
}

.sponge-bob__body::before {
  left: 14px;
}

.sponge-bob__body::after {
  right: 14px;
}

.sponge-bob__body i {
  position: absolute;
  top: 45px;
  width: 9px;
  height: 4px;
  border-radius: 999px;
  background: #ff8ca4;
}

.sponge-bob__body i:first-child {
  left: 15px;
}

.sponge-bob__body i:nth-child(2) {
  right: 15px;
}

.sponge-bob__body b {
  position: absolute;
  left: 26px;
  top: 47px;
  width: 18px;
  height: 10px;
  border-bottom: 3px solid #1d1a22;
  border-radius: 0 0 999px 999px;
}

.sponge-bob__legs {
  position: relative;
  width: 74px;
  height: 28px;
  margin: -2px auto 0;
}

.sponge-bob__legs::before,
.sponge-bob__legs::after {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  border-bottom: 4px solid #101018;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(#fff8f2 0 10px, #8b5a2b 10px 100%);
}

.sponge-bob__legs::before {
  left: 8px;
  transform: rotate(18deg);
}

.sponge-bob__legs::after {
  right: 8px;
  transform: rotate(-18deg);
}

@keyframes bobSit {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
}

.game__copy p,
.countdown-card p {
  color: var(--muted);
  line-height: 1.5;
}

.game__panel {
  padding: 18px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.cards {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.cards span {
  width: 68px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff8f2;
  color: #151018;
  font-size: 25px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.22s ease, color 0.22s ease;
}

.cards span:nth-child(2) {
  transform: rotate(6deg) translateY(4px);
  color: #d0185c;
}

.cards span:nth-child(3) {
  transform: rotate(-5deg);
  color: #d0185c;
}

#gameResult {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.4;
}

.adventures {
  position: relative;
}

.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.adventure-grid article {
  min-height: 250px;
  padding: 20px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 79, 216, 0.12), rgba(127, 240, 255, 0.06)),
    rgba(14, 11, 28, 0.82);
  box-shadow: var(--shadow);
}

.adventure-grid__wide {
  grid-column: auto;
}

.adventure-grid__feature {
  grid-column: 1 / -1;
  min-height: 190px !important;
}

.adventure-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.42);
}

.adventure-grid h3 {
  margin: 34px 0 10px;
  font-size: 21px;
}

.adventure-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.profile__main {
  max-width: 720px;
}

.profile__main p {
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(16px, 1.45vw, 20px);
}

.profile__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile__cards article {
  min-height: 176px;
  padding: 16px;
  border: 1px solid rgba(214, 177, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 79, 216, 0.2), transparent 12rem),
    rgba(14, 11, 28, 0.82);
  box-shadow: var(--shadow);
}

.profile__feature {
  grid-column: 1 / -1;
  min-height: 132px !important;
}

.profile__feature p {
  margin-top: 22px;
  font-size: 16px;
}

.profile__cards span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.1);
  color: var(--gold);
  font-weight: 950;
}

.profile__cards p {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 800;
  font-size: 15px;
}

.hug-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 170px;
  gap: 18px;
  align-items: center;
}

.hug-zone p,
.promise-zone p,
.certificate p {
  color: var(--muted);
  line-height: 1.5;
}

.eva-card {
  position: relative;
  justify-self: end;
  width: 150px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.eva-bubble {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 44px;
  width: auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 79, 216, 0.45);
  border-radius: 14px;
  background: rgba(255, 248, 242, 0.96);
  color: #151018;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.eva-bubble::after {
  content: none;
}

.eva-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eva-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 54%;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.22), rgba(127, 240, 255, 0.14)),
    #08050f;
}

.eva-card span {
  display: block;
  padding: 8px 9px;
  color: var(--gold);
  font-weight: 950;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.promise-zone {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
  align-items: center;
}

.promise-box {
  padding: 18px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.promise-box p {
  min-height: 72px;
  margin-bottom: 16px;
  color: #fff8f2;
  font-size: 20px;
  font-weight: 900;
}

.millionaires {
  padding: clamp(24px, 4vw, 44px);
}

.money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.money-grid article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(214, 177, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 850;
  line-height: 1.42;
}

.money-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 950;
}

.secret {
  position: fixed;
  z-index: 40;
  left: 50%;
  top: 22px;
  max-width: min(620px, calc(100vw - 28px));
  transform: translate(-50%, -140%);
  padding: 15px 20px;
  border: 1px solid rgba(255, 79, 216, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 79, 216, 0.96), rgba(139, 44, 255, 0.96));
  color: #fff;
  box-shadow: 0 20px 60px rgba(139, 44, 255, 0.42);
  font-weight: 950;
  text-align: center;
  transition: transform 0.28s ease;
}

.secret.is-visible {
  transform: translate(-50%, 0);
}

.certificate {
  margin: 0 clamp(18px, 4vw, 54px) clamp(34px, 5vw, 70px);
  text-align: center;
}

.certificate h2 {
  margin-inline: auto;
}

.certificate p {
  max-width: 860px;
  margin-inline: auto;
}

.certificate__stamp {
  display: inline-flex;
  margin-top: 18px;
  padding: 13px 18px;
  border: 2px solid rgba(255, 211, 106, 0.72);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 0 0 30px rgba(255, 211, 106, 0.18);
}

.heart-burst {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.heart-burst span {
  position: absolute;
  left: 50%;
  top: 52%;
  color: #ff4fd8;
  font-size: 28px;
  text-shadow: 0 0 20px rgba(255, 79, 216, 0.75);
  animation: burst 1.15s ease-out forwards;
}

@keyframes burst {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.75);
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.45) rotate(var(--rot));
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.photo-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(15, 10, 34, 0.86);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: minmax(220px, 46vh) auto;
  border-radius: 20px;
}

.photo-card.wide {
  grid-column: auto;
}

.photo-card.tall {
  grid-row: auto;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 20%, rgba(139, 44, 255, 0.2), transparent 18rem),
    #08050f;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.photo-card:hover img {
  filter: saturate(1.1);
}

.photo-card::before {
  content: "♥";
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 79, 216, 0.9);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.55);
}

.photo-card::after {
  content: "Ева следит";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(14, 11, 28, 0.72);
  color: #fff8f2;
  font-size: 12px;
  font-weight: 950;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.photo-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.photo-card figcaption {
  position: static;
  padding: 12px 14px;
  color: #fff8f2;
  background: linear-gradient(135deg, rgba(139, 44, 255, 0.92), rgba(255, 79, 216, 0.76));
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
}

.photo-card img.missing {
  object-fit: contain;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 111, 159, 0.25), rgba(98, 213, 255, 0.2)),
    #16131a;
}

.love {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.love__copy {
  max-width: 820px;
}

.love__copy p {
  font-size: clamp(16px, 1.55vw, 21px);
}

.love__sticker {
  border: 1px solid var(--line);
  background: rgba(15, 10, 34, 0.82);
  padding: 14px;
  transform: rotate(-2deg);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.love__sticker img {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 10;
  max-width: min(520px, calc(100vw - 28px));
  transform: translate(-50%, 140%);
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 242, 0.96);
  color: #171018;
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: transform 0.28s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 108px;
  }

  .hero__content {
    transform: none;
    padding-top: 0;
  }

  .floaties span {
    max-width: 190px;
    opacity: 0.46;
  }

  .shark-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(360px, 88vw);
    margin-top: 34px;
  }

  .proof,
  .love {
    grid-template-columns: 1fr;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game,
  .route-map,
  .hug-zone,
  .promise-zone {
    grid-template-columns: 1fr;
  }

  .eva-card {
    justify-self: start;
    width: 150px;
  }

  .love-map {
    min-height: 680px;
  }

  .route-svg {
    inset: 22% 3%;
    height: 48%;
  }

  .map-pin {
    width: calc(100% - 28px);
  }

  .map-pin--start {
    left: 14px;
    bottom: 16px;
  }

  .map-pin--finish {
    right: 14px;
    top: 16px;
  }

  .map-note {
    width: calc(100% - 28px);
    bottom: 150px;
  }

  .map-heart {
    animation: none;
    left: calc(50% - 21px);
    top: 47%;
  }

  .proof__grid,
  .gallery,
  .chaos-strip,
  .timeline,
  .adventure-grid {
    grid-template-columns: 1fr 1fr;
  }

  .adventure-grid__wide,
  .adventure-grid__feature {
    grid-column: 1 / -1;
  }

  .photo-card.wide,
  .photo-card.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .heart-scroll {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 16px 34px;
    row-gap: 18px;
  }

  .hero::before {
    inset: 8px;
    border-radius: 20px;
  }

  .hero__video {
    opacity: 0.2;
    transform: scale(1.03);
  }

  .hero__shade {
    background:
      radial-gradient(circle at 50% 36%, rgba(151, 42, 255, 0.36), transparent 17rem),
      linear-gradient(180deg, rgba(6, 4, 11, 0.94) 0%, rgba(7, 4, 15, 0.72) 52%, rgba(6, 4, 11, 1) 100%);
  }

  .nav {
    left: 14px;
    right: 14px;
    top: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 12px;
    min-height: 36px;
    padding: 8px 11px;
  }

  .hero__content {
    width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.25;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.2vw, 41px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.05;
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.48;
  }

  .mini-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mini-stats span {
    width: 100%;
    align-items: center;
    white-space: normal;
    line-height: 1.25;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .floaties {
    z-index: 1;
  }

  .floaties span {
    display: block;
    max-width: 138px;
    padding: 6px 9px;
    font-size: 10px;
    opacity: 0.42;
  }

  .floaties span:nth-child(1) {
    left: 72%;
    top: 22%;
  }

  .floaties span:nth-child(2) {
    left: 74%;
    top: 38%;
  }

  .floaties span:nth-child(3) {
    left: 70%;
    top: 54%;
  }

  .floaties span:nth-child(4) {
    left: 62%;
    top: 72%;
  }

  .floaties span:nth-child(5) {
    left: 76%;
    top: 83%;
  }

  .shark-card {
    justify-self: center;
    width: min(260px, 72vw);
    margin: 18px auto 0;
    transform: rotate(-2deg);
  }

  .shark-card span,
  .love__sticker span {
    font-size: 15px;
    line-height: 1.18;
  }

  .ticker {
    margin-top: -18px;
  }

  .ticker div {
    padding: 16px 0;
  }

  .proof,
  .anniversary,
  .countdown-section,
  .story,
  .route,
  .coincidences,
  .game,
  .adventures,
  .profile,
  .hug-zone,
  .promise-zone,
  .millionaires,
  .gallery-section,
  .love,
  .certificate {
    padding-inline: 16px;
  }

  .proof__grid,
  .gallery,
  .chaos-strip,
  .timeline,
  .adventure-grid,
  .coincidence-grid,
    .profile__cards,
    .countdown,
  .money-grid {
    grid-template-columns: 1fr;
  }

  .adventure-grid__wide,
  .adventure-grid__feature {
    grid-column: auto;
  }

  .timeline::before {
    display: none;
  }

  .photo-card {
    grid-template-rows: minmax(220px, 52vh) auto;
  }
}

@media (max-width: 480px) and (min-height: 850px) {
  .hero {
    min-height: 100svh;
    padding-top: 96px;
  }

  .shark-card {
    width: min(285px, 70vw);
  }

  .love-map {
    min-height: 650px;
  }
}

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