@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Marcellus&family=Noto+Sans+Gujarati:wght@400;500;600;700&family=Noto+Serif+Gujarati:wght@500;600&display=swap";

:root {
  color-scheme: light;
  --font-sans: "DM Sans", "Noto Sans Gujarati", sans-serif;
  --font-display: "Marcellus", "Noto Serif Gujarati", serif;
  --page-bg: #eef6ff;
  --bg-card: rgba(255, 253, 248, 0.86);
  --panel-muted: rgba(230, 242, 255, 0.72);
  --card-bg-strong: rgba(255, 255, 255, 0.94);
  --border-color: rgba(30, 64, 175, 0.2);
  --line-color: rgba(30, 58, 138, 0.14);
  --text-main: #172554;
  --text-secondary: #334155;
  --text-muted: #5b6b84;
  --accent-primary: #d97706;
  --accent-sky: #0284c7;
  --button-primary-bg: #c2410c;
  --button-primary-text: #fffbeb;
  --button-secondary-bg: rgba(255, 248, 235, 0.94);
  --button-secondary-text: #9a3412;
  --button-secondary-border: rgba(217, 119, 6, 0.34);
  --scrollbar-thumb: rgba(30, 64, 175, 0.28);
  --glass-blur: blur(18px) saturate(135%);
  --glass-shine: rgba(255, 255, 255, 0.88);
  --glass-shadow: 0 12px 32px rgba(23, 37, 84, 0.1), 0 2px 6px rgba(23, 37, 84, 0.05);
}

.dark {
  color-scheme: dark;
  --page-bg: #0b132b;
  --bg-card: rgba(21, 30, 56, 0.86);
  --panel-muted: rgba(30, 41, 69, 0.72);
  --card-bg-strong: rgba(18, 26, 51, 0.95);
  --border-color: rgba(251, 191, 36, 0.28);
  --line-color: rgba(251, 191, 36, 0.17);
  --text-main: #fef3c7;
  --text-secondary: #e2e8f0;
  --text-muted: #9eb0cc;
  --accent-primary: #fbbf24;
  --accent-sky: #38bdf8;
  --button-primary-bg: #f59e0b;
  --button-primary-text: #1e1b4b;
  --button-secondary-bg: rgba(30, 41, 69, 0.88);
  --button-secondary-text: #fde68a;
  --button-secondary-border: rgba(251, 191, 36, 0.36);
  --scrollbar-thumb: rgba(251, 191, 36, 0.35);
  --glass-blur: blur(18px) saturate(125%);
  --glass-shine: rgba(254, 243, 199, 0.1);
  --glass-shadow: 0 14px 34px rgba(3, 7, 18, 0.48), 0 2px 6px rgba(3, 7, 18, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border-color);
  margin: 0;
  padding: 0;
}

*::selection,
::selection {
  background-color: rgba(245, 158, 11, 0.28);
  color: var(--text-main);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse 68% 48% at 14% 0%, rgba(251, 191, 36, 0.28), transparent 68%),
    radial-gradient(ellipse 56% 52% at 92% 10%, rgba(56, 189, 248, 0.26), transparent 72%),
    radial-gradient(ellipse 75% 55% at 52% 100%, rgba(234, 88, 12, 0.12), transparent 72%),
    var(--page-bg);
  min-height: 100dvh;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
  transition: background-color 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

