/* Live Nepal clock hero */
.hero-time-panel {
  position: relative;
  min-height: 565px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .78);
  border-radius: 34px 34px 120px 34px;
  background: #4b9cac;
  box-shadow: 0 28px 70px rgba(47, 70, 78, .2);
  isolation: isolate;
}

.water-motion {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url('/images/ocean-water-background.png');
  background-position: center;
  background-size: cover;
  animation: water-drift 18s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

.water-shimmer {
  position: absolute;
  inset: -20%;
  z-index: -2;
  opacity: .48;
  background:
    radial-gradient(ellipse at 34% 28%, rgba(255, 255, 255, .65), transparent 28%),
    repeating-radial-gradient(ellipse at 40% 55%, rgba(255, 255, 255, .18) 0 2px, transparent 4px 21px),
    linear-gradient(115deg, rgba(255, 244, 229, .42), rgba(12, 76, 104, .28));
  mix-blend-mode: screen;
  animation: water-shimmer 11s linear infinite alternate;
}

.hero-time-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 248, 239, .78), rgba(255, 246, 236, .42) 46%, rgba(25, 75, 92, .22));
}

@keyframes water-drift {
  0% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); background-position: 44% 48%; }
  45% { transform: scale(1.13) translate3d(1%, .8%, 0); background-position: 52% 44%; }
  100% { transform: scale(1.09) translate3d(-.5%, 1.5%, 0); background-position: 57% 53%; }
}

@keyframes water-shimmer {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1deg); }
  to { transform: translate3d(3%, 2%, 0) rotate(1deg); }
}

.hero-time-panel .nepal-flag-chip {
  top: 17px;
  right: 18px;
  background: rgba(22, 58, 73, .66);
}

.culture-time-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 570px;
  height: 570px;
  transform: translate(-50%, -50%);
}

.time-orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(92, 53, 38, .72);
  stroke-width: 2.2;
  stroke-dasharray: 9 9;
}

.time-orbit-lines circle {
  fill: #965d43;
  stroke: rgba(255, 255, 255, .86);
  stroke-width: 4;
  stroke-dasharray: 0;
}

.live-clock-face {
  position: absolute;
  z-index: 3;
  left: 45px;
  top: 164px;
  width: 242px;
  height: 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 26px solid rgba(255, 255, 255, .78);
  border-top-color: rgba(182, 31, 54, .86);
  border-right-color: rgba(206, 105, 47, .9);
  border-bottom-color: rgba(92, 61, 51, .82);
  border-radius: 50%;
  color: #272830;
  background: rgba(255, 250, 244, .94);
  box-shadow: 0 18px 42px rgba(45, 67, 74, .21), 0 0 0 1px rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.live-clock-face::before {
  content: "";
  position: absolute;
  inset: -43px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(255, 255, 255, .12);
}

.clock-brand-mark {
  color: var(--nepal-red);
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 39px;
  font-weight: 900;
  line-height: .9;
}

.live-clock-face > small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
}

.live-clock-face > strong {
  margin-top: 8px;
  color: #263a45;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 25px;
  letter-spacing: .02em;
  line-height: 1;
}

.live-clock-face > em {
  margin-top: 5px;
  color: var(--nepal-red);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.clock-date {
  margin-top: 5px;
  color: #79716d;
  font-size: 7px;
  font-weight: 800;
}

.time-orbit-card {
  position: absolute;
  z-index: 4;
  right: 10px;
  width: 238px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 15px 6px 6px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 40px;
  color: #fff;
  background: linear-gradient(100deg, rgba(192, 76, 33, .91), rgba(223, 112, 54, .88));
  box-shadow: 0 12px 26px rgba(70, 42, 34, .19);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, filter .2s ease;
}

.time-orbit-card.two { background: linear-gradient(100deg, rgba(163, 80, 51, .92), rgba(191, 95, 55, .88)); }
.time-orbit-card.three { background: linear-gradient(100deg, rgba(139, 88, 60, .94), rgba(170, 105, 64, .9)); }
.time-orbit-card.four { background: linear-gradient(100deg, rgba(107, 72, 61, .94), rgba(139, 91, 65, .9)); }
.time-orbit-card.five { background: linear-gradient(100deg, rgba(74, 63, 58, .94), rgba(111, 75, 59, .9)); }

.time-orbit-card:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateX(-5px);
}

