:root {
  --bg: #eef7ff;
  --bg-deep: #07111f;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(13, 34, 61, 0.12);
  --ink: #091521;
  --muted: #4c6178;
  --accent: #10d5c2;
  --accent-strong: #00b7ff;
  --accent-dark: #052848;
  --shadow: 0 24px 60px rgba(6, 27, 44, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Heebo", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(16, 213, 194, 0.16), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(0, 183, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #f5fbff 0%, #edf6ff 42%, #e8f2fb 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 34, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 34, 59, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 92%);
  pointer-events: none;
}

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

.page-shell {
  width: min(calc(100% - 30px), 1080px);
  margin: 0 auto;
  padding: 28px 0 48px;
  position: relative;
  z-index: 1;
}

.poster-stage {
  display: flex;
  justify-content: center;
}

.poster-shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 760px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(5, 19, 34, 0.95), rgba(10, 30, 53, 0.94));
  box-shadow: 0 26px 80px rgba(8, 20, 35, 0.2);
  padding: 18px;
}

.poster-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  border: 1px solid rgba(26, 240, 207, 0.14);
  pointer-events: none;
}

.poster-shell img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.headline-stage {
  margin-top: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.primary-headline,
.secondary-headline {
  margin: 0;
  font-family: "Rubik", "Heebo", sans-serif;
  letter-spacing: -0.04em;
}

.primary-headline {
  color: #13cdb2;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  text-shadow: 0 12px 34px rgba(19, 205, 178, 0.2);
}

.secondary-headline {
  order: 2;
  margin-top: 18px;
  color: #101820;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.headline-history-note {
  order: 3;
  margin: 10px 0 0;
  color: #c53333;
  font-size: clamp(0.84rem, 2.25vw, 1.18rem);
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.headline-note {
  order: 5;
  margin: 12px 0 0;
  color: #c53333;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.results-lead {
  order: 4;
  margin: 22px 0 0;
  color: #101820;
  font-size: clamp(1.18rem, 2.2vw, 1.62rem);
  font-weight: 600;
}

.results-stage {
  margin-top: 38px;
}

.self-check-stage {
  margin-top: 72px;
}

.video-stage {
  margin-top: 86px;
}

.group-stage {
  margin-top: 86px;
}

.disclaimer-stage {
  margin-top: 86px;
  padding-bottom: 10px;
}

.self-check-card {
  padding: 20px 18px 36px;
  text-align: center;
}

.self-check-title,
.video-title,
.group-title {
  margin: 0;
  font-family: "Rubik", "Heebo", sans-serif;
  color: #13cdb2;
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-shadow: 0 12px 34px rgba(19, 205, 178, 0.2);
}

.video-title {
  color: #13cdb2;
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 12px 34px rgba(19, 205, 178, 0.2);
}

.group-title {
  color: #13cdb2;
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 12px 34px rgba(19, 205, 178, 0.2);
}

.self-check-copy {
  margin-top: 34px;
  color: #111a22;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.55;
}

.video-copy {
  margin-top: 36px;
  color: #111a22;
  font-size: clamp(1.18rem, 2vw, 1.9rem);
  line-height: 1.6;
  text-align: center;
}

.group-copy {
  margin-top: 36px;
  color: #111a22;
  font-size: clamp(1.18rem, 2vw, 1.9rem);
  line-height: 1.6;
  text-align: center;
}

.self-check-copy p {
  margin: 0 0 18px;
}

.video-copy p {
  margin: 0 0 16px;
}

.group-copy p {
  margin: 0 0 28px;
}

.self-check-copy p:last-child {
  margin-top: 40px;
  margin-bottom: 0;
}

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

.video-points li {
  margin: 0 0 6px;
}

.video-caption-note {
  margin: 10px 0 0;
  color: #df3a3a;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 500;
  text-align: center;
}

.video-card {
  padding: 20px 18px 10px;
  text-align: center;
}

.group-card {
  padding: 20px 18px 10px;
  text-align: center;
}

.video-placeholder {
  display: block;
  width: min(100%, 940px);
  margin: 52px auto 0;
  position: relative;
  overflow: hidden;
  border: 2px solid #1d4e89;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.video-placeholder::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-preview,
.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 27, 41, 0.22), rgba(12, 27, 41, 0.68));
  color: #fff;
}

.video-play {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1af0cf 0%, #17d2ff 100%);
  color: #04111c;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(17, 208, 236, 0.32);
}

.video-label {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800;
}

.video-hint {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
}

.video-placeholder:hover .video-preview,
.video-placeholder:focus-visible .video-preview {
  transform: scale(1.01);
}

.video-placeholder.is-active {
  cursor: default;
}

.self-check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin-top: 42px;
  padding: 0 26px;
  border-radius: 8px;
  background: #fff34d;
  color: #d72424;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(223, 199, 42, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-direct-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin-top: 28px;
  padding: 0 26px;
  border-radius: 8px;
  background: #fff34d;
  color: #d72424;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(223, 199, 42, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.group-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin-top: 20px;
  padding: 0 26px;
  border-radius: 8px;
  background: #fff34d;
  color: #d72424;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(223, 199, 42, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.self-check-button:hover,
.self-check-button:focus-visible,
.video-direct-button:hover,
.video-direct-button:focus-visible,
.group-button:hover,
.group-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(223, 199, 42, 0.3);
}

.disclaimer-text {
  margin: 0;
  text-align: center;
  color: #df3a3a;
  font-size: clamp(1rem, 1.75vw, 1.45rem);
  line-height: 1.75;
}

