/* === Global === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Disable image dragging */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

:root {
  --bg: #020617;
  --bg-soft: #020819;
  --bg-card: #020617;
  --border: #1e293b;
  --accent: #34d399;
  --accent-soft: #065f46;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #020617 100%);
  color: var(--text-main);
}

/* === Layout === */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

section {
  margin-top: 64px;
}

/* === Navbar === */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

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

.nav-logo {
  width: 40px;
  height: 40px;
  box-shadow: rgba(15, 23, 42, 0.85) 0px 14px 30px;
  display: block;
  border-radius: 18px;
}

.nav-logo-wrap {
  padding: 3px;
  border-radius: 24px;
  background: radial-gradient(
    circle at center top,
    rgb(34, 197, 94),
    rgb(15, 23, 42) 72%
  );
}

.nav-title {
  font-size: 1rem;
  font-weight: 600;
}

.nav-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.8rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Minimal header for legal pages */
.navbar-legal {
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Remove hover underline on the left brand link */
.nav-home-link {
  text-decoration: none;
  color: inherit;
}

.btn-back {
  font-size: 0.8rem;
  padding: 6px 14px;
}

/* === Mobile nav / Hamburger === */

.nav-toggle {
  display: none; /* shown only on small screens */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.12s ease, opacity 0.12s ease;
}

/* Simple "X" animation when open */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px; /* Consistent spacing between items */
  margin-top: 8px;
  padding: 16px; /* More breathing room */
  border-radius: 18px;
  background: #111827; /* Darker background */
  border: 1px solid var(--border);
  font-size: 0.95rem; /* Slightly larger text */
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* 1. Transform text links into "Menu Items" */
.nav-mobile a:not(.btn) {
  display: block;
  width: 100%;
  padding: 12px 16px; /* Big clickable area */
  border-radius: 12px; /* Matches Dashboard look */
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover Effect for Links */
.nav-mobile a:not(.btn):hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(4px); /* The slide effect */
}

/* 2. Fix the Buttons (Dashboard/Add Pebble) inside the menu */
.nav-mobile .btn {
  width: 100%; /* Force full width */
  justify-content: flex-start; /* Align text to the left */
  border-radius: 12px; /* Match the links (less pill-shaped) */
  padding: 12px 16px; /* Match link padding */
  margin-top: 4px;
}

/* Special tweak for the badges inside buttons so they don't look weird */
.nav-mobile .btn .badge-tier {
  margin-left: auto; /* Push badge to the far right */
}

.nav-mobile hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* When open (toggled via JS) */
.nav-mobile.open {
  display: flex;
}

/* === Buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.08s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #020617;
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(52, 211, 153, 0.3);
}

.btn-primary:hover {
  background: #6ee7b7;
  border-color: #6ee7b7;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: #64748b;
}

/* Dashboard badge + button */

.btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding-inline: 14px;
}

.badge-tier {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0; /* pale green */
}

/* === Hero === */

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative; /* for seasonal particles (::before) */
}

/* top row: copy + mini feature panel */

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-copy {
  max-width: 40rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #a7f3d0;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 16px 0 10px;
}

.hero-title span {
  color: #6ee7b7;
}

.hero-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* right-hand hero feature panel */

.hero-feature-panel {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
}

.hero-feature-card {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.07), transparent 55%);
}

.hero-feature-card + .hero-feature-card {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
}

.hero-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.6);
  flex-shrink: 0;
}

.hero-feature-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-feature-title {
  font-weight: 600;
  font-size: 0.8rem;
}

.hero-feature-text {
  color: var(--text-muted);
}

/* bottom row: illustration + message card */

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* anchor for Pebble toast */
}

.hero-illustration-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-illustration-img:hover {
  transform: translateY(-2px);
}

/* card on the right */

.hero-card-wrapper {
  position: relative;
}

.hero-card-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at top, rgba(52, 211, 153, 0.25), transparent 60%);
  filter: blur(10px);
  opacity: 0.5;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  padding: 18px;
  font-size: 0.8rem;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-card-profile {
  width: 40px;
  height: 40px;
  border-radius: 18px;
}

