/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
  margin: 0px;
  overflow: visible;
}

.v3d-container {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.fullscreen-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-size: 100% 100%;
  display: none;
  z-index: 1;
}

.fullscreen-open {
  background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
  background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1,
h2,
h3,
p {
  color: white;
}

.txt-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  right: 0px;
  pointer-events: none;
  /* 让鼠标点击穿透到下层*/
  user-select: none;
  /*让文字不可选中 */
  -webkit-user-select: none;
}

.txt-main-head {
  position: absolute;
  color: white;
  z-index: 2;
  width: 100%;
  text-align: center;
  font-size: 60px;
  margin-top: 90px;
  padding-bottom: 10px;
}

.separator {
  position: absolute;
  right: auto;
  left: 50%;
  margin-left: -300px;
  top: 190px;
  width: 600px;
  height: 1px;
  border-bottom: 1px solid white;
}

/* Staggered Alternating Layout (Prevents horizontal squeezing of 3D Canvas) */
.description-container,
.main-tools-container,
.materials-container-1,
.design-container {
  position: absolute;
  width: 460px;
  height: auto;
  left: 120px;
  margin: 0;
  z-index: 10;
}

.history-container,
.add-tools-container,
.materials-container-2,
.colors-container {
  position: absolute;
  width: 440px;
  height: auto;
  right: 100px;
  margin: 0;
  z-index: 10;
}

/* 1. 首屏主标题 */
.description-container {
  top: 280px;
  left: 120px;
  width: 480px;
}

/* 2. 产品特点 */
.history-container {
  top: 580px;
  right: 120px;
}

/* 3. 产品细节逼真展示 */
.main-tools-container {
  top: 1500px;
}

/* 4. 可定制不同比例盒子 */
.add-tools-container {
  top: 1950px;
}

/* 5. 多种外设交互 */
.materials-container-1 {
  top: 2600px;
}

/* 6. 外设控制参数多样 */
.materials-container-2 {
  top: 3050px;
}

/* 7. 画布编辑器 */
.design-container {
  top: 3400px;
}

/* 8. 与硬件实现结合 */
.colors-container {
  top: 3850px;
}

.txt-secondary-head {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  width: 100%;
  text-align: left;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.description {
  width: 100%;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
  margin-bottom: 16px;
}

.tools-list {
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.tools-list:before {
  content: "●";
  margin: 0 10px 0 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* PeachWorlds Style Decorative Background Outline Text */
.decorative-bg-text {
  position: absolute;
  left: 120px;
  top: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.bg-word {
  font-size: 7.5vw;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.02);
  text-transform: uppercase;
}

.bg-word.font-hollow {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

/* Typography Upgrades */
.main-title-wrap {
  margin-bottom: 24px;
}

.title-sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  opacity: 0.4;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.main-title-head {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  letter-spacing: -1px;
}

/* Giant Landing Title Typography */
.giant-landing-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin: 15px 0 25px 0;
  letter-spacing: -2.5px;
}

.landing-intro-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  margin-bottom: 20px;
}

/* Glowing Subtitle Tag */
.title-sub-glowing {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #06b6d4 !important;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 1 !important;
}

/* Gradient Text Style */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #0052ff 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Landing CTA Learn More Button */
.btn-landing-more {
  display: inline-block;
  background: linear-gradient(135deg, #0052ff 0%, #7c3aed 100%);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3);
  pointer-events: auto;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.btn-landing-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.5);
}

/* Scroll Explore Indicator */
.scroll-explore {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ffffff;
  z-index: 999;
  pointer-events: none;
  white-space: nowrap;
  animation: bounce 2s infinite;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  opacity: 1;
  visibility: visible;
}

.scroll-explore.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-6px);
  }

  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.description-secondary {
  width: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  font-weight: normal;
  margin-top: 10px;
}

/* 9. 联系我们按钮 */
.enquare-button {
  position: absolute;
  width: 180px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  top: 4800px;
  left: 50%;
  margin-left: -90px;
  background-color: white;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  z-index: 10;
  pointer-events: auto;
}

.enquare-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.enquare-link:visited,
.enquare-link:link {
  color: black;
  text-decoration: none;
  pointer-events: auto;
}

