:root {
  --accent: #85ff81;
  --white: #ffffff;
  --black: #0d0d0d;
  --glass: rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: url("../assets/images/cursor-default.png"), auto;
}

a,
button,
.feature-card {
  cursor: url("../assets/images/cursor-pointer.png"), pointer;
}

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

html {
  background: #000;
}

body {
  color: var(--white);
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.site-background video,
.site-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-background [hidden] {
  display: none !important;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 15px 50px;
  background: rgba(13, 13, 13, 0.7);
  border-bottom: 1px solid rgba(197, 164, 126, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
}

.navbar-brand {
  display: block;
  flex: 0 0 auto;
  height: 40px;
}

.navbar-brand img {
  display: block;
  width: auto;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(197, 164, 126, 0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 15px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
  background: rgba(197, 164, 126, 0.1);
  outline: none;
}

.nav-link > i {
  color: var(--accent);
  font-size: 16px;
}

.nav-link .arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .arrow,
.has-dropdown.is-open .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1001;
  min-width: 180px;
  padding: 10px 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(13, 13, 13, 0.95);
  border: 1px solid rgba(197, 164, 126, 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(20px);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 25px;
  color: #ccc;
  border-left: 3px solid transparent;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  padding-left: 30px;
  color: var(--accent);
  background: rgba(197, 164, 126, 0.1);
  border-left-color: var(--accent);
  outline: none;
}

.hero-section {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 8% 60px;
}

.content-box {
  position: relative;
  z-index: 20;
  max-width: 900px;
}

.logo-title {
  margin: 0 0 10px;
}

.logo-title img {
  display: block;
  width: 400px;
  max-width: none;
  height: auto;
}

.sub-desc-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sub-desc {
  display: inline-block;
  margin: 0;
  padding: 8px 0;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 16px;
}

.music-btn {
  position: relative;
  top: 3px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 60px;
  height: 30px;
  overflow: hidden;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(133, 255, 129, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.music-btn:hover,
.music-btn:focus-visible {
  background: rgba(133, 255, 129, 0.18);
  box-shadow: 0 0 22px rgba(133, 255, 129, 0.6);
  transform: scale(1.1);
  outline: none;
}

.music-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: currentColor;
}

.pause-icon,
.music-waves {
  display: none;
}

.music-waves {
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.music-btn.is-playing .music-note,
.music-btn.is-playing .music-waves {
  display: flex;
}

.music-btn:not(.is-playing) .music-note {
  display: none;
}

.music-btn:not(.is-playing) .pause-icon {
  display: block;
}

.wave {
  display: block;
  width: 2px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 0.9s ease-in-out infinite;
}

.wave:nth-child(2) { animation-delay: 0.15s; animation-duration: 1s; }
.wave:nth-child(3) { animation-delay: 0.3s; animation-duration: 0.7s; }
.wave:nth-child(4) { animation-delay: 0.45s; animation-duration: 0.9s; }

@keyframes wave {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

.hero-text {
  margin-bottom: 25px;
  color: var(--white);
  font-size: 15px;
  line-height: 2;
}

.hero-text span,
.feature-card span {
  display: block;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
}

.hero-btn {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 45px;
  overflow: hidden;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-btn:nth-child(2) {
  width: 195px;
}

.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.25), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.1);
  transform: translateY(-5px) scale(1.04);
  outline: none;
}

.hero-btn:hover::before,
.hero-btn:focus-visible::before {
  opacity: 1;
}

.hero-btn:hover::after,
.hero-btn:focus-visible::after {
  left: 100%;
}

.hero-btn strong {
  position: relative;
  z-index: 1;
}

.info-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.feature-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 415px;
  min-height: 200px;
  overflow: hidden;
  padding: 5px 30px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.1), transparent 52%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.1);
  transform: translateY(-12px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card span {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 25px 8% 15px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  text-align: center;
  font-size: 12px;
  pointer-events: none;
}

.promo-card {
  position: fixed;
  top: 110px;
  right: 60px;
  z-index: 999;
  display: block;
  width: 160px;
  height: 320px;
  overflow: hidden;
  color: #fff;
  background: #020617;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15), 0 0 80px rgba(59, 130, 246, 0.08);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover,
.promo-card:focus-visible {
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25), 0 0 100px rgba(236, 72, 153, 0.12);
  transform: translateY(-5px);
  outline: none;
}

.nebula-bg,
.stars-layer,
.shimmer {
  position: absolute;
  inset: 0;
}

.nebula-bg {
  background: radial-gradient(ellipse 90% 50% at 30% 15%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 75% 55%, rgba(236, 72, 153, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(139, 92, 246, 0.15), transparent 55%);
}

.stars-layer {
  overflow: hidden;
}

.star {
  position: absolute;
  opacity: 0;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.5); }
}

.shimmer {
  z-index: 6;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 56%, transparent 62%);
  transform: translateX(-100%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.promo-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 14px;
  text-align: center;
}

.promo-eyebrow {
  margin-bottom: 16px;
  color: #b8a0ff;
  font-size: 13px;
  font-weight: 700;
}

.orbit-wrap {
  margin-bottom: 18px;
}

.orbit-ring {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  animation: orbit 20s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit-ring::before {
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #8b5cf6;
  box-shadow: 0 0 8px #8b5cf6;
}

.orbit-ring::after {
  bottom: -1px;
  left: 30%;
  width: 3px;
  height: 3px;
  background: #ec4899;
  box-shadow: 0 0 6px #ec4899;
}

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

.promo-title {
  margin-bottom: 12px;
  color: #c7a8ff;
  font-size: 15px;
  line-height: 1.5;
}

.promo-divider {
  width: 40px;
  height: 1px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.promo-description {
  color: #e2e8f0;
  opacity: 0.85;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

.promo-brand {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  z-index: 5;
  color: rgba(148, 163, 184, 0.5);
  text-align: center;
  font-size: 8px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .promo-card {
    display: none;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-menu {
    display: none;
  }

  .info-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }

  .feature-card {
    grid-row: auto;
    width: 100%;
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 100px 5% 40px;
  }

  .btn-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn,
  .hero-btn:nth-child(2) {
    width: 100%;
    height: 45px;
  }

  .feature-card {
    min-height: 0;
    padding: 28px 18px;
  }

  .feature-card span {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    position: relative;
    padding: 20px 5% 15px;
  }
}

@media (max-width: 430px) {
  .logo-title img {
    width: 400px;
  }

  .hero-text {
    font-size: 14px;
  }

  .feature-card {
    font-size: 14px;
  }
}

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