@font-face {
  font-family: 'Hoshiko Satsuki';
  src: url('../fonts/HoshikoSatsuki.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #b8964a;
  --gold-soft: #cbb27b;
  --red: #7c1128;
  --red-deep: #3d0812;
  --red-overlay: rgba(120, 0, 0, 0.3);
  --red-overlay-hover: rgba(200, 0, 0, 0.15);
  --ink: #0c0c0d;
  --panel: rgba(12, 12, 13, 0.62);
  --panel-border: rgba(184, 150, 74, 0.35);
  --text-main: #ece7dd;
  --text-dim: #b9b2a4;
  --font-display: 'Cinzel Decorative', 'Cormorant Garamond', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-nav: 'Oswald', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text-main);
  font-family: var(--font-heading);
}

body {
  position: relative;
  background-color: var(--ink);
}

body::before {
  content: '';
  position: fixed;
  top: -12%;
  left: -12%;
  right: -12%;
  bottom: -12%;
  background-image: url('../img/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  animation: smoke-drift 70s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes smoke-drift {
  0%   { transform: translate(0%, 0%) scale(1); }
  25%  { transform: translate(-2.5%, 1.5%) scale(1.04); }
  50%  { transform: translate(2%, 3%) scale(1.08); }
  75%  { transform: translate(3%, -2%) scale(1.03); }
  100% { transform: translate(-1.5%, -2.5%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Site notice ---------- */
.site-notice {
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid var(--panel-border);
  color: var(--gold-soft);
  text-align: center;
  padding: 10px 40px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  position: relative;
}

.site-notice-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold-soft);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
  background: rgba(0, 0, 0, 0.6);
}

.site-logo {
  justify-self: start;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  height: 58px;
  width: auto;
  display: block;
  background: transparent;
  animation: logo-flicker 3.4s ease-in-out infinite;
}

@keyframes logo-flicker {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(212, 175, 100, 0.25)); }
  15%      { filter: drop-shadow(0 0 10px rgba(212, 175, 100, 0.75)); }
  32%      { filter: drop-shadow(0 0 4px rgba(212, 175, 100, 0.35)); }
  50%      { filter: drop-shadow(0 0 14px rgba(212, 175, 100, 0.95)); }
  68%      { filter: drop-shadow(0 0 3px rgba(212, 175, 100, 0.3)); }
  84%      { filter: drop-shadow(0 0 9px rgba(212, 175, 100, 0.7)); }
}

.site-title {
  justify-self: center;
  text-align: center;
  margin: 0;
  font-family: 'Hoshiko Satsuki', 'Nanum Brush Script', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.8rem, 4.8vw, 3.4rem);
  color: var(--gold-soft);
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-shadow:
    1px 1px 0 #a9863f,
    2px 2px 0 #93732f,
    3px 3px 0 #7d6226,
    4px 4px 0 #67511d,
    5px 6px 4px rgba(0, 0, 0, 0.6),
    0 0 26px rgba(184, 150, 74, 0.4);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-flags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  display: inline-flex;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-flag:hover { opacity: 0.85; transform: translateY(-1px); }

.lang-flag.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.lang-flag svg { width: 26px; height: 18px; display: block; }

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons a,
.social-icons button {
  display: inline-flex;
  color: var(--gold-soft);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover,
.social-icons button:hover { transform: translateY(-2px); filter: brightness(1.3); }
.social-icons svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Contact modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-backdrop[hidden] { display: none; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gold-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal-box h2 {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-box label {
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-top: 10px;
}

.modal-box input,
.modal-box textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--gold-soft);
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
}

.modal-box input:focus,
.modal-box textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 74, 0.2);
}

