/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffd36b, #c79b00);
  border-radius: 8px;
  box-shadow:
    0 6px 18px rgba(199,155,0,0.12),
    0 0 18px rgba(255,215,0,0.06) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b0b0b;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

.logo-sub {
  font-size: 11px;
  color: rgba(255,215,0,0.95);
  font-weight: 600;
  margin-top: 2px;
}
/* ===== Navigation ===== */
nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: rgba(246,243,239,0.9);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  position: relative;
  transition: all .18s ease;
}

/* Gold underline animation */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #ffd36b, #c79b00);
  border-radius: 2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-list a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,215,0,0.12);
  transform: translateY(-1px);
}

.nav-list a:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.btn {
  background: transparent;
  color: rgba(255,215,0,0.98);
  border: 1px solid rgba(255,215,0,0.12);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease;
}

.btn.primary {
  background: linear-gradient(90deg,#ffd36b,#c79b00);
  color: #0b0b0b;
  border: none;
}
/* ============================
   FAQ SECTION
   ============================ */

.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FAQ Item */
.faq-item {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 18px 20px;
  font-size: 18px;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #1a1a1a;
}

.faq-question i {
  transition: transform 0.3s;
}

/* Rotate arrow when active */
.faq-question.active i {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #000;
  color: #ccc;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* When open */
.faq-answer.open {
  max-height: 300px;
  padding: 20px;
}

/* FAQ Text */
.faq-answer p {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}
/* Contact */
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 60px auto;
}

.contact-section label {
  font-weight: 600;
  color: gold;
  margin-bottom: 6px;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
}

.contact-section textarea {
  min-height: 120px;
}

.contact-section button {
  align-self: flex-start;
  padding: 12px 24px;
  background: gold;
  color: black;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-section button:hover {
  background: #ffea6a;
  box-shadow: 0 0 12px gold;
}
/* UNIVERSAL BOOK GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: start;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}
/* UNIVERSAL BOOK CARD */
.card {
  background: #111;
  color: #fff;
  padding: 28px 22px;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px gold;
}

/* UNIVERSAL BOOK IMAGE */
.image-frame {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;      /* optional but makes it look clean */
  padding: 10px;         /* optional, adds a nice frame */
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
}
/* BOOK CATEGORY GRID */
.categories {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 28px !important;
  margin-top: 40px;
}

.category-card {
  background: #111;
  color: #fff;
  padding: 28px 22px;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px gold;
}

.category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.category-card h2 {
  color: gold;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.category-card p {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 1rem;
}

.category-card a {
  display: inline-block;
  padding: 10px 18px;
  background: gold;
  color: black;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.25s ease;
}

.category-card a:hover {
  background: #ffea6a;
  box-shadow: 0 0 12px gold;
}

/* CTA */
.cta {
  text-align: center;
  margin: 60px auto;
}
/* CTA SECTION (safe, isolated) */
.cta-section {
  text-align: center;
  margin: 60px auto;
}

/* Row of 3 buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

/* CTA buttons */
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Colours matching homepage */
.cta-btn.green { background: #7ac943; }
.cta-btn.orange { background: #fbb03b; }
.cta-btn.purple { background: #a864a8; }

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px gold;
}

/* White text below buttons */
.cta-text {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Gold link below text */
.cta-link {
  color: gold;
  font-weight: 600;
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}
.terms-container {
}
.terms-container h2 {
  text-align: center;
}
.terms-container p,
.terms-container ul,
.terms-container li {
  text-align: left;
}
.terms-container .right {
  text-align: right;
}
.terms-container ul + h2 {
  margin-top: 25px;
}
.terms-container ul {
  margin-bottom: 25px;
}

/* Shared promo container size */
.book-promo,
.mv-book-promo {
  margin: 60px auto;
  max-width: 450px; /* identical width */
  text-align: center;
}

/* Shared promo box styling */
.promo-box,
.mv-promo-box {
  background: #111;
  border: 2px solid #ffd700;
  padding: 25px;
  border-radius: 10px;
}

/* Shared image styling */
.promo-img,
.mv-promo-img {
  width: 140px; /* identical size */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.promo-text h2 {
  color: #ffd700;
  margin-bottom: 10px;
}

.promo-text p {
  color: silver;
  margin-bottom: 20px;
  line-height: 1.5;
}

.promo-btn {
  display: inline-block;
  background: #ffd700;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.promo-btn:hover {
  background: #ffea6e;
}
.missing-vowel-wrapper {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
}

.mv-box {
  background: #111;
  border: 2px solid #ffd700;
  padding: 30px;
  border-radius: 10px;
}

.mv-word {
  font-size: 2rem;
  letter-spacing: 6px;
  margin-bottom: 20px;
  color: #ffd700;
}

.mv-box input {
  padding: 12px;
  width: 80%;
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-radius: 5px;
  border: none;
}

.mv-box button {
  padding: 12px 25px;
  font-size: 1.2rem;
  background: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.mv-box button:hover {
  background: #ffea6e;
}

.mv-message {
  margin-top: 20px;
  font-size: 1.3rem;
}
.page-title {
  text-align: center;
  color: #ffd700;
  font-size: 2.5rem;
  margin-top: 20px;
  margin-bottom: 5px;
}

.page-subtitle {
  text-align: center;
  color: silver;
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.game-box,
.mv-box {
  background: #111;
  border: 2px solid #ffd700;
  padding: 20px;
  border-radius: 10px;
}
.category-card a {
  color: #ffd700; /* gold */
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.category-card a:hover {
  color: #ffea8a; /* lighter gold */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
.card.book-card a,
.card.book-card a:visited {
  color: #ffd700 !important;
  font-weight: 700;
  text-decoration: none;
}
.card .btn.primary {
  display: inline-block;
  margin-top: 15px;
  margin-bottom: 15px;
}
.card a {
  color: #ffd700; /* gold for normal links */
  text-decoration: none;
  font-weight: 600;
}

.card a:visited {
  color: #c0c0c0; /* light grey for visited links */
}

.card a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.9),
               0 0 12px rgba(255, 215, 0, 0.7);
}
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.monthly-puzzle h2 {
  color: #ffd700;
  margin-top: 40px;
}

.monthly-puzzle p {
  color: silver;
  font-size: 18px;
  line-height: 1.6;
}

.monthly-puzzle .button {
  margin: 20px 0;
}
/* Grid for puzzle sections */
.puzzle-grid {
  display: grid;
 grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
  text-align: center;
}

/* Column styling */
.puzzle-col {
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.puzzle-col:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Headings and text */
.puzzle-col h2 {
  color: #ffd700;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.puzzle-col p {
  color: silver;
  font-size: 1rem;
  line-height: 1.6;
}

/* Buttons */
.button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: silver;
  color: black;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.button:hover {
  background: #ffd700;
  box-shadow: 0 0 15px #ffd700, 0 0 25px #ffea80;
  transform: translateY(-2px);
}
/* Countdown text */
.countdown-text {
  font-size: 1.2rem;
  color: #d9d9d9;
  margin-top: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}
body {
  background-color: #000;
  color: #fff;
}
#reviewGrid .image-frame {
  width: 100%;
  height: 300px;        /* fixed frame height */
  object-fit: cover;    /* crops consistently */
  object-position: center;
  border-radius: 8px;
  display: block;
}
