:root {
  --color-bg: #fcf8f9;
  --color-panel: #ffffff;
  --color-primary: #ff8fab;
  --color-primary-hover: #ff5c8a;
  --color-text-main: #4a4a4a;
  --color-text-muted: #888888;
  --color-heading: #2c2c2c;
  --shadow-light: 0 4px 20px rgba(255, 143, 171, 0.15);
  --shadow-hover: 0 8px 30px rgba(255, 143, 171, 0.25);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.card-shadow {
  background: var(--color-panel);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 50px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.3s;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 4px 15px rgba(255,143,171,0.4); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 15px 0; transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--color-primary); }
.brand-name { font-size: 24px; font-weight: 800; color: var(--color-heading); letter-spacing: 0.5px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { color: var(--color-text-main); font-size: 15px; font-weight: 500;}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--color-heading); position: absolute; transition: all 0.3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.hero { position: relative; padding: 120px 0 60px; overflow: hidden; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-tags {
  display: inline-block; padding: 6px 16px; background: #fff;
  color: var(--color-primary); border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(255,143,171,0.2);
}
.hero-title { font-size: clamp(32px, 5vw, 52px); margin-bottom: 20px; color: var(--color-heading); font-weight: 800; }
.hero-sub { font-size: 16px; color: var(--color-text-muted); margin-bottom: 40px; line-height: 1.8; }

.hero-download-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.dl-card { padding: 25px; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 260px; }
.qr-wrapper { width: 130px; height: 130px; padding: 8px; border-radius: 12px; border: 1px solid #f0f0f0; }
.dl-qr { width: 100%; height: 100%; object-fit: cover; }
.dl-card .btn { width: 100%; padding: 12px 0; gap: 10px; background: #fafafa; border: 1px solid #eaeaea; color: var(--color-heading); }
.dl-card .btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-text { display: flex; flex-direction: column; text-align: left; }
.st-top { font-size: 11px; opacity: 0.8; }
.st-main { font-size: 15px; font-weight: bold; }

.section-spacing { margin-bottom: 50px; }

.horizontal-widget { padding: 40px; text-align: center; }
.horizontal-title { font-size: 22px; color: var(--color-heading); margin-bottom: 25px; }
.horizontal-desc { font-size: 14px; color: var(--color-text-muted); margin-bottom: 25px; }

.tag-cloud-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag-cloud-row span { background: #fcf8f9; border: 1px solid #ffebf0; padding: 8px 18px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.2s; color: var(--color-primary); }
.tag-cloud-row span:hover { background: var(--color-primary); color: #fff; }

.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; text-align: left; }
.city-grid li { position: relative; padding-left: 15px; }
.city-grid li::before { content: "♥"; position: absolute; left: 0; top: 1px; color: var(--color-primary); font-size: 12px; }
.city-grid a { font-size: 14px; color: var(--color-text-main); display: block; line-height: 1.6;}
.city-grid a:hover { color: var(--color-primary); }

.feed-title { font-size: 26px; color: var(--color-heading); margin-bottom: 30px; padding-left: 15px; position: relative;}
.feed-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--color-primary); border-radius: 4px;}

.waterfall { column-count: 3; column-gap: 20px; }
.waterfall-card {
  break-inside: avoid;
  background: var(--color-panel);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #f5f5f5;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.waterfall-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.w-tag {
  display: inline-block; padding: 3px 10px; background: rgba(255, 143, 171, 0.15);
  color: var(--color-primary); font-size: 12px; border-radius: 4px; margin-bottom: 12px; font-weight: 600;
}
.waterfall-card h3 { font-size: 17px; color: var(--color-heading); margin-bottom: 15px; line-height: 1.5; }
.w-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-muted); border-top: 1px dashed #eee; padding-top: 12px;}

.seo-footer-archive { padding: 60px 0; background: #fff; border-top: 1px solid #f0f0f0; margin-top: 40px;}
.archive-title { text-align: center; font-size: 22px; color: var(--color-heading); margin-bottom: 40px; }
.archive-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.archive-columns ul { display: flex; flex-direction: column; gap: 10px; }
.archive-columns li { font-size: 13px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.archive-columns li:hover { color: var(--color-primary); cursor: pointer; }

.site-footer { padding: 50px 0 20px; background: #fff; border-top: 1px dashed #f0f0f0;}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: var(--color-primary); font-size: 22px; font-weight: bold; margin-bottom: 15px;}
.footer-slogan { color: var(--color-text-muted); font-size: 14px;}
.footer-notice { max-width: 450px; }
.footer-notice h3 { margin-bottom: 15px; font-size: 16px; color: var(--color-heading);}
.notice-text { font-size: 13px; color: var(--color-text-muted); line-height: 1.8; }
.footer-bottom { border-top: 1px solid #f0f0f0; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #999; }

@media (max-width: 900px) {
  .waterfall { column-count: 2; }
}
@media (max-width: 768px) {
  .waterfall { column-count: 1; }
  
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: all 0.3s ease;
  }
  .main-nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .main-nav ul { flex-direction: column; align-items: center; gap: 20px; }
  
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

  .dl-card { flex-direction: row; width: 100%; max-width: 400px;}
  .qr-wrapper { width: 90px; height: 90px; flex-shrink: 0;}
}