:root {
  --bg: #FFF9F2;
  --card-bg: #FFFFFF;
  --primary: #FF7A00;
  --secondary: #FFB347;
  --text-main: #3D2B1F;
  --text-sub: #887B75;
  --accent: #4CAF50;
  --border: #FFE4D1;
  --shadow: 0 8px 24px rgba(255, 122, 0, 0.1);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 800; line-height: 1.3; }
h2 { font-size: 2rem; margin-bottom: 10px; text-align: center; }
.section-p { color: var(--text-sub); text-align: center; margin-bottom: 40px; font-size: 1.05rem; }

/* Header */
header {
  background: var(--card-bg);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
  position: sticky; top: 0; z-index: 100;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 36px; width: auto; }
.logo-text { font-size: 1.3rem; font-weight: 900; color: var(--text-main); }
.nav-links { display: none; gap: 25px; }
.nav-links a { font-weight: 600; transition: all 0.3s; display: inline-block; }
.nav-links a:hover { color: var(--primary); transform: translateY(-3px); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.search-box {
  display: none; background: var(--bg); border-radius: 20px; padding: 8px 15px; align-items: center; border: 1px solid var(--border);
}
.search-box input { border: none; background: transparent; outline: none; width: 120px; font-size: 0.9rem; }
.search-box span { color: var(--primary); font-weight: bold; cursor: pointer; }
.btn-small {
  background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; transition: background 0.3s;
}
.btn-small:hover { background: var(--secondary); }

/* Hero */
.hero { padding: 40px 0 20px; }
.hero-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px; padding: 60px 30px; text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.hero-card::before {
  content: "🐾"; position: absolute; right: -20px; top: -20px; font-size: 200px; opacity: 0.15; transform: rotate(20deg);
}
.hero-card h1 { font-size: 2.2rem; margin-bottom: 15px; z-index: 1; position: relative; }
.hero-card p { font-size: 1.1rem; margin-bottom: 30px; z-index: 1; position: relative; opacity: 0.9; }
.hero-btns { display: flex; justify-content: center; gap: 15px; z-index: 1; position: relative; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--primary); padding: 12px 30px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; transition: transform 0.2s;
}
.btn-white:hover { transform: scale(1.05); }
.btn-ghost {
  border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Tags */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 20px 15px; }
.tag-item {
  background: #fff; border: 1px solid var(--border); padding: 8px 18px; border-radius: 20px; font-size: 0.95rem;
  color: var(--primary); font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 12px rgba(255,122,0,0.05);
}
.tag-item:hover { transform: scale(1.1); background: var(--primary); color: #fff; }

/* Hot Section */
.hot-section { padding: 40px 0; }
.hot-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.hot-scroll::-webkit-scrollbar { height: 6px; }
.hot-scroll::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }
.hot-card {
  flex: 0 0 200px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--card-bg); box-shadow: var(--shadow);
}
.hot-card img { width: 100%; height: 280px; }
.hot-badge {
  position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: bold;
}
.hot-title { padding: 12px; font-weight: bold; text-align: center; }

