@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Cormorant+Garamond:wght@400;500;600;700&family=IM+Fell+English+SC&display=swap');

:root {
  --bg-night: #0b0908;
  --bg-char: #15110f;
  --panel-stone: #1d1713;
  --panel-stone-2: #261d17;
  --ink: #eadfca;
  --ink-soft: #cfbea0;
  --ink-muted: #9f8d72;
  --iron: #4f4335;
  --iron-bright: #8f7756;
  --bronze: #b88a48;
  --ember: #d06d2d;
  --blood: #6a1e17;
  --shadow-deep: rgba(0, 0, 0, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.45;
  background:
    radial-gradient(circle at 14% 12%, rgba(208, 109, 45, 0.18), transparent 38%),
    radial-gradient(circle at 84% 8%, rgba(106, 30, 23, 0.2), transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(184, 138, 72, 0.09), transparent 55%),
    linear-gradient(180deg, #080706 0%, #0d0a09 35%, #090807 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.2;
  background-image:
    linear-gradient(115deg, rgba(255, 230, 190, 0.035) 0%, transparent 24%, rgba(255, 230, 190, 0.03) 45%, transparent 70%),
    linear-gradient(45deg, transparent 0 49.2%, rgba(0, 0, 0, 0.2) 49.5% 50.5%, transparent 50.8% 100%);
  background-size: 100% 100%, 13px 13px;
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 188, 116, 0.05), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(255, 188, 116, 0.04), transparent 46%);
}

.container {
  position: relative;
  width: min(1080px, calc(100% - 28px));
  margin: 22px auto 34px;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 235, 210, 0.025), transparent 24%),
    radial-gradient(circle at 85% 8%, rgba(208, 109, 45, 0.05), transparent 38%),
    linear-gradient(180deg, var(--panel-stone-2) 0%, #1a1410 52%, #130f0d 100%);
  border: 1px solid rgba(191, 153, 97, 0.35);
  box-shadow:
    0 24px 55px var(--shadow-deep),
    inset 0 1px 0 rgba(255, 240, 210, 0.08),
    inset 0 0 0 1px rgba(60, 47, 37, 0.65);
}

.container::before,
.container::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  pointer-events: none;
}

.container::before {
  border: 1px solid rgba(151, 119, 77, 0.25);
}

.container::after {
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.34);
}

.title-image {
  display: block;
  width: min(100%, 760px);
  margin: 6px auto 12px;
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 12px rgba(208, 109, 45, 0.14));
  animation: titleBreath 7s ease-in-out infinite;
}

.version-date {
  margin: 0 auto 18px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 14px 7px;
  border-radius: 999px;
  border: 1px solid rgba(184, 138, 72, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 234, 203, 0.05), rgba(0, 0, 0, 0.08)),
    rgba(14, 11, 9, 0.78);
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  font-size: 1.02rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(61, 46, 33, 0.6);
}

.download-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.download-section > :only-child {
  grid-column: 1 / -1;
}

.download-column,
.news-card,
.kofi-card {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(162, 127, 82, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 228, 186, 0.03) 0%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, #211913 0%, #19130f 55%, #140f0d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 214, 0.05),
    inset 0 0 0 1px rgba(49, 37, 29, 0.75),
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.download-column {
  text-align: left;
}

.download-column::before,
.news-card::before,
.kofi-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 9px;
  border: 1px solid rgba(143, 119, 86, 0.14);
  pointer-events: none;
}

.download-column.full-width {
  grid-column: 1 / -1;
}

#installer-section,
#ethernal-section,
#donate-section {
  text-align: center;
}

h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  color: #f0e2c8;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(184, 138, 72, 0.26);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7), 0 0 16px rgba(208, 109, 45, 0.06);
}

h3 {
  margin: 16px 0 6px;
  color: #e4cfa9;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

p,
li,
td,
th {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

ul {
  margin: 8px 0 8px 1.2rem;
  padding: 0;
}

li + li {
  margin-top: 4px;
}

a {
  color: #efb365;
  text-decoration: underline;
  text-decoration-color: rgba(239, 179, 101, 0.35);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #ffd19a;
  text-shadow: 0 0 8px rgba(255, 183, 96, 0.2);
}

.download-column > a:not(.donate-button),
.download-column2 a {
  display: block;
  margin: 10px 0 0;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(184, 138, 72, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 227, 189, 0.03), rgba(0, 0, 0, 0.16)),
    rgba(22, 17, 14, 0.65);
  color: #f2c17b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(58, 45, 35, 0.6);
}

.download-column > a:not(.donate-button):hover,
.download-column2 a:hover {
  border-color: rgba(208, 109, 45, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 227, 189, 0.06), rgba(208, 109, 45, 0.06)),
    rgba(24, 18, 14, 0.78);
  transform: translateY(-1px);
}

