:root {
  --bg-main: #F4F9FF;
  --bg-light: #E8F3FF;
  --brand: #2B8CFF;
  --deep-blue: #1A5FB4;
  --coral: #FF5A5F;
  --mint: #20C997;
  --orange: #FFB020;
  --text-main: #2C3E50;
  --text-sub: #718096;
  --card-bg: #FFFFFF;
  --shadow: 0 12px 32px rgba(43,140,255,0.12);
  --shadow-hover: 0 20px 40px rgba(43,140,255,0.2);
  --radius: 24px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-left img {
  height: 36px;
  border-radius: 8px;
}
.nav-left span {
  font-size: 24px;
  font-weight: 900;
  color: var(--deep-blue);
  letter-spacing: 1px;
}
.nav-center {
  display: none;
}
.nav-center a {
  margin: 0 20px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-main);
  position: relative;
}
.nav-center a.active {
  color: var(--deep-blue);
}
.nav-center a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-download {
  background: var(--coral);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(255,90,95,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,90,95,0.6);
}

/* Hero */
.hero {
  position: relative;
  height: 600px;
  background: radial-gradient(circle at 70% 50%, var(--brand), var(--deep-blue));
  display: flex;
  align-items: center;
  padding: 0 5%;
  margin-top: 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
  background-size: 40px 40px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #fff;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.search-bar {
  display: flex;
  background: #fff;
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(26,95,180,0.3);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 16px;
  border-radius: 30px;
}
.search-bar button {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.hero-images {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-cover {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3);
  transition: transform 0.5s;
}
.hero-cover:nth-child(1) {
  width: 200px;
  height: 280px;
  transform: rotate(-15deg) translateX(-120px) translateY(20px);
  z-index: 1;
}
.hero-cover:nth-child(2) {
  width: 240px;
  height: 340px;
  transform: rotate(0deg);
  z-index: 3;
}
.hero-cover:nth-child(3) {
  width: 200px;
  height: 280px;
  transform: rotate(15deg) translateX(120px) translateY(20px);
  z-index: 2;
}
.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Quick Entry */
.quick-entry {
  position: relative;
  margin: -40px auto 0;
  max-width: 900px;
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  z-index: 10;
  gap: 16px;
}
.entry-item {
  text-align: center;
  flex: 1;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.3s;
}
.entry-item:hover {
  background: var(--bg-light);
}
.entry-item .icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.entry-item .title {
  font-size: 16px;
  font-weight: bold;
  color: var(--deep-blue);
}
.entry-item .desc {
  font-size: 12px;
  color: var(--text-sub);
}

/* Section Common */
.section {
  padding: 80px 5%;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--deep-blue);
  display: flex;
  align-items: center;
  gap: 12px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.section-link {
  font-size: 16px;
  color: var(--text-sub);
  font-weight: bold;
}

/* Update Grid */
.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.update-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.update-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.update-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.update-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.update-card:hover .update-cover img {
  transform: scale(1.05);
}
.update-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--mint);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  border-bottom-left-radius: 12px;
  font-weight: bold;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}
.update-info {
  padding: 16px;
}
.update-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--deep-blue);
  margin-bottom: 4px;
}
.update-meta {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.update-desc {
  background: var(--bg-main);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
}

/* Recommend Banner */
.banner-section {
  background: var(--bg-light);
  padding: 80px 5%;
  position: relative;
}
.banner-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle, rgba(43,140,255,0.1) 2px, transparent 2px);
  background-size: 30px 30px;
}
.banner-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner-img {
  width: 45%;
  position: relative;
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-content {
  width: 55%;
  padding: 60px;
}
.banner-content h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--deep-blue);
  margin-bottom: 20px;
}
.banner-content p {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.8;
}
.banner-btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 16px 48px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(255,90,95,0.4);
  transition: transform 0.3s;
}
.banner-btn:hover {
  transform: scale(1.05);
}

/* Ranking */
.ranking-layout {
  display: flex;
  gap: 40px;
}
.ranking-list {
  flex: 2;
}
.ranking-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.ranking-tab {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-sub);
  cursor: pointer;
}
.ranking-tab.active {
  color: var(--deep-blue);
  border-bottom: 3px solid var(--coral);
  padding-bottom: 4px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.rank-item:hover {
  transform: translateX(8px);
}
.rank-num {
  font-size: 28px;
  font-weight: 900;
  width: 40px;
  text-align: center;
  margin-right: 16px;
  font-style: italic;
}
.rank-num.n1 { color: #FFD700; }
.rank-num.n2 { color: #C0C0C0; }
.rank-num.n3 { color: #CD7F32; }
.rank-num.n4 { color: var(--text-sub); }
.rank-thumb {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 16px;
}
.rank-info {
  flex: 1;
}
.rank-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--deep-blue);
}
.rank-author {
  font-size: 13px;
  color: var(--text-sub);
}
.rank-heat {
  width: 100px;
  height: 40px;
}
.rank-heat svg {
  width: 100%;
  height: 100%;
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
}

.editor-pick {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.editor-pick img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.editor-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
}
.editor-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--deep-blue);
  margin-bottom: 8px;
}
.stars {
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 12px;
}
.editor-review {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.category-card:hover {
  background: var(--bg-light);
  transform: translateY(-5px);
}
.cat-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.cat-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--deep-blue);
  margin-bottom: 4px;
}
.cat-stats {
  font-size: 12px;
  color: var(--text-sub);
}