.time-orbit-card > span {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: #bc5426;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(185, 99, 58, .2);
  font-size: 17px;
  font-weight: 900;
}

.time-orbit-card div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.time-orbit-card strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-orbit-card small {
  color: rgba(255,255,255,.76);
  font-size: 8px;
}

.time-orbit-card.one { top: 44px; }
.time-orbit-card.two { top: 141px; }
.time-orbit-card.three { top: 238px; }
.time-orbit-card.four { top: 335px; }
.time-orbit-card.five { top: 432px; }

/* Global culture map */
.world-culture-section {
  position: relative;
  overflow: hidden;
  background: #f7f7f9;
}

.world-culture-section::before {
  content: "";
  position: absolute;
  left: -180px;
  top: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(182, 31, 54, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.32), 0 0 0 170px rgba(35,79,115,.025);
}

.world-explorer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(310px, .72fr) minmax(650px, 1.55fr);
  gap: 26px;
  padding: 26px;
  border: 1px solid #e2e5eb;
  border-radius: 34px;
  background: rgba(251, 251, 253, .96);
  box-shadow: 0 24px 70px rgba(36, 49, 78, .08);
}

.world-explorer-copy {
  align-self: center;
  padding: 36px 12px 36px 10px;
}

.world-explorer-copy h2 {
  margin: 20px 0 14px;
  color: #202435;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.03em;
}

.world-explorer-copy > p {
  color: #72798a;
  font-size: 16px;
  line-height: 1.8;
}

.world-explorer-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 26px;
  color: #747b88;
  font-size: 11px;
  font-weight: 800;
}

.world-explorer-key > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.marker-key {
  width: 12px;
  height: 12px;
  border: 3px solid rgba(220, 56, 84, .22);
  border-radius: 50%;
  background: #dc3854;
  box-shadow: 0 0 0 4px rgba(220,56,84,.1);
}

.drag-key {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--nepal-blue);
  background: #e9eef1;
  font-style: normal;
}

