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

body {
  background: #0a0a1a;
  font-family: "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  padding: clamp(12px, 2vw, 24px) clamp(16px, 3vw, 40px);
  gap: clamp(8px, 1.5vw, 16px);
}
header .logo {
  width: clamp(40px, 4vw, 60px);
  height: clamp(40px, 4vw, 60px);
  flex-shrink: 0;
}
header .site-name {
  font-size: clamp(16px, 2vw, 24px);
  color: #fff;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  font-weight: bold;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-download {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-left: auto;
}
.btn-download {
  width: clamp(100px, 12vw, 200px);
  height: auto;
  display: block;
  transition: transform .2s;
}
.btn-download:hover { transform: scale(1.05); }

.main { flex: 1; display: flex; flex-direction: column; }

.banner-wrap {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.banner-list {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
  will-change: transform;
}
.banner-list img {
  width: 100%;
  min-height: 80vh;
  object-fit: cover;
  object-position: center center;
  display: block;
  flex-shrink: 0;
}

.age-badge {
  position: absolute;
  top: clamp(6px, 1vw, 12px);
  right: clamp(6px, 1vw, 12px);
  z-index: 20;
  cursor: pointer;
  width: clamp(50px, 5vw, 80px);
  height: auto;
  transition: transform .2s;
}
.age-badge:hover { transform: scale(1.05); }

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-box {
  background: #1a1a3a;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}
.modal-box h3 {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 16px;
}
.modal-box p {
  color: rgba(255, 255, 255, .7);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8;
  margin-bottom: 8px;
}
.modal-close {
  margin-top: 20px;
  padding: clamp(8px, 1.5vw, 12px) clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #5fc3f7, #1a8cff);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  cursor: pointer;
  transition: transform .2s;
}
.modal-close:hover { transform: scale(1.05); }

footer {
  text-align: center;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .06);
  flex-shrink: 0;
}
footer .tips {
  color: rgba(255, 255, 255, .3);
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.8;
  margin-bottom: 8px;
  word-break: break-word;
}
footer .copyright {
  color: rgba(255, 255, 255, .3);
  font-size: clamp(11px, 1.2vw, 13px);
  margin-top: 12px;
}
footer .copyright a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
}
footer .copyright a:hover { color: #5fc3f7; }

@media screen and (max-width: 900px) {
  .header-download { gap: 6px; }
  .btn-download { width: clamp(90px, 18vw, 140px); }
}