.results-grid {
  display: flex;
  gap: 0;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 260ms ease;
  touch-action: pan-y;
  direction: ltr;
}

.result-card {
  flex: 0 0 100%;
  width: 100%;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 248, 255, 0.84));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  direction: rtl;
}

.result-card:last-child {
  width: 100%;
}

.result-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}

.result-trigger:focus-visible {
  outline: 3px solid rgba(19, 205, 178, 0.5);
  outline-offset: 6px;
  border-radius: 22px;
}

.result-shot {
  min-height: 350px;
  border-radius: 20px;
  border: 2px solid #1d4e89;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96)),
    linear-gradient(180deg, rgba(19, 205, 178, 0.08), rgba(19, 205, 178, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.result-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 78, 137, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 137, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.result-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.result-shot span {
  position: relative;
  z-index: 1;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.82);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.result-trigger:hover .result-shot,
.result-trigger:focus-visible .result-shot {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 40px rgba(13, 34, 61, 0.14);
}

.results-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  direction: ltr;
}

.results-nav {
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0c1b29;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 140ms ease, transform 140ms ease;
}

.results-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.results-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.results-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(9, 21, 33, 0.28);
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.results-dot.is-active {
  background: #13cdb2;
  transform: scale(1.28);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 27, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  width: min(calc(100% - 32px), 1080px);
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  overflow: auto;
}

.lightbox-close {
  position: sticky;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border: 0;
  border-radius: 50%;
  background: #0c1b29;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-toolbar {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
}

.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #0c1b29;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-counter {
  margin: 0;
  text-align: center;
  color: #38536d;
  font-size: 1rem;
  font-weight: 800;
}

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: calc(100vh - 150px);
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  height: auto;
  border-radius: 22px;
  border: 2px solid #1d4e89;
  object-fit: contain;
}

.lightbox-shot {
  width: min(100%, 880px);
  min-height: 520px;
  max-height: calc(100vh - 150px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 680ms ease forwards;
}

.reveal-1 {
  animation-delay: 80ms;
}

.reveal-2 {
  animation-delay: 160ms;
}

.reveal-3 {
  animation-delay: 240ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), 1080px);
    padding-top: 18px;
  }

  .poster-shell {
    padding: 12px;
    border-radius: 26px;
  }

  .self-check-card {
    padding: 10px 6px 28px;
  }

  .video-card {
    padding: 10px 6px 0;
  }

  .group-card {
    padding: 10px 6px 0;
  }

  .self-check-copy {
    font-size: clamp(1.08rem, 4vw, 1.35rem);
  }

  .video-copy {
    font-size: clamp(1.04rem, 3.6vw, 1.3rem);
  }

  .group-copy {
    font-size: clamp(1.04rem, 3.6vw, 1.3rem);
  }
}

@media (max-width: 520px) {
  .primary-headline {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .secondary-headline {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }

  .results-lead {
    font-size: clamp(1.06rem, 4.8vw, 1.28rem);
  }

  .result-shot {
    min-height: 260px;
  }

  .self-check-stage {
    margin-top: 48px;
  }

  .video-stage {
    margin-top: 56px;
  }

  .group-stage {
    margin-top: 56px;
  }

  .disclaimer-stage {
    margin-top: 56px;
  }

  .self-check-title {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .video-title {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .group-title {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .self-check-copy {
    margin-top: 24px;
  }

  .video-copy {
    margin-top: 24px;
  }

  .video-caption-note {
    margin-top: 8px;
    font-size: 0.86rem;
  }

  .group-copy {
    margin-top: 24px;
  }

  .self-check-copy p:last-child {
    margin-top: 28px;
  }

  .video-placeholder {
    margin-top: 34px;
  }

  .video-direct-button {
    min-height: 54px;
    margin-top: 22px;
    padding: 0 20px;
    font-size: 1.28rem;
  }

  .group-button {
    min-height: 54px;
    margin-top: 16px;
    padding: 0 20px;
    font-size: 1.28rem;
  }

  .video-play {
    width: 66px;
    height: 66px;
    font-size: 1.5rem;
  }

  .video-label {
    font-size: 1.15rem;
  }

  .self-check-button {
    min-height: 54px;
    margin-top: 30px;
    padding: 0 20px;
    font-size: 1.28rem;
  }

  .lightbox-dialog {
    width: min(calc(100% - 18px), 1080px);
    margin: 9px auto;
    padding: 16px;
    border-radius: 22px;
  }

  .lightbox-toolbar {
    grid-template-columns: 44px 1fr 44px;
    margin: 6px 0 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .lightbox-counter {
    font-size: 0.92rem;
  }

  .lightbox-content {
    max-height: calc(100vh - 110px);
  }

  .lightbox-image,
  .lightbox-shot {
    max-height: calc(100vh - 110px);
  }

  .lightbox-shot {
    min-height: 280px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .lightbox-dialog {
    width: min(calc(100% - 14px), 1080px);
    max-height: calc(100vh - 14px);
    margin: 7px auto;
    padding: 12px;
    border-radius: 20px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1.55rem;
  }

  .lightbox-toolbar {
    margin: 4px 0 8px;
  }

  .lightbox-content {
    max-height: calc(100vh - 74px);
  }

  .lightbox-image,
  .lightbox-shot {
    max-height: calc(100vh - 74px);
  }

  .lightbox-shot {
    min-height: 0;
  }
}
