/* ===== CSS Variables (Light Theme Only) ===== */
:root {
  --primary: #f59505;
  --primary-50: #fbd59b;
  --primary-20: #fdeacd;
  --primary-m50: #935903;
  --primary-hover: #dc8605;
  --text-100: #ffffff;
  --text-60: rgb(153, 155, 157);
  --text-25: #98999f;
  --text-white: #ffffff;
  --grey-10: #e7e7e7;
  --grey-5: #f3f3f3;
  --white: #fff;
  --pop-bg: #ffffff;
  --black: #000;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: harmonyOS, Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--text-100);
  background: #f5f5f5;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

ul {
  list-style: none;
}

/* ===== Content Placeholder ===== */
.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}

.content h1 {
  font-size: 24px;
  color: var(--text-60);
}

/* ===== HEADER ===== */
.header {
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--text-100);
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-placeholder {
  height: 64px;
}

.header .nav {
  flex: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.header .logo {
  display: inline-flex;
  margin-right: 18px;
}

.header .logo a {
  display: inline-flex;
}

.header .logo img {
  width: auto;
  height: 24px;
}

.header .nav ul {
  display: flex;
  gap: 12px;
  height: 100%;
}

.header .nav ul li {
  list-style-type: none;
  font-size: 14px;
  padding: 0 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.header .nav ul li:hover {
  color: var(--primary);
}

.header .nav ul li:hover a {
  color: var(--primary);
}

.header .nav ul li a {
  color: var(--text-100);
  display: inline-flex;
  align-items: center;
}

.header .nav ul li .more {
  font-size: 10px;
  margin-left: 3px;
  transition: transform 0.2s;
}

.header .fees {
  margin-left: 8px;
  height: 14px;
  width: auto;
}

/* Header Options */
.header .option {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.header .option-item {
  padding: 0 6px;
  cursor: pointer;
  color: var(--text-100);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header .option-item:hover {
  color: var(--primary);
}

.header .option-item:hover a,
.header .option-item:hover svg {
  color: var(--primary);
}

.header .option-item .icon {
  display: inline-flex;
  height: 100%;
  align-items: center;
}

.header .option-item .icon svg {
  width: 24px;
  height: 24px;
}

.header .option-item2 {
  margin: 0 8px;
}

.header .register-btn {
  border-color: var(--primary) !important;
  background: var(--primary);
  min-width: 70px;
  border-radius: 8px;
  color: var(--text-white) !important;
  padding: 0 16px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all 0.3s;
}

.header .register-btn:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

/* ===== FOOTER ===== */
.footer {
  width: 100%;
  padding: 80px 0 40px;
  background: var(--black);
}

.footer-con {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  min-height: 306px;
  margin: 0 auto;
  color: var(--text-60);
  /* padding: 0 32px; */
}

.footer-con a {
  color: var(--text-60);
  transition: color 0.3s;
}

.footer-con a:hover {
  color: var(--primary);
}

.footer-con .item1 img {
  height: 24px;
  display: block;
  margin: 0 0 20px;
  width: auto;
}

.footer-con .item1 > div {
  margin: 0 0 20px;
}

.footer-con .item1 p {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  margin: 0 0 12px;
  color: rgb(153, 155, 157);
}

.footer-con .item1 a {
  font-size: 14px;
  line-height: 24px;
  color: var(--primary);
  display: block;
  margin: 0 0 6px;
}

.footer-con .item1 a.download {
  background: var(--primary);
  width: 150px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  margin-top: 12px;
}

.footer-con .item1 a.download:hover {
  background: var(--primary-hover);
}

.footer-con .item2 h2 {
  color: var(--text-100);
  line-height: 24px;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 28px;
}

.footer-con .item2 a {
  color: var(--text-60);
  display: block;
  line-height: 21px;
  margin: 0 0 18px;
  font-size: 14px;
  cursor: pointer;
}

.footer-con .item2 a:hover {
  color: var(--primary);
}

/* Social Media */
.medias {
  gap: 13px;
  margin: 6px 0 0;
  width: 160px;
  display: flex;
  flex-wrap: wrap;
}

.medias a {
  color: var(--text-60) !important;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
}

.medias a:hover {
  color: var(--text-100) !important;
  transform: scale(1.2);
}

.medias svg {
  transition: all 0.3s ease-in-out;
}

/* Footer Bottom */
.footer-con2 {
  margin: 88px 0 0;
  color: rgb(108, 110, 111);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  display: flex;
  justify-content: center;
  gap: 100px;
}

/* Customer Service Menu */
.custommenu {
  position: fixed;
  z-index: 600;
  right: 38px;
  bottom: 35px;
  height: 48px;
  width: 48px;
  border-radius: 48px;
  background: var(--primary);
  color: #f2f6f9;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: row-reverse;
  box-shadow: 0 4px 12px rgba(245, 149, 5, 0.3);
}

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

.custommenu .item {
  flex-basis: 48px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f2f6f9;
  transition: all 0.3s ease-in-out;
}

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

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

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

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

/* ===== SVG Icons ===== */
.icon svg {
  display: block;
}

/* ===== Dropdown Menu ===== */
.dropdown {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: var(--white);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  border: 1px solid var(--grey-10);
  padding: 24px;
  max-height: 500px;
  min-width: 184px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown:hover .more {
  transform: rotate(-180deg);
}

/* .dropdown-menu-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 16px;
        cursor: pointer;
        box-sizing: border-box;
        border-radius: 4px;
        width: 100%;
        height: auto;
        min-width: 160px;
        font-size: 16px;
        color: var(--text-100);
        text-decoration: none;
        margin-bottom: 10px;
        transition: background 0.2s;
      }

      .dropdown-menu-item:hover {
        background: var(--grey-5);
      }

      .dropdown-menu-item:hover .next {
        opacity: 1;
      }

      .dropdown-menu-item .img {
        width: 36px;
        height: 36px;
        margin-right: 12px;
        border-radius: 4px;
      }

      .dropdown-menu-item .icon {
        color: var(--text-100);
        display: inline-flex;
        align-items: center;
        margin-right: 10px;
      }

      .dropdown-menu-item .icon svg {
        width: 24px;
        height: 24px;
      }

      .dropdown-menu-item dl {
        flex: 1;
        white-space: nowrap;
        margin: 0;
      }

      .dropdown-menu-item .title {
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        color: var(--text-100);
        margin: 0;
      }

      .dropdown-menu-item .sub-title {
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
        margin-top: 2px;
        color: var(--text-60);
      } */

.dropdown-menu-item .next {
  opacity: 0;
  margin-left: 12px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.bg-popBg {
  display: none;
  position: absolute;
  background: rgb(17, 17, 17);
}
.header .bg-popBg {
  top: 64px;
  right: 0;
  padding: 24px;
  border-radius: 8px;
  box-shadow:
    rgba(0, 0, 0, 0.04) 0px 0px 8px,
    rgba(0, 0, 0, 0.05) 0px 8px 16px;
}
.header .download {
  position: relative;
}
.header .download:hover .bg-popBg,
.header .nav li:hover .bg-popBg {
  display: block;
}
.header .qrcode-wrap img {
  width: 150px;
  height: 150px;
  display: block;
  cursor: default;
}
.header .qrcode-wrap p {
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: rgb(153, 155, 157);
  margin: 10px 0;
  cursor: default;
}
.header .qrcode-wrap a {
  width: 150px;
  height: 38px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  background: rgb(245, 149, 5);
  color: rgb(45, 45, 53) !important;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  cursor: pointer;
}
.bg-popBg-con .item {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 320px;
  cursor: pointer;
}
.bg-popBg-con .item img {
  width: 36px;
  height: 36px;
}

.bg-popBg-con .item div {
  flex: 1 1 0%;
}
.bg-popBg-con .item div strong {
  font-size: 14px;
  font-weight: 500;
  color: rgb(242, 246, 249) !important;
  line-height: 21px;
}
.bg-popBg-con .item div p {
  font-size: 12px;
  font-weight: 400;
  color: rgb(242, 246, 249) !important;
  line-height: 18px;
}

.bg-popBg-con .item span {
  height: 24px;
  display: flex;
  width: 24px;
}
.bg-popBg-con .item span svg {
  display: none;
}
.bg-popBg-con .item:hover span svg {
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .header .nav ul {
    display: none;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 8px 16px;
  }
  .header .menu-toggle {
    display: none !important;
  }
  .header .logo img {
    height: 18px;
  }
  .header .download,
  .header .theme,
  .header .lang {
    display: none;
  }
  .header .option {
    gap: 0;
  }
  .header .option-item2 {
    margin: 0 0 0 8px;
  }
  .footer {
    display: none;
  }
  .footer-con {
    width: 100%;
    flex-direction: column;
    gap: 32px;
  }

  .footer-con2 {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}
