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

  body{
    background:var(--bg);
    color:var(--ink);
    font-family:'Noto Sans JP', 'Inter', system-ui, sans-serif;
    line-height:1.65;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
    background-size: 22px 22px;
  }
  h1{
    text-align: center;
  }
  h1, h2, h3{
    font-family:'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-weight:800;
    letter-spacing:0.3px;
    line-height:1.2;
    margin: 15px 0;
  }

  a{
    color:var(--pink);
    text-decoration:none;
    transition:opacity .15s ease;
  }
  a:hover{ opacity:.75; text-decoration:underline; }

  .wrap{
    max-width:var(--maxw);
    margin:0 auto;
    padding:0 20px;
  }

  /* ===== HEADER / RESPONSIVE MENU ===== */
  header{
    border-bottom:1px solid var(--line);
    background:rgba(8,11,18,0.94);
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter: blur(6px);
  }

  .nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px;
  }

  /* Logo full text, larger for better readability */
  .logo-box{
    display:flex;
    align-items:center;
  }
  .logo-box img{
    width:240px;
    height:auto;
    display:block;
  }

  nav.menu{
    display:flex;
    gap:28px;
  }
  nav.menu a{
    color:var(--ink);
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.5px;
  }
  nav.menu a:hover{ color:var(--pink); text-decoration:none; }

  .menu-toggle{
    display:none;
    background:none;
    border:1px solid var(--line);
    border-radius:6px;
    width:42px;
    height:38px;
    color:var(--ink);
    font-size:20px;
    cursor:pointer;
  }

  @media (max-width: 768px){
    .nav-row{
      flex-direction:column;
      position:relative;
    }
    .logo-box{
      width:100%;
      justify-content:center;
    }
    .logo-box img{
      width:210px;
    }
    .menu-toggle{
      display:block;
      position:absolute;
      right:0;
      top:8px;
    }
    nav.menu{
      display:none;
      flex-direction:column;
      width:100%;
      gap:0;
      margin-top:14px;
      border-top:1px solid var(--line);
    }
    nav.menu.open{ display:flex; }
    nav.menu a{
      padding:12px 0;
      text-align:center;
      border-bottom:1px solid var(--line);
    }
  }

  /* ===== HERO ===== */
  .hero{
    padding:190px 20px 52px;
    text-align:center;
    background-image:
      linear-gradient(180deg, rgba(8,11,18,0.30) 0%, rgba(8,11,18,0.88) 100%),
      url('../index_files/hero.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
  }
  .hero h1{
    font-size:clamp(28px, 5vw, 46px);
    margin-bottom:14px;
  }
  .hero h1 span{ color:var(--pink); }
  .hero p.lead{
    color:var(--muted);
    max-width:620px;
    margin:0 auto 26px;
    font-size:16px;
  }

  .btn-watch{
    background:var(--pink);
    color:#ffffff;
    font-weight:700;
    font-size:15px;
    border:none;
    padding:14px 30px;
    border-radius:999px;
    cursor:pointer;
    transition:transform .15s ease, opacity .15s ease;
  }
  .btn-watch:hover{ transform:translateY(-2px); opacity:.92; }

  /* ===== SECTIONS ===== */
  section{ padding:46px 20px; }
  section h2{
    font-size:28px;
    margin-bottom:16px;
  }
  section h2 .num{
    color:var(--gold);
    font-family:'JetBrains Mono', monospace;
    font-size:15px;
    display:block;
    margin-bottom:6px;
    letter-spacing:1px;
  }
  section h3{
    font-size:19px;
    margin:22px 0 10px;
    color:var(--gold);
  }

  .center-figure{
    text-align:center;
    margin:28px 0;
  }
  .center-figure img{
    max-width:100%;
    width:900px;
    border-radius:var(--radius);
    border:1px solid var(--line);
  }
  .center-figure figcaption{
    color:var(--muted);
    font-size:13px;
    margin-top:8px;
  }

  .search-bar{
    display:flex;
    align-items:center;
    max-width:480px;
    margin:0 auto 30px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:999px;
    padding:6px 6px 6px 20px;
  }
  .search-bar input[type="search"]{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:var(--ink);
    font-size:15px;
    font-family:inherit;
    padding:10px 0;
  }
  .search-bar input[type="search"]::placeholder{
    color:var(--muted);
  }
  .search-bar button{
    background:var(--pink);
    color:#14151f;
    border:none;
    border-radius:999px;
    width:42px;
    height:42px;
    flex-shrink:0;
    font-size:16px;
    cursor:pointer;
    transition:opacity .15s ease;
  }
  .search-bar button:hover{ opacity:.85; }

  @media (max-width:480px){
    .search-bar{
      max-width:92%;
      padding:5px 5px 5px 16px;
    }
    .search-bar input[type="search"]{ font-size:14px; }
    .search-bar button{ width:38px; height:38px; font-size:14px; }
  }

  blockquote{
    border-left:3px solid var(--pink);
    background:var(--surface);
    padding:18px 22px;
    border-radius:0 var(--radius) var(--radius) 0;
    margin:26px 0;
    font-style:italic;
    color:var(--ink);
  }
  blockquote cite{
    display:block;
    margin-top:8px;
    font-style:normal;
    font-size:13px;
    color:var(--muted);
  }

  /* List */
  ul.feature-list{
    list-style:none;
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin-top:18px;
  }
  ul.feature-list li{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:14px 16px;
    font-size:14px;
  }
  ul.feature-list li::before{
    content:"▹ ";
    color:var(--pink);
    font-weight:700;
  }
  ol.feature-list{
    margin-left: 15px;
  }

    ol.feature-list li{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:14px 16px;
    font-size:14px;
  }
  ol.feature-list li::before{
    content:"▹ ";
    color:var(--pink);
    font-weight:700;
  }
  @media (max-width:600px){
    ul.feature-list{ grid-template-columns:1fr; }
  }

  /* Table */
  .table-wrap{
    overflow-x:auto;
    margin-top:18px;
    border:1px solid var(--line);
    border-radius:var(--radius);
  }
  table{
    width:100%;
    border-collapse:collapse;
    min-width:480px;
    font-size:14px;
  }
  table thead{
    background:var(--surface-2);
  }
  table th, table td{
    padding:12px 16px;
    text-align:left;
    border-bottom:1px solid var(--line);
  }
  table tbody tr:hover{ background:var(--surface); }
  table th{
    color:var(--gold);
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    text-transform:uppercase;
    letter-spacing:0.5px;
  }

  article.content-body{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px;
    margin-top:10px;
  }
  article.content-body h2{ font-size:24px; }
  article.content-body h3{ font-size:18px; }
  article.content-body p{ margin-bottom:16px; color:#d8dce6; }
  article.content-body ul, article.content-body ol{ margin:14px 0 18px 22px; color:#d8dce6; }
  article.content-body li{ margin-bottom:9px; }

  @media (max-width:600px){
    article.content-body{ padding:20px; }
  }

  footer{
    border-top:1px solid var(--line);
    padding:30px 20px;
    text-align:center;
    color:var(--muted);
    font-size:13px;
  }
  footer a{ color:var(--muted); }
  .genres-section-dark {
    background-color: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 36px 24px;
    margin: 35px 0;
}

.genres-header-dark {
    text-align: center;
    margin-bottom: 30px;
}

.genres-header-dark h2 {
    font-size: 1.85rem;
    color: #f8fafc;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.genres-header-dark p {
    font-size: 0.98rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
}

.genre-grid-dark {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.genre-block-dark {
    background-color: #151c2e;
    border: 1px solid #243049;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.genre-block-dark:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    background-color: #1e293b;
}

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

.genre-head h3 {
    font-size: 1.1rem;
    color: #f1f5f9;
    margin: 0;
    font-weight: 600;
}

.genre-block-dark p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.genre-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.badge-romance { border-color: rgba(244, 114, 182, 0.3); background-color: rgba(244, 114, 182, 0.08); }
.badge-comedy { border-color: rgba(251, 191, 36, 0.3); background-color: rgba(251, 191, 36, 0.08); }
.badge-action { border-color: rgba(248, 113, 113, 0.3); background-color: rgba(248, 113, 113, 0.08); }
.badge-thriller { border-color: rgba(168, 85, 247, 0.3); background-color: rgba(168, 85, 247, 0.08); }
.badge-mystery { border-color: rgba(56, 189, 248, 0.3); background-color: rgba(56, 189, 248, 0.08); }
.badge-historical { border-color: rgba(234, 179, 8, 0.3); background-color: rgba(234, 179, 8, 0.08); }
.badge-fantasy { border-color: rgba(192, 132, 252, 0.3); background-color: rgba(192, 132, 252, 0.08); }
.badge-school { border-color: rgba(74, 222, 128, 0.3); background-color: rgba(74, 222, 128, 0.08); }
.badge-crime { border-color: rgba(148, 163, 184, 0.3); background-color: rgba(148, 163, 184, 0.08); }
.badge-family { border-color: rgba(251, 146, 60, 0.3); background-color: rgba(251, 146, 60, 0.08); }
.badge-melodrama { border-color: rgba(96, 165, 250, 0.3); background-color: rgba(96, 165, 250, 0.08); }

@media (max-width: 640px) {
    .genres-section-dark {
        padding: 24px 16px;
    }
    .genre-grid-dark {
        grid-template-columns: 1fr;
    }
}
.alternatives-section-dark {
    background-color: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 36px 24px;
    margin: 35px 0;
}

.alternatives-header-dark {
    text-align: center;
    margin-bottom: 30px;
}

.alternatives-header-dark h2 {
    font-size: 1.85rem;
    color: #f8fafc;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.alternatives-header-dark p {
    font-size: 0.98rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

.alternatives-grid-dark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.alt-card-dark {
    background-color: #151c2e;
    border: 1px solid #243049;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.alt-card-dark:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    background-color: #1e293b;
}

.alt-card-full {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #151c2e 0%, #0b0f19 100%);
    border-left: 4px solid #38bdf8;
}

.alt-card-head {
    margin-bottom: 12px;
}

.alt-card-head h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin: 6px 0 0 0;
}

.alt-intro {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.alt-card-dark ul {
    margin: 0 0 0 18px;
    padding: 0;
}

.alt-card-dark li {
    font-size: 0.92rem;
    color: #94a3b8;
    margin-bottom: 10px;
    line-height: 1.55;
}

.alt-card-dark li strong {
    color: #38bdf8;
}

.alt-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.6px;
}

.badge-free { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-short { background-color: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }
.badge-official { background-color: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }

.official-platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.official-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    border-radius: 8px;
}

.official-item h4 {
    font-size: 0.98rem;
    color: #f1f5f9;
    margin: 0 0 6px 0;
}

.official-item p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .alternatives-grid-dark, 
    .official-platforms-grid {
        grid-template-columns: 1fr;
    }
}