.download-column2 {
  margin-top: 8px;
}

.link {
  color: #f0bc72;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(184, 138, 72, 0.28);
  background:
    linear-gradient(180deg, rgba(208, 109, 45, 0.16), rgba(106, 30, 23, 0.12)),
    linear-gradient(180deg, #221915, #17110e);
  color: #f4e5c7;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 189, 0.08),
    inset 0 0 0 1px rgba(58, 45, 35, 0.75);
}

.donate-button:hover {
  color: #fff0d6;
  border-color: rgba(208, 109, 45, 0.45);
  transform: translateY(-1px);
  text-shadow: none;
}

.donate-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.news-card {
  margin-top: 8px;
}

.news-content {
  text-align: left;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.cms-news-item + .cms-news-item {
  margin-top: 10px;
}

.cms-news-panel {
  padding: 10px 12px 11px;
  border-radius: 8px;
  border: 1px solid rgba(184, 138, 72, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 223, 179, 0.02), rgba(0, 0, 0, 0.12)),
    rgba(16, 13, 11, 0.35);
}

.cms-news-date {
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cms-news-item strong {
  display: block;
  margin-top: 2px;
  color: #f0dfbf;
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.cms-news-body {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
}

.cms-news-empty {
  color: var(--ink-muted);
  text-align: center;
  padding: 8px 0;
}

.kofi-card {
  width: 100%;
  margin-top: 16px;
}

.kofi-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kofi-head h2 {
  margin: 0;
  flex: 1 1 auto;
}

.kofi-head .donate-button {
  width: auto;
  min-height: 42px;
  padding: 8px 12px;
  margin-left: auto;
}

.kofi-desc,
.kofi-meta {
  color: var(--ink-soft);
}

.kofi-desc {
  margin: 8px 0;
}

.kofi-bar {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 138, 72, 0.18);
  background: rgba(8, 6, 5, 0.75);
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.45);
}

.kofi-bar__fill {
  height: 100%;
  background:
    linear-gradient(90deg, #7f2a1b 0%, #b34520 40%, #d48d2c 100%);
  box-shadow: 0 0 12px rgba(208, 109, 45, 0.35);
}

.kofi-updated {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-links {
  margin-top: 16px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.legal-links a {
  display: inline;
  margin: 0 5px;
  color: #d8bd92;
  font-size: 0.95rem;
  text-decoration: none;
}

.legal-links a:hover {
  color: #f3d7ab;
}

code {
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 228, 186, 0.05);
  border: 1px solid rgba(184, 138, 72, 0.12);
  color: #f0cea2;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  font-weight: 400;
}

hr {
  border: 0;
  border-top: 1px solid rgba(184, 138, 72, 0.2);
}

@keyframes titleBreath {
  0%,
  100% {
    filter:
      drop-shadow(0 10px 18px rgba(0, 0, 0, 0.78))
      drop-shadow(0 0 10px rgba(208, 109, 45, 0.12));
  }
  50% {
    filter:
      drop-shadow(0 11px 19px rgba(0, 0, 0, 0.8))
      drop-shadow(0 0 16px rgba(208, 109, 45, 0.18));
  }
}

@media (max-width: 860px) {
  .download-section {
    grid-template-columns: 1fr;
  }

  .download-column.full-width {
    grid-column: auto;
  }

  .container {
    width: min(980px, calc(100% - 18px));
    padding: 18px 14px 16px;
    margin-top: 14px;
  }

  .version-date {
    font-size: 0.95rem;
  }

  p,
  li,
  td,
  th {
    font-size: 1.03rem;
  }

  .download-column > a:not(.donate-button),
  .download-column2 a {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Variant 02: Kloster Archiv */
:root {
  --bg-night: #0f1114;
  --bg-char: #1a1f24;
  --panel-stone: #242a30;
  --panel-stone-2: #2d343b;
  --ink: #efe6d0;
  --ink-soft: #d8ccb1;
  --ink-muted: #a89a7d;
  --iron: #4f5760;
  --iron-bright: #95a0ac;
  --bronze: #b89e6f;
  --ember: #b78e53;
  --blood: #4a2323;
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(145, 160, 180, 0.14), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(183, 142, 83, 0.12), transparent 44%),
    radial-gradient(circle at 50% 120%, rgba(220, 208, 180, 0.06), transparent 58%),
    linear-gradient(180deg, #0b0d10 0%, #111519 48%, #0b0c0f 100%);
}

body::before {
  opacity: 0.16;
  background-image:
    linear-gradient(120deg, rgba(245, 235, 214, 0.025) 0%, transparent 32%, rgba(245, 235, 214, 0.03) 52%, transparent 76%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
}

.container {
  background:
    linear-gradient(180deg, rgba(247, 239, 225, 0.03), transparent 22%),
    radial-gradient(circle at 84% 9%, rgba(149, 160, 172, 0.08), transparent 42%),
    linear-gradient(180deg, #262d34 0%, #1f252b 56%, #181c21 100%);
  border-color: rgba(184, 158, 111, 0.34);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 245, 228, 0.06),
    inset 0 0 0 1px rgba(83, 91, 100, 0.48);
}

.container::before {
  border-color: rgba(184, 158, 111, 0.18);
}

.title-image {
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 14px rgba(150, 160, 170, 0.14));
}

.version-date {
  border-color: rgba(184, 158, 111, 0.26);
  background:
    linear-gradient(180deg, rgba(245, 235, 214, 0.03), rgba(0, 0, 0, 0.1)),
    rgba(18, 21, 25, 0.84);
}

.download-column,
.news-card,
.kofi-card {
  border-color: rgba(184, 158, 111, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.028), rgba(0, 0, 0, 0.06)),
    linear-gradient(180deg, #2a3138 0%, #20262c 55%, #181d22 100%);
  box-shadow:
    inset 0 1px 0 rgba(250, 242, 227, 0.04),
    inset 0 0 0 1px rgba(73, 82, 90, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

h2,
.cms-news-item strong {
  color: #efe4cc;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65), 0 0 14px rgba(149, 160, 172, 0.06);
}

h2 {
  border-bottom-color: rgba(184, 158, 111, 0.2);
}

a {
  color: #d4bb89;
  text-decoration-color: rgba(212, 187, 137, 0.3);
}

a:hover {
  color: #f0dcaf;
  text-shadow: 0 0 8px rgba(212, 187, 137, 0.12);
}

.download-column > a:not(.donate-button),
.download-column2 a {
  border-color: rgba(184, 158, 111, 0.18);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.03), rgba(0, 0, 0, 0.12)),
    rgba(22, 26, 31, 0.72);
  color: #e0c594;
  box-shadow: inset 0 0 0 1px rgba(76, 84, 92, 0.5);
}

.download-column > a:not(.donate-button):hover,
.download-column2 a:hover {
  border-color: rgba(184, 158, 111, 0.34);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.05), rgba(184, 158, 111, 0.035)),
    rgba(25, 30, 35, 0.82);
}

.donate-button {
  border-color: rgba(184, 158, 111, 0.22);
  background:
    linear-gradient(180deg, rgba(149, 160, 172, 0.14), rgba(74, 35, 35, 0.08)),
    linear-gradient(180deg, #2a3037, #1c2127);
  color: #efe2c6;
}

.kofi-bar__fill {
  background: linear-gradient(90deg, #6b737c 0%, #9aa4b0 45%, #c8ab72 100%);
  box-shadow: 0 0 10px rgba(149, 160, 172, 0.28);
}

.cms-news-panel {
  border-color: rgba(184, 158, 111, 0.1);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.015), rgba(0, 0, 0, 0.12)),
    rgba(17, 20, 24, 0.34);
}


/* =========================
   Pepp Upgrade (mix from old style feel)
   ========================= */

:root {
  --pepp-gold: #e4c38f;
  --pepp-gold-soft: rgba(228, 195, 143, 0.24);
  --pepp-glow: rgba(240, 198, 123, 0.16);
  --pepp-ink-strong: #f3e9d3;
}

html {
  scrollbar-color: rgba(212, 187, 137, 0.5) rgba(0, 0, 0, 0.35);
}

body {
  text-rendering: optimizeLegibility;
}

body::after {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 214, 151, 0.07), transparent 45%),
    radial-gradient(circle at 15% 30%, rgba(255, 214, 151, 0.035), transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 214, 151, 0.03), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255, 188, 116, 0.05), transparent 46%);
}

