@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --landing-navy-950: #06162d;
  --landing-navy-900: #0a2750;
  --landing-navy-800: #144184;
  --landing-blue: #3e8afa;
  --landing-blue-dark: #2869c8;
  --landing-orange: #ff8a1f;
  --landing-yellow: #ffd21c;
  --landing-white: #ffffff;
  --landing-muted: rgba(255, 255, 255, .68);
  --landing-border: rgba(255, 255, 255, .14);
  --landing-radius: 18px;
  --landing-shadow: 0 25px 75px rgba(0, 8, 24, .32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--landing-navy-950);
}

body.hdt-landing {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 17% 9%, rgba(62, 138, 250, .22), transparent 31rem),
    radial-gradient(circle at 87% 38%, rgba(255, 138, 31, .08), transparent 27rem),
    linear-gradient(145deg, #06162d 0%, #0b2b58 58%, #113b76 100%);
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.hdt-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 22, 45, .26), rgba(6, 22, 45, .9)),
    url("../../images/homesearch-bg.jpg") center top / cover no-repeat;
  opacity: .75;
}

body.hdt-landing::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .13;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

::selection {
  color: #fff;
  background: var(--landing-blue);
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover,
a:focus {
  color: #fff;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(105, 167, 255, .45);
  outline-offset: 3px;
}

.container {
  width: 100% !important;
  max-width: 1240px !important;
  padding-right: 24px;
  padding-left: 24px;
}

#xwrapper {
  min-height: 100vh;
  overflow: hidden;
}

#xheader {
  position: relative;
  z-index: 20;
  height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 22, 45, .58);
  backdrop-filter: blur(18px);
}

#xheader .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

#xheader #xlogo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: 0;
  line-height: 0;
}

#xheader #xlogo img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .25));
}

#xheader_menu {
  height: auto;
  margin: 0;
}

#xheader_menu ul.header_menu-list {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#xheader_menu ul.header_menu-list .nav-item {
  margin: 0;
}

#xheader_menu ul.header_menu-list .nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

#xheader_menu ul.header_menu-list .nav-item > a:hover {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
}

#xheader_browser {
  display: none;
}

#xheader_browser .header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid var(--landing-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

#xmain-wrapper {
  position: relative;
}

.hdt-landing-hero {
  position: relative;
  padding: 88px 0 54px;
}

.hdt-landing-hero::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  width: min(920px, 84vw);
  height: 360px;
  border-radius: 50%;
  background: rgba(62, 138, 250, .19);
  filter: blur(105px);
  transform: translateX(-50%);
  pointer-events: none;
}

#mw-home {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

#mw-home .mwh-logo {
  margin: 0 0 34px;
  text-align: center;
}

#mw-home .mwh-logo .mwh-logo-div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 78vw);
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(16px);
}

#mw-home .mwh-logo .mwh-logo-div img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 104px;
  object-fit: contain;
}

.hdt-landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 210, 28, .28);
  border-radius: 999px;
  background: rgba(255, 210, 28, .08);
  color: #ffe86d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hdt-landing-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--landing-orange), var(--landing-yellow));
  box-shadow: 0 0 0 5px rgba(255, 210, 28, .1);
}

#mw-home .mw-sitename {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .69);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#mw-home .mw-heading {
  max-width: 900px;
  margin: 0 auto 20px;
  color: #fff;
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .26);
}

.hdt-landing-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.75;
}

#xsearch.home-search {
  display: block !important;
  width: min(820px, 100%);
  margin: 0 auto 22px;
  padding: 0 !important;
  position: relative !important;
  background: transparent !important;
}

#xsearch.home-search .search-content {
  position: relative;
}

#xsearch.home-search .search-input {
  width: 100%;
  height: 66px;
  padding: 0 84px 0 23px;
  border: 1px solid rgba(255, 255, 255, .56) !important;
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  color: #12223a;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 24px 65px rgba(0, 8, 24, .28);
}

#xsearch.home-search .search-input::placeholder {
  color: #8a97a8;
}

#xsearch.home-search .search-input:focus {
  outline: 0;
  border-color: var(--landing-blue) !important;
  box-shadow: 0 0 0 5px rgba(62, 138, 250, .18), 0 24px 65px rgba(0, 8, 24, .28);
}

#xsearch.home-search .search-content .search-submit {
  position: absolute;
  top: 7px;
  right: 7px;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--landing-blue), var(--landing-blue-dark));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(40, 105, 200, .35);
}

