:root {
  --bg-color: #FDFBF7;
  --primary-pink: #FFB5C2;
  --primary-blue: #87CEEB;
  --text-main: #5B4A68;
  --text-light: #8A7A96;
  --card-bg: #FFFFFF;
  --gradient-main: linear-gradient(135deg, #FFB5C2 0%, #87CEEB 100%);
  --gradient-hover: linear-gradient(135deg, #FFA0B0 0%, #6EC0E0 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: bold; margin-bottom: 20px; text-align: center; letter-spacing: 1px; }
.section-desc { text-align: center; color: var(--text-light); margin-bottom: 50px; font-size: 16px; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 30px; font-weight: bold;
  color: #fff; background: var(--gradient-main); transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn:hover { background: var(--gradient-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 181, 194, 0.4); }
.btn-outline {
  background: transparent; color: var(--text-main); border: 2px solid var(--primary-blue);
}
.btn-outline:hover { background: var(--primary-blue); color: #fff; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo-area img { height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 30px; font-weight: 500; }
.nav-links a:hover { color: var(--primary-pink); }
.header-actions .btn { padding: 8px 20px; font-size: 14px; }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero-box {
  background: var(--gradient-main); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; padding: 60px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(255, 181, 194, 0.3);
}
.hero-text { flex: 1; max-width: 500px; z-index: 2; }
.hero-text h1 { font-size: 42px; line-height: 1.3; margin-bottom: 24px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.hero-text p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.hero-image { flex: 1; display: flex; justify-content: flex-end; z-index: 2; }
.hero-image img { width: 100%; max-width: 400px; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.15); object-fit: cover; }

/* Daily Update */
.daily-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.daily-scroll::-webkit-scrollbar { display: none; }
.daily-card {
  flex: 0 0 auto; background: #fff; border-radius: 50px; padding: 12px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 2px solid transparent;
  display: flex; align-items: center; gap: 15px; font-weight: bold; transition: 0.3s;
}
.daily-card.today { border-color: var(--primary-pink); background: #FFF0F3; }
.daily-tag { background: var(--text-main); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 14px; }
.daily-card.today .daily-tag { background: var(--gradient-main); }

/* Editor Recommend (Masonry-ish) */
.masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rec-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: 0.3s; }
.rec-card:hover { transform: translateY(-5px); }
.rec-card img { width: 100%; height: 300px; object-fit: cover; }
.rec-content { padding: 30px; }
.rec-content h3 { font-size: 22px; margin-bottom: 12px; color: var(--text-main); }
.rec-content p { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-bottom: 15px; }
.rec-quote { font-style: italic; color: var(--primary-pink); font-weight: bold; border-left: 3px solid var(--primary-pink); padding-left: 10px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-item {
  background: #fff; border-radius: var(--radius-md); padding: 20px; text-align: center;
  font-weight: bold; font-size: 18px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
  transition: 0.3s;
}
.cat-item:hover { background: var(--gradient-main); color: #fff; border-color: transparent; }

/* Ranking Bento */
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento-main { grid-row: span 2; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.bento-main img { width: 100%; height: 100%; object-fit: cover; }
.bento-main .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; }
.bento-side { display: flex; flex-direction: column; gap: 20px; }
.bento-item { background: #fff; border-radius: var(--radius-md); padding: 20px; display: flex; gap: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); align-items: center; }
.bento-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.bento-item-info h4 { font-size: 16px; margin-bottom: 5px; }
.bento-item-info p { font-size: 13px; color: var(--text-light); }

/* Screenshot Wall */
.screenshot-wall { columns: 3; column-gap: 20px; }
.shot-item { break-inside: avoid; margin-bottom: 20px; background: #fff; padding: 10px 10px 20px; border-radius: var(--radius-sm); box-shadow: 0 4px 10px rgba(0,0,0,0.05); transform: rotate(-1deg); transition: 0.3s; }
.shot-item:nth-child(even) { transform: rotate(1deg); }
.shot-item:hover { transform: scale(1.02) rotate(0); z-index: 10; position: relative; }
.shot-item img { width: 100%; border-radius: 4px; display: block; margin-bottom: 15px; }
.shot-item p { font-size: 14px; text-align: center; color: var(--text-main); font-weight: 500; }

/* Magazine Feature */
.magazine-feature { display: flex; gap: 40px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.magazine-feature img { width: 40%; border-radius: var(--radius-md); }
.magazine-text { flex: 1; }
.magazine-text h3 { font-size: 28px; margin-bottom: 20px; }
.magazine-text p { color: var(--text-light); margin-bottom: 15px; }

/* Dark Star Section */
.star-section { background: #2D2136; color: #fff; padding: 100px 0; }
.star-section .section-title { color: #fff; }
.star-card { display: flex; gap: 40px; background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.star-card img { width: 40%; object-fit: cover; }
.star-info { padding: 50px; flex: 1; }
.star-info h3 { font-size: 32px; margin-bottom: 20px; color: var(--primary-pink); }
.star-info p { font-size: 16px; line-height: 1.8; color: #d0c8d8; }

/* Tags & Character */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 40px; }
.tag { padding: 8px 20px; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); font-weight: bold; color: var(--primary-blue); border: 1px solid var(--primary-blue); }
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.char-card { text-align: center; background: #fff; padding: 20px; border-radius: var(--radius-md); }
.char-card h4 { margin-bottom: 10px; color: var(--primary-pink); }
.char-card p { font-size: 14px; color: var(--text-light); }

/* Deep Columns */
.columns-layout { display: flex; gap: 30px; }
.col-main { flex: 2; background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.col-main img { width: 100%; height: 400px; object-fit: cover; }
.col-main-content { padding: 40px; }
.col-main-content h3 { font-size: 26px; margin-bottom: 20px; }
.col-side { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.side-item { background: #fff; border-radius: var(--radius-md); padding: 20px; }
.side-item h4 { margin-bottom: 10px; color: var(--primary-blue); }
.side-item p { font-size: 14px; color: var(--text-light); }

/* Comments */
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comment-card { background: #fff; padding: 20px; border-radius: 20px 20px 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.comment-card p { font-size: 15px; margin-bottom: 10px; color: var(--text-main); }
.comment-user { font-size: 12px; color: var(--text-light); text-align: right; }

/* Schedule Table */
.schedule-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.schedule-table th { padding: 15px; text-align: center; background: var(--primary-pink); color: #fff; }
.schedule-table th:first-child { border-radius: 20px 0 0 20px; }
.schedule-table th:last-child { border-radius: 0 20px 20px 0; }
.schedule-table td { padding: 15px; text-align: center; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.schedule-table td:first-child { border-radius: 20px 0 0 20px; font-weight: bold; }
.schedule-table td:last-child { border-radius: 0 20px 20px 0; }
.schedule-table tr.today td { background: #FFF0F3; border-top: 1px solid var(--primary-pink); border-bottom: 1px solid var(--primary-pink); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gradient-main); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 30px; background: #fff; padding: 20px; border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.timeline-item::before { content: ''; position: absolute; left: -38px; top: 25px; width: 16px; height: 16px; background: #fff; border: 4px solid var(--primary-blue); border-radius: 50%; }

/* Download Section */
.download-section { background: #2D2136; color: #fff; padding: 100px 0; }
.download-content { display: flex; align-items: center; gap: 60px; }
.phone-mockup { width: 300px; height: 600px; background: #111; border-radius: 40px; padding: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: rotateY(-15deg) rotateX(5deg); }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.download-info { flex: 1; }
.download-info h2 { font-size: 40px; margin-bottom: 20px; color: var(--primary-pink); }
.download-info p { font-size: 18px; color: #d0c8d8; margin-bottom: 30px; }
.download-features { display: flex; gap: 20px; margin-bottom: 40px; }
.feature-tag { background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 20px; font-size: 14px; }
.download-btns { display: flex; gap: 20px; }
.download-btns .btn { flex: 1; text-align: center; }

/* Footer */
footer { background: #FDFBF7; padding: 40px 0; text-align: center; border-top: 1px solid rgba(0,0,0,0.05); font-size: 14px; color: var(--text-light); }
footer a { color: var(--text-light); }
footer a:hover { color: var(--primary-pink); }
.footer-info { margin-bottom: 10px; }

/* Floating Button */
.floating-btn { position: fixed; right: 30px; bottom: 30px; z-index: 999; }
.floating-btn .fab { width: 60px; height: 60px; background: var(--gradient-main); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-weight: bold; box-shadow: 0 10px 20px rgba(255, 181, 194, 0.4); cursor: pointer; transition: 0.3s; }
.floating-btn .fab:hover { transform: scale(1.1); }
.fab-tooltip { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); background: #fff; padding: 8px 15px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-size: 14px; opacity: 0; pointer-events: none; transition: 0.3s; white-space: nowrap; }
.fab:hover + .fab-tooltip { opacity: 1; }
.fab-panel { position: absolute; bottom: 80px; right: 0; background: #fff; padding: 20px; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: none; flex-direction: column; gap: 10px; width: 200px; }
.fab-panel.active { display: flex; }
.fab-panel .btn { width: 100%; text-align: center; }

@media (max-width: 1024px) {
  .hero-text h1 { font-size: 32px; }
  .hero-box { padding: 40px; }
  .masonry { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-main { grid-row: auto; height: 400px; }
  .screenshot-wall { columns: 2; }
  .magazine-feature { flex-direction: column; }
  .magazine-feature img { width: 100%; }
  .star-card { flex-direction: column; }
  .star-card img { width: 100%; height: 300px; }
  .char-grid { grid-template-columns: repeat(2, 1fr); }
  .columns-layout { flex-direction: column; }
  .comment-grid { grid-template-columns: repeat(2, 1fr); }
  .download-content { flex-direction: column; }
  .phone-mockup { transform: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-box { flex-direction: column; text-align: center; }
  .hero-image { margin-top: 30px; }
  .cat-grid { grid-template-columns: 1fr; }
  .screenshot-wall { columns: 1; }
  .char-grid { grid-template-columns: 1fr; }
  .comment-grid { grid-template-columns: 1fr; }
  .schedule-table { display: block; overflow-x: auto; }
  .download-btns { flex-direction: column; }
}