* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.download-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background: linear-gradient( 134deg, #280043 0%, #000000 31%, #000000 72%, #5D0000 100%);
  padding: 118px 0 118px 427px;
  gap: 158px; 
}
.download-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 41px;  
  max-width: 649px;
}

.download-text {
  font-weight: 300;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 50px;
  max-width: 520px;
  margin-top: 20px;
  margin-bottom: 64px;
}

.platform-download {
  display: flex;
  gap: 40px;
}

.download-btn {
  display: flex;
  align-items: center;
  background: #FF0000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
}

.download-btn .btn-icon {
    padding: 14px 0 14px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn .btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  padding: 9px 35px 8px 0px; 
  margin-left: 30px; 
  color: #FFFFFF;
}

.download-btn .btn-text .line1 {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  text-align: left;
}

.download-btn .btn-text .line2 {
  font-weight: bold;
  font-size: 26px;
  line-height: 30px;
  text-align: left;
}

.platform-download img {
  height: auto;
  max-width: 100%;
}

.download-container-sj {
  display: none;
}

.ios-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 100);
    align-items: center;
    justify-content: center;
    z-index: 1000; 
}

.ios-overlay img {
    cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 999; 
}

.dialog {
  max-width: 360px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog .logo {
  width: 100%;
  height: 100%;
}

.dialog h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 10px;
}

.status-message {
  color: #FF0000;
  margin-bottom: 25px;
  padding: 0 10px;
}

.status-message b {
  color: #fa0000;
}

.invite-code-container {
  margin-bottom: 25px;
  padding: 0 10px;
}

.invite-code-box {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
}

.invite-code {
  flex: 1;
  font-family: monospace;
  font-size: 16px;
  color: #1f2937;
  padding: 5px;
  border: none;
  outline: none;
  text-align: center;
}

.copy-manual-btn {
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.copy-manual-btn:hover {
  background: #2563eb;
}

.dialog-close {
  position: absolute;
  top: 0px;
  right: 15px;
  font-size: 30px;
  color: #666;
  cursor: pointer
}

.dialog-close:hover {
  color: #000;
}

.scrollbar {
  background: linear-gradient( 134deg, #280043 0%, #000000 31%, #000000 72%, #5D0000 100%);
  opacity: 0.9;
  transition: all 0.3s ease;
  width: 100%;
  z-index: 999;
}

.scrollbar.fixed {
  position: fixed;
  top: 0;
  left: 0;
}

.scroll-content {
  display: flex;
  align-items: center;      
  justify-content: center;  
  padding: 19px 0;
  gap: 14px;      
  overflow: hidden;   
  max-width: 1280px;
  margin: 0 auto;   
}

.scroll-img img {
  height: 26px; 
}

.scroll-marquee {
  overflow: hidden;
  flex: 1;
}

.scroll-msg {
  display: inline-block;
  white-space: nowrap;
  font-weight: 400;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 36px;
  transform: translateX(100%);
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.why-choose {
  background: #F9F9F9;
  padding: 64px 0;
}

.why-choose h2 {
  font-weight: bold; 
  font-size: 40px;
  color: #222222;
  text-align: center;
  margin-bottom: 40px;
}

.choose-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.choose-card {
  background: #fff;
  padding: 48px 40px;
  text-align: center;
}

.choose-card img {
  margin-bottom: 20px;
}

.choose-card h3 {
  font-weight: bold;
  font-size: 20px;
  color: #222222;
  margin-bottom: 16px;
}

.choose-card p {
  font-weight: 400;
  font-size: 18px;
  color: #555555;
  line-height: 30px;
  text-align: center;
}

.safe-download {
  padding: 100px 0;
}

.android-download,.ios-download {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content:flex-start;
  align-items: flex-start;
}
.android-download {
  gap: 171px;
  margin-bottom: 89px;
}

.android-content {
  margin-top: 45px;
} 

.android-title {
  font-weight: bold;
  font-size: 40px;
  color: #222222;
  margin-bottom: 24px;
}

.android-btn {
  display: flex;
  align-items: center;
  background: #FF7700;
  border-radius: 8px;
  border: 1px solid #FF7700;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  justify-content: center;  
  padding: 21px 65px 20px 66px;
  gap: 16px;    
  margin-bottom: 24px;        
}

.btn-text {
  font-weight: bold;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 31px;
}

.android-verify h3 {
  font-weight: bold;
  font-size: 20px;
  color: #222222;
  margin-bottom: 24px;
}

.android-verify p {
  font-weight: 400;
  font-size: 14px;
  color: #222222;
  margin-bottom: 16px;
}

.android-verify p:last-child {
  margin-bottom: 0px;
}

.ios-download {
  gap: 175px;
}

.ios-title {
  font-weight: bold;
  font-size: 40px;
  color: #222222;
  line-height: 52px;
  margin-bottom: 24px;
}

.ios-btn {
  display: flex;
  align-items: center;
  background: #F50000;
  border-radius: 8px;
  border: 1px solid #F50000;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  justify-content: center;  
  padding: 21px 29px 20px 30px;
  gap: 16px;    
  margin-bottom: 24px;    
}

.ios-steps {
  margin-bottom: 20px;
}

.ios-steps h3 {
  font-weight: bold;
  font-size: 20px;
  color: #222222;
  line-height: 26px;
  margin-bottom: 24px;
}

.ios-steps p {
  font-weight: 400;
  font-size: 14px;
  color: #222222;
  line-height: 19px;
  margin-bottom: 16px;
}

.ios-steps p:last-child {
  margin-bottom: 0px;
}

.ios-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #FF0000;
}

.ios-video video {
  margin-top: 23px;
  width: 520px;
  border-radius: 16px;
}

.faq-section {
  background: #F9F9F9;
  padding: 64px 0;
}

.faq-title {
  font-weight: bold;
  font-size: 50px;
  color: #222222;
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.faq-content {
  background: #fff;
  padding: 20px 16px;
  position: relative;
  overflow: auto;
  cursor: pointer;
}

.faq-content h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 24px;
  color: #222222;
  text-align: left;
  float: left;
}
.faq-arrow {
    float: right;
}
.faq-msg {
    width: 100%;
    clear: both;
    display: none;
}
.faq-line2 {
    width: 100%;
    height: 1px;
    background: rgba(208, 215, 223, 1);
    margin-bottom: 15px;
}
.faq-msg p {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    color: #555;
}

.tiktok-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

.tiktok-dialog {
  background: #fff;
  padding: 24px 36px;
  border-radius: 12px;
  text-align: left;
  max-width: 448px;
  width: 100%;
}

.tiktok-dialog h2 {
  color: #222;
  font-size: 18px;
  margin: 0 0 12px 0;
  text-align: center;
}

.tiktok-dialog .lead {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
  text-align: center;
}

.tiktok-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.tiktok-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
  font-weight: 400;
  line-height: 19px;
}
.tiktok-steps .num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #FFB468;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
}