/* New Arrivals */
.new-section {
  background: var(--bg-light);
}
.new-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.new-card {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.new-card:hover {
  transform: scale(1.02);
}
.new-img {
  width: 45%;
}
.new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.new-info {
  width: 55%;
  padding: 30px;
  position: relative;
}
.new-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--deep-blue);
  margin-bottom: 8px;
}
.new-meta {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.new-desc {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
}
.new-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(43,140,255,0.1);
  color: var(--brand);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.faq-card {
  background: #fff;
  padding: 24px 24px 24px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
.faq-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  background: var(--coral);
  border-radius: 0 4px 4px 0;
}
.faq-q {
  font-size: 18px;
  font-weight: bold;
  color: var(--deep-blue);
  margin-bottom: 12px;
}
.faq-a {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
}

/* Download */
.download-section {
  background: linear-gradient(135deg, var(--deep-blue), var(--brand));
  color: #fff;
  padding: 100px 5%;
  display: flex;
  align-items: center;
  gap: 60px;
}
.download-content {
  flex: 1;
}
.download-content h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 24px;
}
.download-features {
  margin-bottom: 40px;
}
.dl-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 18px;
}
.dl-btn-group {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
}
.dl-version {
  font-size: 14px;
  opacity: 0.7;
}
.download-visual {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup {
  position: absolute;
  background: #fff;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.4s;
}
.mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.mockup-center {
  width: 200px;
  height: 400px;
  z-index: 3;
}
.mockup-left {
  width: 180px;
  height: 360px;
  transform: translateX(-120px) translateY(20px) rotate(-10deg);
  z-index: 2;
}
.mockup-right {
  width: 180px;
  height: 360px;
  transform: translateX(120px) translateY(20px) rotate(10deg);
  z-index: 1;
}
.download-visual:hover .mockup-left {
  transform: translateX(-160px) translateY(0) rotate(-15deg);
}
.download-visual:hover .mockup-right {
  transform: translateX(160px) translateY(0) rotate(15deg);
}
.dl-girl {
  position: absolute;
  top: -40px;
  right: 40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  z-index: 10;
  background: var(--brand);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.dl-girl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platform-text {
  position: absolute;
  bottom: -20px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Footer */
.footer {
  background: var(--bg-main);
  padding: 60px 5% 30px;
  border-top: 1px solid var(--bg-light);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 18px;
  color: var(--deep-blue);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-sub);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 36px;
  border-radius: 8px;
}
.footer-brand span {
  font-size: 20px;
  font-weight: bold;
  color: var(--deep-blue);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--bg-light);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-sub);
}
.footer-bottom a {
  color: var(--text-sub);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-center { display: flex; }
  .update-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .update-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .new-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 64px; }
  .hero-images { display: flex; }
  .banner-inner { flex-direction: row; }
  .download-section { flex-direction: row; }
}
@media (max-width: 767px) {
  .hero { flex-direction: column; height: auto; padding: 100px 5% 60px; text-align: center; }
  .hero-images { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 300px; margin-top: 40px; }
  .hero-cover:nth-child(1) { transform: rotate(-10deg) translateX(-60px) scale(0.8); }
  .hero-cover:nth-child(2) { transform: rotate(0deg) scale(0.9); }
  .hero-cover:nth-child(3) { transform: rotate(10deg) translateX(60px) scale(0.8); }
  .search-bar { flex-direction: column; border-radius: 16px; }
  .search-bar input { padding: 12px; text-align: center; }
  .search-bar button { width: 100%; padding: 12px; border-radius: 16px; }
  .quick-entry { flex-wrap: wrap; margin-top: 20px; }
  .entry-item { min-width: 40%; }
  .section { padding: 40px 5%; }
  .section-title { font-size: 24px; }
  .update-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .update-desc { display: none; }
  .banner-inner { flex-direction: column; }
  .banner-img { width: 100%; height: 200px; }
  .banner-content { width: 100%; padding: 30px; text-align: center; }
  .banner-content h2 { font-size: 28px; }
  .ranking-layout { flex-direction: column; }
  .new-card { flex-direction: column; }
  .new-img { width: 100%; height: 200px; }
  .new-info { width: 100%; padding: 20px; }
  .faq-grid { grid-template-columns: 1fr; }
  .download-section { flex-direction: column; text-align: center; }
  .download-visual { height: 300px; margin-top: 40px; }
  .mockup-left, .mockup-right { display: none; }
  .mockup-center { width: 160px; height: 320px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand { justify-content: center; }
}