:root {
  --c-primary: #a5d6ff;
  --c-secondary: #dcedc8;
  --c-accent: #ffe082;
  --c-bg: #ffffff;
  --c-text: #333;
  --c-card-bg: rgba(255, 255, 255, 0.85);
  --c-fairy1: #fbc2eb;
  --c-fairy2: #a6c1ee;
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', sans-serif; background: var(--c-bg); color: var(--c-text); line-height: 1.6; }

/* Title smaller + colorful */
.site-title-top {
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}
.site-title-top h1 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #7bb0ff, #ff9bd2, #8de3c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

/* Header centered; make it a positioning context */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.75rem 0.75rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
}

/* Hamburger: always visible top-left */
.hamburger {
  position: absolute;
  left: 8px;
  top: calc(0.5rem + 2px);
  background: none;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 1.2rem;
  color: var(--c-text);
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, background 0.2s;
}
.hamburger:hover { transform: scale(1.06); background: rgba(0,0,0,0.03); }

/* Centered nav links */
.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
}
.nav-tabs a {
  font-size: 0.95rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--c-text);
  transition: background 0.2s, color 0.2s;
}
.nav-tabs a:hover { background: var(--c-secondary); }

/* Dropdown menu anchored under the hamburger */
.dropdown-menu {
  position: absolute;
  top: 44px;
  left: 8px;
  z-index: 60;
  background: var(--c-bg);
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  gap: 0.35rem;
  min-width: 180px;
}
.dropdown-menu a {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--c-text);
  font-size: 0.95rem;
}
.dropdown-menu a:hover { background: var(--c-secondary); }

/* Hero */
.fairy-bg { background: linear-gradient(135deg, var(--c-fairy1), var(--c-fairy2)); color: #fff; }
.hero { text-align: center; padding: 2rem 1rem; }
.hero h2 { font-size: 2rem; margin-bottom: 0.4rem; }
.hero .subline { font-size: 1.05rem; margin-bottom: 0.8rem; }
.hero blockquote { font-style: italic; opacity: 0.9; }

/* Cards smaller & cute */
.cards { display: grid; gap: 0.9rem; padding: 1rem; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(6, 1fr); } }
.card {
  background: var(--c-card-bg);
  border-radius: 12px;
  padding: 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.card .icon { font-size: 1.7rem; margin-bottom: 0.45rem; }
.card h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.card p { font-size: 0.9rem; color: #555; }

/* Featured */
.featured { padding: 1rem; }
.featured h2 { text-align: center; margin-bottom: 0.6rem; }
.feature-grid { display: grid; gap: 0.9rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  background: var(--c-card-bg);
  border-radius: 12px;
  padding: 0.7rem;
  box-shadow: var(--shadow-soft);
}
.feature-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.85rem; }
.feature-card iframe { height: 140px; }

/* Hanif Today centered */
.center-note {
  max-width: 520px;
  margin: 1rem auto;
  text-align: center;
}
.sticky-note {
  background: var(--c-accent);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  font-family: 'Segoe Script', cursive;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--c-primary);
  color: #fff;
}
.name-tag { font-weight: 700; margin-bottom: 0.4rem; }
.social-links a { margin: 0 0.5rem; font-size: 1.2rem; color: #fff; }
#back-to-top {
  display: inline-block; margin-top: 0.5rem; font-size: 1.2rem;
  opacity: 0; transition: transform 0.2s, opacity 0.3s;
}
#back-to-top:hover { transform: translateY(-3px); }
/* Force the hidden attribute to actually hide the menu */
.dropdown-menu { display: none; }
.dropdown-menu[hidden] { display: none !important; }
.dropdown-menu:not([hidden]) { display: flex; }

/* Keep it above everything and anchored to top-left */
.dropdown-menu {
  position: absolute;
  top: 44px;      /* adjust if needed to sit under the hamburger */
  left: 8px;
  z-index: 9999;
}
/* 1️⃣ Force [hidden] to hide in all browsers */
[hidden] {
  display: none !important;
}

