/* ==========
   Base
========== */
:root{
  --bg: #ffffff;
  --ink: #15151a;
  --muted: #5b5b6a;

  --brand: #3c00ff;
  --brand-2: #ff2fa6;
  --soft: #fff3ea;
  --soft-2: #f6f7ff;

  --card: #ffffff;
  --border: rgba(0,0,0,.08);
  --shadow: 0 10px 25px rgba(0,0,0,.08);

  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img{ max-width: 100%; height: auto; display: block; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========
   Header / Nav
========== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo{ height: 80px; width: auto; display: block; }

.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
  position: relative;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a{
  text-decoration: none;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.site-nav a:hover{
  background: rgba(60,0,255,.08);
}

.site-nav a.is-active{
  background: rgba(60,0,255,.08);
  border-color: rgba(60,0,255,.18);
}

.site-nav .nav-cta{
  background: var(--brand);
  color: #fff;
  padding: 9px 12px;
}

.site-nav .nav-cta:hover{
  background: #2e00cc;
}

/* Hamburger button */
.nav-toggle{
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 12px;
}

.nav-toggle:focus{
  outline: 2px solid rgba(60,0,255,.35);
  outline-offset: 2px;
}

.nav-toggle__bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 10px;
}

/* ==========
   Buttons / Small UI
========== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover{ background: #2e00cc; }

.btn-secondary{
  background: rgba(60,0,255,.08);
  color: var(--ink);
  border-color: rgba(60,0,255,.15);
}

.btn-secondary:hover{ background: rgba(60,0,255,.12); }

.btn-outline{
  background: transparent;
  border-color: rgba(0,0,0,.15);
  color: var(--ink);
}

.btn-outline:hover{ background: rgba(0,0,0,.04); }


.badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.micro{
  font-size: 13px;
  color: var(--muted);
}

/* ==========
   Sections
========== */
.section{ padding: 58px 0; }

.section-soft{
  background: linear-gradient(180deg, var(--soft-2), #fff);
}

.section-head{
  max-width: 760px;
  margin-bottom: 20px;
}

.section-head h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.section-head p{
  margin: 0;
  color: var(--muted);
}

/* ==========
   Page hero (used on inner pages)
========== */
.page-hero{
  padding: 38px 0 22px;
  background: linear-gradient(180deg, var(--soft-2), #fff);
  border-bottom: 1px solid var(--border);
}

.page-hero h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.1;
}

.lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 70ch;
}

/* ==========
   Hero (home)
========== */
.hero{
  background: radial-gradient(900px 500px at 20% 10%, rgba(60,0,255,.12), transparent),
              radial-gradient(900px 500px at 90% 30%, rgba(255,47,166,.10), transparent),
              linear-gradient(180deg, var(--soft), #fff);
  padding: 44px 0 32px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.hero-copy h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-art{
  background: rgba(255,255,255,.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.flutterby-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.flutterby-card{
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
}

.flutterby-card img{
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.flutterby-card figcaption{
  margin-top: 6px;
  font-weight: 900;
  color: var(--brand);
}

/* ==========
   Cards / Features
========== */
.cards-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); font-size: 14px; }

.features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feature{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(60,0,255,.08);
  margin-bottom: 10px;
  font-size: 20px;
}

.feature h3{ margin: 0 0 6px; font-size: 16px; }
.feature p{ margin: 0; color: var(--muted); font-size: 14px; }

/* ==========
   Club (home)
========== */
.club{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start;
}

.club-copy{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.checklist{
  margin: 14px 0;
  padding-left: 18px;
  color: var(--muted);
}

.checklist li{ margin: 6px 0; }

.club-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.club-card{
  background: linear-gradient(180deg, rgba(60,0,255,.09), rgba(255,255,255,1));
  border: 1px solid rgba(60,0,255,.18);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.mini-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mini-tile{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  font-weight: 800;
  text-align: center;
  font-size: 13px;
}

/* ==========
   Video
========== */
.video-wrap{
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap video{
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* ==========
   Footer
========== */
.site-footer{
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a{
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-links a:hover{
  text-decoration: underline;
}

/* ==========
   Accessibility helpers
========== */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Books page
========================= */
.books-toolbar{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search{ flex: 1 1 320px; }

.search input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font: inherit;
}

.search input:focus{
  outline: 2px solid rgba(60,0,255,.25);
  outline-offset: 2px;
  border-color: rgba(60,0,255,.35);
}

.books-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.book-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.book-cover{
  background: rgba(0,0,0,.03);
  border-bottom: 1px solid var(--border);
}

.book-cover img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.book-body{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.book-title{
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.book-blurb{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.book-actions{
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Colouring page
========================= */
.colouring-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.colouring-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}

.thumb{
  display: block;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.03);
}

.thumb img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.colouring-body{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.colouring-title{
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.colouring-actions{
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Stickers page
========================= */
.notice{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}

.stickers-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sticker-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}

.sticker-card .thumb img{
  height: 220px;
  object-fit: contain;
}

.sticker-body{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sticker-actions{
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Packs page (uses your existing .image-grid / .grid-item)
========================= */
.image-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.grid-item{
  background: #fff;
  border: 1px solid rgba(60,0,255,.18);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  text-align: left;
}

.grid-item img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.03);
  margin-bottom: 10px;
}

.grid-item h3{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--brand-2);
  text-align: left;
}

.grid-item p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.buy-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--brand-2);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 800;
}

.buy-button:hover{ filter: brightness(.95); }

/* ==========
   Responsive
========== */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .club{ grid-template-columns: 1fr; }
  .cards-4, .features{ grid-template-columns: repeat(2, 1fr); }

  .books-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-cover img{ height: 240px; }

  .colouring-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumb img{ height: 210px; }

  .stickers-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticker-card .thumb img{ height: 210px; }

  .image-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-item img{ height: 170px; }
}

@media (max-width: 640px){
  .cards-4, .features{ grid-template-columns: 1fr; }

  .books-grid{ grid-template-columns: 1fr; }
  .book-cover img{ height: 220px; }

  .colouring-grid{ grid-template-columns: 1fr; }
  .thumb img{ height: 200px; }

  .stickers-grid{ grid-template-columns: 1fr; }
  .sticker-card .thumb img{ height: 200px; }

  .image-grid{ grid-template-columns: 1fr; }
  .grid-item img{ height: 160px; }
}

/* ==========
   Mobile nav (must be last)
========== */
@media (max-width: 820px){
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    background: rgba(255,255,255,.98);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav{
    display: flex;
  }
}


/* Home: Start Here + Final CTA */
.start-here{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.start-actions{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.final-cta{
  background: radial-gradient(900px 500px at 20% 10%, rgba(60,0,255,.12), transparent),
              radial-gradient(900px 500px at 90% 30%, rgba(255,47,166,.10), transparent),
              linear-gradient(180deg, var(--soft-2), #fff);
  border-top: 1px solid var(--border);
}

.final-cta__inner{
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.final-cta__inner h2{
  margin: 0 0 8px;
}

.final-cta__inner p{
  margin: 0 0 14px;
  color: var(--muted);
}

.final-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

