:root {
    --bg-color: #f5f7fa;
    --surface-color: #ffffff;
    --primary-color: #4a7cf6;
    --primary-hover: #3a66d6;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    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;
  }

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

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
  }

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

  .nav-links {
    display: none;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--text-light);
  }

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

  .nav-links .active {
    color: var(--primary-color);
    font-weight: 600;
  }

  /* Hero Section */
  .hero {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-tagline {
    display: inline-block;
    background-color: #eef2ff;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
  }

  .hero h1 span {
    color: var(--primary-color);
  }

  .hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 540px;
  }

  .features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
  }

  .feature-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
  }

  .action-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
  }

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

  .btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
  }

  .btn-outline:hover {
    background-color: #eef2ff;
  }

  /* App Card */
  .hero-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-card-badge {
    display: inline-block;
    background-color: #fef2f2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .hero-card img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
  }

  .hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .hero-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-card .btn {
    width: 100%;
    margin-bottom: 12px;
  }

  /* Section Common */
  .section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

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

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

  .section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
  }

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

  .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Anime Cards */
  .anime-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .anime-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .anime-card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f3f4f6;
  }

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

  .anime-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
  }

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

  .anime-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .anime-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
  }

  .anime-rating {
    color: #f59e0b;
    font-weight: bold;
  }

  /* Ranking */
  .ranking-list {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
  }

  .ranking-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
  }

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

  .ranking-item:hover {
    background-color: #f9fafb;
  }

  .ranking-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    width: 40px;
    text-align: center;
  }

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

  .ranking-title {
    flex: 1;
    font-weight: 600;
    padding: 0 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ranking-tag {
    display: none;
    color: var(--text-light);
    font-size: 0.85rem;
    width: 120px;
  }

  .ranking-score {
    font-weight: 700;
    color: var(--primary-color);
    width: 50px;
    text-align: right;
  }

  /* Q&A */
  .qa-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qa-item {
    background: var(--surface-color);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
  }

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

  .qa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eef2ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
  }

  .qa-user-info {
    display: flex;
    flex-direction: column;
  }

  .qa-user-name {
    font-weight: 600;
    font-size: 0.95rem;
  }

  .qa-time {
    font-size: 0.8rem;
    color: var(--text-light);
  }

  .qa-content {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 16px;
  }

  .qa-reply {
    background-color: #f9fafb;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-left: 3px solid var(--primary-color);
  }

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

  /* FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
  }

  .faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--surface-color);
    transition: background-color 0.2s ease;
  }

  .faq-question:hover {
    background-color: #f9fafb;
  }

  .faq-question::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
  }

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

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

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

  /* Screenshots */
  .screenshot-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .screenshot-scroll::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
  }

  .screenshot-item {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
  }

  .screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Update Info */
  .update-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }

  /* Footer */
  .site-footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 40px;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
  }

  .footer-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 400px;
  }

  .footer-legal {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-legal a {
    color: #9ca3af;
    text-decoration: underline;
  }

  .footer-legal a:hover {
    color: var(--text-light);
  }

  /* Floating Button */
  .floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--primary-color);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 124, 246, 0.4);
    z-index: 99;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .floating-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary-hover);
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  /* Media Queries */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
    }
    .hero {
      flex-direction: row;
      align-items: center;
      padding-top: 120px;
      padding-bottom: 80px;
    }
    .hero-card {
      margin: 0;
      flex-shrink: 0;
    }
    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }
    .ranking-tag {
      display: block;
    }
    .qa-list {
      grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    .footer-legal {
      align-items: flex-end;
    }
  }

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