.container {
  overflow: hidden;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(228, 195, 143, 0.06),
    0 0 28px rgba(228, 195, 143, 0.05),
    inset 0 1px 0 rgba(255, 245, 228, 0.07),
    inset 0 0 0 1px rgba(83, 91, 100, 0.48);
}

.container::after {
  box-shadow:
    inset 0 0 65px rgba(0, 0, 0, 0.38),
    inset 0 28px 40px rgba(255, 245, 220, 0.015),
    inset 0 -18px 32px rgba(0, 0, 0, 0.22);
}

.container > * {
  position: relative;
  z-index: 1;
}

.container::before {
  border-width: 1px;
}

.container::selection {
  background: rgba(228, 195, 143, 0.2);
}

.title-image {
  margin-bottom: 14px;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 18px rgba(212, 187, 137, 0.14));
}

.version-date {
  position: relative;
  border-color: rgba(212, 187, 137, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(61, 46, 33, 0.6),
    inset 0 1px 0 rgba(255, 245, 220, 0.05),
    0 6px 14px rgba(0, 0, 0, 0.18);
}

.version-date::before {
  content: "✦";
  margin-right: 0.45rem;
  color: var(--pepp-gold);
  opacity: 0.75;
}

.download-column,
.news-card,
.kofi-card {
  overflow: hidden;
  border-color: rgba(212, 187, 137, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(250, 242, 227, 0.05),
    inset 0 0 0 1px rgba(73, 82, 90, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.download-column::after,
.news-card::after,
.kofi-card::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(212, 187, 137, 0) 0%,
    rgba(212, 187, 137, 0.85) 20%,
    rgba(255, 233, 191, 0.9) 50%,
    rgba(212, 187, 137, 0.85) 80%,
    rgba(212, 187, 137, 0) 100%
  );
  opacity: 0.75;
  pointer-events: none;
}

h2 {
  position: relative;
  display: block;
  padding-right: 1.2rem;
  color: var(--pepp-ink-strong);
  letter-spacing: 0.07em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 187, 137, 0.95), rgba(212, 187, 137, 0));
}

