.home-page {
    max-width: 1240px;
    margin: 20px auto 36px;
    padding: 0 12px;
  }

  .home-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--primary) 36%, var(--border));
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 55%, #d9efff 100%);
    color: #fff;
    box-shadow: var(--shadow);
    padding: 48px 24px;
    margin-bottom: 18px;
  }

  .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 12% 16%, rgba(14, 165, 233, 0.22), transparent 42%),
      radial-gradient(circle at 88% 78%, rgba(37, 99, 235, 0.16), transparent 38%);
    pointer-events: none;
  }

  .home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(2, 132, 199, 0.15) 100%);
    pointer-events: none;
  }

  .home-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: center;
  }

  .home-hero-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    color: #0b2545 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .home-hero-subtitle {
    margin: 14px auto 0;
    max-width: 680px;
    color: #163457 !important;
    font-size: 1.03rem;
    line-height: 1.62;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  .home-hero .home-hero-subtitle {
    color: #163457 !important;
  }

  .home-hero-cta {
    margin-top: 20px;
  }

  .home-hero-main {
    text-align: left;
  }

  .home-hero-visual {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .home-hero-visual:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
  }

  .home-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  .home-subscribe-btn {
    border: 0 !important;
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 22px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.34);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  }

  .home-subscribe-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.4);
    filter: saturate(1.06);
  }

  [data-bs-theme="dark"] .home-hero {
    border-color: color-mix(in srgb, var(--primary) 36%, #1e293b);
    background: linear-gradient(135deg, #0b1220 0%, #15243d 54%, #0e7490 100%);
  }

  [data-bs-theme="dark"] .home-hero::before {
    background:
      radial-gradient(circle at 15% 18%, rgba(56, 189, 248, 0.2), transparent 42%),
      radial-gradient(circle at 85% 75%, rgba(20, 184, 166, 0.16), transparent 38%);
  }

  [data-bs-theme="dark"] .home-hero::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 23, 42, 0.04) 48%, rgba(14, 165, 233, 0.12) 100%);
  }

  [data-bs-theme="dark"] .home-hero-title {
    color: #f1f7ff !important;
    text-shadow: 0 1px 3px rgba(2, 6, 23, 0.55);
  }

  [data-bs-theme="dark"] .home-hero-subtitle,
  [data-bs-theme="dark"] .home-hero .home-hero-subtitle {
    color: #dcecfb !important;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.48);
  }

  [data-bs-theme="dark"] .home-hero-visual {
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.46);
  }

  .home-carousel-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    margin-bottom: 24px;
  }

  .home-carousel-inner {
    border-radius: 12px;
    overflow: hidden;
    background: color-mix(in srgb, var(--surface-2) 65%, var(--surface));
  }

  .home-carousel-control {
    width: 44px;
    height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a !important;
    border: 1px solid color-mix(in srgb, var(--primary) 35%, #dbe7f0);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.2);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  }

  .home-carousel-control:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: scale(1.06);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.26);
  }

  [data-bs-theme="dark"] .home-carousel-control {
    background: rgba(15, 23, 42, 0.88);
    color: #e5edf7 !important;
    border-color: #334155;
  }

  [data-bs-theme="dark"] .home-carousel-control:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
  }

  .home-carousel-img {
    height: 460px;
    width: 100%;
    object-fit: contain;
    background: color-mix(in srgb, var(--surface-2) 55%, var(--surface));
  }

  .home-featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
  }

  .home-featured-title {
    margin-bottom: 16px !important;
  }

  .home-release-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease;
  }

  .home-release-card:hover {
    transform: translateY(-3px);
  }

  .home-release-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.25s ease;
  }

  .home-release-thumb-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    background: color-mix(in srgb, var(--surface-2) 60%, var(--surface));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
  }

  .home-release-card:hover .home-release-thumb {
    transform: scale(1.03);
  }

  .home-release-body {
    padding: 12px;
    text-align: left;
  }

  .home-release-body h6 {
    margin-bottom: 8px;
    color: var(--text);
  }

  .home-release-line {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .home-release-line strong {
    color: var(--text);
  }

  @media (max-width: 992px) {
    .home-hero-content {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .home-hero-main {
      text-align: center;
    }

    .home-hero-visual img {
      min-height: 220px;
    }

    .home-carousel-img {
      height: 340px;
    }
  }

  @media (max-width: 576px) {
    .home-hero {
      padding: 34px 14px;
    }

    .home-hero-visual img {
      min-height: 180px;
    }

    .home-carousel-img {
      height: 250px;
    }

    .home-carousel-control {
      width: 38px;
      height: 38px;
      font-size: 1rem !important;
    }

    .home-release-thumb-wrap {
      min-height: 190px;
    }

    .home-subscribe-btn {
      width: 100%;
      justify-content: center;
    }
  }