.hero-card-badge {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.hero-bubble {
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1f2937;
  margin-bottom: 10px;
}

.hero-bubble-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-bubble-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* === Seasonal theming & Pebble Easter Egg === */

/* Pebble toast floating upwards near cupcake */
.pebble-toast {
  position: absolute;

  /* tweak as needed – this is near the cupcake */
  left: 85%;
  top: 42%;

  transform: translate(-50%, 20px);   /* start slightly below */
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-main);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;

  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  z-index: 3;
}

.pebble-toast.visible {
  opacity: 1;
  transform: translate(-50%, -32px);  /* floats UP like Mario coin */
}

/* Hero particle layer (snow/petals/leaves/sparkles) */
/* Seasonal glows for Pebble hero art & card */

/* WINTER: cooler, icy glow */
body.season-winter .hero-illustration-img {
  filter: drop-shadow(0 22px 45px rgba(59, 130, 246, 0.7));
}

body.season-winter .hero-card-glow {
  background: radial-gradient(
    circle at top,
    rgba(59, 130, 246, 0.4),
    transparent 60%
  );
}

/* AUTUMN: warm orange glow */
body.season-autumn .hero-illustration-img,
body.season-halloween .hero-illustration-img {
  filter: drop-shadow(0 22px 45px rgba(248, 113, 113, 0.7));
}

body.season-autumn .hero-card-glow {
  background: radial-gradient(
    circle at top,
    rgba(251, 146, 60, 0.35),
    transparent 60%
  );
}

body.season-halloween .hero-card-glow {
  background: radial-gradient(
    circle at top,
    rgba(251, 146, 60, 0.4),
    transparent 60%
  );
}

/* SPRING: gentle greenish-teal */
body.season-spring .hero-illustration-img {
  filter: drop-shadow(0 22px 45px rgba(45, 212, 191, 0.7));
}

body.season-spring .hero-card-glow {
  background: radial-gradient(
    circle at top,
    rgba(52, 211, 153, 0.35),
    transparent 60%
  );
}

/* SUMMER: golden sunlight glow */
body.season-summer .hero-illustration-img {
  filter: drop-shadow(0 22px 45px rgba(255, 196, 0, 0.75))
          drop-shadow(0 30px 55px rgba(255, 150, 0, 0.45));
}

body.season-summer .hero-card-glow {
  background: radial-gradient(
    circle at top,
    rgba(255, 205, 0, 0.45),
    rgba(255, 160, 0, 0.25),
    transparent 65%
  );
}

/* Halloween: pumpkin-y hero CTA */
body.season-halloween .hero-cta .btn-primary {
  background: linear-gradient(135deg, #f97316, #b45309);
  border-color: #b45309;
  color: #020617;
  box-shadow: 0 14px 35px rgba(248, 113, 22, 0.7);
}

body.season-halloween .hero-cta .btn-primary:hover {
  filter: brightness(1.05);
}

/* Respect reduced motion preferences for seasonal animations */
@media (prefers-reduced-motion: reduce) {
  .hero-particle {
    animation: none !important;
  }

  .hero-illustration-img {
    transition: none;
  }

  .pebble-toast {
    transition: none;
  }
}

/* === Section headings === */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.section-header--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.section-title {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
}

.section-title-emoji {
  margin-right: 6px;
  font-size: 1.2rem;
}

.section-subtitle {
  margin-top: 0;
  font-size: 1.0rem;
  color: var(--text-muted);
}

.section-divider {
  margin: 56px auto 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.section-divider img {
  max-width: 260px;
  width: 70%;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 16px 36px rgba(15, 23, 42, 0.95));
}

/* === Cards & grids === */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-3-tight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 18px;
  font-size: 0.85rem;
}

/* feature card header with icon */
.card-feature-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
  transform: translateY(1px);
}

.card-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.card h3 {
  margin: 0;
  font-size: 1rem;
}

