:root {
  --primary: #FF7EB3;
  --primary-light: #FFF5F9;
  --secondary: #FFB86C;
  --dark: #2D2D3A;
  --white: #FFFFFF;
  --shadow: 0 4px 16px rgba(255, 126, 179, 0.12);
  --shadow-hover: 0 8px 24px rgba(255, 126, 179, 0.25);
  --radius: 12px;
  --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--primary-light);
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 126, 179, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(255, 184, 108, 0.08) 0%, transparent 40%);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.h2-section { margin-bottom: 56px; }
.section-header { margin-bottom: 28px; }
.section-header h2 { font-size: 1.8rem; color: var(--dark); margin-bottom: 8px; }
.section-header .section-sub { font-size: 1rem; color: #888; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: 64px; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display: flex; align-items: center;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.1rem; }
.nav-brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-menu { display: flex; gap: 20px; font-size: 0.95rem; }
.nav-menu a { transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.nav-search { display: flex; align-items: center; border: 2px solid var(--secondary); border-radius: 20px; overflow: hidden; padding: 2px; }
.nav-search input { border: none; outline: none; padding: 6px 12px; font-size: 0.9rem; width: 160px; background: transparent; }
.nav-search button { background: var(--secondary); color: var(--white); padding: 6px 14px; border-radius: 16px; font-size: 0.9rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: var(--transition); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
  padding: 60px 0; color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.5; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); border-radius: 20px; padding: 4px 14px; font-size: 0.85rem; margin-bottom: 16px; }
.hero h1 { font-size: 2.4rem; line-height: 1.3; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--secondary); }
.hero p { font-size: 1rem; margin-bottom: 20px; opacity: 0.95; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-tag { background: rgba(255,255,255,0.15); border-radius: 12px; padding: 4px 12px; font-size: 0.85rem; }
.hero-btns { display: flex; gap: 16px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 24px; font-size: 0.95rem; transition: var(--transition); text-align: center; }
.btn-primary { background: var(--white); color: var(--primary); font-weight: bold; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.hero-logo-box { display: flex; justify-content: center; align-items: center; }
.hero-logo-box img { width: 240px; height: 240px; object-fit: cover; border-radius: 24px; box-shadow: 0 12px 32px rgba(0,0,0,0.2); border: 4px solid rgba(255,255,255,0.3); }

/* Intro */
.intro-box { background: var(--white); border-radius: var(--radius); padding: 32px; border-left: 6px solid var(--primary); box-shadow: var(--shadow); position: relative; }
.intro-content { overflow: hidden; transition: max-height 0.3s ease; }
.intro-content p { margin-bottom: 16px; font-size: 0.95rem; color: #555; line-height: 1.8; }
.intro-content p:last-child { margin-bottom: 0; }
.expand-btn { display: block; margin-top: 16px; color: var(--primary); font-weight: bold; font-size: 0.9rem; cursor: pointer; }

/* Grid Layouts */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Comic Cards */
.comic-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.comic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.comic-cover { position: relative; padding-top: 133%; }
.comic-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.comic-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: var(--white); padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; font-weight: bold; }
.comic-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.comic-title { font-size: 1rem; font-weight: bold; margin-bottom: 6px; color: var(--dark); }
.comic-desc { font-size: 0.85rem; color: #777; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.comic-desc.expanded { -webkit-line-clamp: unset; display: block; }
.comic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag-pill { padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; color: var(--white); }
.tag-pink { background: var(--primary); }
.tag-blue { background: #60A5FA; }
.tag-orange { background: #F59E0B; }
.tag-purple { background: #8B5CF6; }
.comic-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #999; margin-top: auto; }
.more-btn { color: var(--primary); font-size: 0.85rem; font-weight: bold; margin-top: 8px; align-self: flex-start; }

/* Curated Track */
.track-tabs { display: flex; gap: 12px; margin-bottom: 20px; }
.tab-btn { padding: 6px 18px; border-radius: 20px; font-size: 0.9rem; background: var(--white); color: #666; box-shadow: var(--shadow); transition: var(--transition); }
.tab-btn.active { background: var(--primary); color: var(--white); }
.track-slider { overflow: hidden; margin-bottom: 20px; }
.track-wrapper { display: flex; transition: transform 0.4s ease; }
.track-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.track-main { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.track-main-cover { position: relative; padding-top: 60%; }
.track-main-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.track-main-body { padding: 16px; }
.track-main-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 8px; }
.track-main-desc { font-size: 0.9rem; color: #777; }
.track-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 15px; }
.track-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; overflow: hidden; transition: var(--transition); }
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.track-card-cover { width: 80px; flex-shrink: 0; }
.track-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-card-body { padding: 12px; display: flex; flex-direction: column; justify-content: center; }
.track-card-title { font-size: 0.95rem; font-weight: bold; margin-bottom: 4px; }
.track-card-desc { font-size: 0.8rem; color: #888; }
.track-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.track-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: flex; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--primary); transition: var(--transition); }
.track-arrow:hover { background: var(--primary); color: var(--white); }
.track-dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--primary); transform: scale(1.2); }

/* Guide Panels */
.guide-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.guide-top { height: 6px; }
.guide-top-blue { background: #60A5FA; }
.guide-top-orange { background: #F59E0B; }
.guide-top-purple { background: #8B5CF6; }
.guide-body { padding: 24px; }
.guide-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 16px; color: var(--dark); }
.guide-list { list-style: none; }
.guide-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #555; margin-bottom: 12px; line-height: 1.5; }
.guide-list li::before { content: ''; display: block; width: 12px; height: 12px; border-radius: 3px; background: var(--primary); flex-shrink: 0; margin-top: 4px; }

/* App Preview */
.app-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app-screen { position: relative; padding-top: 216.6%; background: #eee; overflow: hidden; }
.app-screen img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.app-label { text-align: center; padding: 12px; font-size: 0.9rem; font-weight: bold; color: var(--dark); border-top: 1px solid #f0f0f0; }

/* Announcement */
.notice-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid #F59E0B; padding: 32px; max-width: 800px; margin: 0 auto; }
.notice-content { overflow: hidden; transition: max-height 0.3s ease; }
.notice-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 16px; color: var(--dark); text-align: center; }
.notice-text { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 16px; }
.notice-highlight { background: #FFF5F9; border-left: 4px solid var(--primary); padding: 16px; border-radius: 0 8px 8px 0; margin-bottom: 16px; font-size: 0.9rem; color: var(--dark); }
.notice-sign { text-align: right; font-size: 0.9rem; color: #888; margin-top: 16px; }

/* Download */
.download-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.download-top { height: 8px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.download-content { padding: 32px; }
.download-header { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.download-logo { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }
.download-info h3 { font-size: 1.3rem; font-weight: bold; margin-bottom: 8px; }
.download-info p { font-size: 0.95rem; color: #666; margin-bottom: 12px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tag { background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; }
.download-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dl-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border-radius: var(--radius); background: var(--primary-light); border: 1px solid rgba(255, 126, 179, 0.3); transition: var(--transition); text-align: center; }
.dl-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.dl-btn strong { font-size: 1rem; margin-bottom: 4px; }
.dl-btn span { font-size: 0.8rem; opacity: 0.8; }
.download-tip { font-size: 0.85rem; color: #999; text-align: center; }

/* Reviews */
.review-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: var(--transition); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; color: var(--white); flex-shrink: 0; }
.avatar-1 { background: linear-gradient(135deg, #FF9A9E, #FECFEF); }
.avatar-2 { background: linear-gradient(135deg, #A18CD1, #FBC2EB); }
.avatar-3 { background: linear-gradient(135deg, #FAD0C4, #FFD1FF); }
.avatar-4 { background: linear-gradient(135deg, #84FAB0, #8FD3F4); }
.review-meta { flex: 1; }
.review-name { font-weight: bold; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: #999; }
.review-text { font-size: 0.9rem; color: #555; line-height: 1.6; margin-bottom: 12px; }
.review-stars { color: var(--secondary); font-size: 1.1rem; letter-spacing: 2px; }

/* Ranking */
.rank-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rank-cover { position: relative; padding-top: 133%; }
.rank-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.rank-body { padding: 16px; }
.rank-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 4px; }
.rank-date { font-size: 0.85rem; color: var(--primary); margin-bottom: 8px; }
.rank-desc { font-size: 0.85rem; color: #777; line-height: 1.5; }

/* Calendar */
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 24px; }
.day-btn { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 8px; text-align: center; transition: var(--transition); position: relative; }
.day-btn.active { background: var(--primary); color: var(--white); }
.day-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.day-name { font-size: 0.9rem; font-weight: bold; margin-bottom: 4px; }
.day-count { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }
.day-btn.active .day-count { background: rgba(255,255,255,0.3); color: var(--white); }
.pulse-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.pulse-dot::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: var(--secondary); animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
.calendar-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 12px; padding: 12px; transition: var(--transition); }
.detail-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.detail-cover { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.detail-info { display: flex; flex-direction: column; justify-content: center; }
.detail-title { font-size: 0.9rem; font-weight: bold; margin-bottom: 4px; }
.detail-ep { font-size: 0.8rem; color: var(--primary); }

/* Footer */
.footer { background: var(--dark); color: #ccc; padding: 56px 0 24px; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 36px; margin-bottom: 12px; border-radius: 6px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; color: #aaa; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: #aaa; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #444; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #888; flex-wrap: wrap; gap: 12px; }
.footer-bottom-left { display: flex; align-items: center; gap: 8px; }
.footer-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); position: relative; }
.footer-pulse::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: var(--primary); animation: pulse 1.5s infinite; }
.footer-bottom-right { display: flex; gap: 16px; }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-hover); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 100; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2rem; }
  .hero-logo-box img { width: 200px; height: 200px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .h2-section { margin-bottom: 40px; }
  .navbar { padding: 0 16px; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-search { flex: 1; margin-left: 12px; }
  .nav-search input { width: 100%; flex: 1; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 1.8rem; }
  .hero-tags { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-logo-box img { width: 180px; height: 180px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .track-slide { grid-template-columns: 1fr; }
  .track-side { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .download-btns { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .calendar-days { grid-template-columns: repeat(4, 1fr); }
  .calendar-details { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .download-header { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .track-side { grid-template-columns: 1fr; }
  .calendar-days { grid-template-columns: repeat(3, 1fr); }
  .calendar-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero h1 { font-size: 1.5rem; }
}