.beian {
  position: absolute;
  top: 5040px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  box-sizing: border-box;
  padding: 0 20px;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.beian a {
  text-decoration: none;
  font-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.beian img {
  width: 12px;
}

@media screen and (max-width: 1024px) {

  .description-container,
  .main-tools-container,
  .materials-container-1,
  .design-container {
    margin: 0 0 0 50px;
    width: 350px;
  }

  .history-container,
  .add-tools-container {
    width: 350px;
    right: 50px;
    left: auto;
    margin: 0;
  }

  .materials-container-2,
  .colors-container {
    margin: 0 50px 0 0;
    width: 350px;
  }

  .enquare-button {
    top: 4250px;
  }

  .beian {
    top: 4400px;
  }

}

@media screen and (max-width: 720px) {

  .description,
  .tools-list {
    font-size: 14px;
  }

  .txt-secondary-head {
    font-size: 30px;
  }

  .txt-main-head {
    font-size: 40px;
    margin-top: 80px;
  }

  .giant-landing-title {
    font-size: 38px;
    letter-spacing: -1px;
    margin: 10px 0 15px 0;
  }

  .landing-intro-desc {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .separator {
    top: 140px;
    width: 400px;
    margin-left: -200px;
  }

  .description-container,
  .main-tools-container,
  .materials-container-1,
  .design-container {
    margin: 0 0 0 50px;
    width: 200px;
  }

  .history-container,
  .add-tools-container {
    width: 200px;
    right: auto;
    left: 0px;
    margin: 0 0 0 50px;
  }

  .materials-container-2,
  .colors-container {
    margin: 0 50px 0 0;
    width: 200px;
  }

  .enquare-button {
    left: 60px;
    margin-left: 0px;
    width: 150px;
    height: 30px;
    padding: 4px 5px 0 5px;
  }

}

@media screen and (max-width: 480px) and (orientation: portrait) {

  .description-container,
  .main-tools-container,
  .materials-container-1,
  .design-container,
  .history-container,
  .add-tools-container,
  .materials-container-2,
  .colors-container {
    width: 200px;
    left: 50%;
    right: auto;
    margin-left: -100px;
  }

  .enquare-button {
    text-align: center;
    left: 50%;
    margin-left: -90px;
    border-radius: 30px;
  }

  .description-container {
    top: 270px;
  }

  .colors-container {
    top: 4050px;
  }

  .history-container {
    top: 750px;
  }

  .main-tools-container {
    top: 1250px;
  }

  .add-tools-container {
    top: 1850px;
  }

  .materials-container-1 {
    top: 2350px;
  }

  .design-container {
    top: 3450px;
  }

  .enquare-button {
    top: 4450px;
  }

  .beian {
    top: 4600px;
  }

}

/* ==========================================
   Looking Glass Factory Header Styles
   ========================================== */

/* Main Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-family: inherit;
}

.nav-link:hover {
  color: #cccccc !important;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 160px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  color: #bbbbbb !important;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item:hover .nav-link .arrow {
  transform: rotate(180deg);
}

/* Center Logo */
.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

.logo-container:hover {
  border-color: transparent;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 1px;
}

.btn-shop {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
}

.btn-shop:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-login {
  color: #000000 !important;
  background-color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-login:hover {
  background-color: #e5e5e5;
  border-color: #e5e5e5;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Responsive Header */
@media screen and (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background-color: #0c0c0c;
    padding: 90px 24px 30px 24px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
    box-shadow: none;
    padding: 5px 0 5px 15px;
    width: 100%;
    box-sizing: border-box;
    display: none;
    margin-top: 5px;
  }

  /* Expand submenu on mobile when parent is hovered/focused or opened via click */
  .nav-item:hover .dropdown-menu,
  .nav-item:active .dropdown-menu,
  .nav-item.open .dropdown-menu {
    display: block;
    transform: none;
  }

  /* Hamburger Active Animation */
  .menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Header structure adjustments for mobile */
  .header-container {
    justify-content: space-between;
  }

  .logo-container {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ==========================================
   Side Share Panel & Music Badge Styles
   ========================================== */

/* Side Share Panel */
.side-share-panel {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  z-index: 999;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.share-btn {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
}

.share-btn[aria-label="视频号"] svg {
  width: 34px;
  height: 34px;
}

.share-btn[aria-label="抖音"] svg {
  width: 28px;
  height: 28px;
}

.share-btn[aria-label="B站"] svg {
  width: 28px;
  height: 28px;
}

.share-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* QR Code Tooltip Styles */
.qrcode-tooltip {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background-color: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-tooltip img {
  width: 160px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.share-btn:hover .qrcode-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Music Badge Control */
.music-badge {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  z-index: 999;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.3s ease;
}

.music-badge:hover {
  opacity: 0.8;
}

.music-badge-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: inherit;
  user-select: none;
}

.music-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.headphone-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.music-badge:hover .headphone-icon {
  transform: scale(1.1);
}

/* Audio Playing State */
.music-badge.playing .mute-line {
  display: none;
}

.music-badge.playing .music-icon-wrapper {
  color: #ffffff;
}

/* Responsive fixes for share panel & music badge on mobile */
@media screen and (max-width: 1024px) {
  .side-share-panel {
    right: 15px;
    gap: 15px;
    padding: 15px 8px;
  }

  .music-badge {
    right: 15px;
    bottom: 15px;
    padding: 0;
  }

  .music-badge-text {
    font-size: 12px;
  }
}

/* 移动端专属透明手势分流遮罩层配置 */
.mobile-scroll-mask {
  display: none;
}

@media (pointer: coarse) {
  .mobile-scroll-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: auto;
    z-index: 5;
  }
}