:root {
  --color-bg: #000;
  --color-bg3: #121418;
  --color-card: rgba(255, 255, 255, 0.08);
  --color-card-border: #1e2022;
  --color-text: #fff;
  --color-text3: #7f8997;
  --color-text9: #0f1114;
  --color-muted: #767980;
  --color-gold: #f59505;
  --color-gold-light: #ffb341;
  --color-orange: #f56d05;
  --color-divider2: #1f2228;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 320px;
  background: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.page {
  min-height: 100vh;
  padding-bottom: calc(88px + var(--safe-bottom));
}

/* ===== Header ===== */
.v-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: calc(8px + var(--safe-top)) 16px 8px;
  background: var(--color-bg);
  backdrop-filter: blur(12px);
}

.v-logo img {
  height: 16px;
  width: auto;
}

.v-lang {
  position: relative;
}

.v-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
}

.v-lang-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.v-lang.is-open .v-lang-btn svg {
  transform: rotate(180deg);
}

.v-lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--color-bg3);
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.v-lang.is-open .v-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v-lang-menu button {
  position: relative;
  display: block;
  width: 100%;
  padding: 6px 16px;
  color: var(--color-text);
  font-size: 14px;
  text-align: left;
  line-height: 20px;
  transition:
    color 0.15s,
    background 0.15s;
}
.v-lang-menu button svg {
  display: none;
  position: absolute;
  right: 12px;
  top: 8px;
}
.v-lang-menu button:hover,
.v-lang-menu button.is-active {
  /* color: var(--color-text); */
  /* background: rgba(255, 255, 255, 0.06); */
}
.v-lang-menu button.is-active svg {
  display: inline;
}

/* ===== Hero ===== */
.v-hero {
  padding: 0 0 24px;
  text-align: center;
}

.v-hero-visual {
  /* width: min(100%, 340px); */
  margin: 0 auto 12px;
}

.v-hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.v-hero h1 {
  margin: 0 0 16px;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.v-hero h1 .highlight {
  color: var(--color-gold);
}

.v-hero-sub {
  margin: 0 0 12px;
  /* color: var(--color-muted); */
  color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
  padding: 0 16px;
}

.v-hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #f56d05 0%, #ffb341 85.27%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.v-hero-cta .cursor {
  right: 0;
  top: 10px;
}

.v-hero-cta:hover {
  /* background: rgba(245, 149, 5, 0.12); */
  opacity: 0.92;
}

/* ===== Tabs ===== */
.v-tabs-wrap {
  position: sticky;
  top: calc(44px + var(--safe-top));
  z-index: 90;
  border-bottom: 1px solid var(--color-divider2);
}

.v-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px;
  background: var(--color-bg);
}

.v-tabs::-webkit-scrollbar {
  display: none;
}

.v-tab {
  flex: 0 0 auto;
  position: relative;
  padding: 10px 0;
  color: var(--color-text3);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.v-tab.is-active {
  color: var(--color-text);
}

.v-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-text);
  transform: translateX(-50%);
}

/* ===== Panels ===== */
.v-panel {
  display: none;
  padding: 16px 16px 24px;
  animation: fadeIn 0.25s ease;
}

.v-panel.is-active {
  display: block;
}

.faq-panel {
  padding: 0px 0 24px;
}

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

/* ===== Notice Banner ===== */
.v-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--color-gold);
  font-size: 12px;
  line-height: 1.4;
  border: 0.5px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(90deg, rgba(245, 149, 5, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  overflow: hidden;
}

.v-notice svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.v-notice-scroll {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
}

.v-notice-track {
  display: inline-flex;
  width: max-content;
  white-space: nowrap;
  animation: notice-marquee 10s linear infinite;
}

.v-notice-track span {
  flex-shrink: 0;
  padding-right: 48px;
}

@keyframes notice-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-notice-track {
    animation: none;
  }
}

/* ===== Section Cards ===== */
.v-section-card {
  margin-bottom: 16px;
  padding: 24px 16px;
  border-radius: 16px;
  background: var(--color-card);
}

.v-section-card h2 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.v-section-img {
  width: 100%;
  margin: 0 auto 16px;
}
.v-section-img2 {
  width: 160px;
}
.v-section-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Feature rows */
.v-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.3;
}

.v-feature-row .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  /* border-radius: 8px; */
  /* background: rgba(245, 149, 5, 0.12); */
  /* color: var(--color-gold); */
}

.v-feature-row .icon svg {
  width: 24px;
  height: 24px;
}

/* Feature grid (3 cols) */
.v-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.v-feature-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 12px;
}

.v-feature-grid-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: rgba(245, 149, 5, 0.1);
  color: var(--color-gold);
}

.v-feature-grid-item .icon svg {
  width: 24px;
  height: 24px;
}

.v-outline-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #f56d05 0%, #ffb341 85.27%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  padding: 0 24px;
}

.v-outline-btn .cursor {
  right: 0;
  top: 10px;
}

.v-outline-btn:hover {
  /* background: rgba(245, 149, 5, 0.1); */
  opacity: 0.92;
}

/* ===== Trust Section ===== */
.v-trust {
  text-align: center;
  padding: 24px 0;
  margin: 46px 0 0;
}

.v-trust-visual {
  margin: 0 auto 10px;
}

.v-trust-visual img {
  width: 200px;
  height: auto;
  margin: 0 auto;
}

.v-trust p {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.v-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.v-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-text);
  transition: background 0.2s;
}

.v-social a:hover {
  background: rgba(245, 149, 5, 0.2);
}

