/* ============================================================
   SQUISHY AUCTION SITE — DESIGN SYSTEM
   ------------------------------------------------------------
   All the "theme knobs" live in :root below. Change colors,
   corner roundness, fonts, and shadows here and the whole site
   updates. Sections below are marked with big banner comments.
   ============================================================ */

:root {
  /* THEME: candy color palette 🍬 */
  --pink:   #FF6FAE;
  --pink-dark: #E0447C;
  --peach:  #FF9E64;
  --yellow: #FFD93D;
  --mint:   #4FDCA8;
  --sky:    #5AC8FA;
  --lilac:  #A78BFA;

  /* THEME: backgrounds */
  --bg-cream: #FFF8F1;   /* body + about section */
  --bg-sky:   #EAF6FF;   /* live section */
  --bg-lilac: #F3E8FF;   /* top of prize section gradient */
  --bg-footer:#4A3B5C;   /* footer (soft dark plum) */

  /* THEME: text colors */
  --ink:      #4A3B5C;   /* main text — soft plum, friendlier than black */
  --ink-soft: #7A6895;   /* secondary text */
  --ink-faint:#A08CB8;   /* hints / labels */

  /* THEME: gradients used on buttons & highlights */
  --grad-primary:   linear-gradient(135deg, #FF6FAE, #FF9E64);
  --grad-secondary: linear-gradient(135deg, #5AC8FA, #4FDCA8);
  --grad-hero:      linear-gradient(160deg, #FFE3F2 0%, #E9DDFF 45%, #D3F1FF 100%);
  --grad-prize-bg:  linear-gradient(180deg, #F3E8FF 0%, #FFE1F0 55%, #FFD9EC 100%);

  /* THEME: shape + softness */
  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 30px;
  --shadow-soft: 0 10px 30px rgba(74, 59, 92, 0.10);
  --shadow-pop:  0 14px 34px rgba(74, 59, 92, 0.16);

  /* THEME: fonts */
  --font-display: 'Baloo 2', 'Comic Sans MS', cursive;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  /* Springy easing used by hovers everywhere */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-cream);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

img { max-width: 100%; display: block; }

/* make sure the hidden attribute always wins (e.g. the empty prize <img>) */
[hidden] { display: none !important; }

.container { width: min(1100px, 92%); margin-inline: auto; }

section, header[id] { scroll-margin-top: 80px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #fff;
  padding: 0.8em 1.8em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-4px) rotate(-1.5deg) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn--primary {
  background: var(--grad-primary);
  box-shadow: 0 8px 20px rgba(255, 111, 174, 0.45);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(255, 111, 174, 0.55); }

.btn--secondary {
  background: var(--grad-secondary);
  box-shadow: 0 8px 20px rgba(90, 200, 250, 0.45);
}
.btn--secondary:hover { box-shadow: 0 12px 26px rgba(90, 200, 250, 0.55); }

/* TikTok button: dark pill with the classic cyan/pink double glow */
.btn--tiktok {
  background: #2B2333;
  font-size: 1.15rem;
  padding: 0.9em 2.2em;
  box-shadow: -6px 6px 22px rgba(37, 244, 238, 0.5),
               6px -6px 22px rgba(254, 44, 85, 0.4);
}
.btn--tiktok:hover {
  box-shadow: -8px 8px 28px rgba(37, 244, 238, 0.65),
               8px -8px 28px rgba(254, 44, 85, 0.55);
}

/* in the hero row, the TikTok button matches its neighbors' size */
.hero__ctas .btn--tiktok {
  font-size: 1.05rem;
  padding: 0.8em 1.8em;
}

/* footer: one big TikTok call-to-action instead of small pills */
.footer__tiktok {
  font-size: 1.2rem;
  padding: 0.95em 2.4em;
  margin-top: 0.3rem;
}

/* ============================================================
   IMAGE PLACEHOLDERS  (dashed boxes → swap for real images)
   ============================================================ */
.img-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  min-height: 220px;
  border: 3px dashed rgba(74, 59, 92, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-soft);
  text-align: center;
  padding: 1rem;
}
.img-placeholder__emoji { font-size: 2.6rem; }
.img-placeholder__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.img-placeholder--circle {
  width: 132px;
  height: 132px;
  min-height: 0;
  border-radius: 50%;
  padding: 0;
}
.img-placeholder--circle .img-placeholder__emoji { font-size: 2rem; }
.img-placeholder--circle .img-placeholder__label { font-size: 0.8rem; }

/* ============================================================
   STICKY NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(74, 59, 92, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  position: relative;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(255, 111, 174, 0.4);
}
/* real logo image inside any logo circle (nav + footer) */
.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  transition: transform 0.25s var(--bounce), background 0.25s, color 0.25s;
}
.nav__link:hover {
  background: #FFE3F2;
  color: var(--pink-dark);
  transform: translateY(-2px);
}
.nav__link--pill {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 111, 174, 0.4);
}
.nav__link--pill:hover { background: var(--grad-primary); color: #fff; }

.nav__toggle {
  display: none;
  font-size: 1.4rem;
  background: #FFE3F2;
  color: var(--pink-dark);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

/* ============================================================
   1. HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  text-align: center;
  padding: 5rem 0 0;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; padding-bottom: 4rem; }
.hero__logo { margin: 0 auto 1.4rem; background: rgba(255, 255, 255, 0.8); }
/* real logo image in the hero: round, white ring, soft pink glow */
.hero__logo--img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 30px rgba(255, 111, 174, 0.45);
  animation: pop-in 0.7s var(--bounce) both;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  color: var(--ink);
  animation: pop-in 0.7s var(--bounce) both;
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  animation: pop-in 0.7s 0.12s var(--bounce) both;
}
/* small follower-stats pill under the tagline (non-focal social proof) */
.hero__stats {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.35em 1.1em;
  margin-top: 0.9rem;
  animation: pop-in 0.7s 0.18s var(--bounce) both;
}
.hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  animation: pop-in 0.7s 0.24s var(--bounce) both;
}

/* Floating squishy blobs behind the hero text (decorative only) */
.hero__blobs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  opacity: 0.5;
  animation: float 7s ease-in-out infinite;
}
.b1 { width: 220px; height: 200px; background: var(--pink);   top: 8%;  left: -60px;  animation-delay: 0s;   }
.b2 { width: 150px; height: 140px; background: var(--yellow); top: 12%; right: 6%;    animation-delay: -1.5s; }
.b3 { width: 120px; height: 110px; background: var(--mint);   bottom: 22%; left: 10%; animation-delay: -3s;  }
.b4 { width: 180px; height: 170px; background: var(--sky);    bottom: 12%; right: -50px; animation-delay: -4.5s; }
.b5 { width: 90px;  height: 85px;  background: var(--lilac);  top: 45%; left: 45%;    animation-delay: -6s;  }

