:root {
    --bg-color: #f5f7fa;
    --text-main: #1a1f2e;
    --text-sub: #5c667a;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

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

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

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
  }

  .logo-group img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .nav-links {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 15px;
    color: var(--text-sub);
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
  }

  /* Hero */
  .hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .hero-text {
    text-align: center;
    max-width: 600px;
  }

  .hero-text h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 24px;
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
  }

  .tag {
    background: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
  }

  .btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
  }

  .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  }

  .btn-primary:hover {
    background: var(--primary-hover);
  }

  .btn-outline {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border);
  }

  .hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 320px;
    width: 100%;
  }

  .hero-card .badge {
    display: inline-block;
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .hero-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .hero-card p {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 24px;
  }
  
  .hero-card img {
    margin: 0 auto 20px;
    border-radius: 16px;
    width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 26px;
    font-weight: 700;
  }

  .section-title p {
    font-size: 14px;
    color: var(--text-sub);
    margin-top: 4px;
  }

  .more-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
  }

  /* Grid Layouts */
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 768px) {
    .hero-inner {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    .hero-text {
      text-align: left;
      flex: 1;
    }
    .tags, .btn-group {
      justify-content: flex-start;
    }
    .hero-text h1 {
      font-size: 48px;
    }
    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
      gap: 30px;
    }
  }

  @media (min-width: 1024px) {
    .grid-2 {
      grid-template-columns: repeat(3, 1fr);
    }
    .hero-text h1 {
      font-size: 56px;
    }
  }

  /* Anime Card */
  .anime-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .anime-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }

  .anime-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #e2e8f0;
  }

  .anime-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .anime-card:hover .anime-cover img {
    transform: scale(1.05);
  }

  .anime-meta {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .anime-meta h3 {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 10px;
  }

  .anime-meta .score {
    color: #f59e0b;
    font-weight: 700;
    font-size: 15px;
  }

  .anime-sub {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    gap: 8px;
  }

  /* Ranking */
  .ranking-list {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
  }

  .ranking-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  
  .ranking-item:last-child {
    border-bottom: none;
  }

  .rank-num {
    font-size: 20px;
    font-weight: 800;
    color: #cbd5e1;
    width: 30px;
    font-style: italic;
  }

  .ranking-item:nth-child(1) .rank-num { color: #ef4444; }
  .ranking-item:nth-child(2) .rank-num { color: #f59e0b; }
  .ranking-item:nth-child(3) .rank-num { color: #3b82f6; }

  .rank-info {
    flex: 1;
  }

  .rank-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .rank-info p {
    font-size: 13px;
    color: var(--text-sub);
  }

  .rank-score {
    font-size: 18px;
    font-weight: 700;
    color: #f59e0b;
  }

  /* Q&A */
  .qa-section {
    background: #f8fafc;
  }

  .qa-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 768px) {
    .qa-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .qa-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  }

  .qa-user {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-sub);
  }

  .qa-user strong {
    color: var(--text-main);
  }

  .qa-text {
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.7;
  }

  .qa-reply {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-sub);
  }

  .qa-reply strong {
    color: var(--primary);
  }

  /* Offline/Download Section */
  .download-section {
    background: #fff;
  }
  
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .faq-item p {
    font-size: 14px;
    color: var(--text-sub);
  }

  /* Footer */
  .site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px;
    font-size: 13px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  @media (min-width: 768px) {
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
      align-items: flex-start;
    }
  }

  .footer-brand h2 {
    color: #f8fafc;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    max-width: 300px;
    line-height: 1.8;
  }

  .footer-meta {
    text-align: left;
  }
  
  .footer-meta p {
    margin-bottom: 8px;
  }

  .footer-meta a {
    color: #94a3b8;
    transition: color 0.2s;
  }

  .footer-meta a:hover {
    color: #f8fafc;
  }

  .time-update {
    font-size: 12px;
    color: #64748b;
    margin-top: 10px;
  }

  /* App Showcase Banner */
  .app-showcase {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
  }

  .app-showcase h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .app-showcase p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .app-showcase .btn-group {
    justify-content: center;
  }

  .app-showcase .btn-outline {
    background: transparent;
    color: #fff;
    border-color: #475569;
  }
  .app-showcase .btn-outline:hover {
    background: rgba(255,255,255,0.1);
  }

  /* Gallery Wall */
  .gallery-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .gallery-wall img {
    height: 120px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  @media (min-width: 768px) {
    .gallery-wall img {
      height: 180px;
    }
  }

  /* Floating Download Button */
  .floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(59,130,246,0.4);
    font-weight: 600;
    z-index: 999;
    transition: transform 0.2s;
  }

  .floating-download:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
  }
  
  .floating-download svg {
    width: 20px;
    height: 20px;
  }
  
  @media (max-width: 767px) {
    .floating-download {
      bottom: 20px;
      right: 20px;
      padding: 10px 18px;
      font-size: 14px;
    }
  }