@font-face {
   font-family: 'header_title_label_enus';
   font-style: normal;
   src: url(enus/header_title_label.ttf) format('truetype');
}
@font-face {
   font-family: 'header_title_label_zhcn';
   font-style: normal;
   src: url(zhcn/header_title_label.ttf) format('truetype');
}
@font-face {
   font-family: 'header_title_label_zhtw';
   font-weight: bolder;
   src: url(zhtw/dfzongyiboldu-b5.ttf) format('truetype');
}
/* @font-face {
    font-family: 'header_title_label_zhtw';
    src: url('zhtw/header_title_label.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
} */
/* chinese */
@font-face {
  font-family: slogan;
  src: url(txrh2.ttf);
}
/* vietnamese */
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(exo-viet.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(exo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(exo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@900&display=swap');
:root {
    --max-screen-radio: 1760 * 720 ;
    --img-width-scale: .7 ;
    --img-margin-scale: .15 ;
    --slogan-last-margin-radio: 2.25;
}
@media (max-aspect-ratio: 1080/2640) {
    :root {
      --max-screen-radio: 1840 * 720 ;
      --img-width-scale: .7 ;
      --img-margin-scale: .15 ;
      --slogan-last-margin-radio: 2.25;
    }
}

@media (min-aspect-ratio: 720/1280) {
    :root {
      --max-screen-radio: 1280 * 720 ;
      --img-width-scale: .5 ;
      --img-margin-scale: .25 ;
      --slogan-last-margin-radio: 2.75;
    }
}

@media (aspect-ratio: 720/1280) {
    :root {
      --max-screen-radio: 1280 * 720 ;
      --img-width-scale: .5 ;
      --img-margin-scale: .25 ;
      --slogan-last-margin-radio: 2.75;
    }
}

* { z-index: 0; }
* a { text-decoration: none; }


/* ------------ */

#header_title_label {
   /* font-family: 'header_title_label_enus', sans-serif; */
   font-size: 24px;
   color: #fbd802;
   font-weight: 100;
   text-shadow: 2px 2px 4px #00000088;
   overflow-x: visible;
   position: absolute;
   top: 35%;
   left: 23%;
}
.header_title_label_zhcn {
   font-family: 'header_title_label_zhcn', sans-serif;
}
.header_title_label_enus {
   font-family: 'header_title_label_enus', sans-serif;
}
.header_title_label_zhtw {
   font-family: 'header_title_label_zhtw', sans-serif;
   font-weight: 700 !important;
}
.down_btn {
   position: absolute;
   right: 0px;
   top: 25%;
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
   align-items: center;
   background-image: url('../img/download_button_bg.png');
   width: 140px;
   height: 40px;
   background-size: 100% 100%;
   background-repeat: no-repeat;
   justify-content: center;
   margin-right: 3%;
}
.down_btn .pre-icon {
   width: 24px;
   height: 24px;
   margin-right: 8px;
}
.down_btn span {
   color: white;
   font-weight: 500;
   text-shadow: 2px 2px 4px #00000088;
   overflow-x: visible;
}

.domain-ad {
   position: absolute;
   top: 16%;
   left: 0;
   margin: 0 auto;
   width: 100%;
   text-align: center;
   font-size: 28px;
   color: #ffd700;
   font-weight: bold;
   text-shadow: 2px 2px 4px #00000088;
}

.domain-ad-bg {
   background: #1a4d2e88;
   text-align: center;
   width: 55%;
   height: 40px;
   position: absolute;
   left: 22%;
   top: 15.85%;
   border: #FFD700CC 2px solid;
   border-radius: 10px;
   box-shadow: 0 0 8px 0 #FFD700dd;
}

.proxy-id {
   position: absolute;
   top: 18%;
   left: 0;
   margin: 0 auto;
   width: 100%;
   text-align: center;
   font-size: 24px;
   color: #f6e3ff;
   font-weight: bold;
   text-shadow: 2px 2px 4px #00000088;
}

.proxy-id-bg {
   background: #2a2e9988;
   text-align: center;
   width: 55%;
   height: 40px;
   position: absolute;
   left: 22%;
   top: 17.85%;
   border: #E5FCFFCC 2px solid;
   border-radius: 10px;
   box-shadow: 0 0 8px 0 #4dfefcdd;
}


/* no vert. scrollbar */
* {
   overflow-x: hidden;
}

*::-webkit-scrollbar {
   width: 0;
   height: 0;
   background: transparent;
   /* make scrollbar transparent */
}

*::-webkit-scrollbar-thumb {
   background: transparent;
}

*::-webkit-scrollbar-track {
   background: transparent;
   /* make track transparent */
}

* {
   -ms-overflow-style: none;
   /* IE and Edge */
   scrollbar-width: none;
   /* Firefox */
}

/* 语言切换器样式 - 长方形渐变版 */
.lang-switcher {
   position: fixed;
   top: 30px;
   right: 0px;
   z-index: 9999 !important;
   overflow: visible !important;
}

/* PC端 - 主体右内侧0px */
@media (min-width: 641px) {
   .lang-switcher {
      position: fixed;
      top: 100px;
      right: calc(50% - 320px); /* 640px/2 = 320px, 主体右边缘内侧 */
      left: auto;
   }
}

/* 移动端 - 靠右显示 */
@media (max-width: 640px) {
   .lang-switcher {
      position: fixed;
      top: 100px;
      right: 0px;
      left: auto;
   }
}

.current-lang {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   border: 2px solid rgba(255, 255, 255, 0.3);
   border-radius: 8px;
   width: 65px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
   transition: all 0.3s ease;
   z-index: 9999 !important;
   overflow: visible !important;
   position: relative;
}

.current-lang:hover {
   background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
   box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
   transform: translateY(-2px);
}

.current-lang .flag-icon {
   font-size: 18px;
   color: #ffffff;
   font-weight: bold;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
   letter-spacing: 1px;
}

.lang-dropdown {
   position: absolute;
   top: 45px;
   right: 0;
   left: auto;
   background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
   border: 2px solid rgba(255, 255, 255, 0.3);
   border-radius: 10px;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
   min-width: 200px;
   max-height: 0;
   overflow: hidden !important;
   opacity: 0;
   transition: all 0.3s ease;
   pointer-events: none;
   z-index: 10000 !important;
}

.lang-dropdown.show {
   max-height: 400px !important;
   opacity: 1 !important;
   pointer-events: auto !important;
   overflow-y: auto !important;
}

.lang-option {
   display: flex;
   align-items: center;
   padding: 12px 16px;
   cursor: pointer;
   transition: all 0.2s ease;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-option:last-child {
   border-bottom: none;
}

.lang-option:hover {
   background: rgba(255, 255, 255, 0.15);
   padding-left: 20px;
}

.lang-option .flag-icon {
   font-size: 16px;
   margin-right: 12px;
   min-width: 30px;
   color: #ffd700;
   font-weight: bold;
}

.lang-option .lang-name {
   color: #ffffff;
   font-size: 14px;
   font-weight: 500;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-option.active {
   background: rgba(255, 255, 255, 0.2);
   border-left: 3px solid #ffd700;
}

/* 响应式调整 - 按钮大小 */
@media (max-width: 640px) {
   .current-lang {
      width: 60px;
      height: 34px;
   }
   
   .current-lang .flag-icon {
      font-size: 16px;
   }
   
   .lang-dropdown {
      min-width: 180px;
      right: 0;
      left: auto;
   }
}

@media (max-width: 400px) {
   .current-lang {
      width: 55px;
      height: 32px;
   }
   
   .current-lang .flag-icon {
      font-size: 14px;
   }
   
   .lang-dropdown {
      right: 0;
      left: auto;
   }
}