.modal-char-count {
  align-self: flex-end;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.modal-message { margin: 12px 0 0; font-family: var(--font-body); font-size: 0.85rem; }
.modal-message-ok { color: #7fd88f; }
.modal-message-error { color: #ff8a8a; }

.modal-box button[type="submit"] {
  margin-top: 16px;
  background: #161616;
  color: var(--gold-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-box button[type="submit"]:hover { background: #000; }
.modal-box button[type="submit"]:disabled { opacity: 0.6; cursor: default; }

/* ---------- Hero row ---------- */
.hero-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 12px;
  padding: 22px 12px;
}

.panel-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.slideshow-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.slideshow-box {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-box.horizontal { aspect-ratio: 16 / 8; }

/* The homepage's slideshow-1 box holds full magazine covers (portrait),
   not square photos — a plain "cover" crop was slicing off the edges of
   the cover art. Show the whole cover, letterboxed on the dark panel
   background instead of cropping it. */
#slideshow-1 { aspect-ratio: 3 / 4; }
#slideshow-1 img { object-fit: contain; }

.slideshow-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow-box img.active { opacity: 1; }

.slideshow-placeholder {
  position: relative;
  z-index: 2;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  color: var(--gold-soft);
  text-align: center;
  padding: 20px;
}

.slideshow-link:hover .slideshow-placeholder { color: var(--gold); }

.video-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-box iframe,
.video-box .video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-align: center;
  padding: 20px;
}

/* ---------- Six section buttons ---------- */
.section-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 26px 12px;
}

.section-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(184, 150, 74, 0.25);
}

.section-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-overlay);
  transition: background 0.35s ease;
}

.section-btn:hover::before,
.section-btn:focus-visible::before {
  background: var(--red-overlay-hover);
}

.section-btn span {
  position: relative;
  z-index: 2;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0 14px;
  color: #e40c0c;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

/* Magazine issues grid: covers use a portrait proportion instead of the
   landscape ratio used by the generic section buttons. */
.magazine-issues-buttons .section-btn {
  aspect-ratio: 3 / 4;
}

/* Keep the month/year label (and the "coming soon" badge, when present)
   pinned to the bottom of the cover instead of floating over the middle
   of the artwork — applies to every box, linked or not. */
.magazine-issues-buttons .section-btn {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

/* Member dashboard grids (galleries, stories): exact squares, and the
   grid itself is meant to run edge-to-edge (it lives outside
   .page-content in the markup, same as the generic section-buttons menu). */
.member-galleries-buttons .section-btn,
.member-stories-buttons .section-btn {
  aspect-ratio: 1 / 1;
}

/* Private galleries: keep the title pinned to the bottom in a small font
   so it doesn't cover the photo, and show the cover in black & white
   until hovered, when it blooms into color (together with the existing
   red-tint reveal). */
.member-galleries-buttons .section-btn {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}

.member-galleries-buttons .section-btn:hover,
.member-galleries-buttons .section-btn:focus-visible {
  filter: grayscale(0);
}

.member-galleries-buttons .section-btn span {
  font-size: 0.72rem;
}

/* ---------- Member dashboard ---------- */
.member-plan-note {
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-body);
  margin: -10px 0 10px;
}

.member-section-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  margin: 40px 0 4px;
  text-align: center;
}

.member-content-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.8;
}

.member-content-block .btn-donate {
  align-self: center;
}

.member-story-cover {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  align-self: center;
  border: 1px solid rgba(184, 150, 74, 0.25);
}

.section-btn-locked {
  flex-direction: column;
  gap: 8px;
  cursor: default;
}

.section-btn-locked::before {
  background: rgba(0, 0, 0, 0.55);
}

.section-btn-locked span {
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
}

.section-btn-badge {
  position: relative;
  z-index: 2;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 5px;
  padding: 3px 8px;
  text-shadow: none;
}

/* ---------- Third row ---------- */
.third-row {
  display: grid;
  grid-template-columns: 27.25fr 45.5fr 27.25fr;
  gap: 12px;
  padding: 12px 12px 40px;
  align-items: stretch;
}

.third-row .panel-box { display: flex; }
.third-row .slideshow-box.horizontal { aspect-ratio: auto; height: 100%; width: 100%; }

