@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Quicksand:wght@500;600;700&display=swap");

:root {
  --ink: #3a3150;
  --muted: #6b6380;
  --pink: #fbc2eb;
  --purple: #a18cd1;
  --blue: #8fd3f4;
  --lilac: #b76cfd;
  --glow: rgba(183, 108, 253, 0.45);
  --glass-dark: rgba(18, 12, 36, 0.42);
  --glass-light: rgba(255, 255, 255, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --mouse-x: 50%;
  --mouse-y: 40%;
  --font-body: "Nunito", "Quicksand", system-ui, sans-serif;
  --font-display: "Quicksand", "Nunito", system-ui, sans-serif;
  --radius-lg: 1.35rem;
  --shadow-soft: 0 14px 40px rgba(90, 60, 140, 0.14);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(
      520px circle at var(--mouse-x) var(--mouse-y),
      rgba(251, 194, 235, 0.55) 0%,
      rgba(161, 140, 209, 0.28) 28%,
      rgba(143, 211, 244, 0.18) 48%,
      transparent 68%
    ),
    linear-gradient(-45deg, #fbc2eb, #a18cd1, #8fd3f4, #e0c3fc, #c2e9fb, #fbc2eb, #d4a5ff);
  background-size: auto, 400% 400%;
  animation: gradientBG 18s ease infinite;
  overflow-x: hidden;
}

@keyframes gradientBG {
  0% { background-position: 0 0, 0% 50%; }
  50% { background-position: 0 0, 100% 50%; }
  100% { background-position: 0 0, 0% 50%; }
}

p, .prose, .bio { line-height: 1.65; letter-spacing: 0.02em; }

#site-particles-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fa-particle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  filter: drop-shadow(0 0 6px rgba(183, 108, 253, 0.22));
  will-change: transform, opacity;
  animation-name: floatUpAndRotate;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  pointer-events: none;
}

.fa-particle i {
  color: inherit;
  font-style: normal;
  line-height: 1;
  font-size: 1.2rem;
}

.custom-particle {
  max-width: 35px;
  width: 35px;
  height: auto;
  opacity: 0.5;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  display: block;
  pointer-events: none;
  user-select: none;
}

@keyframes floatUpAndRotate {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

body.konami-spin {
  transform: rotate(360deg);
  transition: transform 2s ease-in-out;
  transform-origin: center center;
}

#moose-run {
  position: fixed;
  bottom: 10px;
  left: -100px;
  font-size: 4rem;
  z-index: 1000;
  pointer-events: none;
  line-height: 1;
  animation: runAcross 4s linear forwards;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

@keyframes runAcross {
  0% { transform: translateX(0) rotate(-10deg); }
  25% { transform: translateX(30vw) rotate(10deg); }
  50% { transform: translateX(60vw) rotate(-10deg); }
  100% { transform: translateX(120vw) rotate(0deg); }
}

.contact-submit-pulse {
  animation: contactPulse 1.8s ease-in-out infinite;
}

@keyframes contactPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(161, 140, 209, 0.35); }
  50% { transform: scale(1.05); box-shadow: 0 16px 36px rgba(183, 108, 253, 0.45); }
}

main, .shell { position: relative; z-index: 1; }
.shell { max-width: none; width: 100%; margin: 0; padding: 0; }
a { color: inherit; }

.home-fab {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 70;
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: #6d28d9;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(251, 194, 235, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow:
    0 10px 28px rgba(161, 140, 209, 0.28),
    0 0 0 1px rgba(183, 108, 253, 0.08) inset;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s var(--ease), color 0.3s ease;
}

.home-fab:hover {
  transform: translateY(-4px) scale(1.1) rotate(-8deg);
  box-shadow:
    0 18px 40px rgba(183, 108, 253, 0.38),
    0 0 24px rgba(251, 194, 235, 0.45);
  color: #9b5de5;
}

.flash {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(183, 108, 253, 0.3);
  box-shadow: 0 10px 24px rgba(97, 72, 140, 0.12);
  font-weight: 700;
  font-size: 0.9rem;
}

.flash.error {
  background: #f3e8ff;
  color: #6b21a8;
}

.flash.success {
  background: #e0f2fe;
  color: #075985;
}

