
#banner #action {
  margin-bottom: 100px;
}

#banner #action a {
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  padding: 20px;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  background-color: #4392F1;
}

#banner #action a:hover {
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  background-color: #ff3c00;
  padding: 20px 40px;
}

.action {
  display: flex;
  justify-content: center;
}
.action a{
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  padding: 20px;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  background-color: #4392F1;
}

.action a:hover {
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  background-color: #ff3c00;
  padding: 20px 40px;
}


/* ── LOUD BADGE ── */
.feature .badge {
  display: block;                  /* sits on its own line */
  width: fit-content;
  margin: 0 auto 12px;             /* centered, space below */
  background: #F46036;
  color: #fff;
  font-family: 'Anton', cursive;
  font-size: 26px;                 /* big */
  text-transform: uppercase;
  border: 4px solid #000;
  padding: 10px 24px;
  box-shadow: 6px 6px 0 #000;
  letter-spacing: 2px;
  transform: rotate(-2deg);        /* slight tilt – loud but deliberate */
  transition: transform 0.2s, box-shadow 0.2s;
  animation: badge-pulse 2s infinite ease-in-out;
  user-select: none;
}

.feature .badge:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 8px 8px 0 #000;
}

@keyframes badge-pulse {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50%      { transform: rotate(-2deg) scale(1.08); }
}


/* ── Index book features: desktop side‑by‑side, mobile stack ── */
.home-book-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  text-align: left;
}

.home-book-card .leftColumn {
  flex: 0 0 auto;
  width: 400px;
  max-width: 100%;
  box-sizing: border-box;
}

.home-book-card .featureImage img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-book-card .rightColumn {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 17px;
}





/* Styling for Pages and Chapters links in read.html */
#pagesLink,
.spacer.v10 {
  text-align: center;
}


#pagesLink a,
#chaptersLink a {
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  padding: 15px 30px;
  background-color: #4392F1;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0;
}

#pagesLink a:hover,
#chaptersLink a:hover {
  background-color: #F46036;
  padding: 15px 45px;
}





.underline {
  background-color: #F46036;
  height: 3px;
  border: 0;
  width: 100px;
  margin: -5px auto 10px;
}


.page-footer-action {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 80px;
}

.comingSoonButton {
  -webkit-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  transition: all 250ms ease-out;
  padding: 15px 40px;
  background-color: #4392F1;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

.comingSoonButton:hover {
  background-color: #F46036;
  padding: 15px 55px;
}


/* Feature Link Styling */
.feature-link {
  text-decoration: none !important;
  color: #000 !important;
  transition: color 250ms ease-out;
  display: block;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.feature-link:hover {
  color: #4392F1 !important;
  padding: 0 !important;
  background: none !important;
}

.feature-link:hover h2 {
  text-decoration: underline !important;
}

/* Coming Soon Specific Styling */
.coming-soon-container {
  text-align: center;
  padding: 100px 20px;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: #fff;
  border: 3px solid #000;
  padding: 15px;
  min-width: 80px;
  box-shadow: 6px 6px 0px #4392F1;
  text-align: center;
}

.countdown-value {
  display: block;
  font-family: 'Anton', cursive;
  font-size: 36px;
  color: #F46036;
}

.countdown-label {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}

.snarky-comment {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 20px;
  color: #666;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dreamMemText {
  font-style: italic;
  color: #555;
  padding: 20px;
  margin: 30px 0;
  background: #fff;
  border: 2px solid #eee;
  box-shadow: 0 10px 30px rgba(67, 146, 241, 0.15);
  border-radius: 12px;
}

.thoughtText {
  font-style: italic;
}

.content-type-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: white;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.type-tab {
  flex: 1;
  padding: 12px 14px;
  border: none;
  background: transparent;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.type-tab:hover {
  color: #4392F1;
  background: #f0f6ff;
}

.type-tab.active {
  background: #F46036;
  color: white;
  box-shadow: inset 0 -3px 0 #000;
}

/* ── Book content container (flex wrapper, no visual weight) ── */
#book-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px auto;
  max-width: 600px;
}

/* ── Individual KnowFlux card for each details block ── */
.book-panel details {
  background: #fff;
  border: 3px solid #4392F1;
  padding: 16px 20px;
  box-shadow: 6px 6px 0 #F46036;
  margin: 20px 0;
}

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

/* Chapter summary headers - more punch */
#book-content details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  padding: 2px 0;
}

#book-content details summary::after {
  content: '\25BC';
  font-size: 13px;
  transition: transform 0.25s;
  color: #F46036;
}

#book-content details[open] summary::after {
  transform: rotate(180deg);
}

/* Page links - more breathing room */
.book-panel ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 16px;
}

.book-panel li {
  margin: 6px 0;
  padding: 10px 16px;
  background: #f5f8fa;
  border-radius: 8px;
  border: 1px solid #e8eef3;
  transition: background 0.2s, transform 0.1s, box-shadow 0.15s;
}

.book-panel li:hover {
  background: #e0edff;
  transform: translateX(5px);
  box-shadow: 2px 2px 0 #4392F1;
  border-color: #4392F1;
}

.book-panel li a {
  text-decoration: none;
  color: #4392F1;
  font-weight: 600;
  display: block;
}

