/* Modern visual layer for hentai86 dark theme */
:root {
  --hm-bg: #0b0a11;
  --hm-surface: #151321;
  --hm-surface-2: #1d1a2c;
  --hm-line: #2f2845;
  --hm-text: #f2eefe;
  --hm-muted: #b7aacd;
  --hm-accent: #ff4d8f;
  --hm-accent-2: #ff955e;
  --hm-glow: rgba(255, 77, 143, 0.32);
  --hm-radius: 16px;
}

body.hentai-modern {
  background:
    radial-gradient(1000px 420px at 10% -10%, rgba(255, 77, 143, 0.24), transparent 65%),
    radial-gradient(900px 380px at 90% -5%, rgba(255, 149, 94, 0.18), transparent 62%),
    linear-gradient(180deg, #0c0b12 0%, #08070d 100%);
  color: var(--hm-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.hentai-modern h1,
body.hentai-modern h2,
body.hentai-modern h3,
body.hentai-modern .brand-text {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.2px;
}

body.hentai-modern a {
  color: #ffd2e5;
  transition: color 0.25s ease, opacity 0.25s ease;
}

body.hentai-modern a:hover {
  color: #fff;
}

body.hentai-modern .main-header.navbar {
  border-bottom: 1px solid var(--hm-line);
  background: rgba(15, 11, 24, 0.88) !important;
  backdrop-filter: blur(10px);
}

body.hentai-modern .navbar-brand img {
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

body.hentai-modern .content-wrapper {
  background: transparent;
}

body.hentai-modern .container.mt-5rem,
body.hentai-modern .container.mt-4,
body.hentai-modern .container {
  position: relative;
}

body.hentai-modern .card,
body.hentai-modern .info-box,
body.hentai-modern .wrap-detail-story,
body.hentai-modern .chapter-content,
body.hentai-modern .comment-box,
body.hentai-modern .list01,
body.hentai-modern .main-sidebar,
body.hentai-modern .widget {
  background: linear-gradient(180deg, rgba(30, 24, 46, 0.96) 0%, rgba(21, 19, 33, 0.96) 100%);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  box-shadow: 0 14px 35px rgba(3, 2, 8, 0.45);
}

body.hentai-modern .story_item .story_img,
body.hentai-modern .fed-list-pics,
body.hentai-modern .chapter-img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.hentai-modern .story_item,
body.hentai-modern .fed-list-item,
body.hentai-modern .col-md-3,
body.hentai-modern .col-md-4,
body.hentai-modern .col-md-6 {
  animation: hm-rise 0.5s ease both;
}

body.hentai-modern .btn,
body.hentai-modern .btn-primary,
body.hentai-modern .btn-danger,
body.hentai-modern .btn-success,
body.hentai-modern .btn-secondary,
body.hentai-modern .btn-primary1,
body.hentai-modern .btn-activered1,
body.hentai-modern a.changeChap {
  border-radius: 12px;
  border: 1px solid transparent;
}

body.hentai-modern .btn-primary,
body.hentai-modern .btn-primary1,
body.hentai-modern .btn-activered1,
body.hentai-modern a.changeChap {
  background: linear-gradient(135deg, var(--hm-accent) 0%, var(--hm-accent-2) 100%) !important;
  color: #12080e !important;
  font-weight: 700;
  box-shadow: 0 8px 20px var(--hm-glow);
}

body.hentai-modern .main-footer {
  background: linear-gradient(180deg, rgba(17, 14, 28, 0.98), rgba(12, 10, 19, 0.98));
  border-top: 1px solid var(--hm-line);
}

body.hentai-modern .main-footer .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #eaddff;
}

body.hentai-modern .main-footer .btn.btn-secondary:hover {
  background: rgba(255, 77, 143, 0.18);
  border-color: rgba(255, 77, 143, 0.58);
}

body.hentai-modern .genres-item:hover,
body.hentai-modern .dropdown-item:hover {
  background: rgba(255, 77, 143, 0.2);
  color: #fff;
}

body.hentai-modern .search-web,
body.hentai-modern .form-control,
body.hentai-modern .form-control-navbar {
  background: rgba(8, 6, 14, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--hm-text);
}

body.hentai-modern .search-web::placeholder,
body.hentai-modern .form-control::placeholder {
  color: var(--hm-muted);
}

body.hentai-modern .chapter-content {
  padding: 14px;
}

body.hentai-modern .chapter-content img {
  display: block;
  margin: 0 auto 16px;
  max-width: 100%;
}

@keyframes hm-rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  body.hentai-modern .main-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.hentai-modern .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.hentai-modern .chapter-content {
    padding: 8px;
  }
}
