/* —— 全局重置 & 背景 —— */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
body {
  background: url('../images/bg-mobile.jpg') center/cover no-repeat;
}
@media screen and (min-width: 768px) {
  body {
    background-image: url('../images/bg-desktop.jpg');
  }
}

/* —— 主容器 —— */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* —— 左上角 LOGO —— */
.logo-top-left {
  position: absolute;
  top: 150px;     /* PC端 */
  left: 20px;
  z-index: 20;
}
.logo-top-left img {
  width: 100px;
  height: auto;
}

/* —— 固定在窗口顶端的下载按钮 —— */
.download-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 15;
}

/* —— 按钮通用样式 —— */
.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
}
.btn-android { background-color: #4CAF50; }
.btn-ios     { background-color: #333; }

.emoji {
  font-size: 1.5rem;
}

.label {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.label-cn {
  font-size: 1rem;
}
.label-en {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* —— 主体 Hero 区 —— */
.hero {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: transparent !important;
}
.hero::before { content: none !important; }

/* —— 文本覆盖层 —— */
.overlay {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ff69b4;
}
.overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
#current-time {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.overlay p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* —— 大标题发光描边效果 —— */
.big-glow-title {
  font-size: 2.0rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  text-shadow:
    0 0 12px #ff43aa,
    0 0 4px #ff43aa,
    1px 1px 0 #ff43aa,
    -1px -1px 0 #ff43aa,
    0 2px 6px #ff43aa,
    0 0 1px #fff;
  padding: 8px 0 20px 0;
  background: none;
  margin-bottom: 30px;
}
@media screen and (max-width: 600px) {
  .big-glow-title {
    font-size: 1.7rem;
    padding-top: 16px;
    margin-bottom: 18px;
  }
}

/* —— 主体区下载按钮 —— */
.download-hero {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 1.3cm; /* 再下移一点 */
}

/* —— 文件包风格按钮 —— */
.download-hero .btn {
  background: rgba(255,255,255,0.60);
  color: #e53935;
  border: 2.5px solid #e53935;
  border-radius: 20px;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(229,57,53,0.10);
  padding: 18px 28px;
  transition: all 0.18s;
  position: relative;
  min-width: 138px;
  min-height: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.download-hero .btn:hover {
  background: #e53935;
  color: #fff;
}
.download-hero .btn-ios {
  color: #007aff;
  border-color: #007aff;
}
.download-hero .btn-ios:hover {
  background: #007aff;
  color: #fff;
}
.download-hero .file-emoji {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.download-hero .file-label-cn {
  display: block;
  font-size: 1.08rem;
  font-weight: bold;
  margin-bottom: 3px;
  letter-spacing: 1px;
}
.download-hero .file-label-ext {
  font-size: 1rem;
  background: #f6f6f6;
  color: #888;
  border-radius: 6px;
  padding: 2px 8px;
  margin-top: 3px;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* —— 底部信息 —— */
.bottom-bar {
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  margin-top: auto;
  z-index: 10;
}
.fail-tip {
  color: #ffcc00;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
.fail-tip:hover {
  text-decoration: underline;
}
.slogan {
  font-style: italic;
  font-size: 0.875rem;
  color: #ccc;
}

/* —— guide.html 专用 —— */
.guide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
  background: #f9f9f9;
  min-height: 100vh;
}
.guide-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}
.guide-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.back-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #4CAF50;
  font-weight: bold;
}

/* —— 响应式兼容 —— */
@media screen and (max-width: 600px) {
  .logo-top-left img {
    width: 65px;
  }
  .logo-top-left { top: 80px; }  /* 仅此一句有改动，其它不动 */
  .overlay { top: 60%; }
  .big-glow-title { font-size: 1.15rem; }
  .download-hero { margin-top: 0.7cm; }
  .download-hero .btn { padding: 10px 8px; font-size: 0.98rem; min-width: 110px; min-height: 58px; }
}