:root {
    --yellow: #fbbf24;
    --yellow-light: #fde047;
    --blue: #7dd3fc;
    --blue-deep: #38bdf8;
    --green: #a3e635;
    --text-main: #1e293b;
    --text-sub: #64748b;
    --radius: 16px;
    --grad-yellow: linear-gradient(135deg, #fbbf24, #f59e0b);
    --grad-blue: linear-gradient(135deg, #7dd3fc, #38bdf8);
    --shadow-card: 0 12px 30px rgba(251, 191, 36, 0.2);
  }

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

  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: #f0f9ff; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #fbbf24, #38bdf8); border-radius: 10px; }

  body {
    font-family: Inter, system-ui, PingFang SC, Microsoft YaHei, sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 60%);
    min-height: 100vh;
    line-height: 1.6;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { display: block; max-width: 100%; }

  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* 顶部导航 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(125, 211, 252, 0.3);
  }

  .header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .brand img { height: 36px; width: auto; }

  .brand-name {
    font-size: 22px;
    font-weight: 800;
    background: var(--grad-yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
  }

  .nav-item { position: relative; }

  .nav-item > a {
    display: block;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
  }

  .nav-item > a:hover,
  .nav-item.active > a {
    color: #d97706;
    background: rgba(251, 191, 36, 0.12);
  }

  .nav-item.active > a { font-weight: 700; }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.18);
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav-item:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    color: var(--text-sub);
    transition: color 0.2s, background 0.2s;
  }

  .nav-dropdown a:hover {
    color: #d97706;
    background: #fef9c3;
  }

  .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 8px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
  }

  .search-box:focus-within {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
    background: #fff;
  }

  .search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--text-main);
    width: 160px;
  }

  .search-box input::placeholder { color: #94a3b8; }

  .search-icon {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-sub);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
  }
  .search-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 7px;
    background: var(--text-sub);
    transform: rotate(-45deg);
    right: -2px;
    bottom: -3px;
    border-radius: 2px;
  }

  /* 首屏 */
  .hero {
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.35), transparent 70%);
    top: -160px;
    right: -80px;
    z-index: -1;
  }

  .hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 70%);
    bottom: -140px;
    left: -60px;
    z-index: -1;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #b45309;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.15);
  }

  .hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
  }

  .hero h1 {
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .hero h1 .hl {
    background: var(--grad-yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero p.lead {
    font-size: 17px;
    color: var(--text-sub);
    max-width: 560px;
    margin-bottom: 28px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
  }

  .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-yellow);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
  }

  .btn-download:active { transform: scale(1); }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid rgba(56, 189, 248, 0.5);
    color: #0284c7;
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s, background 0.2s;
  }

  .btn-ghost:hover {
    border-color: var(--blue-deep);
    background: #fff;
  }

  .hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
  }

  .hero-meta div {
    font-size: 14px;
    color: var(--text-sub);
  }

  .hero-meta strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
  }

  .hero-visual {
    position: relative;
  }

  .hero-visual .poster-main {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(56, 189, 248, 0.25);
    object-fit: cover;
    aspect-ratio: 3 / 4;
  }

  .hero-visual .poster-float {
    position: absolute;
    width: 42%;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    bottom: -24px;
    left: -28px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  /* 通用区块标题 */
  .section { padding: 56px 0; }

  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
  }

  .section-head h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-head h2 .tag-emoji {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
  }

  .section-head p {
    color: var(--text-sub);
    font-size: 15px;
    max-width: 560px;
  }

  /* 动漫卡片网格 */
  .anime-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .anime-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(253, 224, 71, 0.35);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  }

  .anime-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(251, 191, 36, 0.32);
    border-color: var(--yellow);
  }

  .anime-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #bae6fd, #fef3c7);
  }

  .anime-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--grad-yellow);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .badge-bottom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(30, 41, 59, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
  }

  .anime-info { padding: 16px 18px 18px; }

  .anime-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
  }

  .anime-title-row h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
  }

  .score {
    color: #f59e0b;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
  }

  .anime-desc {
    font-size: 13.5px;
    color: var(--text-sub);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }

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

  .anime-tags span {
    font-size: 12px;
    color: #0369a1;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 999px;
  }

  /* 日漫区块样式微调 */
  .anime-grid.jp .anime-tags span { color: #9d174d; background: #fce7f3; }
  .anime-grid.cn .anime-tags span { color: #166534; background: #dcfce7; }
  .anime-grid.kr .anime-tags span { color: #7c2d12; background: #ffedd5; }

  /* 追番日记 */
  .review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.3);
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(251, 191, 36, 0.25);
  }

  .review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }

  .avatar.blue { background: var(--grad-blue); }
  .avatar.green { background: linear-gradient(135deg, #a3e635, #22c55e); }
  .avatar.pink { background: linear-gradient(135deg, #f9a8d4, #ec4899); }
  .avatar.orange { background: var(--grad-yellow); }

  .review-user { flex: 1; min-width: 0; }
  .review-user .name { font-weight: 700; font-size: 14.5px; }
  .review-user .level { font-size: 12px; color: #94a3b8; }

  .review-stars { color: var(--yellow); font-size: 13px; letter-spacing: 1px; }

  .review-time { font-size: 12px; color: #94a3b8; }

  .review-text {
    font-size: 14px;
    color: #334155;
    margin-bottom: 14px;
  }

  .review-tag {
    display: inline-block;
    font-size: 12.5px;
    color: #b45309;
    background: #fef9c3;
    padding: 4px 12px;
    border-radius: 999px;
  }

  /* 排行榜 */
  .rank-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .rank-panel {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(253, 224, 71, 0.35);
  }

  .rank-panel h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .rank-panel h3::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 4px;
    background: var(--grad-yellow);
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
  }

  .rank-item:last-child { border-bottom: none; }

  .rank-num {
    font-size: 26px;
    font-weight: 800;
    width: 38px;
    text-align: center;
    flex-shrink: 0;
    color: #cbd5e1;
  }

  .rank-num.gold { color: #f59e0b; }
  .rank-num.silver { color: #94a3b8; }
  .rank-num.bronze { color: #b45309; }

  .rank-thumb {
    width: 52px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e0f2fe;
  }

  .rank-info { flex: 1; min-width: 0; }
  .rank-info .rn { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
  .rank-info .rs { font-size: 12.5px; color: var(--text-sub); }

  .rank-score {
    font-weight: 800;
    color: #f59e0b;
    font-size: 16px;
    flex-shrink: 0;
  }

  /* APP 下载区 */
  .app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .feature-card, .download-card {
    border-radius: 22px;
    padding: 34px;
    position: relative;
    overflow: hidden;
  }

  .feature-card {
    background: #fff;
    border: 1px solid rgba(125, 211, 252, 0.4);
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.15);
  }

  .feature-card h3, .download-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
  }

  .feature-list { display: grid; gap: 14px; }

  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #334155;
  }

  .feature-list .check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .download-card {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.35);
  }

  .download-card p {
    font-size: 15px;
    margin-bottom: 22px;
    opacity: 0.95;
  }

  .download-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0369a1;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  }

  .store-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  }

  /* FAQ */
  .faq-list { display: grid; gap: 14px; max-width: 900px; }

  .faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.35);
    overflow: hidden;
  }

  .faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
  }

  .faq-q .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-sub);
    border-bottom: 2px solid var(--text-sub);
    transform: rotate(45deg);
    transition: transform 0.25s;
    flex-shrink: 0;
  }

  .faq-item.open .faq-q .arrow { transform: rotate(-135deg); }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
    font-size: 14.5px;
    color: var(--text-sub);
  }

  .faq-item.open .faq-a {
    max-height: 220px;
    padding-bottom: 20px;
  }

  /* 悬浮下载按钮 */
  .float-download {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-yellow);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
    animation: floatBob 3s ease-in-out infinite;
    transition: transform 0.2s;
  }

  .float-download:hover { transform: scale(1.06); }

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

  /* 页脚 */
  .site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 30px 0 36px;
    margin-top: 20px;
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
  }

  .site-footer p { margin-bottom: 6px; }
  .site-footer a { color: #94a3b8; }
  .site-footer a:hover { color: #64748b; }
  .site-footer time { font-size: 9px; }

  /* 响应式 */
  @media (max-width: 1200px) {
    .anime-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 440px; margin: 0 auto; }
  }

  @media (max-width: 1024px) {
    .main-nav { gap: 0; }
    .nav-item > a { padding: 8px 10px; font-size: 14px; }
    .search-box input { width: 120px; }
  }

  @media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
    .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .main-nav::-webkit-scrollbar { height: 4px; }
    .search-box { margin-left: auto; }
    .anime-grid, .review-grid { grid-template-columns: 1fr; }
    .rank-wrap, .app-section { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .hero { padding: 36px 0 28px; }
  }

  @media (max-width: 768px) {
    .container { padding: 0 16px; }
    .search-box input { width: 90px; }
    .hero-meta { gap: 18px; }
    .float-download { right: 14px; bottom: 16px; padding: 12px 18px; font-size: 14px; }
    .nav-dropdown { display: none; }
    .poster-float { display: none; }
  }