/* Schedule & Stats */
.split-section { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
.timeline {
  background: var(--card-bg); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.timeline h3 { margin-bottom: 20px; color: var(--primary); }
.tl-item { display: flex; gap: 15px; margin-bottom: 20px; position: relative; }
.tl-time { font-weight: bold; color: var(--primary); min-width: 50px; }
.tl-content { color: var(--text-sub); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card { background: var(--card-bg); border-radius: var(--radius); padding: 25px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { color: var(--text-sub); font-size: 0.95rem; margin-top: 8px; }

/* Ranking */
.rank-section { padding: 40px 0; }
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rank-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow);
}
.rank-card img { width: 100%; height: 100%; }
.rank-num {
  position: absolute; top: 10px; left: 10px; font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1; text-shadow: 2px 2px 0 var(--text-main); z-index: 2;
}
.rank-info { position: absolute; bottom: 0; width: 100%; padding: 20px 15px 15px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; }

/* Quotes & Music */
.quote-section { padding: 40px 0; }
.quote-card { background: var(--text-main); color: #fff; border-radius: var(--radius); padding: 40px 20px; text-align: center; position: relative; }
.quote-card h3 { font-size: 1.5rem; color: var(--secondary); margin-bottom: 15px; }
.quote-card p { font-size: 1.2rem; font-style: italic; }
.music-section { padding: 40px 0; }
.disc-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--card-bg); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 15px; }
.disc-img { width: 80px; height: 80px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; position: relative; }
.disc-center { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.disc-info { flex: 1; }
.disc-info h4 { color: var(--text-main); }
.disc-info p { color: var(--text-sub); font-size: 0.9rem; }

/* Manga */
.manga-section { padding: 40px 0; }
.manga-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.manga-card { border-radius: 15px; overflow: hidden; background: var(--card-bg); box-shadow: var(--shadow); }
.manga-card img { width: 100%; height: 180px; }
.manga-card p { padding: 10px; font-size: 0.9rem; text-align: center; font-weight: bold; }

/* Download */
.download-section { padding: 60px 0 40px; }
.download-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px; padding: 50px 20px; text-align: center; color: #fff;
  box-shadow: var(--shadow); position: relative;
}
.download-card::after { content: "✨"; position: absolute; top: 20px; left: 20px; font-size: 30px; opacity: 0.5; }
.download-card h2 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.download-card .subtitle { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.dl-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.dl-tag { background: #fff; color: var(--primary); padding: 6px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }
.dl-btn {
  display: inline-block; background: #fff; color: var(--primary); font-size: 1.2rem; font-weight: bold; padding: 15px 40px; border-radius: 30px; margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.2s; width: 100%; max-width: 280px;
}
.dl-btn:hover { transform: scale(1.05); }
.dl-note { font-size: 0.8rem; opacity: 0.8; }

/* Footer */
footer { background: var(--text-main); color: #fff; padding: 30px 0; text-align: center; font-size: 0.85rem; margin-top: 40px; }
footer p { margin-bottom: 8px; opacity: 0.7; }
footer a { color: var(--secondary); }
footer a:hover { text-decoration: underline; }
.update-time { font-size: 0.75rem; opacity: 0.5; margin-top: 10px; }

/* Floating Button */
.fab {
  position: fixed; bottom: 30px; right: 20px; background: var(--primary); color: #fff; padding: 12px 25px;
  border-radius: 30px; font-weight: bold; box-shadow: 0 8px 20px rgba(255,122,0,0.4); z-index: 999;
  animation: float 2s infinite ease-in-out; display: flex; align-items: center; gap: 5px;
}
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } }

/* Reviews */
.review-section { padding: 40px 0; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.review-card { background: var(--card-bg); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 15px; align-items: flex-start; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.review-content h4 { color: var(--primary); margin-bottom: 5px; }
.review-stars { color: var(--primary); font-size: 0.9rem; margin-bottom: 8px; }
.review-text { color: var(--text-sub); font-size: 0.95rem; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .search-box { display: flex; }
  .hero-card h1 { font-size: 3rem; }
  .hero-card p { font-size: 1.3rem; }
  .split-section { grid-template-columns: 1fr 1fr; }
  .hot-card { flex: 0 0 240px; }
  .hot-card img { height: 340px; }
  .rank-grid { gap: 30px; }
  .manga-grid { grid-template-columns: repeat(3, 1fr); }
  .manga-card img { height: 220px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .disc-wrap { padding: 30px; }
  .disc-img { width: 120px; height: 120px; }
  .disc-center { width: 50px; height: 50px; }
}
@media (min-width: 1024px) {
  .hero-card { padding: 80px 50px; }
  .hero-card h1 { font-size: 3.5rem; }
  .hot-scroll { justify-content: center; flex-wrap: wrap; }
  .hot-card { flex: 0 0 280px; }
  .hot-card img { height: 400px; }
  .rank-grid { grid-template-columns: repeat(4, 1fr); }
  .manga-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}