/* ============================================================
   WAVY SECTION DIVIDERS
   The svg color = the background of the NEXT section.
   ============================================================ */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; }
.wave--cream { color: var(--bg-cream); }
.wave--sky   { color: var(--bg-sky); }
.wave--lilac { color: var(--bg-lilac); }

/* ============================================================
   SECTION SHELLS + HEADINGS
   ============================================================ */
.section { padding-top: 4.5rem; }
.section--about { background: var(--bg-cream); }
.section--live  { background: var(--bg-sky); }

.section-head { text-align: center; margin-bottom: 2.4rem; }
.section-title {
  display: inline-block;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800;
  color: var(--ink);
  position: relative;
}
/* squiggly underline under section titles */
.section-title::after {
  content: '';
  display: block;
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--grad-primary);
  transform: rotate(-1deg);
}
.section-sub { color: var(--ink-soft); font-weight: 700; margin-top: 0.6rem; }

/* gently bobbing emoji next to headings */
.bob { display: inline-block; animation: bob 2.2s ease-in-out infinite; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }

/* ============================================================
   2. ABOUT SECTION
   ============================================================ */
/* single centered text card — comfy reading width */
.about__grid {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 3rem;
}
.about__text p {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--ink);
}
.about__text p + p { margin-top: 1rem; }
/* the "Join our TikTok LIVE…" line pops as a mini call-to-action */
.about__text .about__cta {
  font-weight: 800;
  color: var(--pink-dark);
}

/* ============================================================
   3. WHEN WE'RE LIVE
   ============================================================ */
.schedule-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  background: #fff;
  border: 3px solid #FFD9EC;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.6rem;
  text-align: center;
}
.schedule-banner__emoji { font-size: 1.7rem; animation: ring 3s ease-in-out infinite; }
.schedule-banner p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.calendar-wrap { max-width: 560px; margin: 0 auto; }