.v-social svg {
  width: 100%;
  height: 100%;
}

/* ===== About Section ===== */
.v-about {
  text-align: center;
  margin-bottom: 20px;
}

.v-about-visual {
  margin: 0 auto 8px;
}

.v-about-visual img {
  width: 100%;
  height: auto;
}

.v-about h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.v-about p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}

/* ===== Info Cards ===== */
.v-info-card {
  margin-bottom: 12px;
  padding: 20px 16px;
  border-radius: 16px;
  background: var(--color-card);
  text-align: left;
}

.v-info-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.v-info-card .card-icon img {
  width: 100%;
  height: auto;
}

.v-info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.v-info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}

/* ===== Security Cards (horizontal layout) ===== */
.v-security-card {
  /* display: flex; */
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--color-card);
}

.v-security-card .card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.v-security-card .card-icon svg {
  width: 32px;
  height: 32px;
}

.v-security-card h3 {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.v-security-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.3;
}

/* ===== FAQ ===== */
.v-faq-item {
  border-bottom: 1px solid #1e2022;
}

.v-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
}

.v-faq-q svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-muted);
  transition: transform 0.25s;
}

.v-faq-item.is-open .v-faq-q svg {
  transform: rotate(180deg);
}

.v-faq-a {
  display: none;
  padding: 0 20px 16px;
  color: var(--color-text3);
  font-size: 13px;
  line-height: 1.65;
}

.v-faq-item.is-open .v-faq-a {
  display: block;
}

.v-faq-a p {
  margin: 0;
}
.v-faq-a p a {
  text-decoration: underline;
  color: var(--color-gold);
}
.v-faq-a ul {
  margin: 0;
  padding: 0;
  padding-inline-start: 0px;
}

.v-faq-a li {
  /* margin-bottom: 8px; */
  display: block;
}

.v-faq-a li:last-child {
  margin-bottom: 0;
}

/* ===== Floating Support Menu ===== */
.custommenu {
  position: fixed;
  z-index: 600;
  right: 16px;
  bottom: calc(72px + var(--safe-bottom));
  height: 48px;
  width: 48px;
  border-radius: 48px;
  background: var(--color-gold);
  color: #f2f6f9;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.3s ease-in-out;
  display: flex;
  flex-direction: row-reverse;
  box-shadow: 0 4px 16px rgba(245, 109, 5, 0.4);
}

.custommenu:hover,
.custommenu.open,
.custommenu:has(.v-tooltip-wrap:hover),
.custommenu:has(.v-tooltip-wrap.is-tip-open) {
  overflow: visible;
}

.custommenu .con {
  height: 48px;
  width: calc(48px + 48px + 48px);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  border-radius: 48px;
  flex-shrink: 0;
}

.custommenu:hover,
.custommenu.open {
  width: calc(48px + 48px + 48px);
}

.custommenu .item {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  overflow: visible;
  transition: color 0.3s ease-in-out;
}

.custommenu .item:hover {
  color: #000;
}

.custommenu .item:hover svg {
  opacity: 1;
}

.custommenu svg {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

.v-tooltip-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.v-tooltip-bubble {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  left: auto;
  bottom: auto;
  z-index: 700;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(26, 26, 26, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

.v-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  right: auto;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(26, 26, 26, 0.96);
}

.v-tooltip-wrap:hover .v-tooltip-bubble,
.v-tooltip-wrap:focus-within .v-tooltip-bubble,
.v-tooltip-wrap.is-tip-open .v-tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (min-width: 769px) {
  .v-tooltip-bubble {
    top: auto;
    bottom: calc(100% + 10px);
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(4px);
  }

  .v-tooltip-bubble::after {
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(26, 26, 26, 0.96);
    border-left-color: transparent;
  }

  .v-tooltip-wrap:hover .v-tooltip-bubble,
  .v-tooltip-wrap:focus-within .v-tooltip-bubble,
  .v-tooltip-wrap.is-tip-open .v-tooltip-bubble {
    transform: translateX(-50%) translateY(0);
  }
}

/* ===== Sticky Download Bar ===== */
.v-download-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6) 30%, #000 60%);
}

.v-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  background: var(--color-gold);
  background: linear-gradient(180deg, #f56d05 0%, #ffb341 85.27%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
  animation: save-button-bounce 2.2s ease-in-out infinite;
}

@keyframes save-button-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

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

.v-download-btn .cursor {
  right: 20px;
  top: 14px;
}
.v-download-btn:hover {
  opacity: 0.92;
}

.v-download-btn svg {
  width: 24px;
  height: 24px;
}
.cursor {
  width: 36px;
  height: 36px;
  position: absolute;
  animation: tap-finger 1.05s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes tap-finger {
  0% {
    transform: translate(0, 0) rotate(-8deg) scale(1);
  }

  38% {
    transform: translate(-5px, 8px) rotate(-2deg) scale(0.88);
  }
  55% {
    transform: translate(-3px, 5px) rotate(-5deg) scale(0.96);
  }
  100% {
    transform: translate(0, 0) rotate(-8deg) scale(1);
  }
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .page {
    max-width: 480px;
    margin: 0 auto;
    /* box-shadow: 0 0 0 1px #1a1a1a; */
  }

  .v-hero h1 {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .custommenu:hover {
    width: 48px;
  }
  .custommenu.open {
    width: calc(48px + 48px + 48px);
    /* overflow: visible; */
  }
  .custommenu .v-tooltip-wrap:hover .v-tooltip-bubble {
    opacity: 0;
    /* visibility: visible;
    transform: translateY(-50%) translateX(0); */
  }
}