/* 2️⃣ Smooth fade for dropdown menu */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; /* prevent clicks when hidden */
}
.dropdown-menu:not([hidden]) {
  display: flex; /* or block if you prefer */
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 3️⃣ Smaller, cute feature cards — 6 across on large screens */
.cards {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}
@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(6, 1fr);
  }
}
.card {
  background: var(--c-card-bg);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.card p {
  font-size: 0.8rem;
  color: #555;
}
/* 1️⃣ Force [hidden] to hide in all browsers */
[hidden] {
  display: none !important;
}

/* 2️⃣ Smooth fade for dropdown menu */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; /* prevent clicks when hidden */
}
.dropdown-menu:not([hidden]) {
  display: flex; /* or block if you prefer */
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 3️⃣ Smaller, cute feature cards — 6 across on large screens */
.cards {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}
@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(6, 1fr);
  }
}
.card {
  background: var(--c-card-bg);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.card p {
  font-size: 0.8rem;
  color: #555;
}
/* Featured (scoped so it applies reliably on homepage) */
.featured {
  padding: 1rem;
}
.featured h2 {
  text-align: center;
  margin-bottom: 0.6rem;
}

/* 6 small, calm cards: 1 col (mobile), 3 cols (tablet), 6 cols (wide) */
.featured .feature-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .featured .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .featured .feature-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.featured .feature-card {
  background: var(--c-card-bg, rgba(255,255,255,0.85));
  border-radius: 10px;
  padding: 0.6rem;
  text-decoration: none;
  color: var(--c-text, #333);
  box-shadow: var(--shadow-soft, 0 4px 12px rgba(0,0,0,0.1));
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 160px;
}
.featured .feature-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.featured .feature-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.featured .feature-card p {
  font-size: 0.82rem;
  color: #555;
}
.featured .feature-card .feature-media {
  border-radius: 8px;
  overflow: hidden;
}
.featured .feature-card iframe {
  width: 100%;
  height: 120px;
  display: block;
  border: 0;
}

/* Small, gentle button chip */
.featured .feature-card .btn {
  align-self: start;
  margin-top: auto;
  font-size: 0.8rem;
  padding: 0.28rem 0.55rem;
  background: var(--c-primary, #a5d6ff);
  color: #fff;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.featured .feature-card:hover .btn {
  background: var(--c-secondary, #dcedc8);
  color: var(--c-text, #333);
}
/* Featured section */
.featured {
  padding: 1rem;
}

/* Toggle button style */
.feature-toggle {
  display: none; /* hidden on desktop by default */
  width: 100%;
  text-align: left;
  background: var(--c-primary, #a5d6ff);
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.feature-toggle .arrow {
  float: right;
  transition: transform 0.25s ease;
}
.feature-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Feature grid default */
.feature-grid {
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile dropdown behaviour */
@media (max-width: 599px) {
  .feature-toggle {
    display: block;
    margin-bottom: 0.5rem;
  }
  .feature-grid {
    display: none; /* hidden by default on mobile */
  }
  .feature-grid.open {
    display: grid;
    grid-template-columns: 1fr;
  }
}
/* Featured section */
.featured {
  padding: 1rem;
}

/* Toggle button style */
.feature-toggle {
  display: none; /* hidden on desktop by default */
  width: 100%;
  text-align: left;
  background: var(--c-primary, #a5d6ff);
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.feature-toggle .arrow {
  float: right;
  transition: transform 0.25s ease;
}
.feature-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Feature grid default */
.feature-grid {
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile dropdown behaviour */
@media (max-width: 599px) {
  .feature-toggle {
    display: block;
    margin-bottom: 0.5rem;
  }
  .feature-grid {
    display: none; /* hidden by default on mobile */
  }
  .feature-grid.open {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Feature card styling */
.feature-card {
  background: var(--c-card-bg, rgba(255,255,255,0.85));
  border-radius: 10px;
  padding: 0.6rem;
  text-decoration: none;
  color: var(--c-text, #333);
  box-shadow: var(--shadow-soft, 0 4px 12px rgba(0,0,0,0.1));
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 160px;
}
.feature-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.feature-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.feature-card p {
  font-size: 0.82rem;
  color: #555;
}
.feature-card .feature-media {
  border-radius: 8px;
  overflow: hidden;
}
.feature-card iframe {
  width: 100%;
  height: 120px;
  display: block;
  border: 0;
}
.feature-card .btn {
  align-self: start;
  margin-top: auto;
  font-size: 0.8rem;
  padding: 0.28rem 0.55rem;
  background: var(--c-primary, #a5d6ff);
  color: #fff;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.feature-card:hover .btn {
  background: var(--c-secondary, #dcedc8);
  color: var(--c-text, #333);
}
/* Mobile-only collapsible Featured (override any earlier rules) */
@media (max-width: 599px) {
  /* Show the toggle button on mobile */
  .feature-toggle {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--c-primary, #a5d6ff);
    color: #fff;
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0.5rem;
  }
  .feature-toggle .arrow {
    float: right;
    transition: transform 0.25s ease;
  }
  .feature-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }

  /* Keep grid layout but collapse it smoothly */
  .featured .feature-grid {
    display: grid;                  /* keep grid so columns work */
    grid-template-columns: 1fr;     /* single column on mobile */
    overflow: hidden;
    max-height: 0;                  /* collapsed */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }
  .featured .feature-grid.open {
    max-height: 2000px;             /* large enough for all cards */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
/* ===== 1. Full-page colourful gradient background ===== */
body {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee, #f6d365, #fda085);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Smooth gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== 2. Baby pink gradient header ===== */
.main-header {
  background: linear-gradient(90deg, #ffdde1, #ee9ca7);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Keep header gradient on mobile too */
@media (max-width: 599px) {
  .main-header {
    background: linear-gradient(90deg, #ffdde1, #ee9ca7);
  }
}

/* ===== 3. Title text with gradient fill ===== */
.site-title-top h1 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff758c, #ff7eb3, #fad0c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

/* ===== 4. Subtle fireworks sparkle effect ===== */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.6) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 200px 200px, 150px 150px, 100px 100px;
  animation: sparkleMove 20s linear infinite;
  z-index: 0;
}

@keyframes sparkleMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 200px 200px, 150px 150px, 100px 100px; }
}

/* Ensure content stays above the sparkle layer */
header, main, footer {
  position: relative;
  z-index: 1;
}
/* Hanif's World title — baby pink gradient + 3D effect */
.site-title-top h1 {
  font-size: 1.6rem;                /* keep size balanced */
  font-weight: 800;
  text-align: center;

  /* Baby pink gradient fill */
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffe4e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* 3D layered shadow */
  text-shadow:
    0 1px 0 #fff,                                /* subtle top highlight */
    0 2px 2px rgba(255, 182, 193, 0.6),          /* soft pink shadow */
    0 4px 4px rgba(255, 182, 193, 0.4),          /* deeper shadow */
    0 6px 6px rgba(255, 182, 193, 0.25);         /* faint base shadow */

  /* Gentle glow */
  filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.3));

  /* Smooth hover lift */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-title-top h1:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.5));
}
.site-title-top h1 {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffe4e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* 3D effect */
  text-shadow:
    0 1px 0 #fff,
    0 2px 4px rgba(255, 182, 193, 0.5),
    0 4px 8px rgba(255, 182, 193, 0.3);

  /* Optional glow */
  filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.4));
  transition: transform 0.3s ease;
}

.site-title-top h1:hover {
  transform: scale(1.03);
}
/* Hanif's World title — baby pink gradient + 3D + shimmer */
.site-title-top h1 {
  font-size: 1.65rem; /* ~3% bigger */
  font-weight: 800;
  text-align: center;

  /* Slight horizontal stretch */
  display: inline-block;
  transform: scaleX(1.03);
  transform-origin: center;

  /* Baby pink gradient fill with shimmer */
  background: linear-gradient(
    90deg,
    #ffb6c1,
    #ffc0cb,
    #ffe4e1,
    #ffc0cb,
    #ffb6c1
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerMove 6s linear infinite;

  /* 3D layered shadow */
  text-shadow:
    0 1px 0 #fff,
    0 2px 2px rgba(255, 182, 193, 0.6),
    0 4px 4px rgba(255, 182, 193, 0.4),
    0 6px 6px rgba(255, 182, 193, 0.25);

  /* Gentle glow */
  filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.3));

  /* Smooth hover lift */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-title-top h1:hover {
  transform: scaleX(1.03) scale(1.03);
  filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.5));
}

/* Shimmer animation */
@keyframes shimmerMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Hanif's World title — bigger, stretched, full gradient fill */
.site-title-top h1 {
  font-size: 1.65rem; /* ~3% bigger than before */
  font-weight: 800;
  text-align: center;

  /* Stretch horizontally */
  display: inline-block;
  transform: scaleX(1.03); /* 3% wider */
  transform-origin: center;

  /* Baby pink gradient fill (full coverage) */
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffe4e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* 3D layered shadow */
  text-shadow:
    0 1px 0 #fff,
    0 2px 2px rgba(255, 182, 193, 0.6),
    0 4px 4px rgba(255, 182, 193, 0.4),
    0 6px 6px rgba(255, 182, 193, 0.25);

  /* Gentle glow */
  filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.3));

  /* Smooth hover lift */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-title-top h1:hover {
  transform: scaleX(1.03) scale(1.03); /* keep stretch + enlarge slightly */
  filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.5));
}


/* =========================================================
   🌸 Magical Theme — Shimmer + Pulse + Baby Pink Gradient
   Apply to: titles, nav links, buttons, icons, toggles
   ========================================================= */

/* Base shimmer gradient style */
.magical-shimmer {
  background: linear-gradient(
    90deg,
    #ffb6c1,
    #ffc0cb,
    #ffe4e1,
    #ffc0cb,
    #ffb6c1
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  animation: shimmerMove 6s linear infinite;

  /* Performance & crispness */
  will-change: background-position, transform, filter, text-shadow;
  -webkit-font-smoothing: antialiased;
}

/* Optional 3D shadow + glow */
.magical-3d {
  text-shadow:
    0 1px 0 #fff,
    0 2px 2px rgba(255, 182, 193, 0.6),
    0 4px 4px rgba(255, 182, 193, 0.4),
    0 6px 6px rgba(255, 182, 193, 0.25);
  filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.3));
}

/* Pulse effect for active/open states */
.magical-pulse {
  animation: shimmerMove 6s linear infinite, pulseGlow 1.8s ease-in-out infinite;
}

/* Hover lift effect */
.magical-hover:hover {
  transform: translateY(-2px) scale(1.03);
  text-shadow: 0 0 6px rgba(255, 182, 193, 0.5);
}

/* ===== Animations ===== */
@keyframes shimmerMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    text-shadow: 0 0 4px rgba(255, 182, 193, 0.3);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(255, 182, 193, 0.6);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 4px rgba(255, 182, 193, 0.3);
  }
}
.distinctive-boxes {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 1rem;
}

.d-box {
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.d-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.d-box .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.d-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--c-text);
}

.d-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}
/* Pretty gradient button */
.send-btn {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  border: none;
  color: #fff;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 28px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}

.send-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.send-btn:active:not(:disabled) {
  transform: translateY(0);
}

.send-btn:disabled {
  opacity: 0.8;
  cursor: default;
}

/* Loading animation */
.send-btn.loading {
  background: linear-gradient(270deg, #ff9a9e, #fad0c4, #ffdde1);
  background-size: 400% 400%;
  animation: btnGradientShift 1.6s ease infinite;
}

@keyframes btnGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sparkle overlay while loading */
.send-btn.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(transparent 60%, rgba(255,255,255,0.18) 62%) 0 0/10px 10px,
              radial-gradient(transparent 60%, rgba(255,255,255,0.12) 62%) 5px 5px/12px 12px;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Status text */
.send-status {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #2e7d32;
  min-height: 1.2em;
}
.send-status.error {
  color: #c62828;
}
/* Gentle glow effect for success state */
.send-btn.glow {
  animation: glowPulse 1.8s ease-in-out 2;
  box-shadow: 0 0 12px rgba(255, 182, 193, 0.7), 0 0 24px rgba(255, 182, 193, 0.5);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 6px rgba(255, 182, 193, 0.4), 0 0 12px rgba(255, 182, 193, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 182, 193, 0.8), 0 0 32px rgba(255, 182, 193, 0.6);
  }
  100% {
    box-shadow: 0 0 6px rgba(255, 182, 193, 0.4), 0 0 12px rgba(255, 182, 193, 0.3);
  }
}


