/* ==========================================================================
   给她的小网站 - 移动端优先与全屏交互样式表
   ========================================================================== */

:root {
  --bg-gradient: linear-gradient(145deg, #FFF1F5 0%, #F7EDFF 50%, #FFEBF0 100%);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 16px 40px -10px rgba(255, 118, 154, 0.18), 0 0 1px rgba(0, 0, 0, 0.05);
  
  --primary: #FF5A87;
  --primary-hover: #F74273;
  --primary-light: #FFEBF1;
  --accent-purple: #9D72FF;
  --text-main: #37352F;
  --text-muted: #787670;
  --text-light: #9B9A97;

  --terminal-bg: #1A1B26;
  --terminal-text: #C0CAF5;
  --terminal-border: rgba(255, 255, 255, 0.1);

  --radius-card: 26px;
  --radius-btn: 999px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 基础重置 & 移动端点击与滑动优化 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh; /* 移动端动态视口高度，解决微信与Safari工具栏高度塌陷 */
  overflow: hidden;
  font-family: var(--font-stack);
  color: var(--text-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* 背景环境柔光 */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: #FFD2DF;
  top: -80px;
  right: -80px;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.glow-2 {
  width: 360px;
  height: 360px;
  background: #E8D9FF;
  bottom: -100px;
  left: -80px;
  animation: floatOrb 14s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, 35px) scale(1.1); }
}

/* 全局爱心漂浮图层 */
.floating-hearts-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.drifting-heart {
  position: absolute;
  bottom: -40px;
  font-size: 20px;
  opacity: 0;
  animation: driftUpwards 5s linear infinite;
}

@keyframes driftUpwards {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-105vh) rotate(30deg) scale(1.1);
    opacity: 0;
  }
}

/* 音乐播放浮动控制按钮（iOS / 微信安全适配） */
.music-control {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.music-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 90, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}

.music-disc:active {
  transform: scale(0.92);
}

.music-disc.playing {
  animation: spin 3.5s linear infinite;
  background: #FFF1F5;
  border-color: var(--primary);
}

.music-icon {
  font-size: 18px;
}

.music-tip {
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 移动端侧边指示器 */
.page-indicator {
  position: fixed;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}

.page-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 90, 135, 0.25);
  border: none;
  padding: 0;
  outline: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-indicator .dot.active {
  height: 18px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(255, 90, 135, 0.5);
}

/* 主滑屏容器 - CSS Scroll Snap 丝滑单屏吸附体验 */
.snap-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}

/* 隐藏滚动条 */
.snap-container::-webkit-scrollbar {
  display: none;
}
.snap-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 每一屏标准规范 */
.page-section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 20px;
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  position: relative;
}

/* 优雅毛玻璃通用卡片 */
.glass-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 30px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wide-card {
  max-width: 460px;
  padding: 24px 18px 22px 18px;
}

/* 顶部标签 */
.badge-pill {
  align-self: center;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 14px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-purple);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* 标题规范 */
.main-title {
  font-size: 27px;
  font-weight: 700;
  color: #2D2529;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.highlight-name {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight-name::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255, 90, 135, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.section-title {
  font-size: 21px;
  font-weight: 700;
  color: #2D2529;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-style: italic;
}

/* 正文段落与信笺排版 */
.text-content {
  font-size: 15px;
  line-height: 1.75;
  color: #4A4648;
  margin-bottom: 20px;
}

.lead-line {
  font-size: 17px;
  font-weight: 600;
  color: #2D2529;
  margin-bottom: 12px;
}

.sub-line {
  margin-bottom: 8px;
  color: #555052;
}

.letter-box {
  text-align: left;
  background: rgba(255, 255, 255, 0.6);
  padding: 16px 16px;
  border-radius: 16px;
  border-left: 3px solid var(--primary);
}

.accent-paragraph {
  margin: 12px 0;
  color: #2E292B;
}

.accent-paragraph strong {
  color: #D32E5E;
}

.highlight-sorry {
  margin-top: 10px;
  font-weight: 600;
  color: #696265;
}

.highlight-sorry-big {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 6px 0 14px 0;
}