.red-box {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.red-box h3 {
  margin: 0 0 4px;
  text-align: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--gold-soft);
}

.red-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.red-box input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--gold-soft);
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.red-box input::placeholder { color: var(--gold-soft); opacity: 0.75; }

.red-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 74, 0.25);
}

.red-box button {
  background: #161616;
  color: var(--gold-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.red-box button:hover { background: #000; }

.members-login-row {
  display: flex;
  gap: 8px;
}

.members-login-row button {
  flex: 1;
  padding: 12px 4px;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- "Create Account" signup plans popup ---------- */
.modal-box.signup-modal {
  max-width: 860px;
  padding: 40px 36px 34px;
}

.signup-modal h2 {
  font-size: 1.4rem;
}

.signup-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.signup-plan {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.signup-plan-name {
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.signup-plan-price {
  color: var(--gold-soft);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
}

.signup-plan-note {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin: 0;
}

.signup-plan .btn-donate {
  margin-top: auto;
}

@media (max-width: 640px) {
  .signup-plans { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 30px 20px 40px;
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

/* ---------- Simple content pages (galleries, magazine, member areas) ---------- */
.page-content {
  max-width: 1100px;
  margin: 10px auto 60px;
  padding: 0 32px;
}

.page-title {
  font-family: var(--font-display);
  color: var(--gold);
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 10px 0 26px;
  text-shadow: 0 0 20px rgba(184, 150, 74, 0.35), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.back-home {
  display: inline-block;
  margin: 0 0 22px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--gold-soft);
  text-decoration: none;
  border: 1px solid var(--panel-border);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.back-home:hover { color: var(--gold); border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.gallery-tile {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.gallery-tile img { width: 100%; height: 180px; object-fit: cover; display: block; }

.empty-note {
  background: var(--panel);
  border: 1px dashed var(--panel-border);
  border-radius: 10px;
  padding: 26px;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Guest Tournament page ---------- */
.quote-banner {
  text-align: center;
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.55);
}

.quote-banner p {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  color: var(--gold-soft);
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-shadow:
    1px 1px 0 #a9863f,
    2px 2px 0 #93732f,
    3px 3px 0 #7d6226,
    4px 6px 4px rgba(0, 0, 0, 0.6);
}

.quote-banner span {
  display: block;
  margin-top: 6px;
  font-family: 'Arial Black', Arial, sans-serif;
  color: var(--gold-soft);
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-shadow:
    1px 1px 0 #a9863f,
    2px 2px 0 #93732f,
    3px 4px 3px rgba(0, 0, 0, 0.6);
}

.gt-main {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 12px;
  padding: 20px 12px;
  align-items: stretch;
}

.gt-main.gt-main-reverse {
  grid-template-columns: 65fr 35fr;
}

/* ---------- Photo Gallery page: 2-column pricing table ---------- */
.gallery-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 12px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 6px;
}

.gallery-row-image {
  position: relative;
  aspect-ratio: 16 / 3;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.gallery-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-row-image .slideshow-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  font-size: 0.85rem;
}

.gallery-row-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--panel-border);
}

.gallery-row-meta {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.15rem;
}

.gallery-row-title {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.gallery-row-info .btn-donate.btn-sm {
  padding: 16px 44px;
  font-size: 1.15rem;
}

.btn-free-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 38px;
  border-radius: 6px;
  background: linear-gradient(to bottom, #ffc65c 0%, #f5960b 100%);
  border: 1px solid #a5610a;
  color: #2a1600;
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease;
}

.btn-free-download:hover { filter: brightness(1.06); }
.btn-free-download-icon { font-size: 1.4rem; }

.gallery-cart-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
}

.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid var(--panel-border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.5);
}

.cart-bar[hidden] { display: none; }

.cart-bar-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cart-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 150, 74, 0.15);
  border: 1px solid var(--panel-border);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

.cart-chip-remove {
  background: none;
  border: none;
  color: var(--gold-soft);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 2px 6px;
}

.cart-chip-remove:hover { color: #fff; }

.cart-bar-text {
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-bar-actions { display: flex; gap: 10px; }

.cart-bar-actions button {
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#cart-checkout {
  background: #1c6b28;
  color: #fff;
}

#cart-checkout:hover { background: #238331; }

#cart-clear {
  background: transparent;
  color: var(--text-dim);
}

#cart-clear:hover { color: var(--text-main); }

@media (max-width: 900px) {
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row-image { aspect-ratio: 16 / 9; }
}

/* ---------- Magazine page ---------- */
.mag-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 26px 12px 0;
}

.mag-cover-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

.mag-cover-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mag-cover-cell .slideshow-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-size: 0.85rem;
}

.mag-cover-block {
  display: flex;
  flex-direction: column;
}

.mag-cover-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.btn-mag-red,
.btn-mag-gray {
  display: block;
  text-align: center;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-mag-red {
  background: linear-gradient(to bottom, #ff5c5c 0%, #a80000 100%);
  border: 1px solid #5c0000;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease;
}

.btn-mag-red:hover { filter: brightness(1.08); }

.btn-mag-gray {
  background: linear-gradient(to bottom, #555 0%, #1a1a1a 100%);
  border: 1px solid #000;
  color: var(--gold-soft);
  cursor: default;
}

.mag-intro {
  padding: 18px 12px;
}

.mag-intro p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mag-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  padding: 10px 12px 30px;
}

.mag-polls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
}

.poll-card {
  border-radius: 8px;
  padding: 20px 22px;
}

.poll-card.poll-dark { background: rgba(0, 0, 0, 0.6); }
.poll-card.poll-maroon { background: linear-gradient(160deg, rgba(124, 17, 40, 0.55) 0%, rgba(61, 8, 18, 0.75) 100%); }

.poll-card h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  font-weight: 700;
}

.poll-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.poll-row label {
  flex: 1;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.poll-row select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  min-width: 130px;
}

.poll-intro {
  margin: 0 0 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
}

.poll-card textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  resize: vertical;
}

.mag-spotlight {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mag-spotlight-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

.mag-spotlight-photo:last-child {
  aspect-ratio: auto;
  flex: 1 1 auto;
}

.mag-spotlight-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mag-spotlight-photo .slideshow-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-size: 0.75rem;
  text-align: center;
}

.mag-spotlight-name {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #ff5c5c;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.mag-submit-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mag-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.mag-submit-row input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  flex: 1 1 110px;
  min-width: 0;
}

.mag-submit-row button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.mag-submit-row button:hover { background: var(--red-deep); }

.mag-submit-message {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 8px 0 0;
}

@media (max-width: 900px) {
  .mag-covers { grid-template-columns: 1fr; }
  .mag-body { grid-template-columns: 1fr; }
  .mag-polls { grid-template-columns: 1fr; }
  .mag-spotlight { flex-direction: row; flex-wrap: wrap; }
  .mag-spotlight-photo { flex: 1 1 140px; }
  .mag-spotlight-photo:last-child { flex: 1 1 140px; aspect-ratio: 3 / 4; }
}

/* ---------- Books page: 5 cover buttons ---------- */
.books-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 26px 12px;
}

.book-btn {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  background: var(--panel);
  cursor: default;
}

a.book-btn { cursor: pointer; }

.book-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.75);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.book-btn:hover img,
.book-btn:focus-within img {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.05);
}

.book-btn-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  color: #fff;
  text-align: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.book-btn:hover .book-btn-label,
.book-btn:focus-within .book-btn-label {
  opacity: 1;
  transform: translateY(0);
}

.book-btn-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}

