:root {
  --theme-yellow: #fbbf24;
  --theme-yellow-light: #fde047;
  --theme-blue: #7dd3fc;
  --theme-blue-dark: #38bdf8;
  --theme-green: #a3e635;
  --bg-start: #e0f2fe;
  --bg-end: #ffffff;
  --text-main: #1e293b;
  --text-sub: #64748b;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(251, 191, 36, 0.2);
  --shadow-hover: 0 16px 40px rgba(251, 191, 36, 0.35);
  --grad-main: linear-gradient(135deg, #fbbf24, #f59e0b);
  --grad-sub: linear-gradient(135deg, #7dd3fc, #38bdf8);
  --font-family: 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  color: var(--text-main);
  background: linear-gradient(to bottom, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--theme-yellow), var(--theme-blue-dark));
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f59e0b, #38bdf8);
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--theme-yellow);
  background: #fef3c7;
}
.nav-link.active {
  color: #f59e0b;
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--grad-main);
  border-radius: 3px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.nav-item:hover .dropdown-menu {
  display: flex;
}
.dropdown-menu a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  background: #fef3c7;
  color: var(--theme-yellow);
}
.search-box {
  position: relative;
  flex-shrink: 0;
}
.search-box input {
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 8px 20px 8px 40px;
  font-size: 14px;
  width: 220px;
  outline: none;
  transition: all 0.3s;
  background: #f8fafc;
}
.search-box input:focus {
  border-color: var(--theme-yellow);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
  background: #fff;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}
.hero {
  padding: 60px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1e293b, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  background: var(--grad-main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}
.section {
  padding: 50px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title span {
  font-size: 20px;
}
.title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-main);
  color: #fff;
  font-size: 18px;
}
.anime-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.anime-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(251, 191, 36, 0.1);
  display: flex;
  flex-direction: column;
}
.anime-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--theme-yellow);
}
.card-poster {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--grad-sub);
  overflow: hidden;
}
.card-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.anime-card:hover .card-poster img {
  transform: scale(1.05);
}
.badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--grad-main);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.badge-bottom-right {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.card-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}
.card-score {
  color: #f59e0b;
  font-weight: 800;
  font-size: 18px;
  background: #fffbeb;
  padding: 2px 8px;
  border-radius: 8px;
}
.card-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 500;
}
.tag.highlight {
  background: #ecfccb;
  color: #65a30d;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--theme-yellow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.avatar-blue { background: var(--grad-sub); }
.avatar-green { background: linear-gradient(135deg, #a3e635, #65a30d); }
.avatar-pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.avatar-orange { background: var(--grad-main); }
.review-user-meta {
  flex: 1;
}
.review-name {
  font-size: 15px;
  font-weight: 700;
}
.review-level {
  font-size: 12px;
  color: var(--theme-yellow);
  font-weight: 600;
  background: #fffbeb;
  padding: 1px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 2px;
}
.review-stars {
  color: var(--theme-yellow);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.review-time {
  font-size: 12px;
  color: #94a3b8;
}
.review-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.review-anime-tag {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
  align-self: flex-start;
}
.ranking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ranking-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(251, 191, 36, 0.1);
}
.ranking-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s;
}
.rank-item:hover {
  background: #fef3c7;
}
.rank-num {
  font-size: 28px;
  font-weight: 800;
  width: 40px;
  text-align: center;
  font-style: italic;
}
.rank-num.gold { color: #fbbf24; }
.rank-num.silver { color: #94a3b8; }
.rank-num.bronze { color: #d97706; }
.rank-num.normal { color: #cbd5e1; font-size: 22px; }
.rank-thumb {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.rank-info {
  flex: 1;
}
.rank-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.rank-status {
  font-size: 12px;
  color: var(--text-sub);
}
.rank-score {
  font-size: 16px;
  font-weight: 800;
  color: #f59e0b;
}
.download-section {
  padding: 60px 0;
}
.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(251, 191, 36, 0.1);
}
.feature-card.blue-tint {
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border-color: rgba(56, 189, 248, 0.2);
}
.feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #334155;
  font-weight: 500;
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--theme-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-main);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  transition: all 0.3s ease;
  width: 100%;
}
.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.5);
}
.btn-download.android {
  background: linear-gradient(135deg, #a3e635, #65a30d);
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.4);
}
.btn-download.android:hover {
  box-shadow: 0 10px 30px rgba(163, 230, 53, 0.5);
}
.faq-section {
  padding: 50px 0 80px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
  color: var(--text-main);
}
.faq-question:hover {
  background: #fef3c7;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--theme-yellow);
  transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-item[open] .faq-question {
  background: #fffbeb;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}
.floating-download {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5);
  z-index: 99;
  transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}
.floating-download:hover {
  transform: scale(1.1) rotate(6deg);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 32px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer a {
  color: #94a3b8;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--theme-yellow);
}
.footer .time-display {
  font-size: 12px;
  color: #cbd5e1;
}
@media (max-width: 1200px) {
  .anime-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 12px;
  }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 10px 16px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 24px;
    display: none;
  }
  .nav-item:hover .dropdown-menu {
    display: none;
  }
  .search-box {
    width: 100%;
  }
  .search-box input {
    width: 100%;
  }
  .menu-toggle {
    display: block;
  }
  .anime-grid {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .ranking-wrapper {
    grid-template-columns: 1fr;
  }
  .download-cards {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  .section-title {
    font-size: 22px;
  }
  .floating-download {
    width: 54px;
    height: 54px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}