h2::after {
  content: "✦";
  position: absolute;
  right: 0;
  top: -0.05rem;
  font-size: 0.85em;
  color: rgba(240, 220, 186, 0.75);
  text-shadow: 0 0 8px rgba(212, 187, 137, 0.15);
}

h3 {
  font-family: 'IM Fell English SC', 'Cinzel', serif;
  letter-spacing: 0.05em;
  color: #ead8b6;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
}

p,
li,
td,
th {
  color: #ded2b9;
}

a {
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.download-column > a:not(.donate-button),
.download-column2 a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  border-color: rgba(212, 187, 137, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(76, 84, 92, 0.5),
    inset 0 1px 0 rgba(255, 245, 220, 0.03),
    0 2px 0 rgba(0, 0, 0, 0.18);
}

.download-column > a:not(.donate-button)::before,
.download-column2 a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 245, 220, 0.05) 0%,
    rgba(255, 245, 220, 0.015) 28%,
    rgba(255, 245, 220, 0) 62%
  );
  opacity: 0.55;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.download-column > a:not(.donate-button):hover,
.download-column2 a:hover {
  transform: translateY(-2px) scale(1.006);
  border-color: rgba(212, 187, 137, 0.44);
  box-shadow:
    inset 0 0 0 1px rgba(76, 84, 92, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.25),
    0 0 10px rgba(212, 187, 137, 0.05);
  text-shadow: 0 0 8px rgba(212, 187, 137, 0.12);
}

.download-column > a:not(.donate-button):hover::before,
.download-column2 a:hover::before {
  opacity: 0.82;
}

.donate-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(212, 187, 137, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.1),
    inset 0 0 0 1px rgba(58, 45, 35, 0.72),
    0 5px 14px rgba(0, 0, 0, 0.22);
}

.donate-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 34%, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(255, 235, 200, 0.08) 0%, rgba(255, 235, 200, 0.02) 38%, transparent 72%);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.donate-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.12),
    inset 0 0 0 1px rgba(58, 45, 35, 0.74),
    0 8px 20px rgba(0, 0, 0, 0.26),
    0 0 10px rgba(212, 187, 137, 0.05);
}

.donate-button:hover::before {
  opacity: 0.92;
}

