/* Avant-Garde Kabuki - Separated Footer & X Link */
:root {
  --primary: #FF0033;
  --secondary: #D4AF37;
  --secondary-soft: rgba(212, 175, 55, 0.16);
  --accent: #000000;
  --bg: #0A0A0A;
  --panel: #111111;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.68);
  --font-main: 'Yuji Syuku', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;700;900&family=Yuji+Syuku&display=swap');

html {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
  scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background-color: var(--primary); border-radius: 10px; }

.snap-container {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.page {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5vh 5vw;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Audio Control */
.audio-control {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 2000;
}
.btn-audio {
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2);
  color: white; padding: 0.4rem 0.8rem; font-size: 0.7rem; cursor: pointer;
  backdrop-filter: blur(5px); font-family: var(--font-body);
}

/* Floating CTA */
.floating-cta {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: 90%; max-width: 350px; display: none;
}
.btn-floating {
  display: block; background: var(--primary); color: white; text-align: center;
  padding: 0.8rem; font-weight: 900; text-decoration: none; border-radius: 4px;
  font-family: var(--font-body); font-size: 0.9rem;
  box-shadow: 0 14px 28px rgba(255, 0, 51, 0.28);
}

/* Hero */
.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(35%) contrast(1.1);
}

.hero-title-stack {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; margin-bottom: 1.35rem;
}

.title-img-2, .title-img-3 {
  max-width: 430px; width: 78vw; height: auto;
  filter: invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  mix-blend-mode: screen;
}

.title-img-3 { max-width: 360px; margin-top: -1.2rem; }

.hero-copy {
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.35rem;
  text-align: center;
}

.hero-heading {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
}

.hero-kindle-note {
  margin-top: 0.9rem;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page 2 */
.content-split { background: #111; }
.brush-title-mini { font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); margin-bottom: 3rem; }
.brush-body-mini { font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.6; }
.brush-body-small {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  line-height: 1.9;
}
.body-support {
  margin-top: 1.5rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.9;
}

.narrow { max-width: 720px; }
.eyebrow {
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  margin-bottom: 1rem;
}

/* Book */
.book-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 51, 0.16), transparent 30%),
    linear-gradient(135deg, #070707 0%, #15110a 100%);
}

.book-grid {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-align: left;
}

.book-cover-wrap {
  display: flex;
  justify-content: center;
}

.book-cover {
  width: min(300px, 68vw);
  height: auto;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(212, 175, 55, 0.12);
}

.book-copy h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.book-copy p {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.benefit-list {
  list-style: none;
  font-family: var(--font-body);
  color: var(--text);
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.benefit-list li {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  line-height: 1.7;
}

.reader-fit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.5rem 0 1.8rem;
}

.reader-fit span {
  color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.5;
}

.review-section {
  background:
    linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.96)),
    url("book_cover.jpg") center/cover;
}

.strategy-section {
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.98), rgba(22, 5, 5, 0.94)),
    radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.16), transparent 28%);
}

.strategy-copy {
  max-width: 820px;
}

.keyword-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 2.2rem;
}

.keyword-strip span {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
}

.author-section {
  background:
    linear-gradient(180deg, #101010 0%, #050505 100%);
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(16, 11, 8, 0.98)),
    radial-gradient(circle at 18% 80%, rgba(212, 175, 55, 0.12), transparent 30%);
}

.faq-copy {
  max-width: 880px;
}

.faq-section .brush-title-mini {
  margin-bottom: 1.35rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 auto 1.35rem;
  text-align: left;
  font-family: var(--font-body);
}

.faq-list details {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.8rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  line-height: 1.7;
}

.faq-list summary::marker {
  color: var(--secondary);
}

.faq-list p {
  color: var(--muted);
  line-height: 1.9;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.resources-section {
  background:
    linear-gradient(180deg, #090909 0%, #121212 100%);
}

.resources-copy {
  max-width: 920px;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.resource-links a {
  min-height: 150px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-decoration: none;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.resource-links a:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.resource-links strong {
  color: var(--secondary);
  font-family: var(--font-main);
  font-size: 1.45rem;
  line-height: 1.35;
}

.resource-links span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
}

.dual-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* Page 3: Action & Footer Separated */
.footer-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push X footer to the bottom */
  padding-bottom: 2vh;
}

.action-upper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-footer-area {
  width: 100%;
  padding-top: 5vh;
}

.x-link-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3vh;
}

.x-link-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--secondary);
  background: rgba(255,255,255,0.05);
  padding: 1rem 2.5rem;
  border: 1px solid var(--secondary);
  transition: all 0.3s var(--ease);
  border-radius: 4px;
}

.x-link-box i { font-size: 2.5rem; }
.x-link-box span { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; }

.x-link-box:hover {
  background: var(--secondary);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.cta-title-mini { font-size: 3rem; color: var(--secondary); margin-bottom: 1rem; }

/* Buttons */
.btn-premium {
  display: inline-block; padding: 1.2rem 4rem; background: var(--primary);
  color: white; font-weight: 900; text-decoration: none; font-size: 1.1rem;
  letter-spacing: 0.1em; transition: all 0.3s var(--ease);
  font-family: var(--font-body);
  border: 1px solid var(--primary);
}
.btn-premium:hover { background: white; color: var(--primary); transform: translateY(-3px); }
.btn-ghost {
  display: inline-block;
  padding: 1.2rem 2rem;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-3px);
}
.btn-ghost.gold {
  border-color: var(--secondary);
  background: var(--secondary-soft);
  color: var(--secondary);
}

/* Footer Text */
.footer-ultra-minimal {
  font-family: var(--font-body); font-size: 0.6rem; opacity: 0.2;
}

/* Responsive */
@media (max-width: 980px) {
  .resource-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page {
    min-height: 100dvh;
    height: auto;
    padding: 5rem 5vw 6rem;
  }
  .hero {
    height: 100dvh;
  }
  .title-img-2 { max-width: 320px; }
  .title-img-3 { max-width: 280px; }
  .hero-copy {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  .hero-heading {
    font-size: 0.9rem;
  }
  .cta-wrap,
  .dual-cta {
    flex-direction: column;
    width: 100%;
  }
  .btn-premium,
  .btn-ghost {
    width: min(100%, 340px);
    text-align: center;
    padding: 1rem 1.2rem;
  }
  .book-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .resource-links {
    grid-template-columns: 1fr;
  }
  .faq-list {
    gap: 0.65rem;
  }
  .faq-list details {
    padding: 0.85rem 0.9rem;
  }
  .faq-list summary {
    font-size: 0.92rem;
  }
  .faq-list p {
    font-size: 0.86rem;
  }
  .book-copy p,
  .benefit-list {
    text-align: left;
  }
  .reader-fit {
    justify-content: center;
  }
  .book-cover {
    width: min(210px, 58vw);
  }
  .brush-title-mini { margin-bottom: 1.4rem; }
  .brush-body-mini { font-size: clamp(1.45rem, 8vw, 2.1rem); }
  .x-link-box { padding: 0.8rem 1.5rem; gap: 0.8rem; }
  .x-link-box i { font-size: 1.8rem; }
  .x-link-box span { font-size: 1rem; }
  .floating-cta { display: none !important; }
}

@media (max-width: 380px) {
  .title-img-2 { max-width: 270px; }
  .title-img-3 { max-width: 240px; }
  .btn-premium,
  .btn-ghost,
  .btn-floating {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .snap-container {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
