/* =============================================
   FONTS
   ============================================= */

/* Trade Gothic Next LT Pro */
@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-light-italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-bold-italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Trade Gothic Next';
  src: url('fonts/tradegothic/tradegothic-heavy-italic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
}



/* =============================================
   RESET & BASE
   ============================================= */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: 'Trade Gothic Next', 'Helvetica Neue', sans-serif;
}


/* =============================================
   COVER LAYOUT
   ============================================= */

.cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;

  /* Sky gradient: sampled from gradient.png */
  background: linear-gradient(180deg,
      #224698 0%,
      #284d9c 15%,
      #2e55a1 25%,
      #3159a4 30%,
      #3862ab 40%,
      #416db1 50%,
      #4977b8 60%,
      #5182c0 70%,
      #5588c5 75%,
      #588dc9 80%,
      #5e96d0 90%,
      #629cd4 100%);
}


/* =============================================
   HERO (Title + Cloud)
   ============================================= */

.hero {
  position: relative;
  width: 400px;
  max-width: min(500px, 65vh);
  z-index: 1;
  margin-bottom: 60px;
}

.title-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.cloud-img {
  position: absolute;
  width: 50%;
  bottom: 0;
  right: 10px;
  z-index: -1;
  height: auto;
  transform: translateY(50%);
}


/* =============================================
   BOTTOM TEXT
   ============================================= */

.bottom-text {
  position: relative;
  z-index: 3;
  text-align: right;
  padding-right: 12px;
  margin-top: 10px;
  width: 400px;
  max-width: min(500px, 65vh);
  align-self: center;
}

.author-name {
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
  text-transform: uppercase;
  font-variant: small-caps;
}

.subtitle-bold {
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 0.15em;
}

.subtitle-mixed {
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.subtitle-mixed .sc {
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.06em;
}


/* =============================================
   QUOTE BLOCK
   ============================================= */

.quote-block {
  position: relative;
  z-index: 3;
  width: 500px;
  max-width: 90%;
  align-self: center;
  padding: 20px 30px 0;
  margin-top: auto;
}

.quote-text {
  font-weight: 400;
  font-size: 11px;
  color: #ffffff;
  line-height: 1.55;
  text-align: center;
}

.quote-text em {
  font-style: italic;
}


/* =============================================
   CTA & FOOTER
   ============================================= */

.cta-section {
  position: relative;
  z-index: 3;
  width: 500px;
  max-width: 90%;
  align-self: center;
  text-align: center;
  margin-top: 30px;
}

.amazon-btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #224698;
  background-color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.amazon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background-color: #f8f9fa;
}

/* =============================================
   EASTER EGG FOOTER
   ============================================= */

.easter-egg-footer {
  position: relative;
  width: 100%;
  margin-top: 50vh;
  padding-bottom: 30px;
  text-align: center;
  z-index: 3;
}

.cat-peek {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18vw;
  max-width: 190px;
  min-width: 100px;
  height: auto;
  z-index: 4;
}

.footer-credit {
  font-weight: 300;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.footer-credit a:hover {
  color: #ffffff;
  border-bottom-style: solid;
}


/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */

@media (max-width: 600px) {
  .cover {
    padding-bottom: 20px;
  }

  .hero {
    width: 95%;
    max-width: none;
  }

  .bottom-text {
    width: 95%;
    max-width: none;
    margin-top: 10px;
  }

  .quote-block {
    padding: 16px 20px 0;
    max-width: 95%;
  }

  .cta-section {
    max-width: 95%;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 899px) {
  .hero {
    width: 480px;
    max-width: min(480px, 65vh);
  }

  .bottom-text {
    width: 480px;
    max-width: min(480px, 65vh);
  }

  .author-name {
    font-size: 16px;
  }

  .subtitle-bold {
    font-size: 22px;
  }

  .subtitle-mixed {
    font-size: 14px;
  }

  .quote-text {
    font-size: 12px;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .hero {
    width: 550px;
    max-width: min(550px, 65vh);
  }

  .bottom-text {
    width: 550px;
    max-width: min(550px, 65vh);
  }

  .author-name {
    font-size: 18px;
  }

  .subtitle-bold {
    font-size: 24px;
  }

  .subtitle-mixed {
    font-size: 15px;
  }

  .quote-text {
    font-size: 12px;
  }

  .quote-block {
    width: 600px;
    max-width: 90%;
  }

  .cta-section {
    width: 600px;
    max-width: 90%;
  }
}

@media (min-width: 1200px) {
  .hero {
    width: 650px;
    max-width: min(650px, 65vh);
  }

  .bottom-text {
    width: 650px;
    max-width: min(650px, 65vh);
  }

  .author-name {
    font-size: 20px;
  }

  .subtitle-bold {
    font-size: 28px;
  }

  .subtitle-mixed {
    font-size: 16px;
  }

  .quote-text {
    font-size: 13px;
  }

  .quote-block {
    width: 700px;
    max-width: 90%;
  }

  .cta-section {
    width: 700px;
    max-width: 90%;
  }
}

@media (min-width: 1600px) {
  .hero {
    width: 750px;
    max-width: 750px;
  }

  .bottom-text {
    width: 750px;
    max-width: 750px;
  }

  .quote-block {
    width: 800px;
    max-width: 90%;
  }

  .cta-section {
    width: 800px;
    max-width: 90%;
  }
}