:root {
  --bg: #F3F0FF;
  --purple: #7C3AED;
  --green: #A3E635;
  --pink: #F472B6;
  --text: #2E1065;
  --text-muted: #6B7280;
  --card-bg: #FFFFFF;
  --radius: 24px;
  --shadow: 0 12px 32px rgba(124, 58, 237, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(#E5DFFF 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; font-weight: 800; display: inline-block; position: relative; }
.section-title h2::after { content: ''; position: absolute; bottom: 4px; left: 10%; width: 80%; height: 8px; background: rgba(163, 230, 53, 0.4); border-radius: 4px; z-index: -1; }
.section-title p { color: var(--text-muted); margin-top: 10px; font-size: 1rem; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(243, 240, 255, 0.9); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid rgba(124, 58, 237, 0.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--purple); }
.logo-area img { height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a { padding: 6px 16px; border-radius: 20px; font-size: 0.95rem; font-weight: 600; transition: all 0.3s; }
.nav-links a:hover, .nav-links a.active { background: rgba(124, 58, 237, 0.1); color: var(--purple); }

/* Hero */
.hero { padding: 60px 0; position: relative; }
.hero-card { background: linear-gradient(135deg, #F9F5FF 0%, #FCE7F3 100%); border-radius: 32px; padding: 50px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-content { max-width: 600px; z-index: 2; }
.tag { display: inline-block; background: #fff; color: var(--pink); font-weight: bold; padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(244, 114, 182, 0.15); }
.hero h1 { font-size: 2.8rem; line-height: 1.3; margin-bottom: 20px; }
.hero h1 span { color: var(--purple); border-bottom: 3px solid var(--purple); }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.btn-primary { display: inline-block; background: var(--purple); color: #fff; font-size: 1.1rem; font-weight: bold; padding: 14px 32px; border-radius: 30px; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3); transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); }
.hero-visual { position: relative; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; }
.mascot { width: 160px; height: 160px; background: var(--purple); border-radius: 50%; position: relative; box-shadow: inset -10px -10px 20px rgba(0,0,0,0.1); }
.mascot::before { content: ''; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 20px; height: 50px; background: var(--green); border-radius: 20px; rotate: 15deg; }
.mascot::after { content: ''; position: absolute; top: 60px; left: 30px; width: 20px; height: 30px; background: #fff; border-radius: 50%; box-shadow: 60px 0 0 #fff; }
.mascot-smile { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 40px; height: 20px; border-bottom: 4px solid #fff; border-radius: 0 0 20px 20px; }

/* Hot Search */
.hot-search { padding: 20px 0; overflow: hidden; }
.hot-tags { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.hot-tags::-webkit-scrollbar { display: none; }
.hot-tag { flex-shrink: 0; background: #fff; padding: 8px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; color: var(--purple); box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: all 0.3s; }
.hot-tag:hover { background: var(--purple); color: #fff; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4); }
.hot-tag span { color: var(--pink); margin-right: 5px; }

/* Grid Layouts */
.anime-section { padding: 60px 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; position: relative; }
.card:hover { transform: translateY(-8px); }
.card-img-wrapper { position: relative; aspect-ratio: 3/4; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.badge-tag { position: absolute; top: 12px; left: 12px; background: var(--green); color: var(--text); font-size: 0.8rem; font-weight: bold; padding: 4px 10px; border-radius: 12px; }
.badge-score { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.85rem; font-weight: bold; padding: 4px 8px; border-radius: 8px; }
.card-info { padding: 16px; }
.card-info h3 { font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); }

/* Feature Sections */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* Review Wall */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-item { background: #fff; padding: 20px; border-radius: 16px; border-left: 6px solid var(--purple); box-shadow: 0 4px 15px rgba(0,0,0,0.03); font-size: 0.95rem; }
.review-item:nth-child(even) { border-left-color: var(--green); }
.review-user { display: block; text-align: right; margin-top: 10px; color: var(--text-muted); font-size: 0.85rem; }

/* Ranking & Schedule */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rank-list { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.rank-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: bold; font-size: 0.9rem; margin-right: 15px; background: #f0f0f0; color: var(--text-muted); }
.rank-num.top1 { background: #FFD700; color: #fff; }
.rank-num.top2 { background: #C0C0C0; color: #fff; }
.rank-num.top3 { background: #CD7F32; color: #fff; }
.rank-name { flex: 1; font-weight: bold; }
.rank-score { color: var(--pink); font-weight: bold; }

.schedule-list { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.schedule-day { display: flex; padding: 12px 0; border-bottom: 1px dashed #e5e7eb; }
.schedule-day:last-child { border-bottom: none; }
.schedule-day.active { background: rgba(163, 230, 53, 0.15); border-radius: 12px; padding: 12px 15px; margin: 0 -15px; color: var(--text); }
.day-label { width: 60px; font-weight: bold; color: var(--purple); flex-shrink: 0; }
.day-animes { font-size: 0.9rem; color: var(--text-muted); }

/* Download & FAQ */
.download-section { background: #fff; border-radius: 32px; padding: 50px; margin: 60px 0; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.download-info h2 { font-size: 2rem; margin-bottom: 15px; }
.download-info p { color: var(--text-muted); margin-bottom: 30px; }
.btn-group { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-outline { padding: 12px 24px; border: 2px solid var(--purple); border-radius: 20px; color: var(--purple); font-weight: bold; transition: all 0.3s; background: transparent; }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--text); }

.faq-item { border-bottom: 1px solid #f0f0f0; padding: 15px 0; }
.faq-item summary { font-weight: bold; cursor: pointer; 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: '+'; font-size: 1.2rem; color: var(--purple); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 10px; color: var(--text-muted); font-size: 0.95rem; }

/* Floating Button */
.float-btn { position: fixed; bottom: 30px; right: 30px; background: var(--purple); border-radius: 50px; padding: 15px 25px; color: #fff; font-weight: bold; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4); z-index: 1000; animation: bounce 2s infinite; text-decoration: none; line-height: 1.2; }
.float-btn span { font-size: 0.8rem; opacity: 0.9; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Footer */
footer { padding: 40px 0 60px; text-align: center; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid rgba(124, 58, 237, 0.1); }
footer .links { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
footer .links a { color: var(--text-muted); }
footer .links a:hover { color: var(--purple); }
.about-us { margin-top: 20px; max-width: 600px; margin-inline: auto; text-align: left; }
.about-us summary { cursor: pointer; color: var(--text-muted); font-size: 0.85rem; display: inline-block; }
.about-us .about-content { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.8rem; }
.about-us .about-content a { color: var(--text-muted); }
.about-us .about-content a:hover { color: var(--purple); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-card { flex-direction: column; text-align: center; padding: 40px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-visual { margin-top: 40px; }
  .two-col { grid-template-columns: 1fr; }
  .download-section { grid-template-columns: 1fr; padding: 30px; }
}
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .float-btn { padding: 12px 20px; bottom: 20px; right: 20px; font-size: 0.9rem; }
  .about-us .about-content { grid-template-columns: 1fr; }
}