#xsearch.home-search .search-content .search-submit .search-icon i {
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.hdt-landing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin: 0 0 24px;
}

.hdt-landing-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--landing-border) !important;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.hdt-landing-actions .btn-primary {
  border-color: var(--landing-blue) !important;
  background: linear-gradient(135deg, var(--landing-blue), var(--landing-blue-dark)) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(40, 105, 200, .3);
}

.hdt-landing-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(40, 105, 200, .4);
}

.hdt-landing-actions .btn-secondary {
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.hdt-landing-actions .btn-secondary:hover {
  border-color: rgba(255, 255, 255, .27) !important;
  background: rgba(255, 255, 255, .13) !important;
  transform: translateY(-2px);
}

.hdt-share {
  min-height: 36px;
  margin: 5px 0 0;
}

.hdt-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 50px auto 0;
}

.hdt-feature-card {
  min-height: 150px;
  padding: 23px;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  background: rgba(255, 255, 255, .07);
  text-align: left;
  box-shadow: 0 16px 48px rgba(0, 8, 24, .12);
  backdrop-filter: blur(14px);
}

.hdt-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(105, 167, 255, .25);
  border-radius: 12px;
  background: rgba(62, 138, 250, .13);
  color: #8ebcff;
  font-size: 16px;
}

.hdt-feature-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.hdt-feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, .59);
  font-size: 12px;
  line-height: 1.65;
}

.hdt-landing-info {
  position: relative;
  z-index: 2;
  padding: 30px 0 80px;
}

.hdt-info-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--landing-border);
  border-radius: 22px;
  background: rgba(5, 20, 42, .68);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(18px);
}

.hdt-info-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.hdt-info-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  line-height: 1.8;
}

.hdt-info-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdt-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  font-weight: 650;
}

.hdt-info-list i {
  color: #83b6ff;
}

#xfooter {
  position: relative;
  z-index: 3;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: rgba(4, 16, 34, .52);
}

#xfooter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

#xfooter .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

#xfooter .footer-brand img {
  width: auto;
  height: 30px;
}

#xfooter .footer-brand span {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
}

#xfooter .footer-links ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#xfooter .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
}

#xfooter .footer-links a:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

#xfooter-about {
  position: relative;
  z-index: 3;
  padding: 0 0 28px;
  background: rgba(4, 16, 34, .52);
}

#xfooter-about .about-text {
  max-width: 760px;
  margin: 0 auto 10px;
  color: rgba(255, 255, 255, .38);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

#xfooter-about .copyright {
  margin: 0;
  color: rgba(255, 255, 255, .34);
  font-size: 10px;
  text-align: center;
}

@media screen and (max-width: 780px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  #xheader {
    height: 68px;
  }

  #xheader #xlogo {
    height: 34px;
  }

  #xheader_browser {
    display: block;
  }

  #xheader_menu {
    position: absolute;
    top: 58px;
    right: 16px;
    display: none;
    width: 210px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: rgba(7, 26, 53, .97);
    box-shadow: 0 20px 55px rgba(0, 8, 24, .38);
    backdrop-filter: blur(16px);
  }

  #xheader_menu.active {
    display: block !important;
  }

  #xheader_menu ul.header_menu-list {
    display: block;
  }

  #xheader_menu ul.header_menu-list .nav-item {
    display: block;
    margin: 0;
  }

  #xheader_menu ul.header_menu-list .nav-item > a {
    display: flex;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: rgba(255, 255, 255, .78) !important;
  }

  .hdt-landing-hero {
    padding: 58px 0 42px;
  }

  #mw-home .mwh-logo {
    margin-bottom: 27px;
  }

  #mw-home .mwh-logo .mwh-logo-div {
    width: min(360px, 82vw);
    padding: 11px 16px;
    border-radius: 17px;
  }

  #mw-home .mw-heading {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hdt-feature-strip {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-top: 38px;
  }

  .hdt-feature-card {
    min-height: 0;
  }

  .hdt-info-panel {
    grid-template-columns: 1fr;
    padding: 27px;
  }

  #xfooter .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 520px) {
  body.hdt-landing {
    font-size: 14px;
  }

  #xheader #xlogo {
    height: 30px;
  }

  #xheader_browser .header-btn {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  #xheader_browser .header-btn i {
    margin: 0 !important;
    font-size: 15px;
  }

  .hdt-landing-hero {
    padding-top: 42px;
  }

  #mw-home .mwh-logo .mwh-logo-div {
    width: min(300px, 84vw);
    margin: 0 auto;
    padding: 10px 13px;
  }

  #mw-home .mw-heading {
    font-size: 37px;
  }

  .hdt-landing-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  #xsearch.home-search .search-input {
    height: 58px;
    padding-right: 70px;
    padding-left: 17px;
    border-radius: 14px;
    font-size: 14px;
  }

  #xsearch.home-search .search-content .search-submit {
    top: 6px;
    right: 6px;
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .hdt-landing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hdt-landing-actions .btn {
    width: 100%;
  }

  .hdt-feature-card {
    padding: 20px;
  }

  .hdt-info-panel {
    padding: 22px 18px;
    border-radius: 17px;
  }

  #xfooter .footer-links ul {
    flex-wrap: wrap;
  }
}

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

