:root {
  --bg-color: #FDF6EC;
  --bg-darker: #F5EAD8;
  --primary: #FF6B35;
  --text-main: #8B7355;
  --text-dark: #4A3C31;
  --white: #FFFFFF;
  --border-light: rgba(255, 107, 53, 0.2);
  --shadow-soft: 0 8px 24px rgba(139, 115, 85, 0.08);
  --shadow-hover: 0 12px 32px rgba(255, 107, 53, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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; }
.section-title {
  font-size: 24px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  position: relative;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 2px;
  margin-right: 12px;
}
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.btn-primary:hover { background-color: #E85A25; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4); }
.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: bold;
  text-align: center;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}
.btn-outline:hover { background-color: rgba(255, 107, 53, 0.05); transform: translateY(-2px); }

/* Header */
header {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-wrapper img { height: 32px; border-radius: 8px; }
.logo-text { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: 0.5px; }
nav { display: none; }
nav a { margin: 0 16px; font-weight: 500; transition: color 0.3s; color: var(--text-dark); }
nav a:hover, nav a.active { color: var(--primary); }

/* Hero */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, var(--bg-color) 0%, #FFF3E0 100%);
}
.hero-inner { display: flex; flex-direction: column; gap: 40px; }
.hero-text { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-text h1 { font-size: 38px; color: var(--primary); line-height: 1.2; margin-bottom: 20px; font-weight: 900; }
.hero-text p { font-size: 18px; color: var(--text-main); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-wrapper { flex: 1; position: relative; }
.hero-img-card {
  border: 2px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}
.hero-img-card:hover { transform: translateY(-5px); }
.hero-img-card img { width: 100%; height: auto; aspect-ratio: 3/4; }
.hero-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  color: var(--primary);
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255, 107, 53, 0.2), transparent);
  pointer-events: none;
}
.bubble-deco {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: rgba(255, 107, 53, 0.15);
  border-radius: 50%;
  z-index: -1;
}

/* Sections Common */
section { padding: 60px 0; }
.bg-white { background-color: var(--white); }
.bg-alt { background-color: var(--bg-darker); }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* Hot Manga Cards */
.card-manga {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card-manga:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; transition: transform 0.5s; }
.card-manga:hover .card-img-wrap img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: var(--white);
  font-size: 12px; padding: 4px 10px; border-radius: 12px; font-weight: bold;
}
.card-content { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 18px; color: var(--primary); font-weight: bold; margin-bottom: 8px; }
.card-desc { font-size: 13px; color: var(--text-main); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.card-stars { color: var(--primary); font-size: 14px; }

/* What is section */
.intro-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.intro-left p { font-size: 16px; margin-bottom: 20px; }
.intro-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.intro-tags span {
  background: rgba(255, 107, 53, 0.1); color: var(--primary);
  padding: 6px 14px; border-radius: 16px; font-size: 14px; font-weight: 500;
}
.intro-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-box {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-color); padding: 16px; border-radius: 12px;
}
.feature-icon {
  width: 32px; height: 32px; background: var(--primary); color: var(--white);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 16px;
}
.feature-info h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.feature-info p { font-size: 12px; color: var(--text-main); }

/* Ranking */
.ranking-wrapper { display: flex; flex-direction: column; gap: 30px; }
.rank-box { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); }
.rank-box h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.rank-list { list-style: none; }
.rank-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--border-light); }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 24px; font-weight: 900; color: var(--primary); width: 40px; font-style: italic; }
.rank-name { flex: 1; font-size: 15px; color: var(--text-dark); font-weight: 500; }
.rank-score { font-size: 18px; font-weight: 900; color: var(--primary); }
.rank-tag { background: var(--bg-darker); color: var(--primary); font-size: 12px; padding: 2px 8px; border-radius: 8px; margin-left: 10px; }

/* Schedule */
.schedule-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 20px; margin-bottom: 20px; scrollbar-width: none; }
.schedule-days::-webkit-scrollbar { display: none; }
.day-btn {
  padding: 8px 20px; border-radius: 20px; font-size: 15px; font-weight: bold;
  border: 1px solid var(--primary); background: transparent; color: var(--primary);
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.day-btn.active { background: var(--primary); color: var(--white); }
.schedule-list { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); }
.schedule-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.schedule-item:last-child { border-bottom: none; }
.schedule-info { display: flex; align-items: center; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.schedule-name { font-size: 16px; color: var(--text-dark); font-weight: 500; }
.schedule-status { font-size: 13px; color: var(--primary); }

/* Topics */
.topic-card {
  background: var(--white); border-radius: 12px; padding: 24px;
  border-left: 4px solid var(--primary); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; transition: transform 0.3s;
}
.topic-card:hover { transform: translateY(-3px); }
.topic-tag { font-size: 12px; color: var(--primary); font-weight: bold; margin-bottom: 8px; }
.topic-title { font-size: 18px; color: var(--primary); font-weight: bold; margin-bottom: 12px; }
.topic-desc { font-size: 14px; color: var(--text-main); flex: 1; margin-bottom: 16px; }
.topic-link { font-size: 14px; color: var(--primary); font-weight: bold; }

/* Guide */
.guide-grid { display: flex; flex-direction: column; gap: 24px; }
.guide-item { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); }
.guide-title { font-size: 18px; color: var(--primary); font-weight: bold; margin-bottom: 16px; }
.guide-manga { display: flex; flex-direction: column; gap: 12px; }
.gm-name { font-size: 15px; font-weight: bold; color: var(--text-dark); }
.gm-comment { font-size: 13px; color: var(--text-main); }