.promise-box {
  background: #FFF7F9;
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  font-size: 13.5px;
  color: #4A3E42;
  border: 1px dashed rgba(255, 90, 135, 0.35);
}

.promise-label {
  font-weight: 700;
  color: #D32E5E;
  margin-bottom: 4px;
}

/* 按钮通用 */
.action-wrap {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.btn {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: linear-gradient(135deg, #FF6A93 0%, #F54070 100%);
  color: #FFF;
  box-shadow: 0 8px 20px rgba(245, 64, 112, 0.35);
}

.btn-primary:active {
  box-shadow: 0 4px 10px rgba(245, 64, 112, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: 1px solid rgba(255, 90, 135, 0.3);
}

.icon-down {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .icon-down {
  transform: translateY(2px);
}

/* 首页滑动提示 */
.scroll-hint {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
  opacity: 0.75;
  animation: bounceHint 2s infinite ease-in-out;
}

.hint-arrow {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.hint-text {
  font-size: 11px;
  font-weight: 500;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================
   第 3 屏：拍立得照片横向滑动时间轴
   ========================================== */
.timeline-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 16px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.timeline-container::-webkit-scrollbar {
  display: none;
}
.timeline-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.polaroid-card {
  flex: 0 0 76%;
  max-width: 250px;
  scroll-snap-align: center;
  background: #FFFFFF;
  padding: 12px 12px 14px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.polaroid-card:active {
  transform: scale(0.98);
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #F8F4F6;
  margin-bottom: 10px;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.04);
}

.photo-tape {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 16px;
  background: rgba(255, 230, 238, 0.85);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.photo-p1 { background: linear-gradient(135deg, #FFE4E8 0%, #FFCAD4 100%); }
.photo-p2 { background: linear-gradient(135deg, #D4E0FF 0%, #C3D5FF 100%); }
.photo-p3 { background: linear-gradient(135deg, #FFE8D6 0%, #FFD6BA 100%); }
.photo-p4 { background: linear-gradient(135deg, #E8DFF5 0%, #D8C7EB 100%); }

.photo-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-art {
  font-size: 42px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.polaroid-info {
  text-align: left;
}

.polaroid-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 3px;
}

.polaroid-caption {
  font-size: 15px;
  font-weight: 700;
  color: #2D2529;
  margin-bottom: 6px;
}

.polaroid-text {
  font-size: 12px;
  line-height: 1.55;
  color: #635F61;
}

.timeline-hint {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
  margin-bottom: 12px;
}

/* ==========================================
   第 4 屏：收集爱心小游戏（触控友好设计）
   ========================================== */
.game-instruction {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.game-area {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 14px 14px 18px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.game-progress-bar {
  width: 100%;
  height: 8px;
  background: #F5E6EB;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFA1BA 0%, #FF5A87 100%);
  border-radius: 10px;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-counter {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.message-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(255, 90, 135, 0.08);
  border: 1px solid rgba(255, 90, 135, 0.15);
  transition: all 0.3s ease;
}

.message-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.heart-message {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: #37352F;
  text-align: left;
}

.spawn-heart-box {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* 漂浮爱心交互靶区（至少 52px，利于手机单手拇指点中） */
.clickable-heart {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(255, 90, 135, 0.22);
  border: 1px solid rgba(255, 118, 154, 0.3);
  cursor: pointer;
  touch-action: manipulation;
  animation: pulseFloat 2.4s ease-in-out infinite alternate;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clickable-heart:active {
  transform: scale(0.85);
}

.clickable-heart.collected {
  animation: popOut 0.4s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

@keyframes pulseFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-12px) scale(1.08); }
}

@keyframes popOut {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

.game-completed-alert {
  background: #EBF8EE;
  color: #248A3D;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(36, 138, 61, 0.2);
  animation: fadeIn 0.4s ease;
}

/* ==========================================
   第 5 屏：黑客终端反省彩蛋（高质感暗黑卡片）
   ========================================== */
.terminal-card {
  background: var(--terminal-bg);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--terminal-text);
  padding: 16px 16px 16px 16px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.35);
}

.terminal-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
  margin: 0 auto;
  font-size: 11px;
  font-family: monospace;
  color: #7982A9;
  letter-spacing: 0.5px;
}

.terminal-body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: left;
}

.term-line {
  margin-bottom: 4px;
}

.term-line.muted {
  color: #7982A9;
  font-size: 11px;
}

.prompt {
  color: #7AA2F7;
  font-weight: 700;
  margin-right: 4px;
}

.cmd-line {
  color: #73DACA;
}

.term-bar {
  color: #BB9AF7;
  font-weight: 700;
}

.term-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.font-bold {
  font-weight: 700;
  color: #FFF;
}

.status-item-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 3px 0;
}

.status-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
}

.status-badge.anger {
  background: rgba(247, 118, 142, 0.2);
  color: #F7768E;
}

.status-badge.reflection {
  background: rgba(224, 175, 104, 0.2);
  color: #E0AF68;
}

.status-badge.love {
  background: rgba(187, 154, 247, 0.2);
  color: #BB9AF7;
}

.error-highlight {
  background: rgba(247, 118, 142, 0.12);
  border-left: 3px solid #F7768E;
  padding: 4px 8px;
  color: #F7768E;
  border-radius: 4px;
  margin: 6px 0;
  font-size: 11px;
}

.highlight-green {
  color: #9ECE6A;
  font-weight: 700;
}

.repair-list {
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.repair-item {
  color: #A9B1D6;
  font-size: 11px;
  margin-bottom: 2px;
}
.repair-item span {
  color: #7AA2F7;
  margin-right: 4px;
}

.blink-cursor {
  color: #9AA5CE;
}

.cursor {
  animation: blink 1s infinite;
  color: #7AA2F7;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================
   第 6 屏：选择与最后的话
   ========================================== */
.final-letter {
  text-align: left;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.final-lead {
  margin-top: 10px;
  font-weight: 600;
  color: #2D2529;
}

.highlight-paragraph {
  margin-top: 6px;
  font-size: 15px;
  color: #2D2529;
}

.highlight-paragraph strong {
  color: var(--primary);
  font-size: 16px;
}

.choice-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.choice-btn {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-listen {
  background: linear-gradient(135deg, #FF6892 0%, #F53B6D 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(245, 59, 109, 0.35);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 2;
}

.btn-angry {
  background: #F3F1F3;
  color: #585356;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  z-index: 1;
}

.choice-emoji {
  font-size: 20px;
}

.response-card {
  width: 100%;
  margin-top: 16px;
  background: #FFF;
  border-radius: 18px;
  padding: 20px 18px;
  border: 1.5px solid #FFD4E1;
  box-shadow: 0 10px 24px rgba(255, 90, 135, 0.15);
  animation: slideUpFade 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.response-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #37352F;
}

.response-content .resp-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.response-content .resp-desc {
  color: #554E51;
}

.reset-choice-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  margin-top: 14px;
  padding: 4px 8px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.reset-choice-btn:hover {
  opacity: 1;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 撒花 / 爱心喷射动画粒子 */
.celebration-heart {
  position: fixed;
  font-size: 24px;
  pointer-events: none;
  z-index: 9999;
  animation: blastHeart 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes blastHeart {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tw-x, 0px), var(--tw-y, -200px)) scale(1.2) rotate(var(--tw-r, 360deg));
    opacity: 0;
  }
}

/* ==========================================
   移动端小屏幕与平板设备精细化调校
   ========================================== */
@media (max-width: 360px) {
  .page-section {
    padding: 16px 14px;
  }
  .glass-card {
    padding: 22px 16px 20px 16px;
  }
  .main-title {
    font-size: 24px;
  }
  .section-title {
    font-size: 19px;
  }
  .text-content {
    font-size: 14px;
  }
  .clickable-heart {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  .glass-card {
    max-width: 460px;
    padding: 36px 32px 30px 32px;
  }
  .wide-card {
    max-width: 520px;
  }
  .main-title {
    font-size: 30px;
  }
  .section-title {
    font-size: 23px;
  }
}
