@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap");

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

:root {
  --gold: #c9a84c;
  --gold-dim: #8a6e30;
  --red: #8b1a2a;
  --red-bright: #c42840;
  /* --red: #8b1a2a;
  --red-bright: #c42840; */
  --bg: #0a0a0f;
  --bg2: #11111a;
  --bg3: #18181f;
  --text: #e8e0d0;
  --text-dim: #9a9080;
  --border: rgba(201, 168, 76, 0.15);
  --green: #4caf7d;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* ════════════════════════════════
   SITE NAV
   ════════════════════════════════ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.97);
  position: sticky;
  top: 0;
  z-index: 300;
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  flex-shrink: 0;
}
.logo span {
  color: var(--red-bright);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-dim);
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.pat-nav {
  background: var(--red) !important;
  color: var(--text) !important;
  padding: 0.32rem 0.85rem;
  border: 1px solid var(--red-bright);
  transition: background 0.2s !important;
}
.pat-nav:hover {
  background: var(--red-bright) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 400;
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer a {
  display: block;
  padding: 0.75rem 0;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-drawer a:hover {
  color: var(--gold);
}
.nav-drawer .pat-drawer {
  margin-top: 1rem;
  background: var(--red);
  color: var(--text) !important;
  border: 1px solid var(--red-bright);
  text-align: center;
  padding: 0.75rem;
  border-bottom: none;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 350;
}
.nav-overlay.open {
  display: block;
}

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 60%,
      rgba(139, 26, 42, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 15% 80%,
      rgba(83, 74, 183, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 20%,
      rgba(100, 20, 35, 0.1) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(201, 168, 76, 0.6) 40px,
    rgba(201, 168, 76, 0.6) 41px
  );
  pointer-events: none;
}

.hero-badge-row {
  position: relative;
  padding: 1.2rem 2rem 0.8rem;
}

.badge {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  border: 1px solid rgba(196, 40, 64, 0.35);
  padding: 0.2rem 0.65rem;
  text-transform: uppercase;
}

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  /* height: 160px; */
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.banner-placeholder span {
  font-family: "Cinzel", serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  opacity: 0.3;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}

.hero-title-row {
  position: relative;
  padding: 1.3rem 2rem 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-title h1 {
  font-family: "Cinzel", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.hero-title h1 em {
  font-style: italic;
  color: var(--text);
  font-size: 1.8rem;
  display: block;
  font-weight: 400;
  margin-top: 0.1rem;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
  max-width: 420px;
  margin-top: 0.7rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0f;
  padding: 0.6rem 1.4rem;
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #e8c460;
  color: #0a0a0f;
}

.btn-ghost {
  color: var(--text-dim);
  padding: 0.6rem 1.4rem;
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.28);
  cursor: pointer;
  display: inline-block;
  background: transparent;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
  padding-bottom: 0.3rem;
}
.stat-num {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ════════════════════════════════
   SHARED
   ════════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(201, 168, 76, 0.25),
    transparent
  );
}

.section-label {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.12);
}

.page-section {
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ════════════════════════════════
   CHAPTER CARDS
   ════════════════════════════════ */
.chapters-grid,
.chapters-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

/* Fix: all direct children same width, no stretching on last row */
.chapters-grid > *,
.chapters-full-grid > * {
  width: 100%;
  min-width: 0;
}

.chapter-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    background 0.15s,
    border-color 0.15s;
  cursor: pointer;
  width: 100%;
}
.chapter-card:hover {
  background: var(--bg3);
  border-color: rgba(201, 168, 76, 0.28);
}

.chapter-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.chapter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.thumb-placeholder span {
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  opacity: 0.28;
  text-transform: uppercase;
}

.chapter-meta {
  padding: 0.55rem 0.75rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.chapter-meta-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.chapter-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.chapter-num {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  color: var(--gold-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.new-badge {
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  color: var(--red-bright);
  border: 1px solid rgba(196, 40, 64, 0.4);
  padding: 0.07rem 0.3rem;
  text-transform: uppercase;
  flex-shrink: 0;
}
.chapter-title {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chapter-pages {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-style: italic;
  white-space: nowrap;
  flex-shrink: 0;
  display: none; /* ← 加这行 */
}

/* View all card — same structure as chapter-card */
.view-all-card .chapter-thumb {
  align-items: center;
  justify-content: center;
}
.view-all-card .chapter-title {
  color: var(--gold-dim);
  white-space: normal;
}
.view-all-card:hover .chapter-title {
  color: var(--gold);
}

/* ════════════════════════════════
   PATREON BANNER
   ════════════════════════════════ */
.patreon-banner {
  background: linear-gradient(135deg, #1a0a0f 0%, #0f0a1a 100%);
  border: 1px solid rgba(196, 40, 64, 0.2);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 2rem 2rem;
}
.patreon-text h3 {
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  letter-spacing: 0.08em;
}
.patreon-text p {
  color: var(--text-dim);
  font-size: 0.86rem;
  font-style: italic;
}

.btn-patreon {
  background: var(--red);
  color: var(--text);
  padding: 0.58rem 1.3rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--red-bright);
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s;
}
.btn-patreon:hover {
  background: var(--red-bright);
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.72rem;
}
.logo-sm {
  font-family: "Cinzel", serif;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
}
footer a {
  color: var(--text-dim);
  transition: color 0.2s;
}
footer a:hover {
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ════════════════════════════════
   READER
   ════════════════════════════════ */
.reader-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  position: relative;
}
.reader-bar.bottom {
  border-bottom: none;
  border-top: 1px solid var(--border);
}

.nav-btn {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--text);
  padding: 0.32rem 0.85rem;
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.reader-bar-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.ch-info {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ch-dropdown-wrap {
  position: relative;
}

.ch-dropdown-btn {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--text);
  padding: 0.32rem 0.8rem;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.ch-dropdown-btn:hover,
.ch-dropdown-btn.open {
  border-color: var(--gold);
  color: var(--gold);
}
.arrow {
  font-size: 0.5rem;
  transition: transform 0.15s;
  display: inline-block;
}
.ch-dropdown-btn.open .arrow {
  transform: rotate(180deg);
}

.ch-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  min-width: 170px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.reader-bar.bottom .ch-dropdown-menu {
  top: auto;
  bottom: calc(100% + 4px);
}
.ch-dropdown-menu.open {
  display: block;
}

.ch-menu-item {
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 2px solid transparent;
  transition: background 0.1s;
}
.ch-menu-item:hover {
  background: var(--bg3);
  border-left-color: var(--gold-dim);
}
.ch-menu-item.current {
  background: var(--bg3);
  border-left-color: var(--gold);
}
.mi-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mi-num {
  font-family: "Cinzel", serif;
  font-size: 0.56rem;
  color: var(--gold-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ch-menu-item.current .mi-num {
  color: var(--gold);
}
.mi-name {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.ch-menu-item.current .mi-name {
  color: var(--text);
}
.mi-pages {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-style: italic;
}

.progress-bar {
  height: 2px;
  background: rgba(201, 168, 76, 0.07);
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.1s linear;
}

.comic-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0.5rem;
  /* gap: 2px;  */
  background: var(--bg);
}

.page-counter {
  font-family: "Cinzel", serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.comic-frame {
  width: 100%;
  max-width: 720px;
  background: var(--bg3);
  display: block;
  line-height: 0;
}

.comic-frame { position: relative; }

.comic-frame::after {
  content: "blazelinex.com";
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.35);
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .comic-frame::after {
    font-size: 0.45rem;
    bottom: 8px;
    right: 8px;
    opacity: 0.6;
  }
}

.comic-frame img {
  width: 100%;
  display: block;
   -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.patreon-gate {
  width: 100%;
  max-width: 720px;
  border: 1px solid rgba(196, 40, 64, 0.3);
  background: rgba(139, 26, 42, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 0.5rem;
}
.gate-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--red-bright);
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-title {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.gate-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 0.9rem;
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.gate-btn {
  display: inline-block;
  background: var(--red);
  color: var(--text);
  padding: 0.48rem 1.3rem;
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--red-bright);
  transition: background 0.2s;
}
.gate-btn:hover {
  background: var(--red-bright);
  color: var(--text);
}

/* ════════════════════════════════
   UPDATES PAGE
   ════════════════════════════════ */
.updates-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.updates-page h1 {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.updates-page .page-sub {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.update-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  transition: background 0.15s;
}
.update-item:hover {
  background: var(--bg3);
}

.update-date {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  color: var(--gold-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 3px;
  border-right: 1px solid var(--border);
  padding-right: 1.2rem;
}

.update-tag {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.07rem 0.35rem;
  margin-bottom: 0.4rem;
  border: 1px solid;
}
.update-tag.new-chapter {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.35);
}
.update-tag.announcement {
  color: #4c8ec9;
  border-color: rgba(76, 142, 201, 0.35);
}
.update-tag.patreon {
  color: var(--red-bright);
  border-color: rgba(196, 40, 64, 0.35);
}
.update-tag.milestone {
  color: var(--green);
  border-color: rgba(76, 175, 125, 0.35);
}

.update-title {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.update-body {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.update-body a {
  color: var(--gold-dim);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
.update-body a:hover {
  color: var(--gold);
}

/* ════════════════════════════════
   SUPPORTERS PAGE
   ════════════════════════════════ */
.supporters-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.supporters-page h1 {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.supporters-page .page-sub {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.supporters-intro {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-style: italic;
}
.supporters-intro strong {
  color: var(--text);
  font-style: normal;
}

.tier-block {
  margin-bottom: 2rem;
}

.tier-label {
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tier-label.gold {
  color: var(--gold);
}
.tier-label.silver {
  color: #a8b8c8;
}
.tier-label.bronze {
  color: #c8a878;
}

.tier-icon {
  font-size: 0.9rem;
}

.supporters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supporter-name {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 0.38rem 0.85rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition:
    border-color 0.15s,
    color 0.15s;
}
.supporter-name:hover {
  border-color: var(--gold-dim);
  color: var(--text);
}

.tier-label.gold + .supporters-grid .supporter-name {
  color: var(--gold-dim);
}
.tier-label.silver + .supporters-grid .supporter-name {
  color: #8898a8;
}

.supporters-join {
  background: linear-gradient(135deg, #1a0a0f 0%, #0f0a1a 100%);
  border: 1px solid rgba(196, 40, 64, 0.2);
  padding: 1.4rem 1.6rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.supporters-join p {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-style: italic;
}

/* ════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════ */
.about-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.about-page h1 {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.about-sub {
  color: var(--red-bright);
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  display: block;
}
.about-page p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}
.about-page p strong {
  color: var(--text);
  font-style: normal;
}

.about-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 2rem;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover {
  background: var(--bg3);
}
.faq-question.open {
  background: var(--bg3);
}

.faq-q-text {
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.05em;
}
.faq-arrow {
  font-size: 0.55rem;
  color: var(--gold-dim);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-question.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
  border-top: 1px solid var(--border);
}
.faq-answer.open {
  display: block;
}
.faq-answer a {
  color: var(--gold-dim);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
.faq-answer a:hover {
  color: var(--gold);
}

/* Social links with icons */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg2);
  transition: border-color 0.15s;
}
.social-link:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.social-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
}
.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-info {
  flex: 1;
}
.social-label {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.social-url {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ════════════════════════════════
   CHAPTERS LIST PAGE
   ════════════════════════════════ */
.chapters-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.chapters-page-title {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.chapters-page-sub {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

/* ════════════════════════════════
   RESPONSIVE — TABLET ≤ 900px
   ════════════════════════════════ */
@media (max-width: 900px) {
  .hero-title h1 {
    font-size: 2.4rem;
  }
  .hero-title h1 em {
    font-size: 1.5rem;
  }
  .update-item {
    grid-template-columns: 90px 1fr;
    gap: 0.8rem;
  }
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE ≤ 600px
   ════════════════════════════════ */
@media (max-width: 600px) {
  /* Nav */
  .site-nav {
    padding: 0.85rem 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-drawer {
    display: flex;
  }

  /* Hero */
  .hero-badge-row {
    padding: 1rem 1rem 0.6rem;
  }
  /* .hero-banner { height: 110px; } */
  .hero-title-row {
    padding: 1rem 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title h1 {
    font-size: 2rem;
  }
  .hero-title h1 em {
    font-size: 1.25rem;
  }
  .hero-desc {
    font-size: 1rem;
    max-width: 100%;
  }
  .hero-actions {
    gap: 0.6rem;
  }
  .btn-primary,
  .btn-ghost {
    padding: 0.6rem 1.1rem;
    font-size: 0.72rem;
  }
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    text-align: left;
    padding-bottom: 0;
  }
  .stat-num {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }

  /* Chapter grid — 2 columns, equal width, no stretching */
  .page-section {
    padding: 1.5rem 1rem;
  }
  .chapters-section {
    padding: 1.5rem 1rem;
  }

  .chapters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .chapters-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Force all grid children to same width — fixes unequal card sizes */
  .chapters-grid > *,
  .chapters-full-grid > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .chapter-num {
    font-size: 0.65rem;
  }
  .chapter-title {
    font-size: 0.82rem;
  }
  .chapter-pages {
    display: none;
  }

  /* Patreon banner */
  .patreon-banner {
    margin: 0 1rem 1.5rem;
    padding: 1.2rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Footer */
  footer {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  footer {
    font-size: 0.8rem;
  }

  /* Reader */
  .reader-bar {
    padding: 0.45rem 0.8rem;
    gap: 0.4rem;
  }
  .nav-btn {
    padding: 0.32rem 0.6rem;
    font-size: 0.62rem;
    min-height: 36px;
  }
  .ch-info {
    display: none;
  }
  .ch-dropdown-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.62rem;
    min-height: 36px;
  }
  .comic-area {
    padding: 0.8rem 0;
    gap: 0;
  }
  .comic-frame {
    max-width: 100%;
  }
  .page-counter {
    font-size: 0.68rem;
  }

  /* Updates */
  .updates-page {
    padding: 1.5rem 1rem;
  }
  .update-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .update-date {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4rem;
  }
  .update-title {
    font-size: 0.9rem;
  }
  .update-body {
    font-size: 0.92rem;
  }

  /* Supporters */
  .supporters-page {
    padding: 1.5rem 1rem;
  }
  .supporter-name {
    font-size: 0.75rem;
  }

  /* About */
  .about-page {
    padding: 1.5rem 1rem;
  }
  .about-page h1 {
    font-size: 1.3rem;
  }
  .about-page p {
    font-size: 1rem;
  }
  .faq-q-text {
    font-size: 0.82rem;
  }
  .faq-answer {
    font-size: 0.92rem;
  }

  /* Chapters page */
  .chapters-page {
    padding: 1.5rem 1rem;
  }
  .chapters-page-title {
    font-size: 1.2rem;
  }
  .chapters-page-sub {
    font-size: 0.9rem;
  }

  /* Dropdown menu width on mobile */
  .ch-dropdown-menu {
    min-width: 160px;
    width: 160px;
    max-width: 160px;
  }
  
}

/* Touch targets */
@media (max-width: 600px) {
  .ch-menu-item {
    padding: 0.7rem 0.9rem;
  }
  .faq-question {
    padding: 0.9rem 1rem;
  }
  .social-link {
    padding: 0.9rem 1rem;
  }
}

/* Swipe hint — shown before Patreon gate */

.swipe-hint {
  display: none;
  width: 100%;
  max-width: 720px;
  padding: 0.8rem 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .swipe-hint {
    display: flex;
  }
}

@media (hover: none) and (pointer: coarse) {
  .swipe-hint {
    display: flex;
  }
}

/* .swipe-hint {
  display: none;
}
@media (max-width: 600px) {
  .swipe-hint {
    width: 100%;
    max-width: 720px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
  }
} */

.swipe-hint span {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.45;
}

/* Page transition */

body {
  animation: pageFadeIn 0.25s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Print styles */
@media print {
  .comic-area { display: none; }
  body::after {
    content: "Blazeline — blazelinex.com";
    display: block;
    text-align: center;
    padding: 2rem;
  }
}



