html {
  scroll-behavior: smooth;
}


/* subtle section separators like the source design */
section,
footer {
  position: relative;
}

section::before,
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: min(8.333%, 96px) 100%;
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

@media (max-width: 1023px) {
  section::before,
  footer::before {
    background-size: 33.333% 100%;
    opacity: 0.16;
  }
}

.site-header {
  pointer-events: none;
}

.site-header > div {
  pointer-events: auto;
}

.hero-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(255,104,33,0.14), transparent 18%),
    radial-gradient(circle at 78% 10%, rgba(255,132,59,0.16), transparent 16%),
    radial-gradient(circle at 0% 55%, rgba(94,23,235,0.10), transparent 14%),
    linear-gradient(180deg, rgba(0,0,0,0.88), rgba(0,0,0,0.84));
}



.header-logo span + span {
  margin-left: 0.32em;
}

.desktop-nav {
  gap: 28px;
}

.desktop-nav a {
  
  color: rgba(255,255,255,0.9);
  transition: color .2s ease, opacity .2s ease;
}

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

.header-city {
  font-size: 14px;
  line-height: 1.08;
  font-weight: 500;
}

.header-city span {
  display: block;
}

.header-time {
  min-width: 152px;
  line-height: 1;
}

.header-time-clock {
  
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight:700;
}

.header-time-meta {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
}

.lang-pill {
  display: inline-flex;
 /* min-width: 76px;*/
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  font-size: 14px;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.lang-pill:hover,
.lang-pill.is-active {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  color: #fff;
}

.mobile-topbar,
.mobile-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}



.mobile-link {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.88);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.mobile-link:hover {
  border-color: rgba(255,50,0,0.45);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

@media (max-width: 1279px) {
  .hero-section {
    background:
      radial-gradient(circle at 20% 10%, rgba(255,104,33,0.16), transparent 22%),
      radial-gradient(circle at 85% 12%, rgba(255,132,59,0.14), transparent 18%),
      linear-gradient(180deg, rgba(0,0,0,0.88), rgba(0,0,0,0.84));
  }
}

.tab {
  padding: 0.5rem 1rem;            /* px-4 py-2 */
  border-radius: 9999px;           /* rounded-full */
  font-size: 0.875rem;             /* text-sm */
  color: rgba(255, 255, 255, 0.7); /* text-white/70 */
  background: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* border-white/10 */
  backdrop-filter: blur(12px);     /* backdrop-blur-md */
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1); /* bg-white/10 */
}

.tab.active {
  color: #ffffff;
  background: linear-gradient(to right, #FE6400, #FF0000);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* shadow-lg gần đúng */
}


/* Share panel for story video */
.share-video-panel {
  animation: sharePanelFade .18s ease-out;
}

.share-video-panel input {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-video-panel input::selection {
  background: rgba(255,255,255,0.25);
}

@keyframes sharePanelFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .share-video-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* Share panel for story video */
.share-video-panel {
  position: absolute;
  right: 16px;
  top: 56px;
  width: 340px;
  padding: 18px;
  border-radius: 18px;
  z-index: 9999;

  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  animation: sharePanelFade .18s ease-out;
}

.share-video-panel.hidden {
  display: none;
}

.share-video-panel .share-title,
.share-video-panel h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
}

.share-video-panel .share-desc,
.share-video-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.share-video-panel input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-video-panel input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.share-video-panel input::selection {
  background: rgba(255,255,255,0.25);
}

.share-video-panel button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.share-video-panel button:hover {
  background: #f1f1f1;
}

.share-video-panel button:active {
  transform: translateY(1px);
}

@keyframes sharePanelFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .share-video-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }
}