.comics-page {
  min-height: 100vh;
  color: #f3f0ea;
  background:
    radial-gradient(circle at 20% 0%, rgba(186, 87, 238, .28), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(85, 213, 223, .16), transparent 32%),
    #06070d;
}

.comic-hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 120px max(24px, calc((100vw - 1260px) / 2)) 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(186, 87, 238, .35);
}

.comic-hero::before,
.reader-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(85, 213, 223, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 213, 223, .06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.comic-hero-art {
  position: absolute;
  inset: 72px 0 0 38%;
  background:
    linear-gradient(90deg, rgba(6, 7, 13, .96), rgba(6, 7, 13, .24)),
    url("assets/comics/legendenallianz-die-bedrohung-erwacht/page-08.jpg") center / cover;
  opacity: .72;
  filter: saturate(1.05) contrast(1.08);
}

.comic-hero-copy {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
}

.comic-hero-copy img {
  width: 92px;
  margin-bottom: 26px;
  border: 1px solid rgba(186, 87, 238, .45);
}

.comic-hero h1,
.home-comics-preview h2,
.comic-featured h2,
.comic-catalog h2,
.reader-meta h1 {
  margin: 0;
  font-family: var(--thunder-heading-font, "Black Ops One", Impact, "Arial Black", sans-serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1px;
  text-transform: uppercase;
  overflow: visible;
  overflow-wrap: anywhere;
  -webkit-text-stroke: 1px var(--thunder-heading-stroke, rgba(255, 255, 255, .16));
  text-shadow: var(--thunder-heading-shadow, 0 4px 0 rgba(0, 0, 0, .82), 0 12px 26px rgba(0, 0, 0, .5), 0 0 24px rgba(194, 107, 255, .24));
}

.comic-hero h1 {
  font-size: clamp(46px, 8vw, 104px);
  text-shadow: 0 12px 32px rgba(0, 0, 0, .75);
}

.comic-hero h1 span,
.home-comics-preview h2 span,
.comic-featured h2 span,
.comic-catalog h2 span,
.reader-meta h1 span {
  color: #b85bff;
  -webkit-text-stroke: 1px rgba(208, 142, 255, .16);
  text-shadow: 0 4px 0 rgba(27, 12, 48, .88), 0 0 25px rgba(161, 91, 242, .34);
}

.comic-hero p {
  max-width: 620px;
  margin: 28px 0;
  color: #d8d9e1;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.comic-hero-actions,
.comic-card-meta,
.comic-community-controls,
.reader-controls,
.reader-toolbar,
.comic-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.comic-featured {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.comic-featured-cover,
.comic-card,
.comic-disclaimer,
.reader-stage,
.reader-sidebar,
.comic-comments,
.comic-page-order-form article {
  border: 1px solid rgba(186, 87, 238, .34);
  background: linear-gradient(145deg, rgba(10, 14, 24, .94), rgba(9, 7, 18, .88));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.comic-featured-cover img,
.comic-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 1055 / 1491;
  object-fit: cover;
}

.home-comics-preview h2,
.comic-featured h2,
.comic-catalog h2 {
  font-size: clamp(36px, 5vw, 68px);
}

.home-comics-preview p {
  color: #bec4d2;
  line-height: 1.65;
}

.comic-featured p,
.comic-disclaimer p,
.reader-meta p {
  color: #bec4d2;
  line-height: 1.65;
}

.comic-catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.comic-search {
  display: flex;
  min-width: min(520px, 100%);
  border: 1px solid rgba(85, 213, 223, .28);
}

.comic-search input {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border: 0;
  color: #fff;
  background: rgba(4, 8, 14, .8);
}

.comic-search button,
.reader-toolbar button,
.reader-controls button,
.comic-community button,
.comic-comment-form button {
  border: 1px solid rgba(186, 87, 238, .75);
  color: #fff;
  background: linear-gradient(135deg, #4a1770, #9d33da);
  font-weight: 900;
  letter-spacing: .8px;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.comic-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
}

.comic-cover {
  position: relative;
  min-height: 210px;
}

.comic-cover span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 9px;
  color: #080711;
  background: #f2c74c;
  font: 900 11px Inter, sans-serif;
}

.comic-card-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 20px;
}

.comic-card-copy small,
.reader-meta small {
  color: #5de1ed;
  font: 800 11px Inter, sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.comic-card-copy h3 {
  margin: 0;
  font-family: var(--thunder-heading-font, "Black Ops One", Impact, "Arial Black", sans-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.3px;
  text-transform: uppercase;
}

.comic-card-copy p {
  margin: 0;
  color: #b9c0cf;
  line-height: 1.55;
}

.comic-card-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(85, 213, 223, .24);
  color: #dfefff;
  background: rgba(85, 213, 223, .08);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.comic-disclaimer {
  display: grid;
  gap: 8px;
  padding: 26px;
}

.comic-disclaimer strong {
  color: #f2c74c;
  font-family: var(--thunder-heading-font, "Black Ops One", Impact, "Arial Black", sans-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.comic-message {
  width: 100%;
  padding: 22px;
  border-left: 4px solid #ef625b;
  color: #ffc5c5;
  background: rgba(25, 8, 14, .7);
}

.reader-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  width: min(1580px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 70px;
}

.reader-stage,
.reader-sidebar {
  position: relative;
  z-index: 1;
}

.reader-toolbar {
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid rgba(186, 87, 238, .26);
}

.reader-toolbar a,
.reader-toolbar span {
  color: #5de1ed;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.reader-toolbar button,
.reader-controls button,
.comic-community button,
.comic-comment-form button {
  min-height: 40px;
  padding: 0 14px;
}

.reader-image-wrap {
  width: 100%;
  max-height: calc(100vh - 210px);
  overflow: auto;
  padding: clamp(12px, 2vw, 26px);
  text-align: center;
  background: #020308;
}

.reader-image-wrap img {
  display: block;
  width: 100%;
  max-width: 1055px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .68);
}

.reader-controls {
  justify-content: space-between;
  padding: 14px;
  border-top: 1px solid rgba(186, 87, 238, .26);
}

.reader-controls button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.reader-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
}

.reader-meta h1 {
  margin: 8px 0 16px;
  font-size: clamp(36px, 4vw, 58px);
}

.reader-pages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.reader-pages button {
  position: relative;
  padding: 0;
  border: 1px solid rgba(85, 213, 223, .25);
  background: #05070c;
}

.reader-pages button.active {
  border-color: #f2c74c;
  box-shadow: 0 0 0 2px rgba(242, 199, 76, .25);
}

.reader-pages img {
  display: block;
  width: 100%;
  aspect-ratio: 1055 / 1491;
  object-fit: cover;
}

.reader-pages span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  color: #080711;
  background: #f2c74c;
  font-size: 10px;
  font-weight: 900;
}

.comic-reader-note {
  padding: 12px;
  border-left: 3px solid #f2c74c;
  background: rgba(242, 199, 76, .07);
}

.comic-community-controls {
  justify-content: space-between;
}

.comic-community-controls button.active {
  border-color: #f2c74c;
  color: #080711;
  background: #f2c74c;
}

.comic-comments {
  display: none;
  margin-top: 12px;
  padding: 16px;
}

.comic-comments.open {
  display: block;
}

.comic-comment-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.comic-comment-list article {
  padding: 12px;
  border: 1px solid rgba(85, 213, 223, .18);
  background: rgba(0, 0, 0, .25);
}

.comic-comment-list header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #5de1ed;
  font-size: 12px;
}

.comic-comment-list p {
  margin: 8px 0 0;
  color: #e9edf5;
  line-height: 1.55;
}

.comic-comment-form {
  display: grid;
  gap: 10px;
}

.comic-comment-form label {
  display: grid;
  gap: 6px;
  color: #bfc6d2;
  font-size: 12px;
  font-weight: 800;
}

.comic-comment-form input,
.comic-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(85, 213, 223, .22);
  color: #fff;
  background: #070a11;
}

.comic-comment-form textarea {
  min-height: 110px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.home-comics-preview {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, .75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.home-comics-preview .comic-featured-cover {
  position: relative;
  display: block;
  transform: rotate(-2deg);
}

.home-comics-preview .comic-featured-cover span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  color: #090711;
  background: #f2c74c;
  font: 900 11px Inter, sans-serif;
  letter-spacing: .8px;
}

@media (max-width: 1100px) {
  .comic-featured,
  .home-comics-preview,
  .reader-shell {
    grid-template-columns: 1fr;
  }

  .reader-sidebar {
    order: -1;
  }

  .reader-image-wrap {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .comic-hero {
    min-height: auto;
    padding-top: 100px;
  }

  .comic-hero-art {
    inset: 68px 0 0 0;
    opacity: .32;
  }

  .comic-catalog-head,
  .comic-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .comic-search {
    min-width: 0;
  }

  .comic-cover {
    min-height: auto;
  }

  .reader-shell {
    width: min(100% - 16px, 100%);
    padding-top: 86px;
  }

  .reader-toolbar,
  .reader-controls,
  .comic-community-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reader-toolbar div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .reader-pages {
    grid-template-columns: repeat(8, minmax(48px, 1fr));
    overflow-x: auto;
  }

  .reader-pages button {
    min-width: 48px;
  }
}