/* ---- calendar widget (markup built by js/calendar.js) ---- */
.calendar { padding: 1.3rem; }
.calendar:hover { transform: none; } /* calendar card shouldn't lift */
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calendar__month {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}
.calendar__nav-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #FFE3F2;
  color: var(--pink-dark);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s var(--bounce), background 0.25s;
}
.calendar__nav-btn:hover { background: var(--pink); color: #fff; transform: scale(1.12); }

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar__dow {
  text-align: center;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 4px;
}
.calendar__cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-sm);
  background: #F6F1FB;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  transition: transform 0.2s var(--bounce), background 0.2s;
}
.calendar__cell--blank { background: transparent; }
.calendar__cell.is-today { outline: 3px dashed var(--sky); outline-offset: -3px; }

/* ⭐ LIVE day highlight */
.calendar__cell.is-live {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 111, 174, 0.45);
}
.calendar__cell.is-live::after {
  content: '✨';
  position: absolute;
  top: -7px;
  right: -4px;
  font-size: 0.75rem;
  animation: twinkle 1.8s ease-in-out infinite;
}

/* in the admin panel the cells are clickable buttons */
.calendar--interactive .calendar__cell:not(.calendar__cell--blank) { cursor: pointer; }
.calendar--interactive .calendar__cell:not(.calendar__cell--blank):hover { transform: scale(1.12); }

.calendar__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 2px 6px rgba(255, 111, 174, 0.5);
}

.live__cta { text-align: center; padding: 2.2rem 0 3rem; }

/* ============================================================
   4. TOP PRIZE  ✨ the showstopper ✨
   ============================================================ */
.section--prize {
  background: var(--grad-prize-bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem; /* extra room so the footer's rounded top overlaps nicely */
}
.prize-kicker {
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  color: var(--pink-dark);
  border-radius: 999px;
  padding: 0.35em 1.2em;
  margin-bottom: 0.7rem;
  animation: bob 2.6s ease-in-out infinite;
}
.section-title--light { color: #8A3D6E; }
.section-title--light::after { background: linear-gradient(135deg, var(--yellow), var(--pink)); }

.prize-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2.5rem 0;
}

/* slowly-rotating starburst rays behind the prize */
.prize-burst {
  position: absolute;
  width: min(560px, 96vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255, 255, 255, 0.55) 0deg 14deg,
    rgba(255, 255, 255, 0) 14deg 28deg
  );
  animation: slow-spin 44s linear infinite;
}

/* gentle floating so the prize feels like it's hovering */
.prize-float { position: relative; animation: float 5.5s ease-in-out infinite; }

/* animated rainbow border + pulsing glow around the prize image */
@property --spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.prize-frame {
  padding: 10px;
  border-radius: 36px;
  background: conic-gradient(
    from var(--spin),
    var(--pink), var(--yellow), var(--mint), var(--sky), var(--lilac), var(--pink)
  );
  animation: spin-border 6s linear infinite, glow-pulse 2.8s ease-in-out infinite alternate;
}
.prize-window {
  background: #fff;
  border-radius: 28px;
  width: min(400px, 76vw);
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.prize-img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder--prize {
  align-self: stretch;
  justify-self: stretch;
  margin: 14px;
  min-height: 0;
  border-radius: 20px;
}

.prize-info { text-align: center; max-width: 560px; margin: 0.5rem auto 0; }
.prize-name {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
}
.prize-desc { color: var(--ink-soft); font-weight: 700; margin-top: 0.5rem; }

/* twinkling sparkles scattered around the prize section */
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle {
  position: absolute;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 217, 61, 0.9);
  animation: twinkle 2.4s ease-in-out infinite;
}
.s1 { top: 12%; left: 8%;  font-size: 1.6rem; animation-delay: 0s;    }
.s2 { top: 20%; right: 10%; font-size: 1.2rem; animation-delay: -0.6s; }
.s3 { top: 48%; left: 16%; font-size: 1rem;   animation-delay: -1.2s; }
.s4 { top: 55%; right: 14%; font-size: 1.8rem; animation-delay: -1.8s; }
.s5 { bottom: 18%; left: 30%; font-size: 1.3rem; animation-delay: -0.9s; }
.s6 { bottom: 12%; right: 28%; font-size: 1rem; animation-delay: -1.5s; }

