* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --yellow: #ffcf00;
  --black: #000;
  --ink: #f6f6f6;
  --line: rgba(255, 207, 0, 0.28);
}

body {
  background: var(--black);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 207, 0, 0.08), transparent 30%),
    #000;
}

.wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 24px 48px 90px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.logo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}

nav span {
  color: var(--yellow);
}

.hero {
  max-width: 980px;
  margin: 0 auto 70px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 900;
}

.hero h2 {
  max-width: 820px;
  margin: 18px auto 0;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.55;
  font-weight: 500;
  color: #e4e4e4;
}

.showcase {
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.book-set {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cover-row,
.widget-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.cover-row.two,
.widget-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: calc((100% - 34px) / 3 * 2 + 34px);
  margin-left: auto;
  margin-right: auto;
}

.cover-frame {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #090909;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.82);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cover-frame:hover {
  transform: translateY(-10px);
  box-shadow: 0 42px 90px rgba(255, 207, 0, 0.18);
}

.cover-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.cover-card h2 {
  max-width: 360px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.book-widget {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.98), rgba(17, 17, 17, 0.98));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 176px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
}

.book-widget h3 {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.book-widget p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #d7d7d7;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.mini-links a {
  text-decoration: none;
  color: var(--yellow);
  border: 1px solid rgba(255, 207, 0, 0.45);
  background: rgba(255, 207, 0, 0.07);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.mini-links a:hover {
  background: var(--yellow);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 1050px) {
  .cover-row,
  .widget-row,
  .cover-row.two,
  .widget-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding: 20px 20px 70px;
  }

  nav {
    flex-direction: column;
    margin-bottom: 46px;
  }

  nav ul {
    justify-content: center;
    gap: 14px 20px;
  }

  nav a {
    font-size: 14px;
  }

  .hero {
    margin-bottom: 44px;
  }

  .cover-row,
  .widget-row,
  .cover-row.two,
  .widget-row.two {
    grid-template-columns: 1fr;
  }

  .showcase {
    gap: 54px;
  }
}
