:root {
  --gold-light: #FFEFC4;
  --gold-mid: #E8B94F;
  --gold-dark: #C08E30;
  --bg-main: #0B0A08;
  --bg-dark: #0F0D0A;
  --panel-dark: #1E1A14;
  --panel-light: #2E2619;
  --text-main: #FFF8E7;
  --text-sub: #B5A382;
  --border-light: rgba(214,178,94,.10);
  --border-mid: rgba(214,178,94,.20);
  --btn-text: #1A1206;
  --title-dark: #4A0E13;
  --grad-main: linear-gradient(135deg, var(--gold-light), var(--gold-mid), var(--gold-dark));
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, rgba(232,185,79,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 100% 100%, rgba(232,185,79,0.03) 0%, transparent 40%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-mid);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.brand span {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--btn-text); /* fallback */
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: var(--text-sub);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a:hover { color: var(--gold-mid); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold-mid);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--panel-dark);
  border-bottom: 1px solid var(--border-mid);
  padding: 10px 20px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:last-child { border-bottom: none; }

/* 首屏 */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.3;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  max-width: 800px;
}
.hero p {
  color: var(--text-sub);
  font-size: 1.05rem;
  max-width: 700px;
  margin-bottom: 30px;
}
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
}
.hero-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  aspect-ratio: 3/4;
}
.hero-gallery-item:hover { transform: translateY(-5px); }
.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}
.download-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--grad-main);
  color: var(--btn-text);
  font-weight: 600;
  border-radius: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(232,185,79,0.3);
  font-size: 0.95rem;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,185,79,0.4);
}
/* 跑马灯 */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--panel-dark);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  padding: 10px 0;
  margin-top: 20px;
}
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
  font-size: 1.1rem;
  font-weight: bold;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 通用区块 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-main);
}
.section-title span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  color: var(--text-sub);
  margin-bottom: 30px;
  font-size: 1rem;
}

/* 关于每日大赛 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.about-text-card {
  background: var(--panel-dark);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
}
.about-text-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--gold-mid);
}
.about-text-card p {
  color: var(--text-sub);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 今日大赛 */
.today-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.today-card {
  background: var(--panel-light);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: border-color 0.3s ease;
}
.today-card:hover { border-color: var(--gold-mid); }
.today-card h3 {
  color: var(--gold-mid);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.today-card ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-sub);
  font-size: 0.95rem;
}
.today-card li { margin-bottom: 8px; }

/* 主题反差 */
.theme-split {
  display: flex;
  gap: 30px;
  align-items: stretch;
}
.theme-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.theme-img-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  flex: 1;
}
.theme-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-right {
  flex: 1;
  background: var(--panel-dark);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-light);
}
.theme-right h3 {
  color: var(--gold-mid);
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.theme-right p {
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.8;
}

/* 反差大赛 */
.contrast-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contrast-item {
  display: flex;
  background: var(--panel-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.contrast-item-img {
  width: 120px;
  flex-shrink: 0;
}
.contrast-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contrast-item-content {
  padding: 20px;
}
.contrast-item-content h3 {
  color: var(--gold-mid);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contrast-item-content p {
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* 隐私安全 */
.privacy-box {
  background: var(--panel-dark);
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.privacy-item h3 {
  color: var(--gold-mid);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.privacy-item p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* 意见反馈 */
.feedback-form {
  background: var(--panel-dark);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-light);
  max-width: 600px;
  margin: 0 auto;
}
.feedback-form label {
  display: block;
  color: var(--text-sub);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.feedback-form input, .feedback-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
}
.feedback-form input:focus, .feedback-form textarea:focus {
  outline: none;
  border-color: var(--gold-mid);
}
.feedback-form button {
  width: 100%;
  padding: 14px;
  background: var(--grad-main);
  color: var(--btn-text);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

/* 常见问题 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--panel-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-item details {
  width: 100%;
}
.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold-mid);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-item details[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 20px 20px;
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* 下载专区 */
.download-zone {
  background: var(--panel-dark);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  gap: 40px;
}
.download-zone-img {
  flex: 1;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
}
.download-zone-img img {
  width: 100%;
  height: auto;
  display: block;
}
.download-zone-content {
  flex: 1.5;
}
.download-zone-content h3 {
  color: var(--gold-mid);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.install-steps {
  margin-bottom: 25px;
}
.install-steps p {
  color: var(--text-sub);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.download-zone .btn-group {
  justify-content: flex-start;
}

/* 底部浮动下载窗口 */
.floating-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 26, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-mid);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.floating-bar img { height: 32px; width: 32px; border-radius: 6px; }
.floating-bar span { color: var(--text-main); font-size: 0.9rem; white-space: nowrap; }
.floating-bar a {
  background: var(--grad-main);
  color: var(--btn-text);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* 百度APP下载提示弹窗 */
.baidu-tip-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.baidu-tip-modal.active { display: flex; }
.baidu-tip-content {
  background: var(--panel-light);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--gold-mid);
  max-width: 90%;
  width: 400px;
  text-align: center;
}
.baidu-tip-content p {
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1rem;
}
.baidu-tip-content .copy-link {
  background: var(--bg-main);
  padding: 10px;
  border-radius: 8px;
  color: var(--gold-mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
  word-break: break-all;
  border: 1px dashed var(--border-mid);
}
.baidu-tip-content button {
  background: var(--grad-main);
  color: var(--btn-text);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

/* 页脚 */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 40px 20px;
  font-size: 0.85rem;
  color: var(--text-sub);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-nav a { color: var(--text-sub); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-mid); }
.footer-info p { margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: 20px;
  gap: 10px;
}
.footer-bottom a {
  color: var(--text-sub);
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--gold-mid); }
.about-us-details {
  margin-top: 15px;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
}
.about-us-details summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-sub);
  list-style: none;
}
.about-us-details summary::-webkit-details-marker { display: none; }
.about-us-details summary:hover { color: var(--gold-mid); }
.about-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.8rem;
}
.about-friend-links a { color: var(--text-sub); transition: color 0.3s; }
.about-friend-links a:hover { color: var(--gold-mid); }

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-gallery { gap: 10px; }
  .about-grid, .theme-split, .privacy-box { grid-template-columns: 1fr; flex-direction: column; }
  .theme-left { flex-direction: row; }
  .theme-img-box { flex: 1; }
  .download-zone { flex-direction: column; text-align: center; }
  .download-zone .btn-group { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 20px 15px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-gallery { grid-template-columns: 1fr; max-width: 100%; }
  .hero-gallery-item { aspect-ratio: 16/9; }
  .hero-gallery-item img { object-fit: cover; }
  .btn-group { flex-direction: column; width: 100%; max-width: 300px; }
  .download-btn { width: 100%; text-align: center; }
  .floating-bar { bottom: 10px; padding: 8px 15px; width: calc(100% - 30px); justify-content: space-between; }
  .floating-bar span { font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .theme-left { flex-direction: column; }
  .contrast-item { flex-direction: column; }
  .contrast-item-img { width: 100%; height: 200px; }
  .download-zone { padding: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 40px 15px; }
  .marquee-content { font-size: 1rem; }
}