/* OP/ED */
.op-card { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); position: relative; overflow: hidden; }
.play-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; position: absolute; top: 20px; right: 20px;
  font-size: 14px; cursor: pointer; box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}
.op-title { font-size: 18px; color: var(--primary); font-weight: bold; margin-bottom: 12px; padding-right: 40px; }
.op-desc { font-size: 14px; color: var(--text-main); }

/* Why Choose */
.why-grid { display: grid; grid-template-columns: 1fr; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; background: var(--white); }
.why-item { padding: 30px; border-bottom: 1px solid var(--border-light); }
.why-item:last-child { border-bottom: none; }
.why-item h4 { font-size: 18px; color: var(--primary); font-weight: bold; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--text-main); }

/* Quality */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-box {
  background: var(--white); border: 2px solid var(--border-light); border-radius: 16px;
  padding: 24px 16px; text-align: center; transition: border-color 0.3s;
}
.q-box:hover { border-color: var(--primary); }
.q-char { font-size: 40px; font-weight: 900; color: var(--primary); font-family: "STKaiti", "KaiTi", serif; margin-bottom: 8px; line-height: 1; }
.q-desc { font-size: 13px; color: var(--text-main); }

/* Columns */
.columns-wrapper { display: flex; flex-direction: column; gap: 30px; }
.col-main { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); flex: 1; }
.col-side { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); flex: 1; }
.col-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.col-header h3 { font-size: 20px; color: var(--primary); font-weight: bold; }
.col-badge { background: var(--primary); color: var(--white); font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.list-item { display: flex; gap: 16px; margin-bottom: 20px; }
.list-item:last-child { margin-bottom: 0; }
.list-img { width: 80px; height: 110px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.side-img { width: 60px; height: 80px; }
.list-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.list-name { font-size: 16px; color: var(--text-dark); font-weight: bold; margin-bottom: 6px; }
.list-desc { font-size: 13px; color: var(--text-main); line-height: 1.4; }

/* Tips */
.tips-masonry { column-count: 1; column-gap: 20px; }
.tip-card {
  background: var(--white); border: 1px dashed var(--primary); border-radius: 12px;
  padding: 16px; margin-bottom: 20px; break-inside: avoid;
}
.tip-text { font-size: 14px; color: var(--text-main); margin-bottom: 12px; font-style: italic; }
.tip-author { font-size: 12px; color: var(--primary); text-align: right; font-weight: bold; }

/* Download CTA */
.cta-section { background: linear-gradient(135deg, var(--bg-darker) 0%, #FFF3E0 100%); text-align: center; }
.cta-title { font-size: 28px; color: var(--primary); font-weight: 900; margin-bottom: 40px; }
.steps-row { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--white);
  font-size: 20px; font-weight: bold; display: flex; align-items: center; justify-content: center;
}
.step-text { font-size: 16px; color: var(--text-dark); font-weight: bold; }
.cta-btn { font-size: 18px; padding: 16px 40px; border-radius: 30px; display: inline-block; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.stat-item { padding: 20px; }
.stat-val { font-size: 32px; font-weight: 900; color: var(--primary); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-main); }

/* Footer */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--primary);
  padding: 40px 0 20px;
  font-size: 13px;
}
.footer-inner { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; font-weight: bold; color: var(--primary); }
.footer-logo img { height: 24px; }
.footer-slogan { color: var(--text-main); margin-top: 8px; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; align-items: center; color: var(--text-main); border-top: 1px solid rgba(139,115,85,0.1); padding-top: 20px; margin-top: 20px; }
.footer-bottom a { color: var(--text-main); }
.footer-bottom a:hover { color: var(--primary); }
.time-info { font-size: 12px; color: #A8988A; }

@media (min-width: 768px) {
  .hero-text h1 { font-size: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .intro-card { flex-direction: row; }
  .intro-left { flex: 0 0 45%; }
  .intro-right { flex: 1; grid-template-columns: 1fr; }
  .ranking-wrapper { flex-direction: row; }
  .guide-grid { flex-direction: row; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
  .why-item:nth-child(3), .why-item:nth-child(4) { border-bottom: none; }
  .quality-grid { grid-template-columns: repeat(4, 1fr); }
  .columns-wrapper { flex-direction: row; }
  .col-main { flex: 0 0 60%; }
  .col-side { flex: 0 0 40%; }
  .tips-masonry { column-count: 2; }
  .steps-row { flex-direction: row; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-bottom { flex-direction: row; justify-content: space-between; width: 100%; }
  .footer-logo { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .hero-inner { flex-direction: row; align-items: center; gap: 60px; }
  .hero-text { flex: 0 0 40%; }
  .hero-image-wrapper { flex: 0 0 60%; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  nav { display: flex; align-items: center; }
  .intro-right { grid-template-columns: 1fr 1fr; }
  .tips-masonry { column-count: 3; }
  .header-inner { height: 80px; }
}