.card p {
  margin: 8px 0 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  font-size: 0.78rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Game cards */

.game-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

/* === Pricing === */

.pricing-card {
  background: rgba(15, 23, 42, 0.93);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 18px 18px 20px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.pricing-card-titlegroup h3 {
  margin: 0 0 2px;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.pricing-price-note {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(55, 65, 81, 0.95);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 8px 0 12px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--text-main);
}

.pricing-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: #022c22;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Little pill for dashboard hint in pricing */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
  border: 1px solid var(--border);
}

.pill-dashboard {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
}

/* featured / MOST POPULAR card */
.pricing-card--featured {
  border-color: #34d399;
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.22), rgba(15, 23, 42, 0.98));
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.35),
    0 22px 50px rgba(22, 163, 74, 0.55);
}

.pricing-card--featured .btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #16a34a;
  color: #022c22;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.7);
}

.pricing-card--featured .btn-primary:hover {
  filter: brightness(1.05);
}

/* nested list under "Dashboard – coming soon" */
.pricing-card ul ul.pricing-sublist {
  margin-top: 4px;
  margin-left: 16px;
}

.pricing-card ul ul.pricing-sublist li {
  font-size: 0.78rem;
  color: var(--text-main);
}

/* === Commands === */

.commands-dl {
  margin: 0;
  padding: 0;
}

.commands-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.commands-row dt {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  color: #6ee7b7;
}

.commands-dl dt.admin-command {
  color: #7dd3fc;
}

/* === FAQ === */

.faq-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

.faq-hero img {
  width: 260px;
  height: 260px;
  border-radius: 22px;
  object-fit: cover;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  padding: 14px;
  font-size: 0.8rem;
}

.faq-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.faq-card p {
  margin: 0;
  color: var(--text-muted);
}

/* === Footer === */

.footer {
  border-top: 1px solid #111827;
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.75rem;
  color: var(--text-soft);
  position: relative;
  overflow: visible;
}

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

/* Force consistent footer logo size on all pages */
.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0,0,0,0.45);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-weight: 600;
  color: var(--text-main);
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Footer snow cap in winter */
body.season-winter .footer {
  position: relative;
  overflow: visible; /* allow snow to extend upward */
}

body.season-winter .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;          /* adjust to sit nicely on the footer border */
  height: 56px;        /* approximate height of the snow image */
  background-image: url("assets/seasonal/snow_footer.png");
  background-repeat: repeat-x;
  background-size: contain;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.55));
  pointer-events: none;
  z-index: 1;
}

/* Mobile: stack footer cleanly */
@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    padding-top: 4px;
  }
}

/* Legal page lists – restore indentation */
.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* === Utility === */

.text-muted {
  color: var(--text-muted);
}

.chip {
  font-size: 0.7rem;
  color: var(--text-soft);
}

/* === Scroll-to-top button === */

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.85);
  cursor: pointer;
  z-index: 50;
  transition:
    background 0.12s ease,
    color 0.12s ease,
    transform 0.1s ease,
    box-shadow 0.12s ease,
    opacity 0.12s ease;
}

.scroll-top-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.scroll-top-btn:hover {
  background: #22c55e;
  color: #020617;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .scroll-top-btn {
    bottom: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* === Responsive === */

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none; /* hide desktop buttons on mobile */
  }

  .btn-back {
    display: none;
  }

  .nav-toggle {
    display: flex; /* show hamburger */
    margin-left: auto;
  }

  section {
    margin-top: 48px;
  }

  .hero-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-hero {
    margin-bottom: 16px;
  }

  .faq-hero img {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-3-tight,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature-panel {
    font-size: 0.76rem;
  }

  .btn-back {
    display: none;
  }
}

/* === Winter-only hero snow particles === */

/* Clear old effect */
.hero::before,
.hero::after {
  display: none !important;
}

/* Container for particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  display: none; /* default: off */
}

/* Enable particles ONLY in winter */
body.season-winter .hero-particles {
  display: block;
}

/* Base particle style */
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0.85;
  animation: snowFall var(--fall-speed) linear infinite;
}

/* === Seasonal coloring === */
body.season-winter .hero-particle {
  background: rgba(255, 255, 255, 0.85);
}

/* === Movement Animations === */

@keyframes snowFall {
  from {
    transform: translate(-4px, -50px);
  }
  to {
    transform: translate(4px, 650px);
  }
}