.news-card:hover,
.kofi-card:hover,
.download-column:hover {
  border-color: rgba(212, 187, 137, 0.34);
}

.cms-news-panel {
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.cms-news-panel:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 187, 137, 0.18);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.025), rgba(0, 0, 0, 0.1)),
    rgba(17, 20, 24, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.01),
    0 8px 16px rgba(0, 0, 0, 0.16);
}

.cms-news-item strong {
  color: #f1e5cb;
  letter-spacing: 0.035em;
}

.cms-news-date {
  color: #b7ab95;
}

.kofi-bar {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 187, 137, 0.2);
}

.kofi-bar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  pointer-events: none;
}

.kofi-bar__fill {
  position: relative;
  overflow: hidden;
}

.kofi-bar__fill::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  left: -48px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: progressSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

.kofi-head h2 {
  font-family: 'IM Fell English SC', 'Cinzel', serif;
  letter-spacing: 0.06em;
}

.legal-links {
  padding-top: 6px;
  border-top: 1px solid rgba(212, 187, 137, 0.14);
}

.legal-links a {
  position: relative;
}

.legal-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: rgba(212, 187, 137, 0.35);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.legal-links a:hover::after {
  transform: scaleX(1);
}

::selection {
  background: rgba(212, 187, 137, 0.24);
  color: #fff7ea;
}

@keyframes progressSweep {
  0% { left: -48px; opacity: 0; }
  15% { opacity: 0.45; }
  65% { opacity: 0.35; }
  100% { left: calc(100% + 48px); opacity: 0; }
}

@media (max-width: 860px) {
  h2 {
    padding-right: 1rem;
  }

  h2::after {
    font-size: 0.78em;
    top: 0;
  }

  .download-column > a:not(.donate-button),
  .download-column2 a {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }

  .donate-button {
    min-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kofi-bar__fill::after,
  .download-column > a:not(.donate-button)::before,
  .download-column2 a::before,
  .donate-button::before {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================
   Gothic 2 Polish Pass (extra pepp)
   - stronger frame / bevel / hover depth
   - subtle ornaments on panels
   - better button presence
   ========================================= */

:root {
  --g2-gold: #d7b27a;
  --g2-gold-bright: #f0d7ad;
  --g2-gold-dim: rgba(215, 178, 122, 0.24);
  --g2-panel-shadow: rgba(0, 0, 0, 0.30);
  --g2-panel-shine: rgba(255, 235, 205, 0.05);
}

html {
  scroll-behavior: smooth;
}

/* WebKit Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: rgba(8, 8, 8, 0.7);
  border-left: 1px solid rgba(215, 178, 122, 0.08);
}
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.55);
  background:
    linear-gradient(180deg, rgba(240, 215, 173, 0.28), rgba(215, 178, 122, 0.22)),
    linear-gradient(180deg, #3b332a, #29231d);
}
::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(240, 215, 173, 0.38), rgba(215, 178, 122, 0.30)),
    linear-gradient(180deg, #453b30, #2f2821);
}

body {
  letter-spacing: 0.01em;
}

body::before {
  /* faint grain / rune-ish crosshatch */
  opacity: 0.20;
  background-image:
    linear-gradient(120deg, rgba(255, 244, 223, 0.028) 0%, transparent 30%, rgba(255, 244, 223, 0.024) 56%, transparent 78%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.010) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 11px);
  background-size: 100% 100%, 18px 18px, 20px 20px;
}

.container {
  border-color: rgba(215, 178, 122, 0.34);
  outline: 1px solid rgba(215, 178, 122, 0.10);
  outline-offset: -6px;
  background:
    linear-gradient(180deg, rgba(255, 242, 217, 0.025), transparent 22%),
    radial-gradient(circle at 84% 9%, rgba(149, 160, 172, 0.08), transparent 42%),
    linear-gradient(180deg, #262d34 0%, #1f252b 56%, #181c21 100%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.74),
    0 0 0 1px rgba(215, 178, 122, 0.05),
    0 0 24px rgba(215, 178, 122, 0.04),
    inset 0 1px 0 rgba(255, 245, 228, 0.07),
    inset 0 0 0 1px rgba(83, 91, 100, 0.48);
}

.container::before {
  inset: 8px;
  border-color: rgba(215, 178, 122, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 228, 0.012),
    inset 0 0 20px rgba(0, 0, 0, 0.08);
}

.container::after {
  box-shadow:
    inset 0 0 65px rgba(0, 0, 0, 0.40),
    inset 0 26px 36px rgba(255, 245, 220, 0.016),
    inset 0 -16px 28px rgba(0, 0, 0, 0.24);
}

.title-image {
  margin-top: 2px;
  margin-bottom: 16px;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.84))
    drop-shadow(0 0 16px rgba(212, 187, 137, 0.14));
}