/* HDToday landing live search, version 2 */
#xsearch .search-content {
  position: relative;
}

#xsearch .hdt-live-search[hidden] {
  display: none !important;
}

#xsearch .hdt-live-search {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  left: 0;
  z-index: 80;
  max-height: min(520px, calc(100vh - 130px));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(210, 225, 244, .95);
  border-radius: 17px;
  background: #fff;
  color: #13223a;
  box-shadow: 0 28px 80px rgba(0, 8, 24, .4);
  opacity: 0;
  transform: translateY(-7px) scale(.985);
  transform-origin: top center;
  transition: opacity 160ms ease, transform 160ms ease;
  overscroll-behavior: contain;
}

#xsearch .hdt-live-search.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#xsearch .hdt-live-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  gap: 13px;
  align-items: center;
  min-height: 91px;
  padding: 10px 12px;
  border-bottom: 1px solid #eaf0f7;
  background: #fff;
  color: #13223a !important;
  text-align: left;
}

#xsearch .hdt-live-item:hover,
#xsearch .hdt-live-item:focus,
#xsearch .hdt-live-item.is-keyboard-active {
  background: linear-gradient(90deg, #f2f7ff, #fff);
  color: var(--landing-blue-dark) !important;
}

#xsearch .hdt-live-item:focus {
  outline: 0;
  box-shadow: inset 4px 0 0 var(--landing-blue);
}

#xsearch .hdt-live-poster {
  display: block;
  width: 58px;
  height: 72px;
  overflow: hidden;
  border-radius: 9px;
  background: #e8eef6;
  box-shadow: 0 5px 13px rgba(7, 26, 53, .14);
}

#xsearch .hdt-live-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#xsearch .hdt-live-copy,
#xsearch .hdt-live-title-row {
  min-width: 0;
}

#xsearch .hdt-live-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#xsearch .hdt-live-title {
  display: block;
  overflow: hidden;
  color: #13223a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#xsearch .hdt-live-type {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid #d6e3f3;
  border-radius: 999px;
  background: #f6f9fd;
  color: #6f7f94;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

#xsearch .hdt-live-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
  color: #738197;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

#xsearch .hdt-live-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#xsearch .hdt-live-meta .fa-star {
  color: var(--landing-yellow);
  font-size: 9px;
}

#xsearch .hdt-live-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b6c2d1;
}

#xsearch .hdt-live-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef4fc;
  color: #8290a3;
  font-size: 10px;
}

#xsearch .hdt-live-item:hover .hdt-live-arrow,
#xsearch .hdt-live-item:focus .hdt-live-arrow {
  background: var(--landing-blue);
  color: #fff;
}

#xsearch .hdt-live-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--landing-blue), var(--landing-blue-dark));
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
}

#xsearch .hdt-live-status,
#xsearch .hdt-live-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 82px;
  padding: 20px;
  color: #6c7a8f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

#xsearch .hdt-live-empty strong {
  color: #13223a;
}

#xsearch .hdt-live-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(62, 138, 250, .18);
  border-top-color: var(--landing-blue);
  border-radius: 50%;
  animation: hdtLandingSpinV2 .75s linear infinite;
}

@keyframes hdtLandingSpinV2 {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 575px) {
  #xsearch .hdt-live-search {
    max-height: calc(100vh - 130px);
    border-radius: 14px;
  }

  #xsearch .hdt-live-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    min-height: 78px;
    padding: 8px 10px;
  }

  #xsearch .hdt-live-poster {
    width: 48px;
    height: 62px;
  }

  #xsearch .hdt-live-arrow {
    display: none;
  }

  #xsearch .hdt-live-type {
    padding: 3px 6px;
    font-size: 8px;
  }
}
