/* Safari visited link override */
.pp-header a:visited {
    color: #c0c0c0 !important;
}
/* FORCE LINK COLORS TO SILVER */
a,
a:visited {
    color: #c0c0c0 !important;
    text-decoration: none !important;
}

/* GOLD GLOW ON HOVER */
a:hover {
    color: #ffd700 !important;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.9),
                 0 0 12px rgba(255, 215, 0, 0.7) !important;
}
/* --------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------- */
body {
    background-color: white;
    color: black;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.small-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --------------------------------------------------
   HEADINGS & INTRO
-------------------------------------------------- */
h1, h2 {
    text-align: center;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

/* --------------------------------------------------
   CTA SECTION
-------------------------------------------------- */
.cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: black;
    color: white;
    border-radius: 10px;
}

/* CTA buttons (default) */
.cta a {
    background: white;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.25s ease;
}

/* CTA hover */
.cta a:hover {
    background: #ffd700;
    color: black;
    box-shadow: 0 0 12px #ffd700;
}

/* CTA uniform button sizing */
.cta button,
.cta a {
    display: inline-block;
    width: 160px;
    height: 55px;
    line-height: 55px;
    font-size: 1.1em;
    font-weight: bold;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    margin: 10px auto;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cta button:hover,
.cta a:hover {
    background: #ffd700;
    color: #000;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    transform: translateY(-3px);
}

/* --------------------------------------------------
   HOME LINK
-------------------------------------------------- */
.home-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: silver;
    text-decoration: none;
    font-size: 42px;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.home-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 0 18px #ffea80;
}

/* --------------------------------------------------
 MAIN BOOK CARDS — FIXED IMAGE SIZE
-------------------------------------------------- */
.image-frame {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

/* SEASONAL BOOK IMAGES — FIX SQUASHING */
.categories .category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover !important;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* SEASONAL CARD WIDTH FIX */
.categories .category-card {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

/* PREVENT IMAGE-FRAME RULES FROM OVERRIDING SEASONAL IMAGES */
.books-layout .image-frame img {
  object-fit: contain;
}

/* --------------------------------------------------
   SEASONAL BOOKS — FULLY ISOLATED LAYOUT
   (Safe: does NOT affect other pages)
-------------------------------------------------- */

/* Seasonal grid container */
.books-layout .categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Seasonal card container */
.books-layout .category-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Keep cards narrow and book-like */
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

/* Hover effect */
.books-layout .category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Seasonal book images — FIX SQUASHING */
.books-layout .category-card img {
  width: 100%;
  height: 220px;              /* consistent book-cover height */
  object-fit: cover;          /* prevents squashing */
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* Seasonal text spacing */
.books-layout .category-card h2 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #000;
}

.books-layout .category-card p {
  margin-bottom: 12px;
  color: #333;
}

/* Seasonal links */
.books-layout .category-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.25s ease;
}

.books-layout .category-card a:hover {
  background: #ffd700;
  color: black;
  box-shadow: 0 0 12px #ffd700;
}
/* FIX HEADER LAYOUT ON SEASONAL PAGE */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list li {
  display: inline-block;
  width: auto;
}

.cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta .btn {
  display: inline-flex;
  width: auto;
}
/* --------------------------------------------------
   GRID LAYOUT
-------------------------------------------------- */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.category-card img {
  width: 100%;
  height: 220px;        /* consistent book-cover height */
  object-fit: cover;    /* prevents squashing */
  object-position: center;
  border-radius: 12px;
  display: block;
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
/* --------------------------------------------------
   GENERIC BUTTONS
-------------------------------------------------- */
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.25s ease;
}

.btn:hover {
    background: #ffd700;
    color: black;
    box-shadow: 0 0 12px #ffd700;
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */
.section {
    padding: 60px 20px;
    border-top: 1px solid #333;
}

/* --------------------------------------------------
   EMAIL INPUT
-------------------------------------------------- */
.email-box {
    margin-top: 20px;
}

input[type="email"] {
    padding: 12px;
    width: 280px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    margin-right: 10px;
}

/* --------------------------------------------------
   GENERIC GOLD BUTTON
-------------------------------------------------- */
.button {
    display: block;
    margin: 15px auto;
    padding: 14px 28px;
    width: 260px;
    font-size: 18px;
    color: black;
    background: silver;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.button:hover {
    background: #ffd700;
    color: black;
    box-shadow: 0 0 15px #ffd700, 0 0 25px #ffea80;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   GLOW LINK (AFFILIATE LINKS)
-------------------------------------------------- */
.glow-link {
    color: silver;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glow-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.glow-link:hover {
    color: #ffd700;
    text-shadow: 0 0 8px #ffd700, 0 0 14px #ffea80;
}

.glow-link:hover::after {
    width: 100%;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
    text-align: center;
    margin-top: 90px;
    padding: 40px 0;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-logo {
    width: 55px;
    height: auto;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}

.footer-disclaimer {
    text-align: center;
    margin-top: 15px;
    padding: 10px 0;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.footer-links {
    text-align: center;
    margin-top: 10px;
}

.footer-links a {
    color: black;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

/* --------------------------------------------------
   FLOATING SOCIAL BAR
-------------------------------------------------- */
.social-bar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 999;
}

.social-btn {
    background-color: #000;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 0 10px #ffcc00;
}

.social-btn:hover {
    background-color: #ffcc00;
    color: #000;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ffcc00;
}

.count {
    font-size: 14px;
    font-weight: bold;
    margin-top: 2px;
}

/* --------------------------------------------------
   SHARE MENU
-------------------------------------------------- */
.share-menu {
    position: fixed;
    right: -260px;
    bottom: 100px;
    width: 240px;
    background: #000;
    border: 2px solid #ffcc00;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 20px #ffcc00;
    transition: 0.4s ease;
    z-index: 998;
}

.share-menu.open {
    right: 20px;
}

.share-menu h3 {
    margin: 0 0 10px 0;
    color: #ffcc00;
    text-align: center;
}

.share-option {
    display: block;
    background: #111;
    color: #ffcc00;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
}

.share-option:hover {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
}
/* --------------------------------------------------
   BLOG CONTENT FIX — ALIGN TEXT PROPERLY
-------------------------------------------------- */
.content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.content p,
.content ul,
.content li {
    text-align: left;
}

.content h2,
.content h3 {
    text-align: center;
}

.flash-gold {
    font-weight: bold;
    animation: silverGoldPulse 1.6s infinite ease-in-out;
}

@keyframes silverGoldPulse {
    0% {
        color: silver;
        text-shadow: 0 0 4px silver;
    }
    50% {
        color: #ffd700;
        text-shadow: 0 0 14px #ffd700;
    }
    100% {
        color: silver;
        text-shadow: 0 0 4px silver;
    }
}
/* ============================
   PUZZLE PLAYHOUSE HEADER
   ============================ */
.pp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* ✅ prevents wrapping */
  overflow: hidden;
  background-color: #000;
  color: #c0c0c0;
  padding: 15px 40px;
  font-family: Arial, sans-serif;
}

.pp-logo img {
  height: 50px;
  flex-shrink: 0; /* ✅ keeps logo from shrinking */
}

.pp-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 10px;
  white-space: nowrap; /* ✅ keeps title on one line */
}

.pp-nav {
  display: flex;
  gap: 25px;
  flex-shrink: 1;
  flex-grow: 1;
  justify-content: center;
}

.pp-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0; /* ✅ keeps icons aligned */
}
/* HERO SECTION */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    background: #000;
    color: #fff;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-left h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.hero-left .highlight {
    color: #00ff7f; /* neon green */
}

.hero-left p {
    font-size: 1.2rem;
    margin: 20px 0 30px;
    color: #ccc;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.btn.green { background: #00c853; }
.btn.orange { background: #ff9100; }
.btn.purple { background: #9c27b0; }

/* ONE ROW ICON STRIP */
.hero-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
    gap: 30px;
    flex-wrap: nowrap; /* forces one row */
    margin-top: 25px;
}

/* Each icon + text block */
.icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap; /* prevents text wrapping */
}

/* Icon size */
.icon-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0; /* prevents shrinking */
}
/* RIGHT SIDE IMAGE */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* HERO IMAGE – Narrower, Longer, Faded Edges */
.hero-image {
    width: 85%;               /* narrower width */
    max-width: 480px;         /* limits size on large screens */
    height: auto;             /* keeps proportions */
    border-radius: 25px;      /* rounded corners */
    object-fit: cover;        /* fills nicely */
    filter: brightness(0.95); /* slight darkening for contrast */
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* --- ICONS FIX --- */
.hero-icons {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;       /* keeps them on one line */
    gap: 25px;
    margin-top: 25px;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;                 /* evenly spaced */
    min-width: 180px;        /* prevents wrapping */
}

.icon-item img {
    width: 50px;             /* slightly larger */
    height: 50px;
    object-fit: contain;
}
.buy-colouring-book .btn.primary {
  display: inline-block;
  margin-top: 20px;
  position: relative;
}
