:root {
    --brand-blue: #74B9E8;
    --deep-bg: #2C3237;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --text-gray: #A0AAB2;
    --card-bg: #363D43;
    --transition: all 0.3s ease;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--deep-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  ul {
    list-style: none;
  }

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

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

  /* Header */
  .site-header {
    background-color: var(--deep-bg);
    border-bottom: 1px solid rgba(116, 185, 232, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-area img {
    height: 32px;
    width: auto;
  }

  .logo-area span {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .main-nav {
    display: none;
    gap: 30px;
  }

  .main-nav a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: var(--transition);
  }

  .main-nav a:hover {
    color: var(--brand-blue);
  }

  .search-area {
    display: none;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 6px 16px;
    align-items: center;
  }

  .search-area input {
    background: transparent;
    border: none;
    color: var(--white);
    outline: none;
    font-size: 0.9rem;
    width: 150px;
  }

  .search-area input::placeholder {
    color: var(--text-gray);
  }

  /* Hero */
  .hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }

  .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: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }

  .hero-text h1 span {
    color: var(--brand-blue);
  }

  .hero-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    background-color: var(--brand-blue);
    color: var(--black);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
  }

  .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }

  .btn-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid var(--white);
    transition: var(--transition);
    display: inline-block;
  }

  .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
  }

  .hero-visual {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }

  /* Section Common */
  section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    text-align: center;
  }

  .section-subtitle {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
  }

  .section-title span {
    color: var(--brand-blue);
  }

  /* Anime Zone */
  .anime-zone {
    background: linear-gradient(180deg, var(--deep-bg) 0%, #24292d 100%);
  }

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

  .anime-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
  }

  .anime-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  .anime-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .anime-info {
    padding: 15px;
  }

  .anime-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    background-color: var(--brand-blue);
    color: var(--black);
    font-weight: bold;
  }

  /* Slider / Grid sections */
  .horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
  }

  .horizontal-scroll::-webkit-scrollbar {
    height: 6px;
  }
  .horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 3px;
  }

  .scroll-card {
    flex: 0 0 200px;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }

  .scroll-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .scroll-card .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
  }

  .scroll-card .progress-fill {
    height: 100%;
    background-color: var(--brand-blue);
    width: 60%;
  }

  .card-title {
    padding: 12px;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Cinema */
  .cinema-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cinema-main {
    border-radius: 12px;
    overflow: hidden;
  }

  .cinema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .cinema-grid img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 2/3;
    object-fit: cover;
  }

  /* Thriller */
  .thriller-section {
    background: #2a2f33;
    border-top: 1px solid #3a4147;
    border-bottom: 1px solid #3a4147;
  }

  /* Documentaries */
  .documentary-section {
    background-color: #E8EFF4;
    color: var(--black);
  }

  .documentary-section .section-title {
    color: var(--black);
  }
  .documentary-section .section-subtitle {
    color: #555;
  }

  .doc-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .doc-main-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

  /* Masterpiece */
  .masterpiece-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .score-block {
    text-align: center;
  }

  .score-block .score-num {
    font-size: 5rem;
    font-weight: bold;
    color: var(--brand-blue);
    line-height: 1;
  }

  .score-block .score-label {
    color: var(--text-gray);
    font-size: 1rem;
  }

  .poster-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
  }

  .poster-wall img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 2/3;
    object-fit: cover;
  }

  /* Tags */
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .tag-cloud span {
    background-color: var(--card-bg);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: var(--transition);
    cursor: default;
  }
  .tag-cloud span:hover {
    background-color: var(--brand-blue);
    color: var(--black);
  }

  /* Smart Matching */
  .smart-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .smart-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
  }

  /* Danmaku */
  .danmaku-section {
    text-align: center;
    background-color: #1f2327;
    overflow: hidden;
  }

  .danmaku-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
  }

  .danmaku-item {
    background: rgba(116, 185, 232, 0.15);
    color: var(--brand-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(116, 185, 232, 0.3);
  }

  /* Rankings */
  .rank-list {
    max-width: 600px;
    margin: 0 auto;
  }

  .rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 15px;
  }

  .rank-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #3a4147;
    color: var(--text-gray);
    font-weight: bold;
    font-size: 1.1rem;
  }

  .rank-num.top3 {
    background: rgba(116, 185, 232, 0.2);
    color: var(--brand-blue);
    box-shadow: 0 0 15px rgba(116, 185, 232, 0.2);
  }

  .rank-title {
    flex-grow: 1;
    font-size: 1rem;
  }

  /* Sanctuary */
  .sanctuary-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(44,50,55,0.7), rgba(44,50,55,0.9)), url('images/2026-11-17 15-47-16.webp') no-repeat center center / cover;
    background-attachment: fixed;
  }

  .sanctuary-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .sanctuary-section p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
  }

  /* Testimonials Marquee */
  .testimonials-section {
    overflow: hidden;
    padding-bottom: 40px;
  }

  .marquee-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .marquee-row {
    display: flex;
    white-space: nowrap;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: max-content;
  }

  .marquee-row.reverse {
    animation-direction: reverse;
  }

  .testimonial-card {
    display: inline-block;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    white-space: normal;
    vertical-align: top;
  }

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

  .avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-gray);
  }

  .stars {
    color: var(--brand-blue);
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    color: #d4d9dd;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* App Download */
  .download-section {
    background-color: #363d43;
    border-top: 1px solid rgba(116,185,232,0.2);
    border-bottom: 1px solid rgba(116,185,232,0.2);
  }

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

  .download-visual {
    max-width: 400px;
    width: 100%;
  }

  .download-visual img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .download-content {
    text-align: center;
  }

  .download-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .download-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1rem;
  }

  .dl-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .btn-dl {
    background-color: var(--brand-blue);
    color: var(--black);
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
    display: block;
  }

  .btn-dl:hover {
    background-color: #5da8d6;
  }

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

  .faq-item {
    background-color: var(--card-bg);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: '+';
    color: var(--brand-blue);
    font-size: 1.2rem;
    font-weight: normal;
    transition: transform 0.3s;
  }

  .faq-item[open] summary::after {
    content: '-';
  }

  .faq-answer {
    padding: 0 20px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Footer */
  .site-footer {
    background-color: var(--black);
    border-top: 2px solid var(--brand-blue);
    padding: 40px 0 20px;
    font-size: 0.85rem;
    color: #666;
  }

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

  .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links span {
    cursor: default;
  }

  .footer-tags {
    color: #555;
  }

  .footer-slogan {
    font-weight: bold;
    color: var(--text-gray);
  }

  .footer-meta {
    border-top: 1px solid #333;
    padding-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-meta a {
    color: #888;
    text-decoration: underline;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero-inner {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    .hero-text {
      text-align: left;
      flex: 1;
    }
    .hero-actions {
      justify-content: flex-start;
    }
    .hero-visual {
      flex: 1;
      max-width: 45%;
    }
    .main-nav {
      display: flex;
    }
    .anime-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .cinema-layout {
      flex-direction: row;
    }
    .cinema-main {
      flex: 1;
    }
    .cinema-main img {
      height: 100%;
      object-fit: cover;
    }
    .cinema-grid {
      flex: 1;
    }
    .doc-layout {
      flex-direction: row;
      align-items: center;
    }
    .doc-main-img {
      flex: 1;
    }
    .doc-text {
      flex: 1;
    }
    .masterpiece-layout {
      flex-direction: row;
      justify-content: center;
      gap: 60px;
    }
    .score-block {
      flex: 0 0 auto;
    }
    .poster-wall {
      grid-template-columns: repeat(3, 1fr);
      flex: 1;
    }
    .smart-layout {
      flex-direction: row;
    }
    .smart-img {
      flex: 1;
    }
    .smart-text {
      flex: 1;
    }
    .download-layout {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    .download-visual {
      flex: 0 0 40%;
    }
    .download-content {
      flex: 0 0 50%;
      text-align: left;
    }
    .dl-buttons {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .btn-dl {
      padding: 14px 24px;
    }
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    .footer-meta {
      align-items: flex-start;
    }
  }

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