.tiktok-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #F9F7F7;
  padding: 10px 0;
  border-radius: 6px;
}

.tiktok-note-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #555;
  font-weight: 400;
}

.tiktok-note-item img {
  width: 12px;
  height: 12px;
}

.tiktok-note .divider {
  width: 1px;
  height: 12px;
  background: rgba(0,0,0,0.1);
}

.tiktok-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.tiktok-close-btn {
  background: #F50000;
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  width: 100%;
}
.tiktok-close-btn:hover { opacity: 0.95; }

@media (max-width: 768px) {
  .download-content {
    margin: 0;
    text-align: center;
    max-width: 100%;
  }

  .platform-download {
    justify-content: center;
    gap: 40px;
  }

  .download-btn .btn-icon {
    padding: 7px 0 7px 10px;
  }
  
  .download-btn .btn-text {
    padding: 4px 10px 4px 0px;
    margin-left: 10px;
  }
  
  .download-btn .btn-text .line1 {
    font-size: 14px;
  }
  
  .download-btn .btn-text .line2 {
    font-size: 20px;
  }

  .download-container {
    display: none; 
  }
  
  .download-container-sj {
    display: flex;
    flex-direction: column;
    background: linear-gradient( 134deg, #280043 0%, #000000 31%, #000000 72%, #5D0000 100%);
    width: 100%;
    margin: 0 auto;
    padding: 44px 16px 48px;
    box-sizing: border-box;
  }

  .download-container-sj .download-img {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    margin-bottom: 29px;
  }
  
  .download-container-sj .download-text-img {
      display: flex;
      flex-direction: column;
  }
  
  .download-container-sj .download-text-img img:first-child{
      width: 199px;
  }
  
  .download-container-sj video {
      margin-bottom: 20px;
      border: 1px solid #2d2929;
      height: auto;
  }

  .download-container-sj .download-text {
    margin-bottom: 0px;
  }

  .download-container-sj .download-text img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .scroll-content {
    padding: 12px 10px;
    gap: 10px;
  }

  .scroll-img img {
    height: 20px; 
  }

  .scroll-msg {
    font-size: 16px; 
    line-height: 26px;
  }

  .why-choose {
    padding: 20px 16px;
  }

  .why-choose h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .choose-grid {
    flex-direction: column;
    gap: 12px;
  }

  .choose-card {
    padding: 16px;
  }
  
  .choose-card img {
     width: 64px;
     margin-bottom: 10px;
  }

  .choose-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .choose-card p {
    font-size: 14px;
    line-height: 20px;
  }

  .safe-download {
    padding: 50px 8px;
    display: flex;
    gap: 2px;
  }

  .android-download,.ios-download {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    text-align: center;
  }

  .android-download {
    margin-bottom: 192px;
    flex-direction: column-reverse;
  }

  .android-img img {
    max-width: 100%;
  }

  .android-content,.ios-content {
    margin-top: 0;
  }

  .android-title,.ios-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: inherit;
  }

  .android-btn,.ios-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 320px;
    height: 55px;
    border-radius: 8px;
    gap: 4px;
    padding: 0 10px;
    margin: 0 auto 20px;
  }

  .android-btn img,.ios-btn img {
    width: 18px;
  }

  .btn-text {
    font-size: 16px;
    line-height: inherit;
  }

  .android-verify h3,.ios-steps h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .android-verify p,.ios-steps p,.ios-desc {
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    margin-bottom: 8px;
  }
  
  .ios-desc {
    margin-bottom: 0px;
  }

  .ios-video video {
    width: 100%;
    max-width: 360px;
  }

  .faq-section {
    padding: 40px 16px;
  }

  .faq-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .faq-content {
    padding: 16px;
  }

  .faq-content h2 {
    font-size: 14px;
    line-height: 20px;
  }

  .faq-msg p {
    font-size: 14px;
    line-height: 20px;
  }
  
   .tiktok-dialog { padding: 16px; max-width: 360px;border-radius: 24px; }
  .tiktok-dialog .lead { font-size: 13px; }
  .tiktok-steps li { font-size: 13px; }
  .tiktok-steps .num { width: 20px; height: 20px; min-width: 20px; font-size: 13px; }
  .tiktok-note { gap: 4px; }
  .tiktok-note-item { gap: 2px; }
  .ios-overlay img { width: 100%; }
}