/* 羞羞漫画 - Y2K气泡玻璃：柔和渐变+毛玻璃+圆润气泡+友好语气 */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;600&display=swap');

:root {
  --grad-1: #e0c3fc;
  --grad-2: #8ec5fc;
  --grad-3: #ffecd2;
  --grad-4: #fcb69f;
  --glass: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --ink: #2d2d3a;
  --ink-soft: #5a5a6e;
  --bubble: rgba(255, 255, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  background: linear-gradient(135deg, var(--grad-1) 0%, var(--grad-2) 35%, var(--grad-3) 65%, var(--grad-4) 100%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.8;
  overflow-x: hidden;
}

/* 背景漂浮气泡 */
.bg-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-bubbles .b {
  position: absolute;
  border-radius: 50%;
  background: var(--bubble);
  filter: blur(40px);
}

.bg-bubbles .b1 { width: 280px; height: 280px; top: -80px; right: -60px; }
.bg-bubbles .b2 { width: 200px; height: 200px; bottom: 15%; left: -50px; }
.bg-bubbles .b3 { width: 150px; height: 150px; top: 40%; right: 20%; }
.bg-bubbles .b4 { width: 180px; height: 180px; bottom: -40px; right: 25%; }

/* 顶栏 - 毛玻璃 */
.head {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid var(--glass-border);
}

.head-in {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.head .logo {
  font-size: 1.35rem;
  font-weight: 700;
}

.head .logo a {
  color: var(--ink);
  text-decoration: none;
}

.head .logo a:hover {
  opacity: 0.8;
}

.head .nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.head .nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.head .nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 主区 */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
}

/* Hero - 大圆角毛玻璃块 */
.hero {
  backdrop-filter: blur(20px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.hero .tag {
  font-size: 1rem;
  color: var(--ink-soft);
}

/* 内容卡片 - 圆角玻璃 */
.card {
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* 入口 - 气泡式圆角网格 */
.sect {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 1rem;
  color: var(--ink);
}

.bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.bubble-card {
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.bubble-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.bubble-card a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: var(--ink);
}

.bubble-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.bubble-card .txt {
  padding: 1rem;
}

.bubble-card .t {
  font-weight: 700;
  font-size: 1rem;
}

.bubble-card .d {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

/* 列表页 */
.list-top {
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.list-top h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.list-top p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* 列表项 */
.list-item {
  display: flex;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.list-item:hover {
  transform: translateX(4px);
}

.list-item img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.list-item .info {
  flex: 1;
  min-width: 0;
}

.list-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.list-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.list-item h3 a:hover {
  text-decoration: underline;
}

.list-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* 内容页 */
.article {
  max-width: 720px;
}

.article .title-block {
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.article .title-block h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-bottom: 0.3rem;
}

.article .title-block .meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.article .body {
  backdrop-filter: blur(16px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.75rem;
}

.article .body img {
  max-width: 100%;
  border-radius: 16px;
  margin: 1rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article .body h2 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.article .body h3 {
  font-size: 0.98rem;
  margin: 1rem 0 0.4rem;
}

.article .body p, .article .body li {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.article .body ul, .article .body ol {
  margin: 0.5rem 0 0.85rem 1.5rem;
}

/* 底部按钮 */
.btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btns a {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.2s;
}

.btns a:hover {
  transform: translateY(-2px);
}

/* 页脚 */
.foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
}

.foot p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.foot a {
  color: var(--ink);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
  .list-item {
    flex-direction: column;
  }

  .list-item img {
    width: 100%;
    height: 140px;
  }

  .bubbles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 1rem;
  }

  .hero {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .bubbles {
    grid-template-columns: 1fr;
  }

  .head .nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.88rem;
  }
}