.book-btn-empty .slideshow-placeholder {
  font-size: 0.85rem;
  padding: 12px;
}

@media (max-width: 900px) {
  .books-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .books-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Book detail page (e.g. book-karate.php) ---------- */
.book-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  margin: 26px 12px;
  background: var(--panel);
}

.book-detail-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid var(--panel-border);
}

.book-detail-cover img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.book-detail-info {
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 30px;
  text-align: center;
}

.book-detail-info p {
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.coming-soon-badge {
  position: relative;
  display: inline-block;
  padding: 14px 42px;
  margin-top: 10px;
  background: linear-gradient(160deg, #d81f2a 0%, #7c1128 100%);
  transform: skewX(-8deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.coming-soon-badge span {
  display: inline-block;
  transform: skewX(8deg);
  color: #fff;
  font-family: var(--font-nav);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.book-related-row {
  display: flex;
  gap: 14px;
  padding: 6px 12px 26px;
}

.book-related-row .book-btn {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 720px) {
  .book-detail { grid-template-columns: 1fr; }
  .book-detail-cover { border-right: none; border-bottom: 1px solid var(--panel-border); }
  .book-related-row { flex-wrap: wrap; }
  .book-related-row .book-btn { flex: 1 1 calc(50% - 7px); }
}

/* ---------- Audiobooks page: slideshow cell + dual MP3 players ---------- */
.book-detail-slideshow { position: relative; }

.book-detail-slideshow img {
  position: absolute;
  inset: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  object-fit: cover;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 1s ease;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.book-detail-slideshow img.active { opacity: 1; }

.audiobook-info { gap: 14px; }

.audiobook-runtime {
  color: var(--gold-soft);
  font-family: var(--font-nav);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.audiobook-buy { margin-top: 0; margin-bottom: 6px; }

.audio-player {
  width: 100%;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.audio-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.audio-player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.audio-vol-icon { font-size: 1rem; color: var(--gold-soft); }

.audio-vol-slider {
  flex: 1;
  max-width: 140px;
  accent-color: var(--gold);
}

.audio-player-buttons { display: flex; gap: 8px; }

.audio-play-btn, .audio-stop-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--gold) 0%, #7c5f28 100%);
  transition: filter 0.2s ease;
}

.audio-play-btn:hover, .audio-stop-btn:hover { filter: brightness(1.15); }

.audio-progress { width: 100%; accent-color: var(--gold); margin-bottom: 6px; display: block; }

.audio-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-nav);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.audio-track-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--panel-border);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-main);
}

.audio-track-icon { color: var(--red); }
.audio-track-title { flex: 1; text-align: left; }
.audio-track-duration { color: var(--gold-soft); font-family: var(--font-nav); font-size: 0.7rem; }

.gt-text {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gt-text p {
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.gt-text.compact-text p {
  font-size: calc(0.6rem * var(--text-scale, 1));
  line-height: 1.35;
  margin: 0 0 8px;
}

.gt-text.compact-text.dense-text p {
  font-size: calc(0.53rem * var(--text-scale, 1));
  line-height: 1.28;
  margin: 0 0 6px;
}

.gt-text .text-red { color: #e04040; }
.gt-text .text-light-gray { color: #d6d6d6; }

.btn-donate {
  position: relative;
  display: inline-block;
  align-self: center;
  margin-top: 8px;
  padding: 14px 44px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #8be681 0%, #4fbf4a 38%, #2e9e3f 55%, #1c6b28 100%);
  border: 3px solid #123f19;
  color: #fff;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: filter 0.2s ease;
}

.btn-donate::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 6%;
  right: 6%;
  height: 42%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  border-radius: 999px 999px 60% 60%;
  pointer-events: none;
}

.btn-donate:hover { filter: brightness(1.08); }

.btn-donate.btn-sm {
  padding: 5px 14px;
  font-size: 0.6rem;
  margin-top: 0;
  align-self: center;
  flex-shrink: 0;
}

/* ---------- Uncensored plans block ---------- */
.plans-block { text-align: center; }

.plans-title {
  margin: 0 0 2px;
  font-family: var(--font-heading);
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.plans-subtitle {
  margin: 0 0 6px;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  font-size: 0.62rem;
  font-weight: 500;
}

.plans-benefits {
  margin: 0 0 8px;
  padding: 0 0 0 16px;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.56rem;
  line-height: 1.2;
}

.plans-benefits li { margin-bottom: 3px; }

.plans-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.plans-block .plans-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.plans-block .plan-row {
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px 6px;
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.plans-block .plan-row:last-child { border-right: none; }

.plan-info { text-align: center; flex: 1; }

.plan-name {
  margin: 0 0 1px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.58rem;
}

.plan-price {
  margin: 0 0 1px;
  color: var(--gold-soft);
  font-family: var(--font-nav);
  font-size: 0.65rem;
  font-weight: 600;
}

.plan-note {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.48rem;
}

/* ---------- Uncensored text blocks ---------- */
/* .plans-intro wraps only the title + "what you get" + bullet list shown
   at the top of the Uncensored plans box (not the pricing table below it) —
   --plans-intro-scale is set inline per the admin's font size +/- buttons,
   scoped here so it never touches .character-block's own copy of these classes. */
.plans-intro .plans-title {
  font-size: calc(1.05rem * var(--plans-intro-scale, 1));
  margin-bottom: 8px;
}

.plans-intro .plans-subtitle {
  font-size: calc(0.75rem * var(--plans-intro-scale, 1));
  margin-bottom: 8px;
}

.plans-intro .plans-benefits {
  font-size: calc(0.64rem * var(--plans-intro-scale, 1));
  line-height: 1.3;
  margin-bottom: 8px;
}

.plans-intro .plans-benefits li { margin-bottom: 1em; }
.plans-intro .plans-benefits li:last-child { margin-bottom: 0; }

/* the 3-column pricing table has to fit whatever room is left under the
   benefits list, so its text runs much smaller than the rest of the block */
.plans-block .plan-name {
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.25;
}

.plans-block .plan-price {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.plans-block .plan-note {
  font-size: 0.68rem;
  line-height: 1.25;
}

.plans-block .plan-row .btn-donate {
  padding: 10px 24px;
  font-size: 0.85rem;
  margin-top: 5px;
  align-self: center;
  border-width: 1.5px;
}

.character-block .plans-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.character-block .plan-price {
  font-size: 1rem;
  margin-bottom: 16px;
}

.character-block .btn-donate { margin-bottom: 18px; }

.character-block .plans-subtitle {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.character-block .plans-benefits {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.character-block .plans-benefits li { margin-bottom: 10px; }

.gt-slideshow-wrap {
  position: relative;
}

.gt-slideshow {
  position: relative;
  aspect-ratio: 4 / 2.1;
  overflow: hidden;
}

.gt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--gold-soft);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gt-arrow:hover { background: rgba(0, 0, 0, 0.75); }
.gt-arrow-prev { left: 14px; }
.gt-arrow-next { right: 14px; }

.gt-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%);
}

.gt-slideshow img:first-child { transform: translateX(0); }

.gt-slideshow .slideshow-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .site-logo, .header-right { justify-self: center; }
  .hero-row { grid-template-columns: 1fr; }
  .section-buttons { grid-template-columns: repeat(3, 1fr); }
  .third-row { grid-template-columns: 1fr; }
  .third-row .slideshow-box.horizontal { aspect-ratio: 16 / 9; height: auto; }
  .gt-main { grid-template-columns: 1fr; }
  .gt-main.gt-main-reverse { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section-buttons { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Maintenance page ---------- */
.maintenance-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 22px;
}

.maintenance-logo {
  width: 90px;
  height: auto;
}

.maintenance-image-box {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.maintenance-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maintenance-heading {
  font-family: var(--font-heading);
  color: var(--gold-soft);
  font-size: 2rem;
  margin: 0;
  text-shadow: 0 0 18px rgba(184, 150, 74, 0.4);
}

.maintenance-text {
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1rem;
  max-width: 480px;
  margin: 0;
}
