:root {
    --primary: #8358ee;
    --primary-dark: #2a1b4d;
    --primary-light: #f0ebff;
    --text-dark: #1a1124;
    --text-white: #ffffff;
    --red-hot: #e63946;
    --magenta: #d81b60;
    --border-radius: 4px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { display: block; max-width: 100%; }
  
  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--text-white);
    border-bottom: 1px solid var(--primary-light);
    padding: 10px 20px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.5px; }
  .brand img { height: 32px; }
  .header-nav { display: none; }
  .btn-download {
    background: var(--primary); color: var(--text-white);
    padding: 10px 20px; border-radius: var(--border-radius);
    font-weight: 700; display: flex; align-items: center; gap: 8px;
    min-height: 44px; font-size: 1rem;
  }
  .btn-download svg { width: 20px; height: 20px; fill: currentColor; }

  /* Layout */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  section { padding: 60px 0; }
  .bg-dark { background: var(--primary-dark); color: var(--text-white); }
  .bg-light { background: var(--primary-light); color: var(--text-dark); }
  .bg-primary { background: var(--primary); color: var(--text-white); }
  
  /* Typography */
  h1, h2, h3 { letter-spacing: -1px; font-weight: 900; line-height: 1.2; }
  h1 { font-size: 2.5rem; margin-bottom: 20px; }
  h2 { font-size: 2rem; margin-bottom: 30px; }
  h3 { font-size: 1.2rem; margin-bottom: 10px; }
  
  /* Heat Scale */
  .heat-scale-legend {
    display: flex; gap: 5px; margin-top: 20px; font-size: 0.8rem; font-weight: bold;
  }
  .heat-scale-legend span { padding: 2px 8px; border-radius: 2px; }
  .hs-red { background: var(--red-hot); color: white; }
  .hs-magenta { background: var(--magenta); color: white; }
  .hs-purple { background: var(--primary); color: white; }

  /* Hero Section */
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .hero-text { display: flex; flex-direction: column; gap: 20px; }
  .hero-sub { font-size: 1.1rem; color: #555; }
  .btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn-secondary {
    border: 2px solid var(--primary); color: var(--primary);
    padding: 10px 20px; border-radius: var(--border-radius);
    font-weight: 700; font-size: 1rem;
  }
  .trust-info { font-size: 0.9rem; color: #777; display: flex; gap: 15px; flex-wrap: wrap; }
  
  .hero-cards { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
  .poster-card {
    flex: 0 0 140px; position: relative;
    border: 3px solid var(--primary); border-radius: var(--border-radius);
    overflow: hidden; background: #eee;
  }
  .poster-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
  .poster-card .card-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.7); color: white; padding: 8px; font-size: 0.8rem;
  }
  .poster-card .card-info h3 { font-size: 0.9rem; margin-bottom: 2px; }
  .poster-card .card-info p { color: #ddd; }

  /* Hot Ranking */
  .ranking-list { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
  .rank-item { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; }
  .rank-item img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; border: 2px solid var(--primary); }
  .rank-info h3 { font-size: 1rem; margin-bottom: 2px; }
  .rank-info p { font-size: 0.85rem; color: #666; }

  /* Genre Grid */
  .genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .genre-item {
    position: relative; border-radius: var(--border-radius); overflow: hidden;
    border: 3px solid var(--primary);
  }
  .genre-item img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
  .genre-item span {
    position: absolute; bottom: 0; left: 0; right: 0; background: rgba(131, 88, 238, 0.9);
    color: white; padding: 8px; text-align: center; font-weight: bold;
  }

  /* Hook Section */
  .hook-block { background: var(--primary); padding: 40px 0; overflow: hidden; }
  .hook-row {
    display: flex; white-space: nowrap; font-size: 1.5rem; font-weight: 900;
    color: white; margin-bottom: 15px; animation: scroll 20s linear infinite;
  }
  .hook-row.reverse { animation-direction: reverse; }
  @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .hook-row span { padding-right: 50px; }

  /* FAQ */
  .faq-list details {
    background: white; border-radius: var(--border-radius);
    margin-bottom: 10px; padding: 15px; cursor: pointer;
  }
  .faq-list summary { font-weight: bold; font-size: 1.1rem; }
  .faq-list p { margin-top: 10px; color: #555; }

  /* Footer */
  .site-footer { background: var(--primary-dark); color: #ccc; padding: 40px 20px; font-size: 0.9rem; }
  .footer-content { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
  .footer-links a { color: var(--primary-light); text-decoration: underline; }
  .about-details { margin-top: 20px; font-size: 0.8rem; color: #999; }
  .about-details summary { cursor: pointer; outline: none; font-size: 0.8rem; list-style: none; }
  .about-details summary::-webkit-details-marker { display: none; }
  .about-content { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
  .about-content a { color: #aaa; text-decoration: none; }
  .about-content a:hover { text-decoration: underline; }

  /* Media Queries */
  @media (min-width: 768px) {
    .header-nav { display: flex; gap: 15px; font-size: 0.9rem; font-weight: bold; }
    .header-nav a { display: flex; align-items: center; gap: 5px; }
    .header-nav a::before { content: ''; width: 8px; height: 8px; background: var(--primary-light); }
    .header-nav a:hover::before { background: var(--primary); }
    .hero-grid { grid-template-columns: 1fr 2fr; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .genre-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
  }
  @media (min-width: 1024px) {
    h1 { font-size: 4rem; }
    .poster-card { flex: 0 0 180px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hook-row { animation: none; }
  }