.version-date {
  font-family: 'Cinzel', serif;
  font-size: 0.98rem;
  letter-spacing: 0.07em;
  color: #e7d7b6;
  border-color: rgba(215, 178, 122, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(61, 46, 33, 0.58),
    inset 0 1px 0 rgba(255, 245, 220, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.16);
}

.version-date::before {
  content: "✠";
  margin-right: 0.45rem;
  color: rgba(240, 215, 173, 0.85);
  text-shadow: 0 0 10px rgba(212, 187, 137, 0.15);
}

.download-column,
.news-card,
.kofi-card {
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  border-color: rgba(215, 178, 122, 0.26);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.028), rgba(0, 0, 0, 0.07)),
    linear-gradient(180deg, #2a3138 0%, #20262c 55%, #181d22 100%);
  box-shadow:
    inset 0 1px 0 rgba(250, 242, 227, 0.05),
    inset 0 0 0 1px rgba(73, 82, 90, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.download-column:hover,
.news-card:hover,
.kofi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 178, 122, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(250, 242, 227, 0.05),
    inset 0 0 0 1px rgba(73, 82, 90, 0.55),
    0 14px 26px rgba(0, 0, 0, 0.28),
    0 0 14px rgba(215, 178, 122, 0.035);
}

.download-column::before,
.news-card::before,
.kofi-card::before {
  border-color: rgba(215, 178, 122, 0.14);
}

.download-column::after,
.news-card::after,
.kofi-card::after {
  opacity: 0.85;
  height: 2px;
  top: 1px;
}

h2 {
  color: #f1e6cf;
  letter-spacing: 0.07em;
  padding-bottom: 10px;
  margin-bottom: 12px;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.75),
    0 0 12px rgba(212, 187, 137, 0.06);
  border-bottom-color: rgba(215, 178, 122, 0.22);
}

h2::before {
  width: 108px;
  height: 2px;
  bottom: -1px;
  background: linear-gradient(
    90deg,
    rgba(240, 215, 173, 0.90),
    rgba(240, 215, 173, 0.45) 55%,
    rgba(240, 215, 173, 0)
  );
}

h2::after {
  content: "✦";
  color: rgba(240, 220, 186, 0.78);
  top: 0.02rem;
}

h3 {
  color: #ebdab9;
  font-size: 1.02rem;
  margin-top: 18px;
}

p,
li,
td,
th {
  color: #ddd0b6;
  line-height: 1.42;
}

strong {
  color: #f0e1c2;
}

hr {
  margin: 14px 0;
  border-top-color: rgba(215, 178, 122, 0.18);
  box-shadow: 0 1px 0 rgba(255, 245, 220, 0.015);
}

code {
  border-color: rgba(215, 178, 122, 0.16);
  background: rgba(255, 228, 186, 0.04);
  color: #f0d4aa;
  box-shadow: inset 0 1px 0 rgba(255, 245, 220, 0.02);
}

table tr + tr td,
table tr + tr th {
  border-top: 1px solid rgba(215, 178, 122, 0.10);
}
th {
  color: #ead8b6;
}

/* Download links feel like actual Gothic UI buttons */
.download-column > a:not(.donate-button),
.download-column2 a {
  text-align: left;
  padding: 11px 12px 11px 34px;
  border-color: rgba(215, 178, 122, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.045), rgba(0, 0, 0, 0.15)),
    linear-gradient(180deg, rgba(255, 214, 151, 0.03), rgba(255, 214, 151, 0)),
    rgba(22, 26, 31, 0.72);
  color: #ead0a1;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.download-column > a:not(.donate-button)::after,
.download-column2 a::after {
  content: "➜";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(240, 215, 173, 0.90);
  font-size: 0.95rem;
  text-shadow: 0 0 8px rgba(212, 187, 137, 0.10);
  pointer-events: none;
}

.download-column > a:not(.donate-button):hover,
.download-column2 a:hover {
  color: #f5e4c4;
  border-color: rgba(215, 178, 122, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.065), rgba(255, 214, 151, 0.05)),
    linear-gradient(180deg, rgba(255, 214, 151, 0.04), rgba(255, 214, 151, 0)),
    rgba(25, 30, 35, 0.84);
}