.page { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vh, 5rem) 0 2rem; }
.wrap { width: min(920px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vh, 5rem) 0 3rem; }

.glass,
.card,
.topic-pill {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.glass,
.card {
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.glass h1,
.glass h2,
.glass h3,
.glass p,
.glass a,
.glass .prose,
.glass .empty,
.card h1,
.card h2,
.card h3,
.card p,
.card a,
.topic-pill,
.topic-pill strong,
.topic-pill span,
.topic-pill .go {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.kicker {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin: 0 0 0.85rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.title-soft {
  display: block;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.handle {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 4.8rem);
  line-height: 1.05;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(120deg, #fbc2eb, #a18cd1 40%, #b76cfd 70%, #8fd3f4);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.spark {
  color: #b76cfd;
  font-size: 0.55em;
  vertical-align: super;
}

.intro-glass { max-width: 38rem; padding: 1.15rem 1.25rem; margin: 0 0 1.35rem; }
.bio { margin: 0; font-size: clamp(1rem, 1.55vw, 1.1rem); font-weight: 500; color: var(--muted); }

/* —— Organic home —— */
.home-organic .home-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
}

.home-organic .organic-title,
.home-organic .organic-bio,
.home-organic .title-soft {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.home-organic .organic-bio {
  max-width: 38rem;
  margin: 0 0 1.35rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: #4a4258;
  font-weight: 600;
}

.home-organic .soft-kicker {
  background: rgba(255, 255, 255, 0.28);
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
}

.hero-copy { flex: 1 1 100%; min-width: 0; max-width: 42rem; }

.theme-badge {
  display: inline-flex;
  align-items: center;
  margin: 0.45rem 0 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  font-weight: 700;
  color: #5b21b6;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(251, 194, 235, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 10px 26px rgba(97, 72, 140, 0.14),
    0 0 0 1px rgba(183, 108, 253, 0.08) inset;
  animation: badgeFloat 3.6s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(251, 194, 235, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow:
    0 10px 28px rgba(61, 53, 80, 0.14),
    0 0 0 1px rgba(183, 108, 253, 0.08) inset;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(183, 108, 253, 0.22);
}

.lang-btn {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.42rem;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.lang-btn.is-active,
.lang-btn:hover {
  color: #5b21b6;
  background: rgba(183, 108, 253, 0.18);
  transform: scale(1.05);
}

.lang-sep {
  color: rgba(107, 99, 128, 0.55);
  user-select: none;
}

/* Readable text on dark seasonal themes */
body.theme-dark-text .organic-bio,
body.theme-dark-text .bio,
body.theme-dark-text .prose,
body.theme-dark-text .page-intro,
body.theme-dark-text .kicker,
body.theme-dark-text .theme-badge,
body.theme-dark-text h1,
body.theme-dark-text h2,
body.theme-dark-text h3,
body.theme-dark-text .topic span,
body.theme-dark-text .discord-alive-text,
body.theme-dark-text .foot a {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.theme-dark-text .theme-badge {
  color: #fff7ed;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
}

.topic-pill {
  border-radius: 26px;
  padding: 1.15rem 1.25rem;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.4s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease;
}

.topic-pill:hover {
  transform: translateY(-8px) scale(1.035);
  box-shadow:
    0 24px 50px rgba(80, 40, 120, 0.28),
    0 0 28px rgba(183, 108, 253, 0.22);
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.22);
}

.discord-alive {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  padding: 1.05rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  overflow: visible;
  background: linear-gradient(125deg, #a78bfa 0%, #f9a8d4 48%, #7dd3fc 100%);
  background-size: 160% 160%;
  box-shadow:
    0 16px 40px rgba(161, 140, 209, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.4s ease,
    background-position 0.6s ease;
}

.discord-alive:hover {
  transform: translateY(-6px) scale(1.02);
  background-position: 100% 50%;
  box-shadow:
    0 24px 54px rgba(183, 108, 253, 0.48),
    0 0 32px rgba(251, 194, 235, 0.35);
}

.discord-alive-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.35);
  color: #5b21b6;
  font-size: 1.45rem;
}

.discord-alive:hover .discord-alive-icon {
  animation: discordJiggle 0.45s ease-in-out infinite alternate;
}

@keyframes discordJiggle {
  0% { transform: rotate(-10deg) scale(1.2); }
  100% { transform: rotate(10deg) scale(1.2); }
}

.discord-alive-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #3d3550;
}

.discord-alive-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.discord-alive-text small {
  font-weight: 600;
  opacity: 0.85;
}

.discord-alive-cta {
  margin-left: auto;
  font-weight: 800;
  color: #5b21b6;
}

.discord-float-heart {
  position: absolute;
  color: #ff6bcb;
  font-size: 0.95rem;
  pointer-events: none;
  animation: heartRise 1.5s ease-out forwards;
  z-index: 5;
}

@keyframes heartRise {
  0% { transform: translateY(0) scale(0.8); opacity: 1; }
  100% { transform: translateY(-70px) scale(1.2); opacity: 0; }
}

#virtual-pet {
  position: fixed;
  bottom: 15px;
  right: 20px;
  width: 60px;
  height: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 90;
  transition: transform 1s ease;
  user-select: none;
  line-height: 0;
  transform-origin: center bottom;
}

#virtual-pet .pixel-cat-sprite {
  width: 60px;
  height: auto;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 3px 8px rgba(40, 20, 60, 0.4));
  pointer-events: none;
}

#virtual-pet.is-running-away {
  transform: translateX(150vw);
  transition: transform 1s ease;
}

.pet-bubble {
  position: absolute;
  right: 0;
  bottom: 110%;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 194, 235, 0.8);
  box-shadow: 0 8px 20px rgba(97, 72, 140, 0.15);
  font-size: 0.85rem;
  font-weight: 800;
  color: #6d28d9;
}

.pet-bubble-pixel {
  border-radius: 4px;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.02em;
  image-rendering: pixelated;
  box-shadow: 2px 2px 0 rgba(80, 40, 120, 0.35);
}

.theme-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #b76cfd, #8fd3f4, #fbc2eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Kawaii easter egg (soft glow + floating stars) —— */
body.kawaii-glow,
body.kawaii-glow h1,
body.kawaii-glow h2,
body.kawaii-glow h3,
body.kawaii-glow p,
body.kawaii-glow a,
body.kawaii-glow span,
body.kawaii-glow strong,
body.kawaii-glow small,
body.kawaii-glow label,
body.kawaii-glow li {
  text-shadow: 0 0 10px #ff69b4;
  transition: text-shadow 1s ease;
}

.kawaii-float-star {
  position: fixed;
  bottom: -2vh;
  z-index: 1200;
  pointer-events: none;
  font-size: clamp(0.9rem, 2.2vw, 1.35rem);
  color: #ff9ad5;
  text-shadow: 0 0 12px #ff69b4, 0 0 22px rgba(255, 182, 220, 0.8);
  animation: kawaiiStarRise 2.6s ease-out forwards;
}

@keyframes kawaiiStarRise {
  0% {
    transform: translateY(0) scale(0.7) rotate(0deg);
    opacity: 0;
  }
  18% { opacity: 1; }
  100% {
    transform: translateY(-110vh) scale(1.15) rotate(28deg);
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease),
    filter 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #c084fc 0%, #b76cfd 42%, #7dd3fc 100%);
  box-shadow:
    0 12px 28px rgba(161, 140, 209, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.btn-primary:hover {
  box-shadow:
    0 16px 36px rgba(183, 108, 253, 0.48),
    0 0 28px rgba(143, 211, 244, 0.35);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(97, 72, 140, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(183, 108, 253, 0.22);
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.topic {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem;
  text-decoration: none;
}

.topic strong { font-family: var(--font-display); font-size: 1.25rem; color: #ffffff; }
.topic span { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.topic .go { margin-top: 0.35rem; font-weight: 800; color: #ffe4f3; font-size: 0.88rem; }

.discord {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  background: linear-gradient(125deg, rgba(161, 140, 209, 0.55), rgba(251, 194, 235, 0.5), rgba(143, 211, 244, 0.45));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.discord:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 55px rgba(183, 108, 253, 0.35);
}

.discord-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.85rem;
  background: linear-gradient(145deg, #a18cd1, #b76cfd);
  animation: bob 3.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.discord h2 { margin: 0.15rem 0 0.25rem; font-family: var(--font-display); font-size: 1.4rem; }
.discord p { margin: 0; color: var(--muted); }
.discord .cta { font-weight: 800; color: #6d28d9; white-space: nowrap; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.15rem;
  margin-top: 2rem;
  font-size: 0.8rem;
}

.foot a {
  text-decoration: none;
  color: var(--muted);
  opacity: 0.75;
  font-weight: 700;
}

.foot a:hover { opacity: 1; color: #9b5de5; }
.foot .admin-link { opacity: 0.35; font-weight: 500; font-size: 0.72rem; }

.page-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.85rem); margin: 0 0 0.75rem; }
.page-intro { color: var(--muted); font-size: 1.08rem; margin: 0 0 2rem; max-width: 40rem; }
.section { padding: 1.55rem; margin-bottom: 1.75rem; }
.section h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.55rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.gallery figure { margin: 0; border-radius: 1.15rem; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.empty {
  padding: 1.25rem;
  border-radius: 1.2rem;
  border: 1px dashed rgba(161, 140, 209, 0.45);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem 2rem;
}

.contact-card { width: min(560px, 100%); padding: clamp(1.5rem, 4vw, 2.25rem); }
.contact-card h1 { font-family: var(--font-display); margin: 0.3rem 0 0.75rem; }

.form-row { margin-bottom: 0.85rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(161, 140, 209, 0.35);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.85rem 1rem;
  font: inherit;
}

.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.login-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem 2rem;
}

.login-glass { width: min(420px, 100%); padding: 1.75rem 1.6rem 1.4rem; }
.login-glass h1 { font-family: var(--font-display); text-align: center; margin: 0.45rem 0 0.35rem; }
.login-glass .lead { text-align: center; color: var(--muted); margin: 0 0 1.25rem; font-size: 0.92rem; }
.login-submit { width: 100%; margin-top: 0.25rem; }

.admin { width: min(960px, calc(100% - 2rem)); margin: 2rem auto 3rem; }
.admin h1 { font-family: var(--font-display); color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 1.5rem; }

body.admin-panel {
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(183, 108, 253, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 20%, rgba(143, 211, 244, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 194, 235, 0.14), transparent 55%),
    linear-gradient(155deg, #120c24 0%, #1e1438 42%, #141b33 100%) !important;
  animation: none !important;
  color: #f8fafc;
  min-height: 100vh;
}

.admin-dashboard .admin-lead,
.admin-dashboard .admin-hint {
  color: rgba(248, 250, 252, 0.78);
  text-shadow: none;
}

.admin-dash-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(183, 108, 253, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.admin-dash-head h1 {
  margin: 0 0 0.35rem;
  background: linear-gradient(90deg, #fff, #e9d5ff, #bae6fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.admin-panel .admin-nav .btn-ghost,
.admin-nav-link {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f1e9ff !important;
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.admin-panel .admin-nav .btn-ghost:hover,
.admin-nav-link:hover {
  background: linear-gradient(135deg, rgba(183, 108, 253, 0.45), rgba(125, 211, 252, 0.28)) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(108, 92, 231, 0.35);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.admin-tab {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}

.admin-tab.is-active,
.admin-tab:hover {
  background: linear-gradient(135deg, #8b5cf6, #6c5ce7 55%, #38bdf8);
  color: #fff;
  box-shadow: 0 10px 26px rgba(108, 92, 231, 0.45);
}

.admin-tab.is-active {
  transform: translateY(-1px);
}

.admin-tab-panel { display: none; }
.admin-tab-panel.is-active {
  display: block;
  animation: adminPanelIn 0.4s var(--ease);
}

@keyframes adminPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  padding: 1.45rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 1.4rem !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.admin-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.admin-toggles,
.theme-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin: 0.85rem 0 1rem;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

.admin-toggle-force {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 165, 0, 0.16);
  border: 1px solid rgba(255, 165, 0, 0.4);
}

.admin-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 1.25rem 0;
}

.admin-submit,
.btn.admin-submit {
  background: linear-gradient(135deg, #8b5cf6, #6c5ce7 50%, #38bdf8) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 12px 32px rgba(108, 92, 231, 0.45);
}

.admin-submit:hover,
.btn.admin-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.55), 0 0 28px rgba(56, 189, 248, 0.25);
}

.admin-pill {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(183, 108, 253, 0.22);
  border: 1px solid rgba(183, 108, 253, 0.4);
}

.admin-pill-force {
  background: rgba(255, 165, 0, 0.22);
  border-color: rgba(255, 165, 0, 0.45);
  color: #ffd89a;
}

.theme-admin-block {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.1rem;
  background: rgba(255, 255, 255, 0.06);
}

.theme-admin-block.is-forced {
  border-color: rgba(255, 165, 0, 0.55);
}

.theme-admin-block legend {
  font-weight: 800;
  padding: 0 0.4rem;
  color: #fff;
}

.theme-slug {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-left: 0.35rem;
}

.theme-date-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

/* —— Compact theme grid + force switches —— */
.theme-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.theme-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.theme-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.theme-card.is-forced {
  border-color: rgba(255, 180, 80, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 165, 0, 0.2), 0 16px 36px rgba(0, 0, 0, 0.28);
}

.theme-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.theme-card-head strong {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.25;
}

.theme-card-head code {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.theme-card-dates {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.theme-card-dates label {
  display: grid;
  grid-template-columns: 28px 1fr 64px;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.theme-card-dates select {
  width: 100%;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.8rem;
}

.theme-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-mini-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.theme-mini-active {
  font-size: 0.82rem;
}

.force-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffe4b8;
}

.force-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.force-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.force-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-spring);
}

.force-switch input:checked + .force-track {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.force-switch input:checked + .force-track .force-knob {
  transform: translateX(18px);
}

.force-switch input:focus-visible + .force-track {
  outline: 2px solid rgba(251, 191, 36, 0.7);
  outline-offset: 2px;
}

/* —— Inbox —— */
.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.inbox-card {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 1.25rem !important;
}

.inbox-card.is-unread {
  border-color: rgba(167, 139, 250, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2), 0 14px 36px rgba(0, 0, 0, 0.25);
}

.inbox-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.55rem;
}

.inbox-card-head strong {
  display: block;
  font-size: 1.05rem;
}

.inbox-email {
  color: #c4b5fd;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.inbox-email:hover {
  text-decoration: underline;
}

.inbox-card-head time {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.inbox-subject {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: #fde68a;
}

.inbox-body {
  margin: 0 0 0.9rem;
  white-space: pre-wrap;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.inbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: #f472b6;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-pill-mail {
  background: rgba(244, 114, 182, 0.25);
  border-color: rgba(244, 114, 182, 0.45);
  color: #fecdd3;
}

.admin-panel .form-row label {
  color: rgba(255, 255, 255, 0.88);
}

.admin-panel .form-row input,
.admin-panel .form-row textarea,
.admin-panel .form-row select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 12px;
}

.admin-panel .form-row input::placeholder,
.admin-panel .form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.admin-lego-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-lego-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.32) !important;
  color: #fff !important;
}

.admin-lego-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 1rem;
}

.admin-lego-item a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c4b5fd;
}

@media (max-width: 768px) {
  .admin-grid-2,
  .theme-date-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-lego-item {
    grid-template-columns: 72px 1fr;
  }

  .admin-lego-item form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .theme-date-grid,
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
}
.card { padding: 1.25rem; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th,
.table td {
  text-align: left;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid rgba(161, 140, 209, 0.25);
}

.legal-page { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vh, 5rem) 0 3rem; }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1rem; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 1.75rem 0 0.6rem; }
.legal-page p, .legal-page li { color: var(--muted); font-weight: 500; }
.legal-page ul { padding-left: 1.2rem; }
.legal-card { padding: 1.5rem 1.4rem; }

.error-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem 2rem;
  text-align: center;
}

.error-card { width: min(480px, 100%); padding: 2rem 1.6rem; }
.error-card .big { font-size: 3.5rem; margin: 0 0 0.5rem; }
.error-card h1 { font-family: var(--font-display); margin: 0.25rem 0 0.75rem; }
.error-card p { color: var(--muted); margin: 0 0 1.35rem; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e0c3fc, #fbc2eb, #8fd3f4);
  transition: opacity 0.65s var(--ease), visibility 0.65s var(--ease);
}

#preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-heart {
  font-size: 3.4rem;
  color: #b76cfd;
  filter: drop-shadow(0 8px 24px rgba(161, 140, 209, 0.45));
  animation: heartbeat 1.1s ease-in-out infinite;
}

.preloader-label {
  margin-top: 0.85rem;
  font-weight: 800;
  color: #5b21b6;
  letter-spacing: 0.04em;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.18); }
  40% { transform: scale(0.96); }
  60% { transform: scale(1.12); }
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(97, 72, 140, 0.18);
  display: none;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.cookie-banner .actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-banner .btn { padding: 0.65rem 1.1rem; font-size: 0.85rem; }

#egg-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}

.egg-piece {
  position: absolute;
  top: -10%;
  font-size: 1.4rem;
  animation: egg-fall linear forwards;
  opacity: 0.9;
}

@keyframes egg-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.95; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0.15; }
}

@media (max-width: 820px) {
  .topics { grid-template-columns: 1fr; }
  .discord { grid-template-columns: auto 1fr; }
  .discord .cta { grid-column: 1 / -1; }
  .discord-alive-cta { margin-left: 0; width: 100%; }
  .form-2 { grid-template-columns: 1fr; }
  .hero-row { justify-content: center; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .shell,
  .wrap,
  .page,
  .home-organic {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .home-hero {
    margin-bottom: 1.1rem;
  }

  .organic-title,
  .theme-title,
  .page-title,
  h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem) !important;
    line-height: 1.25;
  }

  .theme-badge {
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
  }

  .organic-bio,
  .bio,
  .page-intro,
  .prose {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .topics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .topic-pill {
    padding: 0.9rem 1rem;
  }

  .discord-alive {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }

  .discord-alive-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lang-toggle {
    top: 12px;
    right: 12px;
    padding: 0.32rem 0.55rem;
    font-size: 0.75rem;
  }

  .home-fab {
    top: 12px;
    left: 12px;
  }

  #virtual-pet {
    bottom: 12px;
    right: 12px;
    width: 52px;
  }

  #virtual-pet .pixel-cat-sprite {
    width: 52px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .lego-collection {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.75rem 1.1rem;
  }

  .foot {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding: 1rem 0.9rem 1.25rem;
    font-size: 0.88rem;
  }
}

/* —— Passions exclusive theme —— */
body.theme-passions {
  background:
    radial-gradient(
      520px circle at var(--mouse-x) var(--mouse-y),
      rgba(251, 194, 235, 0.5) 0%,
      rgba(161, 140, 209, 0.26) 28%,
      rgba(143, 211, 244, 0.16) 48%,
      transparent 68%
    ),
    linear-gradient(
      160deg,
      rgba(224, 195, 252, 0.92) 0%,
      rgba(251, 194, 235, 0.9) 35%,
      rgba(194, 233, 251, 0.92) 70%,
      rgba(212, 165, 255, 0.9) 100%
    );
  background-attachment: fixed, fixed;
  animation: none;
}

body.theme-passions::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(183, 108, 253, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, rgba(143, 211, 244, 0.6) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 70%, rgba(251, 194, 235, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 78%, rgba(161, 140, 209, 0.5) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 22% 88%, rgba(143, 211, 244, 0.45) 0 1.5px, transparent 2.5px);
  background-size: 100% 100%;
}

/* —— Canada exclusive theme (Banff / Moraine Lake) —— */
body.theme-canada {
  color: #f8fafc;
  background:
    linear-gradient(rgba(8, 18, 32, 0.48), rgba(12, 28, 48, 0.55)),
    url("https://upload.wikimedia.org/wikipedia/commons/4/41/Lake_Moraine-Banff_National_Park.jpg")
      center / cover no-repeat fixed;
  animation: none;
}

body.theme-canada .page-intro,
body.theme-canada .prose,
body.theme-canada .empty,
body.theme-canada .kicker,
body.theme-canada h1,
body.theme-canada h2 {
  color: #f8fafc;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

body.theme-canada .glass,
body.theme-canada .card {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  color: #f8fafc;
}

body.theme-canada .fa-particle {
  color: rgba(255, 255, 255, 0.82);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

body.theme-canada .fa-particle img.custom-particle {
  width: 1.35em;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* —— Seasonal themes — accurate palettes —— */
body.season-anniversaire,
body.theme-anniversaire {
  --accent: #ff007f;
  background: linear-gradient(45deg, #ff007f, #7000ff, #00d4ff);
  background-size: 300% 300%;
  animation: gradientBG 10s ease infinite;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body.season-anniversaire .organic-bio,
body.season-anniversaire .bio,
body.season-anniversaire .kicker,
body.season-anniversaire .theme-badge,
body.theme-anniversaire .prose {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

body.season-anniversaire .theme-title,
body.theme-anniversaire .theme-title {
  background: linear-gradient(90deg, #ffffff, #ffe4f8, #c8f7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

body.season-anniversaire::after,
body.theme-anniversaire::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, #ffe066 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 40% 70%, #ff9ad5 0 2px, transparent 3px),
    radial-gradient(circle at 88% 68%, #00d4ff 0 2px, transparent 3px);
}

body.season-noel,
body.theme-noel {
  background: radial-gradient(circle at center, #1b4d3e, #8b0000, #4a0404);
  background-attachment: fixed;
  animation: none;
  color: #ffd700;
}

body.season-noel .prose,
body.season-noel .page-intro,
body.season-noel .bio,
body.season-noel .organic-bio,
body.season-noel .kicker,
body.season-noel .theme-badge,
body.theme-noel .prose {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.season-noel .theme-title,
body.theme-noel .theme-title {
  background: linear-gradient(90deg, #ffd700, #fff8dc, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

body.season-noel .glass,
body.season-noel .card,
body.season-noel .topic-pill,
body.theme-noel .glass {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 215, 0, 0.28);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body.season-halloween,
body.theme-halloween {
  background: linear-gradient(-45deg, #1a1a1a, #4a0080, #ff6600);
  background-size: 400% 400%;
  animation: gradientBG 14s ease infinite;
  color: #fff7ed;
}

body.season-halloween .prose,
body.season-halloween .page-intro,
body.season-halloween .bio,
body.season-halloween .organic-bio,
body.season-halloween .kicker,
body.theme-halloween .prose {
  color: #ffedd5;
}

body.season-halloween .glass,
body.season-halloween .card,
body.season-halloween .topic-pill,
body.theme-halloween .glass,
body.theme-halloween .card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 165, 0, 0.35);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 165, 0, 0.12);
  backdrop-filter: blur(10px);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body.season-halloween .theme-title,
body.season-halloween .handle,
body.theme-halloween .theme-title,
body.theme-halloween .handle {
  background: linear-gradient(90deg, #ff6600, #ffb347, #ff6600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.season-halloween .btn-primary,
body.theme-halloween .btn-primary {
  background: linear-gradient(135deg, #ff6600, #4a0080);
  box-shadow: 0 10px 28px rgba(255, 102, 0, 0.35);
}

body.season-halloween .site-nav a,
body.season-halloween .foot a,
body.theme-halloween .foot a {
  color: #ffedd5;
}

body.season-paques,
body.theme-paques {
  background: linear-gradient(-45deg, #b8e8d4, #fff3b0, #ffd6e7, #c8f7c5);
  background-size: 400% 400%;
  animation: gradientBG 14s ease infinite;
  color: #3d5a45;
}

body.season-paques .theme-title,
body.theme-paques .theme-title {
  background: linear-gradient(90deg, #7cc4a0, #f0c96a, #f5a9c5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.season-ete,
body.theme-ete {
  background: linear-gradient(-45deg, #f9d976, #1e90ff, #f4d19b, #38bdf8);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: #0c4a6e;
}

body.season-ete .theme-title,
body.theme-ete .theme-title {
  background: linear-gradient(90deg, #f59e0b, #0284c7, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.season-starwars,
body.theme-starwars {
  color: #e2e8f0;
  background: linear-gradient(135deg, #000000, #1c1c1c, #001f3f);
  background-size: 200% 200%;
  animation: gradientBG 18s ease infinite;
}

body.season-starwars::before,
body.theme-starwars::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 42%, #e2e8f0, transparent),
    radial-gradient(1.5px 1.5px at 48% 12%, #fff, transparent),
    radial-gradient(1px 1px at 66% 58%, #cbd5e1, transparent),
    radial-gradient(1.5px 1.5px at 82% 28%, #fff, transparent),
    radial-gradient(1px 1px at 90% 72%, #e2e8f0, transparent),
    radial-gradient(1px 1px at 8% 78%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 38% 88%, #cbd5e1, transparent);
  background-size: 100% 100%;
}

body.season-starwars .prose,
body.season-starwars .page-intro,
body.season-starwars .bio,
body.season-starwars .organic-bio,
body.theme-starwars .prose {
  color: #cbd5e1;
}

body.season-starwars .theme-title,
body.season-starwars .handle,
body.theme-starwars .theme-title,
body.theme-starwars .handle {
  background: linear-gradient(90deg, #00e5ff, #ff0000, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

body.season-starwars .glass,
body.season-starwars .card,
body.season-starwars .topic-pill,
body.season-starwars .discord-alive,
body.theme-starwars .glass {
  background: rgba(0, 31, 63, 0.45);
  border: 1px solid #00e5ff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25), inset 0 0 12px rgba(255, 0, 0, 0.08);
  color: #e2e8f0;
}

body.season-starwars .btn-primary,
body.theme-starwars .btn-primary {
  background: linear-gradient(135deg, #00e5ff, #0066aa);
  color: #001018;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.4);
}

/* Page themes keep readable stacking above season overlays */
body.theme-passions main,
body.theme-passions .passions-wrap,
body.theme-passions .foot,
body.theme-canada main,
body.theme-canada .wrap,
body.theme-canada .foot,
body.theme-contact main,
body.theme-home main,
body.theme-home .page,
body.season-anniversaire main,
body.season-noel main,
body.season-halloween main,
body.season-paques main,
body.season-ete main,
body.season-starwars main {
  position: relative;
  z-index: 1;
}

/* Canada page landscape wins over seasonal background */
body.theme-canada.season-anniversaire,
body.theme-canada.season-noel,
body.theme-canada.season-halloween,
body.theme-canada.season-paques,
body.theme-canada.season-ete,
body.theme-canada.season-starwars {
  background:
    linear-gradient(rgba(8, 18, 32, 0.48), rgba(12, 28, 48, 0.55)),
    url("https://upload.wikimedia.org/wikipedia/commons/4/41/Lake_Moraine-Banff_National_Park.jpg")
      center / cover no-repeat fixed;
  animation: none;
  color: #f8fafc;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
}

.passion-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(97, 72, 140, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.passion-tag:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(183, 108, 253, 0.22);
}

.lego-collection {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.lego-heading {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  margin: 0 0 0.45rem;
  text-align: center;
}

.lego-sub {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.lego-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.lego-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.lego-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px rgba(161, 140, 209, 0.28);
}

.lego-card-media {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(224, 195, 252, 0.45), rgba(194, 233, 251, 0.45));
}

.lego-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lego-card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.lego-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
}

.lego-ref {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.lego-store-btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .fa-particle,
  .handle,
  .discord-icon,
  .preloader-heart,
  .egg-piece,
  .contact-submit-pulse,
  #moose-run,
  .discord-alive-icon,
  .discord-float-heart,
  .kawaii-float-star,
  #virtual-pet {
    animation: none !important;
    transition: none !important;
  }

  body.kawaii-glow,
  body.kawaii-glow h1,
  body.kawaii-glow h2,
  body.kawaii-glow h3,
  body.kawaii-glow p,
  body.kawaii-glow a,
  body.kawaii-glow span {
    text-shadow: none !important;
  }

  body.konami-spin {
    transform: none !important;
  }

  .passion-tag:hover,
  .lego-card:hover {
    transform: none;
  }

  .page-enter,
  .theme-badge,
  .admin-tab-panel.is-active {
    animation: none !important;
  }
}

/* —— Creative polish: page enter & soft surfaces —— */
.page-enter {
  animation: pageEnter 0.55s var(--ease);
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-organic .organic-bio {
  max-width: 38rem;
  font-weight: 600;
}

.theme-title {
  filter: drop-shadow(0 4px 14px rgba(183, 108, 253, 0.22));
}

.foot a {
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.foot a:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: #7c3aed;
}

.passion-tag {
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.3s ease;
}

.passion-tag:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(183, 108, 253, 0.22);
}

.lego-card {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.lego-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(80, 40, 120, 0.22);
}

.flash {
  animation: flashIn 0.4s var(--ease);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

@keyframes flashIn {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-banner {
  border-radius: 1.25rem;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 48px rgba(61, 53, 80, 0.22);
}

.section {
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

