/* Kyojin Quizz — landing dédiée */
:root {
  --kq-navy: #0B141E;
  --kq-navy-2: #121C2C;
  --kq-red: #E31919;
  --kq-orange: #FF6B35;
  --kq-gold: #FFB020;
  --kq-text: #E8EDF2;
  --kq-muted: #8A9BB0;
  --kq-white: #FFF8F0;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.kq-page {
  font-family: 'Exo 2', sans-serif;
  background: var(--kq-navy);
  color: var(--kq-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 76px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--kq-red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ── Top bar ── */
.kq-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, rgba(11, 20, 30, 0.88) 0%, rgba(11, 20, 30, 0.45) 70%, transparent 100%);
}

.kq-top__home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--kq-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.kq-top__home img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.kq-top__home:hover {
  color: var(--kq-orange);
}

.kq-top__social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kq-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  line-height: 0;
  transition: background 0.25s, transform 0.25s var(--spring), box-shadow 0.25s;
}

.kq-social svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  fill: currentColor;
}

.kq-social:hover {
  background: var(--kq-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(227, 25, 25, 0.4);
}

.kq-social:active {
  transform: translateY(0) scale(0.95);
}

/* ── Hero ── */
.kq-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5.5rem 1.25rem 3.5rem;
  isolation: isolate;
}

.kq-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.kq-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kq-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 20, 30, 0.35) 0%, rgba(11, 20, 30, 0.55) 45%, rgba(11, 20, 30, 0.96) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(227, 25, 25, 0.18), transparent 55%);
}

.kq-hero__content {
  width: min(720px, 100%);
  text-align: center;
  animation: kqRise 0.8s var(--smooth) both;
}

@keyframes kqRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.kq-hero__logo {
  width: min(160px, 38vw);
  height: auto;
  border-radius: 28px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 12px 28px rgba(227, 25, 25, 0.35));
}

.kq-hero__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--kq-white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.75rem;
}

.kq-hero__tagline {
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  font-weight: 600;
  color: #ffd0c0;
  max-width: 28ch;
  margin: 0 auto 1.75rem;
  line-height: 1.4;
}

/* ── Store buttons ── */
.kq-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.kq-stores--center {
  justify-content: center;
}

.kq-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.65rem 1.15rem 0.65rem 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--spring), box-shadow 0.3s, border-color 0.3s;
  flex: 1 1 180px;
  max-width: 240px;
}

.kq-store svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.kq-store__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.kq-store__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
  text-transform: uppercase;
}

.kq-store__name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kq-store:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(227, 25, 25, 0.35);
  border-color: rgba(255, 107, 53, 0.6);
}

.kq-store:active {
  transform: translateY(0) scale(0.98);
}

.kq-store--apple:hover {
  background: #111;
}

.kq-store--google:hover {
  background: #0d0d0d;
}

/* ── Shared section styles ── */
.kq-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kq-orange);
  margin-bottom: 0.6rem;
}

.kq-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--kq-white);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

/* ── Pitch ── */
.kq-pitch {
  padding: 3.5rem 1.25rem;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(227, 25, 25, 0.12), transparent 45%),
    var(--kq-navy);
}

.kq-pitch__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kq-pitch__text {
  color: var(--kq-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 42ch;
}

.kq-checklist {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.kq-checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--kq-text);
  font-weight: 500;
}

.kq-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kq-red);
  box-shadow: 0 0 10px rgba(227, 25, 25, 0.55);
}

.kq-pitch__visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 320px;
}

.kq-pitch__char {
  position: relative;
  z-index: 1;
  width: min(260px, 70%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.55));
  animation: kqFloat 4s ease-in-out infinite;
}

.kq-pitch__glow {
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle, rgba(227, 25, 25, 0.35), transparent 70%);
  filter: blur(20px);
}

@keyframes kqFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Video ── */
.kq-video {
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 107, 53, 0.1), transparent 50%),
    linear-gradient(180deg, var(--kq-navy) 0%, var(--kq-navy-2) 100%);
}

.kq-video__lead {
  color: var(--kq-muted);
  margin: 0 auto 1.5rem;
  max-width: 36ch;
}

.kq-video__frame {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 107, 53, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(227, 25, 25, 0.15);
  background: #000;
}

.kq-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kq-video__link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--kq-gold);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.kq-video__link:hover {
  color: var(--kq-orange);
  text-decoration: underline;
}

/* ── Features ── */
.kq-features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kq-feature {
  padding: 0.5rem 0.25rem;
}

.kq-feature__num {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--kq-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 18px rgba(227, 25, 25, 0.4);
}

.kq-feature h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kq-white);
  margin-bottom: 0.4rem;
}

.kq-feature p {
  color: var(--kq-muted);
  font-size: 0.95rem;
}

/* ── Final CTA ── */
.kq-cta {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(227, 25, 25, 0.2), transparent 55%),
    var(--kq-navy);
}

.kq-cta__mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(227, 25, 25, 0.3);
}

.kq-cta__text {
  color: var(--kq-muted);
  margin: 0 auto 1.5rem;
  max-width: 32ch;
}

/* ── Footer ── */
.kq-footer {
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  color: var(--kq-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kq-footer a {
  display: inline-block;
  color: var(--kq-orange);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.kq-footer a:hover {
  text-decoration: underline;
}

/* ── Sticky mobile bar ── */
.kq-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(11, 20, 30, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 107, 53, 0.25);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
}

.kq-sticky__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: transform 0.2s var(--spring), filter 0.2s;
}

.kq-sticky__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.kq-sticky__btn:active {
  transform: scale(0.97);
}

.kq-sticky__btn--apple {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kq-sticky__btn--google {
  background: linear-gradient(135deg, var(--kq-red), var(--kq-orange));
  box-shadow: 0 4px 16px rgba(227, 25, 25, 0.35);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .kq-pitch__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kq-pitch__text,
  .kq-checklist {
    margin-left: auto;
    margin-right: auto;
  }

  .kq-checklist li {
    text-align: left;
  }

  .kq-pitch__visual {
    order: -1;
    min-height: 240px;
  }

  .kq-pitch__char {
    width: min(200px, 55%);
  }

  .kq-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 861px) {
  body.kq-page {
    padding-bottom: 0;
  }

  .kq-sticky {
    display: none;
  }

  .kq-hero {
    align-items: center;
    padding-top: 6rem;
  }

  .kq-hero__logo {
    width: 180px;
  }

  .kq-store {
    flex: 0 1 auto;
  }
}

@media (max-width: 480px) {
  .kq-hero {
    padding-bottom: 2.5rem;
  }

  .kq-hero__tagline {
    margin-bottom: 1.35rem;
  }

  .kq-store {
    max-width: none;
    width: 100%;
  }
}

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