.dark body {
  background:
    radial-gradient(ellipse 72% 52% at 12% 0%, rgba(245, 158, 11, 0.22), transparent 68%),
    radial-gradient(ellipse 58% 54% at 94% 12%, rgba(225, 29, 72, 0.18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(30, 58, 138, 0.32), transparent 72%),
    var(--page-bg);
}

body::before {
  content: "";
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

body::after {
  content: "";
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 6% 24%, rgba(254, 240, 138, 0.9) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 14% 72%, rgba(56, 189, 248, 0.85) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 28% 12%, rgba(251, 146, 60, 0.85) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 77% 18%, rgba(253, 224, 71, 0.9) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 90% 42%, rgba(244, 63, 94, 0.8) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 95% 78%, rgba(253, 224, 71, 0.85) 0 1.2px, transparent 2.4px);
  animation: 7s ease-in-out infinite alternate skySparkle;
  position: fixed;
  inset: 0;
}

.dark body::after {
  opacity: 0.34;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
}

textarea,
input {
  min-width: 0;
}

/* Layout & Shell */
.app-shell {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

.app-container {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  max-width: 1520px;
  padding: 12px 12px 32px;
}

@media (min-width: 640px) {
  .app-container {
    padding-inline: 16px;
  }
}

@media (min-width: 768px) {
  .app-container {
    width: calc(100% - 80px);
  }
}

@media (min-width: 1280px) {
  .app-container {
    width: calc(100% - 112px);
    padding: 12px 24px 32px;
  }
}

/* Header */
.app-header {
  position: relative;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 10px;
  animation: fadeSlideDown 0.38s ease-out both;
}

@media (min-width: 1024px) {
  .app-header {
    margin-bottom: 24px;
  }
}

.header-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .header-grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

.brand-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.gateway-emblem-shell {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--panel-muted);
  overflow: hidden;
}

.header-greeting {
  display: inline-block;
  color: var(--accent-primary);
  font-family: "Noto Serif Gujarati", "Marcellus", serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  animation: 0.65s cubic-bezier(0.2, 0.75, 0.25, 1) both greetingArrive;
}

.app-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: var(--text-main);
}

.app-subtitle {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-scroll {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .nav-scroll {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
    justify-content: center;
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .nav-scroll {
    grid-column: 2 / 3;
    grid-row-start: 1;
    gap: 26px;
  }
}

.nav-link {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .header-actions {
    grid-column-start: 2;
    grid-row-start: 1;
  }
}

@media (min-width: 1024px) {
  .header-actions {
    grid-column-start: 3;
    grid-row-start: 1;
    justify-content: flex-end;
  }
}

/* Header Kite-Bunting Toran Ornament */
.header-ornament {
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 24px;
  position: absolute;
  bottom: -11px;
  left: 50%;
  overflow: visible;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .header-ornament {
    height: 22px;
    bottom: -20px;
  }
}

.header-ornament svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.toran-kite {
  transform-box: fill-box;
  transform-origin: top center;
  animation: 3.1s ease-in-out infinite buntingSway;
}

.toran-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: 2.4s ease-in-out infinite bulbTwinkle;
}

/* Dashboard Main Grid */
.dashboard-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 1280px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 276px;
  }
}

.main-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.sidebar-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .sidebar-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cards & Surfaces */
.surface-card {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  min-width: 0;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-shine), var(--glass-shadow);
  border-radius: 24px;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.compact-card {
  padding: clamp(14px, 1.2vw, 20px);
}

@media (max-width: 767px) {
  .compact-card {
    padding: 14px;
  }
}

.sub-panel {
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--panel-muted);
  padding: 14px;
}

.sub-panel-light {
  border-radius: 20px;
  border: 1px solid var(--line-color);
  background: var(--panel-muted);
  padding: 12px;
}

.section-pill {
  border: 1px solid var(--border-color);
  background: var(--panel-muted);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  width: fit-content;
}

.bilingual-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gu-label {
  color: var(--text-muted);
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Noto Sans Gujarati", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .gu-label {
    font-size: 10px;
  }
}

.festive-display {
  font-family: var(--font-display);
}

/* Buttons */
.button-primary,
.button-secondary,
.button-ghost {
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, transform 0.2s;
  display: inline-flex;
}

@media (max-width: 767px) {
  .button-primary,
  .button-secondary,
  .button-ghost {
    min-height: 44px;
  }
}

