@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Bungee+Inline&family=Noto+Sans:wght@400;500;700;900&family=Permanent+Marker&display=swap');

:root {
  --black: #09070d;
  --deep: #16091f;
  --stage: #23102f;
  --white: #fff8ef;
  --muted: #d8c7df;
  --hot-pink: #ff2ebd;
  --magenta: #c800ff;
  --electric: #32d9ff;
  --gold: #ffd15c;
  --orange: #ff8a1f;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(50, 217, 255, 0.34), transparent 24rem),
    radial-gradient(circle at 86% 5%, rgba(255, 46, 189, 0.36), transparent 22rem),
    radial-gradient(circle at 50% 46%, rgba(255, 209, 92, 0.18), transparent 30rem),
    linear-gradient(135deg, #050407 0%, #120718 43%, #270825 72%, #050407 100%);
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(106deg, transparent 0 40%, rgba(255,255,255,0.12) 41%, transparent 43%),
    linear-gradient(76deg, transparent 0 52%, rgba(255,255,255,0.08) 53%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 92px);
  opacity: 0.75;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.72));
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  filter: brightness(1.18);
}

.site-header {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 58px 16px 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(4, 3, 8, 0.18), rgba(4, 3, 8, 0.82)),
    url('rockicon.png') center 34% / cover no-repeat;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 20%, rgba(255,255,255,0.55), transparent 7rem),
    linear-gradient(105deg, transparent 0 22%, rgba(255, 209, 92, 0.32) 24%, transparent 34%),
    linear-gradient(77deg, transparent 0 57%, rgba(50, 217, 255, 0.22) 59%, transparent 68%),
    linear-gradient(118deg, transparent 0 68%, rgba(255, 46, 189, 0.26) 70%, transparent 80%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.author-kicker,
.series-label,
.status {
  font-family: 'Bowlby One SC', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.author-kicker {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.18rem);
  text-shadow: 0 3px 0 #000, 0 0 18px rgba(50, 217, 255, 0.62);
}

.site-header h1 {
  margin: 0;
  font-family: 'Bungee Inline', 'Bowlby One SC', 'Impact', sans-serif;
  font-size: clamp(2.25rem, 7.2vw, 6.4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    0 4px 0 #000,
    0 8px 0 rgba(255, 46, 189, 0.58),
    0 0 24px rgba(255, 209, 92, 0.65),
    0 0 42px rgba(50, 217, 255, 0.42);
}

.site-header h1 span:last-child {
  font-size: 0.82em;
}

.level-note {
  margin: 22px auto 0;
  color: #fff1be;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: clamp(1rem, 2.4vw, 1.55rem);
  text-shadow: 0 3px 0 #000, 0 0 16px rgba(255, 209, 92, 0.5);
}

.subtitle {
  display: inline-block;
  margin: 20px 0 0;
  padding: 8px 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--hot-pink), var(--magenta));
  border: 2px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(255, 46, 189, 0.32), inset 0 0 16px rgba(255,255,255,0.18);
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: clamp(0.98rem, 2.4vw, 1.32rem);
  transform: rotate(-1.5deg);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav > a {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 18px rgba(255,255,255,0.08);
}

.top-nav > a:hover {
  transform: translateY(-2px);
  border-color: var(--electric);
  background: rgba(50, 217, 255, 0.18);
}

.nav-divider {
  color: rgba(255,255,255,0.28);
}

main {
  width: min(1120px, calc(100% - 28px));
  margin: 44px auto 0;
}

.hero-card,
.amazon-section,
.essay {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}

.hero-card::before,
.amazon-section::before,
.essay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, transparent 0 38%, rgba(255,255,255,0.07) 39%, transparent 42%),
    radial-gradient(circle at 10% 20%, rgba(255, 46, 189, 0.22), transparent 17rem),
    radial-gradient(circle at 92% 18%, rgba(50, 217, 255, 0.18), transparent 18rem);
  pointer-events: none;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(280px, 1.14fr);
  gap: clamp(26px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 4.2vw, 54px);
}

.cover-area,
.info-area,
.amazon-section h2,
.amazon-links,
.essay h2,
.essay p,
footer > * {
  position: relative;
  z-index: 1;
}

.cover-area {
  text-align: center;
}

.book-cover {
  width: min(360px, 88%);
  border: 2px solid rgba(255,255,255,0.34);
  border-radius: 12px;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.62),
    -14px 14px 0 rgba(255, 46, 189, 0.22),
    14px -14px 0 rgba(50, 217, 255, 0.18);
  transform: rotate(-2deg);
}

.series-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 10px;
  color: #08060c;
  background: var(--gold);
  font-size: 0.82rem;
  box-shadow: 6px 6px 0 rgba(255, 46, 189, 0.68);
}

.info-area h2,
.amazon-section h2,
.essay h2 {
  margin: 0;
  font-family: 'Bowlby One SC', 'Impact', sans-serif;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 0 #000, 0 0 18px rgba(255, 46, 189, 0.45);
}

.info-area h2 {
  font-size: clamp(2.1rem, 5.3vw, 4.25rem);
}

.lead {
  max-width: 600px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.price-box {
  max-width: 520px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-left: 7px solid var(--hot-pink);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 46, 189, 0.16), rgba(50, 217, 255, 0.08)),
    rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 24px rgba(255,255,255,0.05);
}

.status {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
}

.price {
  margin: 4px 0 0;
  color: var(--white);
  font-family: 'Bungee Inline', 'Bowlby One SC', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-shadow: 0 3px 0 #000, 0 0 18px rgba(255, 209, 92, 0.48);
}

.details,
.approval-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.amazon-section {
  margin-top: 28px;
  padding: 32px clamp(18px, 3vw, 40px) 38px;
}

.amazon-section h2 {
  margin-bottom: 24px;
  text-align: center;
  font-size: clamp(1.55rem, 3.6vw, 2.8rem);
}

.amazon-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 12px;
}

.amazon-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.21);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(255,255,255,0.045);
}

.amazon-links a:hover {
  transform: translateY(-2px);
  border-color: var(--hot-pink);
  background: rgba(255, 46, 189, 0.18);
}

.amazon-links img {
  width: 26px;
  flex: 0 0 auto;
}

.essay {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 62px);
}

.essay h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3.8vw, 3.1rem);
}

.essay h2::after {
  content: '';
  display: block;
  width: min(320px, 70%);
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--hot-pink), var(--gold), var(--electric), transparent);
  border-radius: 999px;
}

.essay p {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  text-align: center;
}

footer {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 34px 16px 42px;
  color: var(--muted);
  background: #060409;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.16);
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,46,189,0.20), transparent 35%, rgba(50,217,255,0.18));
}

footer p {
  margin: 0 0 10px;
}

footer img {
  max-width: 220px;
  filter: invert(1) contrast(0.9);
  opacity: 0.86;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 430px;
    padding-top: 42px;
  }

  .nav-divider {
    display: none;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: 24px;
  }

  .cover-area {
    order: 2;
  }

  .info-area {
    order: 1;
    text-align: center;
  }

  .lead,
  .price-box {
    margin-left: auto;
    margin-right: auto;
  }

  .price-box {
    text-align: left;
  }

  .book-cover {
    width: min(275px, 84%);
    transform: rotate(-1deg);
  }

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

@media (max-width: 450px) {
  main {
    width: min(100% - 16px, 1120px);
    margin-top: 28px;
  }

  .site-header h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .level-note {
    font-size: 0.95rem;
  }

  .subtitle {
    border-radius: 18px;
  }

  .amazon-links {
    grid-template-columns: 1fr;
  }
}
