:root {
    --sakura: #ffd1e3;
    --mint: #c8f4e0;
    --cream: #fff6cc;
    --sky: #d4ecff;
    --text-dark: #5a4a52;
    --text-light: #8a7a82;
    --bg-base: #fff9fb;
    --white: #ffffff;
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shadow-soft: 0 8px 32px rgba(255, 180, 200, 0.25);
    --shadow-hover: 0 16px 48px rgba(255, 160, 190, 0.4);
  }

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

  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-base);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(#ffe3ee 1px, transparent 1px);
    background-size: 20px 20px;
  }

  h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.3;
    color: #4a3a42;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    display: block;
  }

  /* 顶部导航 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 249, 251, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--sakura);
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(255, 200, 220, 0.2);
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #e05a8a;
    letter-spacing: 1px;
  }

  .brand img {
    height: 36px;
    width: auto;
    border-radius: 8px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: var(--white);
    border: 1.5px solid transparent;
  }

  .nav-links a:hover {
    background: var(--sakura);
    border-color: #ffb0c8;
    transform: translateY(-2px);
  }

  /* 首屏 */
  .hero {
    position: relative;
    padding: 60px 24px 80px;
    text-align: center;
    background: linear-gradient(135deg, #fff0f5 0%, #e8f7ff 50%, #f0ffe8 100%);
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 209, 227, 0.4) 0%, transparent 70%);
    animation: floatBlob 12s ease-in-out infinite;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(200, 244, 224, 0.4) 0%, transparent 70%);
    animation: floatBlob 15s ease-in-out infinite reverse;
  }

  @keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e05a8a, #a060c0, #5090d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .badge {
    background: var(--white);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(255, 180, 200, 0.2);
    border: 2px solid var(--sakura);
  }

  .hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 320px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 4px solid var(--white);
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .hero-visual:hover img {
    transform: scale(1.05);
  }

  .hero-visual-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e05a8a;
    z-index: 5;
  }

  .download-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff9ac0, #e05a8a);
    box-shadow: 0 6px 20px rgba(224, 90, 138, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(224, 90, 138, 0.5);
  }

  .btn-download.secondary {
    background: linear-gradient(135deg, #a0e0c0, #60c0a0);
    box-shadow: 0 6px 20px rgba(80, 180, 140, 0.35);
  }

  .btn-download.secondary:hover {
    box-shadow: 0 10px 28px rgba(80, 180, 140, 0.45);
  }

  .btn-download.tertiary {
    background: linear-gradient(135deg, #b0d0ff, #6090e0);
    box-shadow: 0 6px 20px rgba(80, 130, 200, 0.35);
  }

  .btn-download.tertiary:hover {
    box-shadow: 0 10px 28px rgba(80, 130, 200, 0.45);
  }

  /* 通用区块 */
  .section {
    padding: 72px 24px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .section-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
  }

  /* 瀑布流最新连载 */
  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .masonry-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 3px solid transparent;
  }

  .masonry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sakura);
  }

  .masonry-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .masonry-card:nth-child(2n) {
    margin-top: 30px;
  }

  .masonry-card:nth-child(3n) {
    margin-top: 15px;
  }

  .masonry-info {
    padding: 12px 14px;
  }

  .masonry-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .masonry-info span {
    font-size: 0.8rem;
    color: var(--text-light);
  }

  /* 高分神作 抽拉卡 */
  .pullout-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .pullout-item {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 3px solid var(--mint);
    position: relative;
  }

  .pullout-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--sakura);
  }

  .pullout-item:nth-child(even) {
    flex-direction: row-reverse;
    border-color: var(--cream);
  }

  .pullout-img {
    width: 280px;
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .pullout-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .pullout-item:hover .pullout-img img {
    transform: scale(1.05);
  }

  .pullout-content {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }

  .pullout-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .pullout-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--sakura);
    color: #a04070;
    font-weight: 600;
  }

  .tag.mint { background: var(--mint); color: #308060; }
  .tag.cream { background: var(--cream); color: #a08020; }
  .tag.sky { background: var(--sky); color: #4070a0; }

  /* 发现方式 毛玻璃气泡 */
  .glass-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .glass-pod {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px;
    padding: 36px 28px;
    box-shadow: 0 8px 32px rgba(255, 180, 200, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .glass-pod:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(255, 160, 190, 0.35);
    background: rgba(255, 255, 255, 0.8);
  }

  .glass-pod h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .glass-pod p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
  }

  .pod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pod-tag {
    font-size: 0.8rem;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(255, 180, 200, 0.2);
  }

  /* 解谜连线图 */
  .connect-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fff0f5, #e8f7ff);
    border-radius: var(--radius-lg);
    padding: 60px 24px;
    position: relative;
  }

  .device-mock {
    text-align: center;
    position: relative;
  }

  .device-mock img {
    width: 180px;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(255, 150, 180, 0.3);
    border: 4px solid var(--white);
  }

  .device-mock p {
    margin-top: 12px;
    font-weight: 700;
    color: #e05a8a;
  }

  .connect-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
  }

  .connect-arrow {
    width: 60px;
    height: 4px;
    background: repeating-linear-gradient(90deg, #ff8ab0 0px, #ff8ab0 8px, transparent 8px, transparent 16px);
    border-radius: 2px;
    animation: dashMove 1s linear infinite;
  }

  @keyframes dashMove {
    0% { background-position: 0 0; }
    100% { background-position: 16px 0; }
  }

  .connect-heart {
    font-size: 2rem;
    color: #ff8ab0;
    animation: pulse 1.5s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
  }

  .connect-label {
    background: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e05a8a;
    box-shadow: 0 4px 12px rgba(255, 180, 200, 0.3);
    border: 2px solid var(--sakura);
  }

  /* 便签墙 */
  .sticky-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .sticky-note {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px 18px;
    box-shadow: 0 6px 20px rgba(255, 180, 200, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border-top: 6px solid var(--sakura);
  }

  .sticky-note:nth-child(2n) { border-top-color: var(--mint); }
  .sticky-note:nth-child(3n) { border-top-color: var(--cream); }
  .sticky-note:nth-child(4n) { border-top-color: var(--sky); }

  .sticky-note:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: 0 12px 32px rgba(255, 160, 190, 0.35);
  }

  .note-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .note-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sakura);
  }

  .note-user span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
  }

  .note-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
  }

  /* FAQ 折扇 */
  .faq-section {
    max-width: 900px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 180, 200, 0.15);
    border: 2px solid var(--sakura);
    transition: all 0.3s ease;
  }

  .faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s;
  }

  .faq-question:hover {
    background: #fff5f9;
  }

  .faq-question::after {
    content: '＋';
    font-size: 1.2rem;
    color: #e05a8a;
    transition: transform 0.3s;
  }

  .faq-item.open .faq-question::after {
    transform: rotate(45deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
  }

  /* 安装说明 */
  .install-section {
    background: linear-gradient(135deg, #fff6cc, #ffd1e3);
    border-radius: var(--radius-lg);
    padding: 56px 32px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
  }

  .install-section h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .install-section p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 32px;
  }

  .candy-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
  }

  .candy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff9ac0, #e05a8a);
    box-shadow: 0 6px 24px rgba(224, 90, 138, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .candy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
  }

  .candy-btn:hover::before {
    left: 100%;
  }

  .candy-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(224, 90, 138, 0.5);
  }

  .candy-btn.green {
    background: linear-gradient(135deg, #a0e0c0, #60c0a0);
    box-shadow: 0 6px 24px rgba(80, 180, 140, 0.4);
  }

  .candy-btn.blue {
    background: linear-gradient(135deg, #b0d0ff, #6090e0);
    box-shadow: 0 6px 24px rgba(80, 130, 200, 0.4);
  }

  /* 提示弹窗 */
  .toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .toast-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .toast-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(224, 90, 138, 0.3);
    border: 4px solid var(--sakura);
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }

  .toast-overlay.show .toast-box {
    transform: translateY(0);
  }

  .toast-box h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #e05a8a;
  }

  .toast-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    word-break: break-all;
    background: #fff5f9;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: monospace;
  }

  .toast-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .toast-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
  }

  .toast-btn.primary {
    background: linear-gradient(135deg, #ff9ac0, #e05a8a);
    color: #fff;
  }

  .toast-btn.cancel {
    background: #f0e8ec;
    color: var(--text-dark);
  }

  .toast-btn:hover {
    transform: scale(1.05);
  }

  /* 页脚 */
  .site-footer {
    background: linear-gradient(135deg, #fff0f5, #e8f7ff);
    padding: 56px 24px 32px;
    text-align: center;
    border-top: 3px dashed var(--sakura);
    margin-top: 40px;
  }

  .footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e05a8a;
    margin-bottom: 8px;
  }

  .footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 16px;
  }

  .footer-tbc {
    font-size: 1.2rem;
    font-weight: 800;
    color: #a060c0;
    letter-spacing: 4px;
    margin: 24px 0 16px;
  }

  .footer-update {
    font-size: 0.8rem;
    color: #b0a0a8;
    margin-top: 16px;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 2.2rem; }
    .masonry-grid { grid-template-columns: repeat(3, 1fr); }
    .glass-section { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    .site-header { padding: 10px 16px; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .nav-links { justify-content: center; width: 100%; }
    .nav-links a { font-size: 0.8rem; padding: 5px 10px; }
    .hero { padding: 40px 16px 60px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-sub { font-size: 1rem; }
    .hero-visual { height: 220px; }
    .section { padding: 48px 16px; }
    .section-header h2 { font-size: 1.5rem; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .masonry-card:nth-child(2n), .masonry-card:nth-child(3n) { margin-top: 0; }
    .pullout-item, .pullout-item:nth-child(even) { flex-direction: column; }
    .pullout-img { width: 100%; height: 200px; }
    .pullout-content { padding: 16px 20px; }
    .glass-section { grid-template-columns: 1fr; }
    .glass-pod { padding: 24px 20px; }
    .connect-section { flex-direction: column; gap: 20px; padding: 40px 16px; }
    .device-mock img { width: 140px; height: 250px; }
    .sticky-wall { grid-template-columns: 1fr; }
    .candy-buttons { flex-direction: column; align-items: center; }
    .candy-btn { width: 100%; max-width: 320px; justify-content: center; }
    .download-group { flex-direction: column; align-items: center; }
    .btn-download { width: 100%; max-width: 320px; justify-content: center; }
    .install-section { padding: 36px 16px; }
  }