.button-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  border: 1px solid rgba(251, 191, 36, 0.42);
  font-weight: 700;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-secondary {
  border: 1px solid var(--button-secondary-border);
  background: var(--button-secondary-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--button-secondary-text);
  font-weight: 600;
}

.button-ghost {
  border: 1px solid var(--line-color);
  background: var(--panel-muted);
  color: var(--text-secondary);
  font-weight: 600;
}

.button-sm {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
  border-radius: 999px;
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Inputs & Textarea */
.field-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.input-shell {
  border: 1px solid var(--border-color);
  background: var(--card-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  color: var(--text-main);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.input-shell:focus {
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 0 0 3px rgba(217, 119, 6, 0.22);
  border-color: rgba(217, 119, 6, 0.72);
  outline: none;
}

.punch-textarea {
  min-height: 98px;
  width: 100%;
  resize: none;
  padding: 12px 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* Overview & Metrics */
.hero-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) 320px;
    align-items: stretch;
  }
}

.metrics-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metric-card {
  min-height: 96px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .metric-card-wide-tablet {
    grid-column: span 2 / span 2;
  }
}

.metric-value {
  letter-spacing: -0.07em;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 3.2vw, 3.6rem);
  font-weight: 600;
  line-height: 0.92;
}

.metric-unit {
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}

.metric-big-clock {
  margin-top: 10px;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
}

.metric-row {
  border-bottom: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 11px;
  display: flex;
}

.metric-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-row-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
}

.metric-row-value {
  letter-spacing: -0.04em;
  color: var(--text-main);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
}

/* Live Clock Pill */
.live-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  background: var(--card-bg-strong);
  padding: 6px 12px;
  width: fit-content;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-primary);
  animation: 2s cubic-bezier(0.4, 0, 0.6, 1) infinite subtlePulse;
}

/* Workspace Section */
.workspace-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

