* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --neon-pink: #ff2e97;
  --neon-cyan: #00f0ff;
  --neon-purple: #b026ff;
  --neon-yellow: #ffea00;
  --bg-dark: #0d0d14;
  --bg-card: #1a1a2e;
  --text-main: #f0f0f5;
  --text-muted: #a0a0b8;
}
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 46, 151, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 46, 151, 0.3);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.logo-area img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.search-box {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  outline: none;
  transition: all 0.3s;
}
.search-box input:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 46, 151, 0.3);
}
.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--neon-cyan); }
.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-login {
  padding: 6px 16px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-login:hover {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 15px var(--neon-pink);
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Hero */
.hero {
  padding: 60px 0;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-yellow) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 46, 151, 0.3);
}
.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 480px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(255, 46, 151, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255, 46, 151, 0.7);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 0 15px rgba(255, 46, 151, 0.3);
}
.hero-banner {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}
.hero-banner .banner-slide {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 300%;
}
.hero-banner .banner-slide img {
  width: 33.333%;
  height: 400px;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 60px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-header h2 {
  font-size: 28px;
  color: var(--text-main);
  position: relative;
  padding-left: 16px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan));
}
.section-header .more-link {
  font-size: 14px;
  color: var(--neon-cyan);
}

/* Quick Categories */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 80px;
  cursor: pointer;
  transition: transform 0.3s;
}
.cat-item:hover { transform: scale(1.1); }
.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 46, 151, 0.3);
  transition: all 0.3s;
}
.cat-item:hover .cat-icon {
  background: rgba(255, 46, 151, 0.15);
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
}
.cat-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Editor Picks */
.picks-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.picks-scroll::-webkit-scrollbar { height: 6px; }
.picks-scroll::-webkit-scrollbar-thumb { background: var(--neon-pink); border-radius: 4px; }
.pick-card {
  min-width: 240px;
  flex: 1;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.pick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
  border-color: rgba(0, 240, 255, 0.4);
}
.pick-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.pick-info {
  padding: 12px;
}
.pick-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.pick-info p {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ranking */
.ranking-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.rank-tab {
  padding: 8px 20px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}
.rank-tab.active, .rank-tab:hover {
  background: var(--neon-pink);
  color: #fff;
  border-color: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 46, 151, 0.4);
}
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.rank-item:hover {
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(255, 234, 0, 0.15);
}
.rank-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--neon-cyan);
  width: 40px;
  text-align: center;
}
.rank-num.top-3 { color: var(--neon-pink); text-shadow: 0 0 10px rgba(255, 46, 151, 0.5); }
.rank-cover {
  width: 50px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}
.rank-info {
  flex: 1;
}
.rank-info h4 {
  font-size: 15px;
  margin-bottom: 2px;
}
.rank-info span {
  font-size: 12px;
  color: var(--text-muted);
}
.rank-heat {
  font-size: 13px;
  color: var(--neon-yellow);
  white-space: nowrap;
}

/* Update Grid */
.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.update-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.update-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}
.update-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.update-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 20, 0.7);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.update-card:hover .update-overlay {
  opacity: 1;
}
.update-overlay span {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--neon-cyan);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 14px;
}
.update-meta {
  padding: 10px 12px;
}
.update-meta h4 {
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.update-meta .meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Theme Collections */
.theme-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.theme-group {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.theme-group h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--neon-yellow);
  text-shadow: 0 0 10px rgba(255, 234, 0, 0.3);
}
.theme-books {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.theme-books::-webkit-scrollbar { height: 4px; }
.theme-books::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 4px; }
.theme-book {
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.theme-book:hover { transform: scale(1.05); }
.theme-book img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.theme-book h4 {
  font-size: 13px;
  color: var(--text-main);
}

/* Screenshot Showcase */
.screenshot-section {
  padding: 60px 0;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.screenshot-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.screenshot-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
}
.screenshot-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.screenshot-images img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.screenshot-images img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Footer */
.site-footer {
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 18, 0.9);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-main);
}
.footer-col p, .footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--neon-cyan); }
.copyright {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.copyright time {
  color: var(--text-muted);
}

/* Download floating btn */
.float-download {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}
.float-download .btn-primary {
  padding: 12px 24px;
  font-size: 14px;
  box-shadow: 0 0 25px rgba(255, 46, 151, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 34px; }
  .update-grid { grid-template-columns: repeat(3, 1fr); }
  .screenshot-grid { gap: 20px; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search-box { order: 3; max-width: 100%; flex-basis: 100%; }
  .nav-links { display: none; }
  .hero-inner { flex-direction: column; }
  .hero-text h1 { font-size: 28px; }
  .hero-banner .banner-slide img { height: 260px; }
  .update-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .cat-grid { gap: 12px; }
  .cat-item { width: 64px; }
  .cat-icon { width: 48px; height: 48px; font-size: 22px; }
  .rank-num { font-size: 18px; width: 30px; }
  .rank-cover { width: 40px; height: 56px; }
  .float-download { bottom: 16px; right: 16px; }
}