.globe-stage {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid #26334c;
  border-radius: 28px;
  color: #edf3ff;
  background: radial-gradient(circle at 24% 35%, #1a2843 0, #0f182d 40%, #090f1e 100%);
  transition: background .3s ease, color .3s ease;
}

.globe-stage[data-globe-theme-state="day"] {
  color: #203747;
  background: radial-gradient(circle at 26% 30%, #eef8f7 0, #b8d8dd 40%, #769daf 100%);
}

.globe-orbits,
.globe-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-orbits i {
  position: absolute;
  left: -9%;
  width: 118%;
  height: 34%;
  border: 1px solid rgba(146, 174, 218, .2);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.globe-orbits i:nth-child(1) { top: 7%; }
.globe-orbits i:nth-child(2) { top: 34%; transform: rotate(8deg); }
.globe-orbits i:nth-child(3) { top: 61%; transform: rotate(-13deg); }

.globe-stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 7px rgba(255,255,255,.55);
}

.globe-stars i:nth-child(1) { left: 8%; top: 16%; }
.globe-stars i:nth-child(2) { left: 17%; top: 71%; }
.globe-stars i:nth-child(3) { left: 30%; top: 8%; }
.globe-stars i:nth-child(4) { left: 44%; top: 81%; }
.globe-stars i:nth-child(5) { left: 57%; top: 12%; }
.globe-stars i:nth-child(6) { left: 67%; top: 70%; }
.globe-stars i:nth-child(7) { left: 78%; top: 18%; }
.globe-stars i:nth-child(8) { left: 91%; top: 63%; }
.globe-stars i:nth-child(9) { left: 84%; top: 86%; }
.globe-stars i:nth-child(10) { left: 51%; top: 54%; }

.globe-stage[data-globe-theme-state="day"] .globe-stars { opacity: .18; }
.globe-stage[data-globe-theme-state="day"] .globe-orbits i { border-color: rgba(34, 84, 102, .16); }

.globe-toolbar {
  position: absolute;
  z-index: 7;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 7px;
}

.globe-toolbar button {
  height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: inherit;
  background: rgba(12, 22, 41, .72);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
}

.globe-stage[data-globe-theme-state="day"] .globe-toolbar button {
  border-color: rgba(24, 75, 93, .18);
  background: rgba(255,255,255,.6);
}

.globe-toolbar button:hover { background: rgba(255,255,255,.16); }
.globe-toolbar button i { font-style: normal; opacity: .7; }

.globe-canvas-wrap {
  position: absolute;
  inset: 0 0 76px;
}

[data-world-canvas] {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

[data-world-canvas].dragging { cursor: grabbing; }

.globe-loading {
  position: absolute;
  left: 27%;
  top: 49%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.globe-loading.hidden { display: none; }
.globe-loading span {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: globe-loader .8s linear infinite;
}

@keyframes globe-loader { to { transform: rotate(360deg); } }

.world-focus-card {
  position: absolute;
  z-index: 6;
  top: 145px;
  right: 25px;
  width: min(37%, 330px);
  padding: 22px;
  border: 1px solid rgba(171, 192, 224, .22);
  border-radius: 21px;
  background: rgba(13, 22, 41, .78);
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
  backdrop-filter: blur(16px);
}

.globe-stage[data-globe-theme-state="day"] .world-focus-card {
  border-color: rgba(29, 75, 94, .18);
  background: rgba(245, 251, 250, .76);
}

.world-focus-card header {
  display: flex;
  align-items: center;
  gap: 13px;
}

.world-flag {
  width: 53px;
  height: 53px;
  flex: 0 0 53px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(82,105,151,.8), rgba(157,77,55,.8));
  font-size: 25px;
}

.world-focus-card header div { min-width: 0; }
.world-focus-card small {
  color: #f1c15c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.world-focus-card h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.world-focus-card > p {
  margin: 17px 0 14px;
  color: rgba(230, 236, 249, .76);
  font-size: 12px;
  line-height: 1.65;
}

.globe-stage[data-globe-theme-state="day"] .world-focus-card > p { color: #526979; }

.world-focus-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  color: rgba(226,234,246,.7);
  font-size: 9px;
}

.globe-stage[data-globe-theme-state="day"] .world-focus-meta { color: #536d78; }
.world-focus-meta b { font-weight: 800; }

.world-highlight {
  display: block;
  margin-top: 13px;
  color: #f1c15c;
  font-size: 9px;
}

.world-focus-card > a {
  display: inline-block;
  margin-top: 14px;
  color: #a7c8ee;
  font-size: 9px;
  font-weight: 900;
}

.globe-stage[data-globe-theme-state="day"] .world-focus-card > a { color: #245f79; }

.globe-country-tabs {
  position: absolute;
  z-index: 8;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.globe-country-tabs button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  background: rgba(13, 23, 42, .72);
  backdrop-filter: blur(10px);
}

.globe-country-tabs button:hover,
.globe-country-tabs button.active {
  color: #fff;
  border-color: rgba(241,193,92,.65);
  background: rgba(63, 78, 111, .82);
}

.globe-country-tabs button span { font-size: 20px; }
.globe-country-tabs button b { font-size: 9px; }

.globe-stage[data-globe-theme-state="day"] .globe-country-tabs button {
  color: #264a5b;
  border-color: rgba(29,75,94,.16);
  background: rgba(255,255,255,.64);
}

.world-page-hero { min-height: 480px; }
.world-culture-full { padding-top: 72px; }
.world-culture-full .world-explorer { grid-template-columns: minmax(290px, .66fr) minmax(660px, 1.55fr); }

.world-directory {
  background: var(--warm-paper);
}

.world-directory-heading { max-width: 800px; }

.world-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 32px;
}

.world-filter-row button {
  padding: 10px 16px;
  border: 1px solid rgba(35,79,115,.14);
  border-radius: 999px;
  color: #53606a;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.world-filter-row button:hover,
.world-filter-row button.active {
  color: #fff;
  border-color: var(--nepal-red);
  background: var(--nepal-red);
}

.world-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.world-culture-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 25px;
  border: 1px solid rgba(35,79,115,.12);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(41,65,75,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.world-culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(41,65,75,.12);
}

.world-culture-card[hidden] { display: none; }

.world-culture-card header {
  display: flex;
  align-items: center;
  gap: 13px;
}

.world-culture-card header > span {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f5eee8;
  font-size: 27px;
}

.world-culture-card small {
  color: var(--nepal-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.world-culture-card h3 {
  margin: 4px 0 0;
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-size: 21px;
}

.world-culture-card > p {
  flex: 1;
  margin: 20px 0 16px;
  color: #6c747a;
  font-size: 13px;
  line-height: 1.75;
}

.world-culture-card > strong {
  color: #966345;
  font-size: 10px;
}

.world-culture-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid #eee7e1;
  color: #7b8184;
  font-size: 9px;
  font-weight: 800;
}

.world-culture-card footer a { color: var(--nepal-red); }

@media (max-width: 1260px) {
  .world-explorer,
  .world-culture-full .world-explorer {
    grid-template-columns: minmax(270px, .65fr) minmax(590px, 1.5fr);
  }

  .world-focus-card { width: 35%; }
}

@media (min-width: 951px) and (max-width: 1360px) {
  .nav-shell { gap: 15px; }
  .main-nav > a,
  .nav-dropdown > button { padding-inline: 9px; font-size: 13px; white-space: nowrap; }
  .brand-copy strong { font-size: 17px; }
}

@media (max-width: 1050px) {
  .world-explorer,
  .world-culture-full .world-explorer {
    grid-template-columns: 1fr;
  }

  .world-explorer-copy {
    max-width: 720px;
    padding: 28px 22px 8px;
  }

  .globe-stage { min-height: 650px; }
  .world-culture-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
  .hero-time-panel {
    width: min(650px, 100%);
    margin: 12px auto 0;
  }
}

@media (max-width: 700px) {
  .hero-time-panel {
    min-height: 455px;
    border-width: 5px;
    border-radius: 25px 25px 70px 25px;
  }

  .culture-time-orbit {
    transform: translate(-50%, -50%) scale(.72);
  }

  .hero-time-panel .nepal-flag-chip { z-index: 8; }

  .world-culture-section { padding: 58px 0; }
  .world-explorer { padding: 11px; border-radius: 25px; }
  .world-explorer-copy { padding: 25px 15px 12px; }
  .world-explorer-copy h2 { font-size: 36px; }
  .globe-stage { min-height: 720px; border-radius: 21px; }
  .globe-canvas-wrap { inset: 34px 0 264px; }
  .world-focus-card {
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 86px;
    width: auto;
    padding: 18px;
  }
  .world-focus-card > p { margin-block: 12px; }
  .globe-country-tabs { bottom: 12px; }
  .globe-toolbar { top: 12px; right: 12px; }
  .globe-toolbar button { padding-inline: 10px; }
  .world-culture-grid { grid-template-columns: 1fr; }
  .world-culture-card { min-height: 0; }
}

@media (max-width: 430px) {
  .culture-time-orbit { transform: translate(-50%, -50%) scale(.63); }
  .globe-stage { min-height: 750px; }
  .globe-toolbar button b { display: none !important; }
  .world-focus-card h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .water-motion,
  .water-shimmer,
  .globe-loading span {
    animation: none !important;
  }
}