/* ---- countdown ---- */
.countdown { text-align: center; margin-top: 2.2rem; }
.countdown__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.countdown__tiles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.tile {
  background: #fff;
  min-width: 86px;
  padding: 0.9rem 0.7rem 0.7rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border-top: 7px solid var(--pink);
  transition: transform 0.3s var(--bounce);
}
.tile:hover { transform: translateY(-4px) rotate(-2deg); }
.tile:nth-child(2) { border-top-color: var(--yellow); }
.tile:nth-child(3) { border-top-color: var(--mint); }
.tile:nth-child(4) { border-top-color: var(--sky); }
.tile__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1.1;
}
.tile__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  color: #fff;
  border-radius: 36px 36px 0 0;
  margin-top: -34px; /* overlaps the prize section for a cute layered look */
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2.6rem 1rem 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-circle--footer { width: 36px; height: 36px; font-size: 1.05rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.footer__pill {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.45em 1.3em;
  transition: transform 0.25s var(--bounce), background 0.25s;
}
.footer__pill:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-3px); }
.footer__copy { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.footer__admin { color: rgba(255, 255, 255, 0.5); text-decoration: underline dotted; }
.footer__admin:hover { color: #fff; }

/* ============================================================
   SCROLL-REVEAL ANIMATION (elements with .reveal fade up)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.85) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.15); }
}
@keyframes ring {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(12deg); }
  92% { transform: rotate(-10deg); }
  94% { transform: rotate(8deg); }
  96% { transform: rotate(-6deg); }
  98% { transform: rotate(3deg); }
}
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes spin-border { to { --spin: 360deg; } }
@keyframes glow-pulse {
  from { box-shadow: 0 0 26px rgba(255, 111, 174, 0.45), 0 0 60px rgba(167, 139, 250, 0.25); }
  to   { box-shadow: 0 0 44px rgba(255, 111, 174, 0.75), 0 0 90px rgba(167, 139, 250, 0.45); }
}

/* ============================================================
   ADMIN PAGE
   ============================================================ */
.admin-body {
  background: var(--grad-hero);
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
}
.admin-wrap { max-width: 780px; margin: 0 auto; display: grid; gap: 1.4rem; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.admin-topbar h1 { font-size: 1.7rem; }
.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem;
}
.admin-card h2 { font-size: 1.35rem; margin-bottom: 1.1rem; }

.field { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 800; font-size: 0.9rem; color: var(--ink-soft); }
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 0.7em 1em;
  border: 2px solid #E8DFF5;
  border-radius: var(--radius-sm);
  background: #FDFBFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 111, 174, 0.18);
}
.field textarea { min-height: 100px; resize: vertical; }

.hint { font-size: 0.85rem; color: var(--ink-faint); }
.error-msg { color: var(--pink-dark); font-weight: 800; min-height: 1.4em; margin-top: 0.6rem; }

.btn--small { font-size: 0.95rem; padding: 0.6em 1.4em; }
.btn--ghost {
  background: #fff;
  color: var(--ink-soft);
  box-shadow: 0 4px 12px rgba(74, 59, 92, 0.12);
}

.row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.admin-login {
  max-width: 430px;
  margin: 9vh auto 0;
  text-align: center;
}
.admin-login .logo-circle { margin: 0 auto 0.8rem; width: 58px; height: 58px; font-size: 1.8rem; }
.admin-login h1 { margin-bottom: 0.3rem; }
.admin-login p { color: var(--ink-soft); font-weight: 700; margin-bottom: 1.2rem; }
.admin-login input { text-align: center; }

.img-preview {
  width: 190px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid #E8DFF5;
  background: #FDFBFF;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }

.admin-cal .calendar { box-shadow: none; border: 2px solid #E8DFF5; padding: 1rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-footer);
  color: #fff;
  font-weight: 800;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--bounce);
  z-index: 99;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem;
    transform: scaleY(0.6);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--bounce), opacity 0.25s, visibility 0.25s;
  }
  .nav.open .nav__links { transform: scaleY(1); opacity: 1; visibility: visible; }
  .nav__link { text-align: center; padding: 0.7em; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding-top: 3.2rem; }
  .hero { padding-top: 3.5rem; }
  .tile { min-width: 72px; }
  .tile__num { font-size: 1.7rem; }
  .blob { opacity: 0.35; }
  .calendar__grid { gap: 4px; }
  .calendar__cell { font-size: 0.85rem; border-radius: 10px; }
}

/* ============================================================
   REDUCED MOTION — respect users who prefer less animation
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