.download-column > a:not(.donate-button):active,
.download-column2 a:active {
  transform: translateY(0) scale(0.998);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(240, 215, 173, 0.65);
  outline-offset: 2px;
  border-radius: 8px;
}

.donate-button {
  border-color: rgba(215, 178, 122, 0.26);
  background:
    linear-gradient(180deg, rgba(149, 160, 172, 0.16), rgba(74, 35, 35, 0.10)),
    linear-gradient(180deg, #2b3138, #1d2228);
  color: #f2e5cb;
  letter-spacing: 0.04em;
}

.donate-button img {
  width: 26px;
  height: 26px;
}

.donate-button:hover {
  border-color: rgba(215, 178, 122, 0.40);
}

.news-content {
  line-height: 1.4;
}

.cms-news-panel {
  position: relative;
  border-color: rgba(215, 178, 122, 0.12);
  border-left: 2px solid rgba(215, 178, 122, 0.22);
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.018), rgba(0, 0, 0, 0.12)),
    rgba(17, 20, 24, 0.36);
}

.cms-news-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 245, 220, 0.02);
}

.cms-news-date {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(215, 178, 122, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: #bcae93;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.cms-news-item strong {
  color: #f2e6cd;
  letter-spacing: 0.03em;
}

.kofi-head {
  gap: 12px;
}

.kofi-desc {
  color: #ddcfb5;
}

.kofi-meta {
  color: #d4c3a4;
}

.kofi-bar {
  height: 13px;
  border-color: rgba(215, 178, 122, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 245, 220, 0.02), rgba(0, 0, 0, 0.18)),
    rgba(7, 7, 7, 0.82);
  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 245, 220, 0.01);
}

.kofi-bar__fill {
  background: linear-gradient(90deg, #5e6670 0%, #8f9aa8 38%, #cfa66c 68%, #f0cf92 100%);
  box-shadow:
    0 0 10px rgba(215, 178, 122, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.kofi-updated {
  color: #b5a68b;
}

.legal-links {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 178, 122, 0.12);
  color: #aa9b80;
}

.legal-links a {
  color: #dec7a0;
}

.legal-links a:hover {
  color: #f2dfbc;
}

::selection {
  background: rgba(215, 178, 122, 0.24);
  color: #fff7ea;
}

@media (max-width: 860px) {
  .container {
    outline-offset: -4px;
  }

  .download-column,
  .news-card,
  .kofi-card {
    transform: none !important;
  }

  .download-column > a:not(.donate-button),
  .download-column2 a {
    padding-left: 30px;
    font-size: 0.96rem;
  }

  .download-column > a:not(.donate-button)::after,
  .download-column2 a::after {
    left: 10px;
  }

  h2::before {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* Patch: remove subtle corner dots on panel frames */
.download-column,
.news-card,
.kofi-card {
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.028), rgba(0, 0, 0, 0.07)),
    linear-gradient(180deg, #2a3138 0%, #20262c 55%, #181d22 100%);
}


/* Patch: disable hover on main category boxes (only links/buttons should hover) */
.download-column:hover,
.news-card:hover,
.kofi-card:hover {
  transform: none !important;
  border-color: rgba(215, 178, 122, 0.26) !important;
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.028), rgba(0, 0, 0, 0.07)),
    linear-gradient(180deg, #2a3138 0%, #20262c 55%, #181d22 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(250, 242, 227, 0.05),
    inset 0 0 0 1px rgba(73, 82, 90, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.22) !important;
}

.cms-news-panel:hover {
  transform: none !important;
  border-color: rgba(215, 178, 122, 0.12) !important;
  border-left-color: rgba(215, 178, 122, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(247, 238, 221, 0.018), rgba(0, 0, 0, 0.12)),
    rgba(17, 20, 24, 0.36) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01) !important;
}

/* Patch: remove version badge cross icon */
.version-date::before {
  content: "" !important;
  display: none !important;
  margin-right: 0 !important;
}

/* Patch: center only the NEWS box title (not news content titles) */
.news-card > h2,
.news-card h2 {
  text-align: center !important;
}


/* Patch: wider main frame and category boxes, logo stays same */
.container {
  width: min(1180px, calc(100% - 28px)) !important;
}

@media (max-width: 860px) {
  .container {
    width: min(1080px, calc(100% - 18px)) !important;
  }
}