@media (min-width: 1024px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.pause-row {
  border-radius: 16px;
  border: 1px solid var(--line-color);
  background: var(--card-bg-strong);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pause-empty {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px dashed var(--line-color);
  background: var(--card-bg-strong);
  padding: 20px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Interactive Children Flying Kites Stage */
.kite-stage {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line-color);
  overflow: hidden;
  min-height: 260px;
  aspect-ratio: 720 / 410;
  background: linear-gradient(180deg, #38bdf8 0%, #bae6fd 56%, #fef3c7 100%);
  transition: background 0.45s ease;
}

.dark .kite-stage {
  background: linear-gradient(180deg, #090f24 0%, #172554 58%, #31102f 100%);
}

.kite-canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.kite-svg-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.kite-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.kite-action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.wind-select {
  border: 1px solid var(--border-color);
  background: var(--card-bg-strong);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.kite-toast {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 5;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.92);
  color: #fffbeb;
  border: 1px solid rgba(253, 224, 71, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.kite-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Children & Rooftop SVG Animations */
.stage-sun-rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: sunRotate 34s linear infinite;
}

.stage-sun-aura {
  transform-box: fill-box;
  transform-origin: center;
  animation: 4s ease-in-out infinite sunPulse;
}

.stage-child-arm-pull {
  transform-origin: 232px 274px;
  animation: 2.3s ease-in-out infinite armPull;
}

.kite-stage.is-pulling .stage-child-arm-pull {
  animation: 0.45s ease-in-out 2 armPullStrong;
}

.stage-firki {
  transform-origin: 388px 289px;
  animation: 1.6s linear infinite firkiSpin;
}

.kite-stage.is-pulling .stage-firki {
  animation: 0.35s linear infinite firkiSpin;
}

.stage-child-cheer {
  transform-origin: 495px 340px;
  animation: 2s ease-in-out infinite childBounce;
}

.kite-stage.is-celebrating .stage-child-cheer {
  animation: 0.45s ease-in-out 3 childCelebrate;
}

.stage-cloud-a {
  animation: 26s ease-in-out infinite cloudDrift;
}

.stage-cloud-b {
  animation: 32s ease-in-out infinite reverse cloudDrift;
}

.stage-night-stars,
.stage-tukkal-group {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.dark .stage-night-stars,
.dark .stage-tukkal-group {
  opacity: 1;
}

.dark .stage-day-sun,
.dark .stage-day-clouds {
  opacity: 0.16;
  transition: opacity 0.45s ease;
}

.stage-tukkal-a {
  animation: 7s ease-in-out infinite tukkalFloat;
}

.stage-tukkal-b {
  animation: 8.5s ease-in-out infinite 1.4s tukkalFloat;
}

/* 5-Card Progression Strip */
.progression-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
}

@media (max-width: 639px) {
  .progression-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.progression-tile {
  border-radius: 10px;
  border: 1px solid var(--line-color);
  background: var(--card-bg-strong);
  padding: 6px 4px;
}

/* Makar Sankranti Research Almanac */
.research-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.research-tab {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  background: var(--panel-muted);
  color: var(--text-secondary);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.research-tab:hover {
  border-color: var(--accent-primary);
  color: var(--text-main);
}

.research-tab.active {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  border-color: transparent;
}

.research-cards-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

@media (min-width: 768px) {
  .research-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.research-item {
  border-radius: 18px;
  border: 1px solid var(--line-color);
  background: var(--card-bg-strong);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.research-badge {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--panel-muted);
  color: var(--accent-primary);
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Floating Edge Kites (replaces edge-diya) */
.edge-kite {
  z-index: 1;
  pointer-events: none;
  opacity: 0.94;
  filter: drop-shadow(0 5px 12px rgba(217, 119, 6, 0.26));
  width: 82px;
  height: 112px;
  position: fixed;
  animation: 5.2s ease-in-out infinite edgeKiteBob;
}

.edge-kite-left {
  left: 6px;
}

.edge-kite-right {
  right: 6px;
  animation-delay: 1.4s;
}

.edge-kite-a {
  top: 23vh;
}

.edge-kite-b {
  top: 66vh;
  animation-delay: 2.3s;
}

.edge-kite-tail {
  transform-box: fill-box;
  transform-origin: top center;
  animation: 2.2s ease-in-out infinite kiteTailWave;
}

@media (max-width: 767px) {
  .edge-kite {
    opacity: 0.78;
    width: 48px;
    height: 66px;
  }
  .edge-kite-left {
    left: -10px;
  }
  .edge-kite-right {
    right: -10px;
  }
  .edge-kite-a {
    top: 17vh;
  }
  .edge-kite-b {
    top: 80vh;
  }
}

@media (min-width: 1536px) {
  .edge-kite-left {
    left: max(6px, calc(25vw - 420px));
  }
  .edge-kite-right {
    right: max(6px, calc(25vw - 420px));
  }
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

/* 404 Page */
.notfound-main {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.notfound-card {
  width: 100%;
  max-width: 520px;
  padding: 36px 28px;
  text-align: center;
}

/* Keyframes */
@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

@keyframes skySparkle {
  0% { opacity: 0.12; }
  100% { opacity: 0.28; }
}

@keyframes greetingArrive {
  0% { opacity: 0; transform: translateY(5px) rotate(-2deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes fadeSlideDown {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes buntingSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes bulbTwinkle {
  0%, 100% { opacity: 0.72; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes edgeKiteBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes kiteTailWave {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(9deg); }
}

@keyframes armPull {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  45% { transform: rotate(-8deg) translate(-3px, 2px); }
  75% { transform: rotate(4deg) translate(2px, -2px); }
}

@keyframes armPullStrong {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(-17deg) translate(-7px, 5px); }
}

@keyframes firkiSpin {
  0% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(180deg) scaleY(0.88); }
  100% { transform: rotate(360deg) scaleY(1); }
}

@keyframes childBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes childCelebrate {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-11px) scale(1.03); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(-18px); }
  50% { transform: translateX(22px); }
}

@keyframes sunRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sunPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes tukkalFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-16px) translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}