:root {
  --bg: #02070d;
  --panel: rgba(4, 14, 25, 0.68);
  --panel-strong: rgba(5, 18, 33, 0.88);
  --line: rgba(103, 184, 255, 0.34);
  --line-soft: rgba(149, 210, 255, 0.16);
  --blue: #33a9ff;
  --blue-2: #87d9ff;
  --gold: #d5a849;
  --gold-soft: rgba(213, 168, 73, 0.56);
  --text: #eef7ff;
  --muted: #aab8ca;
  --shadow-blue: 0 0 18px rgba(40, 151, 255, 0.55), 0 0 45px rgba(40, 151, 255, 0.22);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(1, 4, 9, 0.92) 0%, rgba(4, 11, 18, 0.52) 35%, rgba(1, 4, 9, 0.78) 100%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.2) 0%, rgba(2, 6, 12, 0.54) 62%, rgba(1, 4, 9, 0.98) 100%),
    url("../img/storm-bg.jpg") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 27%, rgba(82, 179, 255, 0.36), transparent 14rem),
    radial-gradient(circle at 8% 74%, rgba(44, 129, 219, 0.18), transparent 16rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 120px);
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: min(100%, 1680px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(77, 164, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 0 90px rgba(0,0,0,0.58);
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 8px;
  border: 1px solid rgba(72, 170, 255, 0.12);
  clip-path: polygon(0 0, 6rem 0, 6rem 1px, 1px 1px, 1px 6rem, 0 6rem, 0 0,
                     100% 0, calc(100% - 6rem) 0, calc(100% - 6rem) 1px, calc(100% - 1px) 1px, calc(100% - 1px) 6rem, 100% 6rem, 100% 0,
                     100% 100%, calc(100% - 6rem) 100%, calc(100% - 6rem) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 6rem), 100% calc(100% - 6rem), 100% 100%,
                     0 100%, 6rem 100%, 6rem calc(100% - 1px), 1px calc(100% - 1px), 1px calc(100% - 6rem), 0 calc(100% - 6rem));
}

.page-shell::after {
  inset: auto 50% 0;
  width: 190px;
  height: 44px;
  transform: translateX(-50%);
  border: 0;
  background:
    radial-gradient(circle, var(--blue-2) 0 4px, rgba(46, 162, 255, 0.8) 5px 8px, transparent 9px),
    linear-gradient(90deg, transparent 0 42%, rgba(213,168,73,.6) 42% 58%, transparent 58%);
  filter: drop-shadow(0 0 12px rgba(61, 173, 255, .9));
}

.site-header {
  min-height: 102px;
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.75rem);
  padding: 16px clamp(22px, 5vw, 78px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(1, 8, 16, 0.94), rgba(3, 14, 26, 0.72));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(93, 169, 255, 0.22);
}

.brand {
  width: clamp(200px, 20vw, 320px);
  filter: drop-shadow(0 0 12px rgba(229, 181, 67, .24));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3.2vw, 4.2rem);
}

.main-nav a {
  position: relative;
  padding: 38px 0 34px;
  color: rgba(238, 247, 255, 0.82);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 0.75rem + 0.18vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color .2s ease, text-shadow .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 0;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  box-shadow: var(--shadow-blue);
  transition: width .22s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(104, 191, 255, .8);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  width: 76px;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 2.15rem;
  position: relative;
  isolation: isolate;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(12, 53, 100, .74), rgba(3, 20, 42, .85));
  border: 1px solid rgba(118, 202, 255, .66);
  box-shadow: inset 0 0 20px rgba(52, 159, 255, .22), var(--shadow-blue);
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  transition: transform .22s ease, box-shadow .22s ease;
}

.header-cta::before,
.btn::before {
  content: "";
  position: absolute;
  inset: 5px 14px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(21, 97, 177, .92), rgba(4, 24, 55, .44), rgba(23, 104, 196, .92));
  opacity: .68;
  filter: blur(.5px);
  clip-path: inherit;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 28px rgba(85, 186, 255, .32), 0 0 24px rgba(49, 163, 255, .72), 0 0 62px rgba(49, 163, 255, .28);
}

.burger,
.nav-toggle {
  display: none;
}

.social-rail {
  position: fixed;
  top: 48%;
  left: max(26px, calc((100vw - 1680px) / 2 + 34px));
  z-index: 11;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding: 16px 10px;
}

.social-rail::before,
.social-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 90px;
  transform: translateX(-50%);
  background: linear-gradient(transparent, rgba(89, 177, 255, .32), transparent);
}

.social-rail::before {
  bottom: 100%;
}

.social-rail::after {
  top: 100%;
}

.social-rail a {
  width: 26px;
  height: 26px;
  color: rgba(156, 204, 239, .78);
  transition: color .2s ease, filter .2s ease, transform .2s ease;
}

.social-rail svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-rail a:hover {
  color: #8ddcff;
  filter: drop-shadow(0 0 10px rgba(76, 179, 255, .8));
  transform: translateX(2px);
}

.hero {
  min-height: 545px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(350px, 0.86fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 3rem);
  padding: clamp(54px, 7.4vw, 120px) clamp(28px, 8vw, 140px) 46px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 43% 39%, rgba(72, 168, 255, .21), transparent 24rem);
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 .25rem;
  color: rgba(238, 247, 255, .9);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2vw, 3.05rem);
  letter-spacing: .27em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000, 0 0 25px rgba(92, 181, 255, .32);
}

h1 {
  margin: 0;
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.8vw, 9.25rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #f6fbff;
  text-shadow:
    0 1px 0 #ffffff,
    0 3px 0 rgba(0,0,0,.55),
    0 0 25px rgba(102, 190, 255, .42),
    0 0 60px rgba(20, 91, 168, .32);
}

.rune-divider {
  width: min(100%, 640px);
  display: flex;
  align-items: center;
  margin: 24px 0 20px;
}

.rune-divider::before,
.rune-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(105, 196, 255, .85));
  box-shadow: 0 0 15px rgba(60, 165, 255, .7);
}

.rune-divider::after {
  background: linear-gradient(90deg, rgba(105, 196, 255, .85), transparent);
}

.rune-divider span {
  width: 14px;
  height: 14px;
  margin: 0 14px;
  transform: rotate(45deg);
  border: 1px solid var(--blue-2);
  background: rgba(26, 143, 235, .78);
  box-shadow: 0 0 12px rgba(68, 181, 255, .85);
}

.intro {
  max-width: 600px;
  margin: 0;
  color: rgba(232, 241, 251, .8);
  font-size: clamp(1rem, 0.95rem + .38vw, 1.32rem);
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-width: 235px;
  min-height: 62px;
  font-size: 1.02rem;
}

.btn-ghost {
  min-width: 245px;
  clip-path: none;
  background: rgba(5, 15, 28, .52);
  border: 1px solid rgba(143, 201, 255, .28);
  box-shadow: inset 0 0 16px rgba(97, 185, 255, .08);
}

.btn-ghost::before {
  display: none;
}

.btn-ghost span {
  margin-left: .85rem;
  color: var(--blue-2);
  text-shadow: 0 0 11px rgba(73, 179, 255, .9);
}

.hero-art {
  justify-self: end;
  width: min(100%, 595px);
  transform: translateY(12px);
  filter: drop-shadow(0 0 26px rgba(0,0,0,.82)) drop-shadow(0 0 12px rgba(211, 162, 54,.16));
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 14% 4% 12%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(22, 110, 204, .34), transparent 62%);
  filter: blur(16px);
}

.feature-grid,
.news-section {
  padding-inline: clamp(28px, 5vw, 88px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: 14px;
}

.feature-card,
.news-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 145px;
  padding: 28px 32px;
  background:
    linear-gradient(90deg, rgba(2, 8, 17, .88), rgba(8, 24, 42, .57)),
    radial-gradient(circle at 90% 30%, rgba(64, 169, 255, .18), transparent 42%);
  border: 1px solid rgba(107, 183, 255, .29);
  box-shadow: inset 0 0 30px rgba(31, 133, 226, .08), 0 20px 40px rgba(0,0,0,.28);
}

.feature-card::before,
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(129, 210, 255, .58) 0 1px, transparent 1px 28px),
    linear-gradient(315deg, rgba(129, 210, 255, .34) 0 1px, transparent 1px 28px);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.feature-card--image::after,
.feature-card--banner::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  opacity: .45;
  background: url("../img/storm-bg.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.card-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  position: relative;
  border: 1px solid rgba(113, 200, 255, .5);
  transform: rotate(45deg);
  background: radial-gradient(circle, rgba(45, 166, 255, .34), rgba(1, 15, 33, .9) 58%);
  box-shadow: 0 0 18px rgba(61, 171, 255, .46), inset 0 0 18px rgba(59, 167, 255, .25);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid rgba(145, 216, 255, .9);
  filter: drop-shadow(0 0 8px rgba(70, 182, 255, .75));
}

.card-icon::after {
  inset: 27px 10px;
  border-width: 1px 0;
  transform: rotate(90deg);
}

.feature-card h2,
.news-copy h3,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-card h2 {
  font-size: clamp(1.05rem, .9rem + .42vw, 1.5rem);
}

.feature-card p,
.news-card p {
  margin: 12px 0 16px;
  color: rgba(224, 236, 248, .72);
  line-height: 1.55;
}

.feature-card a,
.section-heading a {
  color: #78ceff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(76, 183, 255, .52);
}

.feature-card a::after,
.section-heading a::after {
  content: "›";
  margin-left: .6rem;
  font-size: 1.25em;
}

.news-section {
  margin-top: 38px;
  padding-bottom: 64px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2 {
  color: #a9ddff;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.65rem);
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-heading h2::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 1px solid var(--blue-2);
  box-shadow: 0 0 10px var(--blue);
}

.section-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  order: 2;
  background: linear-gradient(90deg, rgba(84, 178, 255, .5), transparent);
}

.section-heading a {
  order: 3;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.9vw, 30px);
}

.news-card {
  min-height: 150px;
  padding: 0;
  align-items: stretch;
  gap: 0;
}

.news-thumb {
  flex: 0 0 38%;
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(9, 35, 62, .2), rgba(1, 7, 14, .46)),
    url("../img/storm-bg.jpg") center / cover no-repeat;
  filter: saturate(.9) contrast(1.05);
}

.news-thumb--one {
  background-position: 15% 50%;
}

.news-thumb--two {
  background-position: 50% 40%;
}

.news-thumb--three {
  background-position: 82% 50%;
}

.news-copy {
  padding: 26px 25px;
}

.news-copy time {
  display: block;
  margin-bottom: 12px;
  color: rgba(169, 184, 202, .78);
  font-family: var(--font-display);
  font-size: .77rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.news-copy h3 {
  font-size: clamp(1rem, .88rem + .38vw, 1.35rem);
}

.news-copy p {
  margin-bottom: 0;
}

@media (max-width: 1260px) {
  .site-header {
    grid-template-columns: minmax(180px, 270px) 1fr auto;
  }

  .main-nav {
    gap: 1.8rem;
  }

  .header-cta {
    min-height: 52px;
    padding-inline: 1.65rem;
  }

  .hero {
    grid-template-columns: 1fr .78fr;
    padding-inline: clamp(32px, 6vw, 92px);
  }

  .hero-art {
    width: min(100%, 500px);
  }

  .feature-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 130px;
  }
}

@media (max-width: 980px) {
  body::before {
    background:
      linear-gradient(90deg, rgba(1, 4, 9, 0.94) 0%, rgba(4, 11, 18, 0.58) 55%, rgba(1, 4, 9, 0.86) 100%),
      linear-gradient(180deg, rgba(2, 6, 12, 0.1) 0%, rgba(2, 6, 12, 0.64) 62%, rgba(1, 4, 9, 0.99) 100%),
      url("../img/storm-bg.jpg") 53% center / cover no-repeat;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 82px;
    padding: 14px 22px;
  }

  .brand {
    width: min(250px, 62vw);
  }

  .header-cta {
    display: none;
  }

  .burger {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    gap: 0;
    padding: 11px;
    cursor: pointer;
    border: 1px solid rgba(123, 197, 255, .28);
    background: rgba(4, 15, 27, .72);
    box-shadow: inset 0 0 16px rgba(60, 165, 255, .12);
  }

  .burger span {
    width: 23px;
    height: 2px;
    background: #c7ecff;
    box-shadow: 0 0 10px rgba(93, 185, 255, .75);
    transition: transform .22s ease, opacity .22s ease;
  }

  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(2, 10, 20, .96);
    border: 1px solid rgba(113, 199, 255, .24);
    box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 0 35px rgba(45, 154, 255, .08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-toggle:checked ~ .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(112, 193, 255, .12);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    left: 14px;
    bottom: 8px;
    transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding: 50px 24px 34px;
  }

  .hero-copy {
    justify-self: center;
  }

  .rune-divider {
    margin-inline: auto;
  }

  .intro {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    justify-self: center;
    order: -1;
    width: min(84vw, 465px);
    transform: translateY(0);
    margin-bottom: -22px;
  }

  .social-rail {
    display: none;
  }

  .feature-grid,
  .news-section {
    padding-inline: 22px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    border-inline: 0;
  }

  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .brand {
    width: min(210px, 58vw);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-art {
    width: min(93vw, 390px);
    margin-bottom: -14px;
  }

  .eyebrow {
    font-size: clamp(1.15rem, 5.5vw, 1.55rem);
    letter-spacing: .21em;
  }

  h1 {
    font-size: clamp(2.9rem, 16vw, 5.1rem);
    letter-spacing: .05em;
  }

  .intro {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    margin-inline: auto;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: .95rem;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    min-height: auto;
    padding: 22px 18px;
  }

  .feature-card--image::after,
  .feature-card--banner::after {
    width: 58%;
    opacity: .25;
  }

  .card-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .card-icon::before {
    inset: 12px;
  }

  .card-icon::after {
    inset: 21px 7px;
  }

  .feature-card p,
  .news-card p {
    font-size: .92rem;
  }

  .news-section {
    margin-top: 28px;
    padding-bottom: 46px;
  }

  .section-heading {
    align-items: flex-end;
  }

  .section-heading::after {
    display: none;
  }

  .news-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .news-thumb {
    min-height: 132px;
    flex-basis: auto;
  }

  .news-copy {
    padding: 20px 18px 22px;
  }
}

/* Donation system */
.donation-shell {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.donate-login-layout {
  display: grid;
  place-items: center;
}

.donate-login-card {
  width: min(100%, 760px);
}

.donate-login-card .btn {
  margin-top: 22px;
}

.donation-packages-card,
.donation-method-card,
.donation-history-card {
  padding: clamp(26px, 4vw, 46px);
}

.donation-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.donation-section-head h2,
.donation-heading h2,
.donation-method-card h3 {
  margin: 0;
}

.donation-currency,
.donation-history-count,
.donation-featured,
.donation-method-status,
.donation-transaction-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--gold-bright, #f1bf45);
  background: rgba(241, 191, 69, .09);
  border: 1px solid rgba(241, 191, 69, .28);
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.donation-package-table {
  min-width: 780px;
}

.donation-package-table th:first-child,
.donation-package-table td:first-child {
  width: 72px;
  text-align: center;
}

.donation-package-table tbody tr {
  transition: background-color .2s ease, box-shadow .2s ease;
}

.donation-package-table tbody tr.is-featured {
  background: linear-gradient(90deg, rgba(241, 191, 69, .12), rgba(43, 151, 240, .06));
  box-shadow: inset 3px 0 rgba(241, 191, 69, .72);
}

.donation-package-table label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.donation-package-table input[type="radio"] {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: var(--gold-bright, #f1bf45);
  cursor: pointer;
}

.donation-package-table input[type="radio"]:focus-visible {
  outline: 3px solid rgba(135, 217, 255, .58);
  outline-offset: 3px;
}

.donation-featured {
  min-height: 25px;
  padding-inline: 9px;
  font-size: .6rem;
}

.donation-payment-section {
  display: grid;
  gap: 18px;
}

.donation-heading {
  margin-bottom: 0;
}

.donation-method-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.donation-method-card__copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.donation-method-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #d9f1ff;
  background: linear-gradient(145deg, rgba(35, 126, 213, .72), rgba(4, 36, 73, .88));
  border: 1px solid rgba(116, 202, 255, .58);
  box-shadow: inset 0 0 18px rgba(55, 165, 255, .22), 0 0 22px rgba(38, 151, 255, .18);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.donation-method-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.donation-method-card p {
  margin: 10px 0 16px;
}

.donation-method-status {
  color: #c9ffea;
  background: rgba(84, 214, 162, .10);
  border-color: rgba(84, 214, 162, .38);
}

.donation-method-status > span {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: #54d6a2;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(84, 214, 162, .75);
}

.donation-checkout {
  min-width: 0;
  padding: 20px;
  background: rgba(1, 8, 15, .55);
  border: 1px solid rgba(103, 184, 255, .20);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .24);
}

#paypal-button-container {
  min-height: 48px;
}

.donation-method-card--stripe .donation-method-mark {
  background: linear-gradient(145deg, rgba(99, 91, 255, .88), rgba(42, 34, 128, .92));
  border-color: rgba(170, 166, 255, .62);
  box-shadow: inset 0 0 18px rgba(137, 131, 255, .30), 0 0 22px rgba(99, 91, 255, .20);
}

.donation-stripe-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, #635bff, #4f46d8);
  border: 1px solid rgba(197, 194, 255, .54);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(58, 49, 194, .24), inset 0 1px rgba(255, 255, 255, .16);
  font: 700 .87rem/1.2 var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.donation-stripe-button > span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .04em;
}

.donation-stripe-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(58, 49, 194, .32), inset 0 1px rgba(255, 255, 255, .18);
}

.donation-stripe-button:focus-visible {
  outline: 3px solid rgba(171, 218, 255, .72);
  outline-offset: 3px;
}

.donation-stripe-button:disabled {
  opacity: .58;
  cursor: wait;
}

.donation-status {
  margin-top: 14px;
  padding: 13px 14px;
  color: var(--muted);
  background: rgba(4, 15, 27, .74);
  border: 1px solid var(--line-soft);
  font-size: .88rem;
  line-height: 1.55;
}

.donation-status[data-state="preparing"],
.donation-status[data-state="redirecting"],
.donation-status[data-state="processing"] {
  color: #d9f1ff;
  border-color: rgba(82, 179, 255, .42);
  box-shadow: inset 3px 0 #33a9ff;
}

.donation-status[data-state="success"] {
  color: #c9ffea;
  border-color: rgba(84, 214, 162, .42);
  box-shadow: inset 3px 0 #54d6a2;
}

.donation-status[data-state="pending"],
.donation-status[data-state="cancelled"] {
  color: #ffe8ac;
  border-color: rgba(241, 191, 69, .40);
  box-shadow: inset 3px 0 #f1bf45;
}

.donation-status[data-state="failed"] {
  color: #ffd0d7;
  border-color: rgba(255, 103, 124, .42);
  box-shadow: inset 3px 0 #ff677c;
}

.donation-shell.is-processing .donation-package-table {
  opacity: .72;
}

.donation-receipt {
  margin-top: 14px;
  padding: 16px;
  color: var(--text);
  background: rgba(84, 214, 162, .07);
  border: 1px solid rgba(84, 214, 162, .30);
}

.donation-receipt > strong {
  color: #c9ffea;
  font-family: var(--font-display);
}

.donation-receipt dl {
  display: grid;
  grid-template-columns: minmax(100px, auto) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 14px 0 0;
  font-size: .83rem;
}

.donation-receipt dt {
  color: var(--muted);
}

.donation-receipt dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.donation-history-table {
  min-width: 840px;
}

.donation-transaction-status {
  min-height: 27px;
  padding-inline: 9px;
}

.donation-transaction-status.is-completed {
  color: #c9ffea;
  background: rgba(84, 214, 162, .10);
  border-color: rgba(84, 214, 162, .34);
}

.donation-transaction-status.is-failed,
.donation-transaction-status.is-refunded,
.donation-transaction-status.is-reversed {
  color: #ffd0d7;
  background: rgba(255, 103, 124, .09);
  border-color: rgba(255, 103, 124, .34);
}

.donation-empty {
  margin: 0;
  padding: 20px;
  color: var(--muted);
  background: rgba(1, 8, 15, .45);
  border: 1px solid var(--line-soft);
}

@media (max-width: 900px) {
  .donation-method-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .donation-section-head {
    display: grid;
  }

  .donation-section-head > span {
    justify-self: start;
  }

  .donation-table-scroll {
    overflow: visible;
  }

  .donation-package-table,
  .donation-history-table {
    min-width: 0;
  }

  .donation-package-table thead,
  .donation-history-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .donation-package-table tbody,
  .donation-history-table tbody {
    display: grid;
    gap: 14px;
  }

  .donation-package-table tbody tr,
  .donation-history-table tbody tr {
    display: grid;
    padding: 14px;
    background: rgba(1, 8, 15, .55);
    border: 1px solid rgba(103, 184, 255, .18);
  }

  .donation-package-table tbody tr.is-featured {
    border-color: rgba(241, 191, 69, .42);
  }

  .donation-package-table td,
  .donation-history-table td {
    width: auto !important;
    display: grid;
    grid-template-columns: minmax(104px, 36%) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    text-align: left !important;
    border: 0;
    border-bottom: 1px solid rgba(103, 184, 255, .10);
  }

  .donation-package-table td:last-child,
  .donation-history-table td:last-child {
    border-bottom: 0;
  }

  .donation-package-table td::before,
  .donation-history-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--font-display);
    font-size: .68rem;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
}

@media (max-width: 640px) {
  .donation-packages-card,
  .donation-method-card,
  .donation-history-card {
    padding: 24px 20px;
  }

  .donation-method-card__copy {
    grid-template-columns: 1fr;
  }

  .donation-checkout {
    padding: 14px;
  }

  .donation-receipt dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .donation-receipt dd + dt {
    margin-top: 8px;
  }
}

@media (max-width: 390px) {
  .donation-package-table td,
  .donation-history-table td {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 180px;
  }

  .hero,
  .feature-grid,
  .news-section {
    padding-inline: 16px;
  }

  .eyebrow {
    letter-spacing: .16em;
  }
}

/* ---------------------------------------------------------
   Update: kompaktere Navigation, Gold-Akzente, Footer
   --------------------------------------------------------- */
:root {
  --gold: #f1bf45;
  --gold-bright: #ffe27a;
  --gold-dark: #6e4610;
  --gold-ink: #2a1705;
  --gold-soft: rgba(241, 191, 69, 0.56);
  --gold-line: rgba(241, 191, 69, 0.34);
  --gold-line-soft: rgba(241, 191, 69, 0.16);
  --shadow-gold: 0 0 14px rgba(242, 189, 65, 0.46), 0 0 38px rgba(160, 100, 23, 0.26);
}

.site-header {
  min-height: 94px;
  grid-template-columns: minmax(190px, 310px) 1fr auto;
  gap: clamp(1rem, 2.4vw, 3.25rem);
  padding: 12px clamp(22px, 4.6vw, 74px);
  background:
    linear-gradient(180deg, rgba(1, 7, 14, 0.94), rgba(3, 13, 25, 0.78)),
    radial-gradient(circle at 13% 50%, rgba(232, 180, 52, 0.08), transparent 18rem);
  border-bottom: 1px solid rgba(241, 191, 69, 0.28);
  box-shadow: inset 0 -1px 0 rgba(75, 169, 255, 0.12), 0 8px 34px rgba(0, 0, 0, 0.34);
}

.brand {
  width: clamp(205px, 17vw, 305px);
  filter: drop-shadow(0 0 10px rgba(242, 189, 65, .38));
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  gap: clamp(1.25rem, 2.8vw, 3.6rem);
}

.main-nav a {
  padding: 13px 0;
  color: rgba(243, 229, 190, 0.86);
  font-size: clamp(0.76rem, 0.73rem + 0.15vw, 0.95rem);
  letter-spacing: 0.095em;
  text-shadow: 0 1px 0 rgba(0,0,0,.9);
}

.main-nav a::after {
  bottom: -10px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), transparent);
  box-shadow: var(--shadow-gold);
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -17px;
  width: 7px;
  height: 7px;
  opacity: 0;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid var(--gold-bright);
  background: radial-gradient(circle, #fff0a7, var(--gold) 48%, rgba(111, 70, 16, .92));
  box-shadow: var(--shadow-gold);
  transition: opacity .22s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #fff5c5;
  text-shadow: 0 0 14px rgba(242, 189, 65, .72), 0 1px 0 #000;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  width: 64px;
}

.main-nav a.is-active::before,
.main-nav a:hover::before {
  opacity: 1;
}

.header-cta,
.btn-primary {
  min-height: 52px;
  padding-inline: 1.85rem;
  color: #fff6ce;
  background:
    linear-gradient(180deg, rgba(116, 72, 12, .95), rgba(37, 21, 5, .94)),
    radial-gradient(circle at 50% 0%, rgba(255, 232, 129, .52), transparent 60%);
  border: 1px solid rgba(255, 219, 95, .78);
  box-shadow: inset 0 0 18px rgba(255, 224, 98, .18), var(--shadow-gold);
}

.header-cta::before,
.btn-primary::before {
  background: linear-gradient(90deg, rgba(58, 35, 7, .85), rgba(183, 121, 25, .78), rgba(58, 35, 7, .85));
  opacity: .72;
}

.header-cta:hover,
.btn-primary:hover {
  box-shadow: inset 0 0 25px rgba(255, 224, 98, .25), 0 0 20px rgba(242, 189, 65, .72), 0 0 58px rgba(160, 100, 23, .34);
}

.btn-ghost {
  color: rgba(255, 242, 202, 0.93);
  border-color: rgba(241, 191, 69, .42);
  background: rgba(13, 10, 7, .58);
  box-shadow: inset 0 0 16px rgba(241, 191, 69, .09);
}

.btn-ghost span,
.feature-card a,
.section-heading a {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(242, 189, 65, .42);
}

.social-rail a {
  color: rgba(235, 202, 132, .72);
}

.social-rail a:hover {
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(242, 189, 65, .72));
}

.social-rail::before,
.social-rail::after {
  background: linear-gradient(transparent, rgba(241, 191, 69, .32), transparent);
}

.rune-divider::before,
.rune-divider::after {
  background: linear-gradient(90deg, transparent, rgba(255, 219, 95, .78));
  box-shadow: var(--shadow-gold);
}

.rune-divider::after {
  background: linear-gradient(90deg, rgba(255, 219, 95, .78), transparent);
}

.rune-divider span,
.section-heading h2::before,
.card-icon {
  border-color: rgba(255, 219, 95, .72);
  box-shadow: var(--shadow-gold), inset 0 0 16px rgba(241, 191, 69, .14);
}

.rune-divider span,
.card-icon {
  background: radial-gradient(circle, rgba(241, 191, 69, .36), rgba(6, 16, 28, .92) 60%);
}

.feature-card,
.news-card {
  border-color: var(--gold-line);
  box-shadow: inset 0 0 30px rgba(241, 191, 69, .06), 0 20px 40px rgba(0,0,0,.28);
}

.feature-card::before,
.news-card::before {
  background:
    linear-gradient(135deg, rgba(255, 219, 95, .48) 0 1px, transparent 1px 28px),
    linear-gradient(315deg, rgba(241, 191, 69, .28) 0 1px, transparent 1px 28px);
}

.section-heading h2 {
  color: #ffe6a1;
}

.section-heading::after {
  background: linear-gradient(90deg, rgba(241, 191, 69, .5), transparent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  margin-top: 22px;
  padding: 0 clamp(22px, 5vw, 88px) 34px;
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, transparent, rgba(241, 191, 69, .55), rgba(87, 176, 255, .22), transparent);
  box-shadow: var(--shadow-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(270px, 1.3fr) minmax(130px, .55fr) minmax(140px, .55fr) minmax(260px, .9fr);
  gap: clamp(22px, 3vw, 54px);
  padding: 34px clamp(20px, 3vw, 46px);
  background:
    linear-gradient(135deg, rgba(8, 14, 22, .88), rgba(5, 16, 29, .68)),
    radial-gradient(circle at 0 0, rgba(241, 191, 69, .10), transparent 24rem),
    radial-gradient(circle at 100% 100%, rgba(64, 169, 255, .10), transparent 20rem);
  border: 1px solid rgba(241, 191, 69, .25);
  box-shadow: inset 0 0 38px rgba(241, 191, 69, .05), 0 28px 60px rgba(0,0,0,.30);
}

.footer-brand img {
  width: min(245px, 72vw);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(242, 189, 65, .32));
}

.footer-brand p,
.footer-newsletter p {
  margin: 0;
  max-width: 390px;
  color: rgba(232, 238, 246, .72);
  line-height: 1.7;
}

.footer-discord {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-discord::after {
  content: "›";
  margin-left: .6rem;
  font-size: 1.25em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: #ffe6a1;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(233, 222, 194, .72);
  font-size: .93rem;
  transition: color .18s ease, text-shadow .18s ease, transform .18s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 9px rgba(242, 189, 65, .45);
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.footer-newsletter input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: #fff7df;
  background: rgba(2, 8, 15, .7);
  border: 1px solid rgba(241, 191, 69, .28);
  outline: none;
}

.footer-newsletter input::placeholder {
  color: rgba(231, 220, 190, .45);
}

.footer-newsletter input:focus {
  border-color: rgba(255, 219, 95, .72);
  box-shadow: 0 0 0 3px rgba(241, 191, 69, .12);
}

.footer-newsletter button {
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff6ce;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(116, 72, 12, .95), rgba(37, 21, 5, .94));
  border: 1px solid rgba(255, 219, 95, .68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 4px 0;
  color: rgba(218, 225, 236, .48);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: rgba(233, 222, 194, .56);
}

@media (max-width: 1260px) {
  .site-header {
    grid-template-columns: minmax(180px, 260px) 1fr auto;
  }

  .brand {
    width: clamp(190px, 18vw, 260px);
  }

  .main-nav {
    gap: 1.45rem;
  }

  .footer-top {
    grid-template-columns: 1.2fr .7fr .7fr;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 10px 18px;
  }

  .brand {
    width: min(205px, 55vw);
  }

  .burger {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-color: rgba(241, 191, 69, .36);
    background: rgba(9, 12, 15, .76);
    box-shadow: inset 0 0 14px rgba(241, 191, 69, .10);
  }

  .burger span {
    width: 21px;
    height: 2px;
    background: var(--gold-bright);
    box-shadow: var(--shadow-gold);
  }

  .main-nav {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    gap: 0;
    padding: 8px;
    background: rgba(4, 9, 15, .97);
    border-color: rgba(241, 191, 69, .28);
    box-shadow: 0 22px 48px rgba(0,0,0,.55), inset 0 0 28px rgba(241, 191, 69, .06);
  }

  .main-nav a {
    padding: 11px 12px;
    font-size: .82rem;
    text-align: center;
    border-bottom-color: rgba(241, 191, 69, .12);
  }

  .main-nav a::before {
    display: none;
  }

  .main-nav a::after {
    left: 50%;
    bottom: 5px;
    width: 0;
    transform: translateX(-50%);
  }

  .main-nav a.is-active::after,
  .main-nav a:hover::after {
    width: 42px;
  }

  .site-footer {
    padding-inline: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand {
    width: min(178px, 52vw);
  }

  .burger {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .burger span {
    width: 19px;
  }

  .main-nav {
    left: 10px;
    right: 10px;
    padding: 6px;
  }

  .main-nav a {
    padding: 10px 11px;
    font-size: .78rem;
  }

  .site-footer {
    padding: 0 16px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }

  .footer-newsletter form {
    grid-template-columns: 1fr;
  }

  .footer-newsletter button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------------------------------------------------------
   Update 2: Rand-Fix, Social-Fix, neues Footer-Konzept
   --------------------------------------------------------- */
html,
body {
  width: 100%;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  border-left: 1px solid rgba(241, 191, 69, 0.24);
  border-right: 1px solid rgba(241, 191, 69, 0.24);
  border-top-color: rgba(90, 174, 255, 0.16);
  border-bottom-color: rgba(90, 174, 255, 0.16);
}

.page-shell::before {
  inset: 0;
  border-color: rgba(241, 191, 69, 0.13);
}

.page-shell::after {
  display: none !important;
}

.social-rail {
  left: clamp(18px, 2.1vw, 34px);
}

.footer-gate {
  margin-top: clamp(44px, 6vw, 86px);
  padding: 0 0 34px;
  position: relative;
}

.footer-gate::before {
  content: "";
  display: block;
  width: min(86vw, 1420px);
  height: 1px;
  margin: 0 auto clamp(24px, 3vw, 38px);
  background: linear-gradient(90deg, transparent, rgba(241, 191, 69, .7), rgba(98, 180, 255, .24), rgba(241, 191, 69, .7), transparent);
  box-shadow: 0 0 18px rgba(241, 191, 69, .28);
}

.footer-crown {
  width: min(92vw, 620px);
  margin: 0 auto clamp(18px, 2.6vw, 30px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.footer-crown span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 191, 69, .68));
  box-shadow: var(--shadow-gold);
}

.footer-crown span:last-child {
  background: linear-gradient(90deg, rgba(241, 191, 69, .68), transparent);
}

.footer-crown img {
  width: clamp(170px, 22vw, 285px);
  filter: drop-shadow(0 0 14px rgba(242, 189, 65, .36));
}

.footer-gate-panel {
  width: min(calc(100% - 48px), 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(330px, 1fr) minmax(320px, 1.05fr);
  gap: 1px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(241, 191, 69, .28), rgba(93, 176, 255, .14), rgba(241, 191, 69, .28));
  border-top: 1px solid rgba(241, 191, 69, .34);
  border-bottom: 1px solid rgba(241, 191, 69, .28);
  box-shadow: 0 34px 80px rgba(0,0,0,.36), inset 0 0 38px rgba(241, 191, 69, .05);
}

.footer-gate-panel::before,
.footer-gate-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  bottom: 0;
  width: 74px;
  background: linear-gradient(90deg, rgba(241, 191, 69, .22), transparent);
  opacity: .8;
}

.footer-gate-panel::before {
  left: 0;
}

.footer-gate-panel::after {
  right: 0;
  transform: scaleX(-1);
}

.footer-card {
  min-height: 250px;
  padding: clamp(26px, 3vw, 44px);
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .92), rgba(4, 18, 32, .78)),
    radial-gradient(circle at 12% 12%, rgba(241, 191, 69, .13), transparent 19rem),
    radial-gradient(circle at 90% 92%, rgba(75, 166, 255, .12), transparent 17rem);
}

.footer-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(241, 191, 69, .12);
  clip-path: polygon(0 0, 38px 0, 38px 1px, 1px 1px, 1px 38px, 0 38px, 0 0,
                     100% 0, calc(100% - 38px) 0, calc(100% - 38px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) 38px, 100% 38px, 100% 0,
                     100% 100%, calc(100% - 38px) 100%, calc(100% - 38px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 38px), 100% calc(100% - 38px), 100% 100%,
                     0 100%, 38px 100%, 38px calc(100% - 1px), 1px calc(100% - 1px), 1px calc(100% - 38px), 0 calc(100% - 38px));
}

.footer-kicker,
.footer-card h2 {
  margin: 0;
  color: #ffe6a1;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-kicker {
  margin-bottom: 10px;
  font-size: .78rem;
  color: var(--gold-bright);
}

.footer-callout h2 {
  max-width: 460px;
  font-size: clamp(1.45rem, 1rem + 1.1vw, 2.15rem);
  line-height: 1.15;
}

.footer-card p {
  margin: 16px 0 0;
  max-width: 475px;
  color: rgba(232, 238, 246, .72);
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 24px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242, 189, 65, .36);
}

.footer-cta::after {
  content: "›";
  font-size: 1.25em;
}

.footer-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.footer-map div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-card h2 {
  margin-bottom: 10px;
  font-size: .94rem;
}

.footer-map a,
.footer-bottom a {
  color: rgba(233, 222, 194, .68);
  transition: color .18s ease, text-shadow .18s ease, transform .18s ease;
}

.footer-map a:hover,
.footer-bottom a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(242, 189, 65, .42);
  transform: translateX(2px);
}

.footer-join form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 20px;
}

.footer-join input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  color: #fff7df;
  background: rgba(2, 8, 15, .74);
  border: 1px solid rgba(241, 191, 69, .3);
  outline: none;
}

.footer-join input::placeholder {
  color: rgba(231, 220, 190, .45);
}

.footer-join input:focus {
  border-color: rgba(255, 219, 95, .72);
  box-shadow: 0 0 0 3px rgba(241, 191, 69, .12);
}

.footer-join button {
  min-height: 48px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff6ce;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(116, 72, 12, .95), rgba(37, 21, 5, .94));
  border: 1px solid rgba(255, 219, 95, .68);
  box-shadow: inset 0 0 16px rgba(255, 224, 98, .16);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: rgba(235, 202, 132, .78);
  background: rgba(3, 10, 18, .72);
  border: 1px solid rgba(241, 191, 69, .22);
  transition: color .18s ease, border-color .18s ease, transform .18s ease, filter .18s ease;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-socials a:hover {
  color: var(--gold-bright);
  border-color: rgba(255, 219, 95, .58);
  filter: drop-shadow(0 0 8px rgba(242, 189, 65, .42));
  transform: translateY(-2px);
}

.footer-bottom {
  width: min(calc(100% - 48px), 1500px);
  margin: 0 auto;
  padding: 18px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: rgba(218, 225, 236, .48);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1180px) {
  .footer-gate-panel {
    grid-template-columns: 1fr 1fr;
  }

  .footer-join {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .page-shell::before {
    inset: 0;
  }

  .social-rail {
    display: none;
  }

  .footer-gate-panel,
  .footer-bottom {
    width: min(calc(100% - 32px), 860px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    border-left: 1px solid rgba(241, 191, 69, 0.22);
    border-right: 1px solid rgba(241, 191, 69, 0.22);
  }

  .page-shell::before {
    display: block;
    inset: 0;
  }

  .footer-gate {
    margin-top: 40px;
    padding-bottom: 28px;
  }

  .footer-crown {
    width: min(92vw, 390px);
    gap: 12px;
  }

  .footer-crown img {
    width: min(190px, 50vw);
  }

  .footer-gate-panel {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .footer-card {
    min-height: auto;
    padding: 26px 20px;
  }

  .footer-card::before {
    inset: 10px;
  }

  .footer-map {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-join form {
    grid-template-columns: 1fr;
  }

  .footer-join button {
    width: 100%;
  }

  .footer-bottom {
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .footer-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .donation-shell .donation-package-table,
  .donation-shell .donation-history-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .donation-shell .donation-package-table tbody,
  .donation-shell .donation-history-table tbody,
  .donation-shell .donation-package-table tbody tr,
  .donation-shell .donation-history-table tbody tr {
    width: 100%;
    min-width: 0;
  }

  .donation-shell .donation-package-table td,
  .donation-shell .donation-history-table td {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ---------------------------------------------------------
   Update 3: kompakter Signature-Footer, zentrierte Social-Bar,
   Content minimal stärker eingerückt
   --------------------------------------------------------- */
@media (min-width: 981px) {
  .hero {
    padding-inline: clamp(72px, 9vw, 172px);
  }

  .feature-grid,
  .news-section {
    padding-inline: clamp(64px, 6.8vw, 132px);
  }
}

.social-rail {
  top: 50%;
}

.site-footer.footer-forge {
  width: min(calc(100% - 56px), 1480px);
  margin: clamp(44px, 6vw, 88px) auto 0;
  padding: 0 0 clamp(26px, 3.4vw, 44px);
  position: relative;
}

.site-footer.footer-forge::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(20px, 2.7vw, 34px);
  background: linear-gradient(90deg, transparent, rgba(241, 191, 69, .68), rgba(114, 190, 255, .18), rgba(241, 191, 69, .68), transparent);
  box-shadow: 0 0 18px rgba(241, 191, 69, .26);
}

.footer-forge__inner {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(340px, 1.1fr) minmax(210px, .55fr);
  align-items: center;
  gap: clamp(26px, 4vw, 70px);
  min-height: 210px;
  padding: clamp(28px, 3.5vw, 54px) clamp(26px, 4.2vw, 66px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 8, 15, .96), rgba(5, 17, 29, .84), rgba(2, 8, 15, .96)),
    radial-gradient(circle at 18% 20%, rgba(241, 191, 69, .16), transparent 22rem),
    radial-gradient(circle at 82% 78%, rgba(78, 168, 255, .13), transparent 20rem);
  border: 1px solid rgba(241, 191, 69, .33);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 183, .045),
    inset 0 0 55px rgba(241, 191, 69, .055),
    0 34px 82px rgba(0, 0, 0, .34);
}

.footer-forge__inner::before,
.footer-forge__inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer-forge__inner::before {
  inset: 14px;
  border: 1px solid rgba(241, 191, 69, .12);
  clip-path: polygon(0 0, 54px 0, 54px 1px, 1px 1px, 1px 54px, 0 54px, 0 0,
                     100% 0, calc(100% - 54px) 0, calc(100% - 54px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) 54px, 100% 54px, 100% 0,
                     100% 100%, calc(100% - 54px) 100%, calc(100% - 54px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 54px), 100% calc(100% - 54px), 100% 100%,
                     0 100%, 54px 100%, 54px calc(100% - 1px), 1px calc(100% - 1px), 1px calc(100% - 54px), 0 calc(100% - 54px));
}

.footer-forge__inner::after {
  left: 50%;
  top: 50%;
  width: 680px;
  height: 680px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(241, 191, 69, .13), transparent 18%),
    conic-gradient(from 45deg, transparent 0 22%, rgba(241, 191, 69, .12) 25%, transparent 28% 72%, rgba(88, 172, 255, .08) 75%, transparent 78%);
  opacity: .32;
  filter: blur(.2px);
}

.footer-forge__brand,
.footer-forge__statement,
.footer-forge__actions {
  position: relative;
  z-index: 1;
}

.footer-forge__brand img {
  width: min(245px, 58vw);
  filter: drop-shadow(0 0 14px rgba(242, 189, 65, .34));
}

.footer-forge__brand p {
  margin: 14px 0 0;
  color: rgba(233, 222, 194, .66);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-forge__statement {
  padding-inline: clamp(22px, 3vw, 44px);
  border-inline: 1px solid rgba(241, 191, 69, .18);
}

.footer-forge__kicker {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242, 189, 65, .34);
}

.footer-forge__statement h2 {
  margin: 0;
  max-width: 620px;
  color: #f8efd0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.05rem + 1.1vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-forge__statement p:last-child {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(232, 238, 246, .72);
  line-height: 1.7;
}

.footer-forge__actions {
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-mini-cta {
  min-height: 48px;
  min-width: 155px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  color: #fff6ce;
  font-family: var(--font-display);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(116, 72, 12, .95), rgba(37, 21, 5, .94));
  border: 1px solid rgba(255, 219, 95, .68);
  clip-path: polygon(12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%, 0 50%);
  box-shadow: inset 0 0 16px rgba(255, 224, 98, .16), 0 0 18px rgba(241, 191, 69, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-mini-cta:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 22px rgba(255, 224, 98, .22), 0 0 24px rgba(241, 191, 69, .42);
}

.footer-forge .footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 0;
}

.footer-forge .footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: rgba(235, 202, 132, .76);
  background: rgba(2, 8, 15, .72);
  border: 1px solid rgba(241, 191, 69, .24);
  box-shadow: inset 0 0 14px rgba(241, 191, 69, .045);
}

.footer-forge .footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-forge__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 4px 0;
  color: rgba(218, 225, 236, .50);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-legal a,
.footer-logout-form button {
  color: rgba(233, 222, 194, .58);
  transition: color .18s ease, text-shadow .18s ease;
}

.footer-legal a:hover,
.footer-logout-form button:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 9px rgba(242, 189, 65, .38);
}

.footer-logout-form,
.inline-action-form {
  display: inline-flex;
  margin: 0;
}

.footer-logout-form button {
  padding: 0;
  font: inherit;
  text-transform: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .site-footer.footer-forge {
    width: min(calc(100% - 36px), 900px);
  }

  .footer-forge__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-forge__statement {
    padding: clamp(20px, 3vw, 32px) 0;
    border-inline: 0;
    border-block: 1px solid rgba(241, 191, 69, .16);
  }

  .footer-forge__actions {
    justify-self: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .site-footer.footer-forge {
    width: calc(100% - 28px);
    margin-top: 40px;
    padding-bottom: 28px;
  }

  .footer-forge__inner {
    min-height: auto;
    padding: 26px 20px;
    gap: 22px;
  }

  .footer-forge__inner::before {
    inset: 10px;
  }

  .footer-forge__brand img {
    width: min(205px, 62vw);
    margin-inline: auto;
  }

  .footer-forge__brand p {
    font-size: .68rem;
    line-height: 1.6;
  }

  .footer-forge__statement h2 {
    font-size: clamp(1.22rem, 6vw, 1.65rem);
  }

  .footer-forge__statement p:last-child {
    font-size: .92rem;
  }

  .footer-forge__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
    gap: 12px 16px;
  }
}

/* ---------------------------------------------------------
   Update 4: Ultra-wide Fix ab 1921px
   - Background/Frame bleibt full width
   - UI-Inhalte bleiben auf einer zentrierten 1920px-Bühne
   --------------------------------------------------------- */
@media (min-width: 1921px) {
  .site-header {
    padding-left: calc((100vw - 1920px) / 2 + 74px);
    padding-right: calc((100vw - 1920px) / 2 + 74px);
  }

  .hero {
    padding-left: calc((100vw - 1920px) / 2 + 172px);
    padding-right: calc((100vw - 1920px) / 2 + 172px);
  }

  .feature-grid,
  .news-section {
    padding-left: calc((100vw - 1920px) / 2 + 132px);
    padding-right: calc((100vw - 1920px) / 2 + 132px);
  }

  .site-footer.footer-forge {
    width: min(1480px, calc(1920px - 264px));
  }

  .social-rail {
    left: calc((100vw - 1920px) / 2 + 34px);
  }
}

/* ---------------------------------------------------------
   Multi-page expansion: account, ranking, download, FAQ,
   news, and full feature pages
   --------------------------------------------------------- */
.main-nav .nav-auth-link {
  display: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    position: absolute;
    right: 32px;
    top: 28px;
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  .nav-toggle:focus-visible + .burger {
    outline: 2px solid var(--gold-bright);
    outline-offset: 4px;
  }

  .main-nav .nav-auth-link {
    display: block;
  }
}

.page-main {
  min-height: calc(100vh - 94px);
}

.inner-page .page-hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(58px, 7vw, 105px) clamp(28px, 8vw, 150px) 42px;
  position: relative;
}

.inner-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 31% 38%, rgba(70, 166, 255, .16), transparent 27rem),
    linear-gradient(180deg, transparent, rgba(2, 7, 13, .34));
}

.inner-page .page-hero--compact {
  min-height: 405px;
}

.page-hero__copy,
.page-sigil,
.ranking-season-card,
.faq-quick-card {
  position: relative;
  z-index: 1;
}

.inner-page .page-hero h1 {
  max-width: 850px;
  font-size: 6.2rem;
}

.page-sigil {
  justify-self: end;
  width: min(100%, 390px);
  filter: drop-shadow(0 0 24px rgba(0,0,0,.72)) drop-shadow(0 0 13px rgba(242,189,65,.22));
}

.page-sigil--logo {
  width: min(100%, 365px);
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(4, 12, 22, .82), rgba(7, 20, 33, .56)),
    radial-gradient(circle at 50% 50%, rgba(241, 191, 69, .15), transparent 14rem);
  border: 1px solid rgba(241, 191, 69, .28);
  box-shadow: inset 0 0 35px rgba(241, 191, 69, .06), 0 28px 65px rgba(0,0,0,.34);
}

.content-band {
  width: min(calc(100% - 56px), 1480px);
  margin: clamp(26px, 4vw, 58px) auto 0;
}

.panel-kicker,
.card-index,
.ranking-season-card span,
.faq-quick-card span {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .78rem;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242,189,65,.36);
}

.forge-card,
.auth-panel,
.download-card,
.ranking-panel,
.requirements-panel,
.support-panel,
.ranking-season-card,
.faq-quick-card,
.feature-callout,
.news-article {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .92), rgba(5, 18, 32, .74)),
    radial-gradient(circle at 8% 0, rgba(241, 191, 69, .11), transparent 18rem),
    radial-gradient(circle at 92% 100%, rgba(68, 165, 255, .11), transparent 18rem);
  border: 1px solid rgba(241, 191, 69, .28);
  box-shadow: inset 0 0 34px rgba(241, 191, 69, .045), 0 26px 60px rgba(0,0,0,.30);
}

.forge-card::before,
.auth-panel::before,
.download-card::before,
.ranking-panel::before,
.requirements-panel::before,
.support-panel::before,
.ranking-season-card::before,
.faq-quick-card::before,
.feature-callout::before,
.news-article::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(241, 191, 69, .10);
}

.forge-card h2,
.auth-panel h2,
.download-card h2,
.support-panel h2,
.feature-callout h2,
.news-article h2,
.requirements-panel h3,
.ranking-season-card strong,
.faq-quick-card strong {
  margin: 0;
  color: #f8efd0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.forge-card p,
.auth-panel p,
.download-card p,
.feature-callout p,
.news-article p,
.faq-quick-card {
  color: rgba(232, 238, 246, .72);
  line-height: 1.68;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .82rem;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242, 189, 65, .38);
}

.text-link::after {
  content: "\203A";
  margin-left: .55rem;
  font-size: 1.25em;
}

.auth-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.auth-panel {
  padding: clamp(26px, 4vw, 46px);
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: rgba(243, 229, 190, .76);
  font-family: var(--font-display);
  font-size: .8rem;
  text-transform: uppercase;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: #fff7df;
  font: inherit;
  font-family: var(--font-body);
  text-transform: none;
  background: rgba(1, 8, 15, .74);
  border: 1px solid rgba(241, 191, 69, .30);
  outline: none;
  box-shadow: inset 0 0 18px rgba(0,0,0,.28);
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: rgba(255, 226, 122, .80);
  box-shadow: 0 0 0 3px rgba(241,191,69,.12), inset 0 0 18px rgba(0,0,0,.28);
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body) !important;
  text-transform: none !important;
}

.check-row input {
  accent-color: #f1bf45;
}

.auth-form .btn {
  width: min(100%, 300px);
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.account-overview {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.account-overview__hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.account-actions .btn {
  min-width: 190px;
}

.wallet-card {
  display: flex;
  flex-direction: column;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}

.wallet-actions .btn {
  width: min(100%, 240px);
}

.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.vote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: start;
  gap: clamp(20px, 3vw, 34px);
}

.vote-layout--single {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.vote-site-list,
.vote-history-list {
  display: grid;
  gap: 16px;
}

.vote-card,
.vote-history-card,
.vote-login-panel {
  padding: clamp(26px, 4vw, 46px);
}

.vote-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.vote-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(241, 191, 69, .28);
  color: var(--gold-bright);
  background: rgba(241, 191, 69, .10);
  font-family: var(--font-display);
  font-size: .72rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.vote-status.is-ready {
  color: #c9ffea;
  border-color: rgba(84, 214, 162, .38);
  background: rgba(84, 214, 162, .10);
}

.vote-status.is-pending {
  color: #ffe0a6;
  border-color: rgba(241, 191, 69, .30);
}

.vote-stat-list strong {
  overflow-wrap: anywhere;
}

.vote-button {
  width: min(100%, 280px);
  margin-top: 22px;
}

.vote-button--disabled {
  cursor: not-allowed;
  opacity: .62;
}

.vote-history-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(241,191,69,.14);
}

.vote-history-list strong {
  color: #f8efd0;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.vote-history-list span {
  color: rgba(243, 229, 190, .62);
}

.vote-history-list em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 800;
}

.character-overview {
  display: grid;
  gap: 18px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.character-card {
  min-height: auto;
}

.character-card__guild {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242, 189, 65, .28);
}

.character-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 24px;
  margin-bottom: 18px;
  color: rgba(238, 247, 255, .82);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.character-status {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  box-shadow: 0 0 14px currentColor;
}

.character-status.is-online {
  color: #7dffb2;
  background: #7dffb2;
}

.character-status.is-offline {
  color: rgba(238, 247, 255, .42);
  background: rgba(238, 247, 255, .42);
}

.character-empty {
  max-width: 760px;
}

.auth-note {
  margin-bottom: 0;
}

.account-perks,
.feature-detail-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.feature-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forge-card,
.download-card {
  min-height: 210px;
  padding: clamp(26px, 3vw, 38px);
}

.card-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 122, .62);
  background: rgba(3, 11, 19, .72);
  box-shadow: var(--shadow-gold);
}

.feature-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 4vw, 48px);
}

.feature-callout p {
  max-width: 760px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
}

.feature-tile {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .92), rgba(5, 18, 32, .74)),
    radial-gradient(circle at 8% 0, rgba(241, 191, 69, .11), transparent 18rem),
    radial-gradient(circle at 92% 100%, rgba(68, 165, 255, .11), transparent 18rem);
  border: 1px solid rgba(241, 191, 69, .28);
  box-shadow: inset 0 0 30px rgba(241, 191, 69, .06), 0 20px 40px rgba(0,0,0,.28);
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(241, 191, 69, .10);
  z-index: 2;
}

.feature-tile__copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  padding: clamp(26px, 3vw, 42px);
}

.feature-tile__copy h2 {
  margin: 18px 0 0;
  color: #f8efd0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + .9vw, 2rem);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-tile__copy p {
  margin: 16px 0 0;
  color: rgba(232, 238, 246, .72);
  line-height: 1.68;
}

.feature-tile__media {
  position: relative;
  z-index: 1;
  min-height: 230px;
  overflow: hidden;
  background: rgba(2, 8, 15, .58);
}

.feature-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 15, .26), transparent 34%, rgba(2, 8, 15, .72)),
    radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(2, 8, 15, .58) 100%);
}

.feature-tile__media img,
.feature-tile__media video,
.feature-tile__media iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  filter: saturate(.86) contrast(1.05) brightness(.76);
}

.feature-tile__media img {
  transform: scale(1.02);
}

.feature-tile__media video,
.feature-tile__media iframe {
  border: 0;
}

.feature-tile--no-image {
  grid-column: span 6;
}

.feature-tile--image-left,
.feature-tile--image-right {
  grid-column: span 6;
  grid-template-columns: minmax(220px, .86fr) minmax(0, 1fr);
}

.feature-tile--image-right {
  grid-template-columns: minmax(0, 1fr) minmax(220px, .86fr);
}

.feature-tile--image-right .feature-tile__media {
  order: 2;
}

.feature-tile--image-right .feature-tile__copy {
  order: 1;
}

.feature-tile--image-top {
  grid-column: span 6;
  grid-template-rows: minmax(205px, 42%) 1fr;
}

.feature-tile--video {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
}

.feature-tile--video .feature-tile__media {
  order: 2;
  min-height: 330px;
}

.feature-tile--video .feature-tile__copy {
  order: 1;
}

.feature-tile__media--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 50% 50%, rgba(241, 191, 69, .22), transparent 22rem);
  mix-blend-mode: screen;
  opacity: .46;
  animation: featureVideoPulse 3.6s ease-in-out infinite;
}

.feature-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 226, 122, .72);
  background: rgba(2, 8, 15, .62);
  box-shadow: var(--shadow-gold), inset 0 0 22px rgba(241, 191, 69, .14);
}

.feature-play::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 18px solid #fff6ce;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  filter: drop-shadow(0 0 10px rgba(242, 189, 65, .62));
}

.feature-video-bars {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1.2fr .7fr .35fr;
  gap: 8px;
}

.feature-video-bars i {
  display: block;
  height: 4px;
  background: rgba(255, 226, 122, .62);
  box-shadow: 0 0 12px rgba(242, 189, 65, .34);
}

@keyframes featureVideoPulse {
  0%, 100% { opacity: .36; transform: translateY(0); }
  50% { opacity: .62; transform: translateY(3px); }
}

.ranking-season-card,
.faq-quick-card {
  justify-self: end;
  width: min(100%, 390px);
  padding: clamp(26px, 4vw, 44px);
}

.ranking-season-card strong,
.faq-quick-card strong {
  display: block;
  font-size: 2.25rem;
}

.ranking-season-card small {
  display: block;
  margin-top: 12px;
  color: rgba(232, 238, 246, .64);
}

.ranking-panel,
.requirements-panel {
  padding: clamp(24px, 3.4vw, 42px);
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  order: 3;
}

.rank-tabs span,
.rank-tabs a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(243, 229, 190, .70);
  font-family: var(--font-display);
  font-size: .76rem;
  text-transform: uppercase;
  border: 1px solid rgba(241,191,69,.22);
  background: rgba(1, 8, 15, .46);
}

.rank-tabs .is-selected {
  color: #fff6ce;
  border-color: rgba(255, 226, 122, .68);
  box-shadow: var(--shadow-gold);
}

.ranking-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  margin: -8px 0 4px;
  position: relative;
  z-index: 5;
}

.ranking-limit {
  position: relative;
}

.ranking-limit summary {
  min-width: 118px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 2px 0 14px;
  cursor: pointer;
  list-style: none;
  color: rgba(243, 229, 190, .62);
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-left: 1px solid rgba(241, 191, 69, .24);
  transition: color .18s ease, border-color .18s ease;
}

.ranking-limit summary::-webkit-details-marker {
  display: none;
}

.ranking-limit summary strong {
  color: #ffe785;
  font-size: .82rem;
  letter-spacing: .06em;
  text-shadow: 0 0 12px rgba(241, 191, 69, .42);
}

.ranking-limit summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 7px 4px 2px;
  border-right: 1px solid #e7bd4d;
  border-bottom: 1px solid #e7bd4d;
  transform: rotate(45deg);
  transition: transform .18s ease, margin .18s ease;
}

.ranking-limit[open] summary,
.ranking-limit summary:hover,
.ranking-limit summary:focus-visible {
  color: rgba(255, 246, 206, .92);
  border-left-color: rgba(255, 226, 122, .58);
}

.ranking-limit[open] summary::after {
  margin-top: 5px;
  margin-bottom: 0;
  transform: rotate(225deg);
}

.ranking-limit__options {
  width: 154px;
  display: grid;
  gap: 2px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 6px;
  background:
    linear-gradient(145deg, rgba(4, 12, 21, .985), rgba(1, 7, 13, .985)),
    radial-gradient(circle at 100% 0, rgba(241, 191, 69, .12), transparent 9rem);
  border: 1px solid rgba(241, 191, 69, .42);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .58), inset 0 0 22px rgba(241, 191, 69, .04);
}

.ranking-limit__options a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 10px;
  color: rgba(232, 238, 246, .72);
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .05em;
  border-left: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.ranking-limit__options a small {
  color: rgba(243, 229, 190, .42);
  font-family: var(--font-body);
  font-size: .67rem;
  letter-spacing: .02em;
  text-transform: none;
}

.ranking-limit__options a:hover,
.ranking-limit__options a:focus-visible {
  color: #fff6ce;
  border-left-color: rgba(255, 226, 122, .52);
  background: rgba(241, 191, 69, .08);
}

.ranking-limit__options a.is-selected {
  color: #fff6ce;
  border-left-color: #e7bd4d;
  background: rgba(241, 191, 69, .11);
  text-shadow: 0 0 10px rgba(241, 191, 69, .34);
}

.fail,
.success,
.hint {
  margin: 18px 0;
  padding: 16px 18px;
  color: rgba(255, 246, 206, .92);
  line-height: 1.55;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .92), rgba(5, 18, 32, .74)),
    radial-gradient(circle at 8% 0, rgba(241, 191, 69, .10), transparent 14rem);
  border: 1px solid rgba(241, 191, 69, .28);
  box-shadow: inset 0 0 22px rgba(241, 191, 69, .045);
}

.fail {
  border-color: rgba(220, 74, 74, .48);
}

.success {
  border-color: rgba(108, 196, 130, .48);
}

.fail ol,
.success ol,
.hint ol {
  margin: 0;
  padding-left: 1.2rem;
}

.fail p,
.success p,
.hint p {
  margin: 0;
}

.footer-forge__inner.footer-forge__inner--logo-only {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: auto;
  padding: clamp(8px, 1.6vw, 18px) 0 clamp(14px, 2.2vw, 24px);
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
}

.footer-forge__inner.footer-forge__inner--logo-only::before,
.footer-forge__inner.footer-forge__inner--logo-only::after {
  display: none;
}

.footer-forge__logo-only {
  position: relative;
  z-index: 1;
  width: clamp(190px, 22vw, 300px);
  filter: drop-shadow(0 0 14px rgba(242, 189, 65, .36));
}

@media (max-width: 640px) {
  .footer-forge__inner.footer-forge__inner--logo-only {
    padding: 8px 0 18px;
  }

  .footer-forge__logo-only {
    width: min(210px, 62vw);
  }
}

.table-scroll {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: rgba(232, 238, 246, .78);
}

.ranking-table th,
.ranking-table td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(241,191,69,.16);
}

.ranking-table th {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .78rem;
  text-transform: uppercase;
}

.ranking-table td:first-child {
  color: #fff6ce;
  font-family: var(--font-display);
}

.ranking-table tbody tr {
  transition: background .18s ease, box-shadow .18s ease;
}

.ranking-table tbody tr:hover {
  background: rgba(241, 191, 69, .055);
}

.ranking-table tbody tr.rank-top-1 td:first-child {
  color: #ffe27a;
  text-shadow: 0 0 12px rgba(242, 189, 65, .58);
}

.ranking-table tbody tr.rank-top-2 td:first-child {
  color: #d8e4f0;
  text-shadow: 0 0 10px rgba(216, 228, 240, .42);
}

.ranking-table tbody tr.rank-top-3 td:first-child {
  color: #d79b52;
  text-shadow: 0 0 10px rgba(215, 155, 82, .42);
}

.rank-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  border: 1px solid rgba(241, 191, 69, .28);
  background: rgba(2, 8, 15, .58);
  box-shadow: inset 0 0 14px rgba(241, 191, 69, .08);
}

.rank-player-name {
  display: grid;
  gap: 4px;
}

.rank-player-name small {
  color: rgba(241, 191, 69, .72);
  font-family: var(--font-display);
  font-size: .68rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rank-player-name strong {
  color: rgba(238, 247, 255, .9);
}

.rank-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(238, 247, 255, .78);
}

.rank-state i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.rank-state.is-online {
  color: #7dffb2;
}

.rank-state.is-offline {
  color: rgba(238, 247, 255, .46);
}

.ranking-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.ranking-stat-card {
  min-height: 180px;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .92), rgba(5, 18, 32, .74)),
    radial-gradient(circle at 12% 0, rgba(241, 191, 69, .12), transparent 17rem);
  border: 1px solid rgba(241, 191, 69, .22);
  box-shadow: inset 0 0 30px rgba(241, 191, 69, .055), 0 20px 40px rgba(0,0,0,.28);
}

.ranking-stat-card span {
  display: block;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ranking-stat-card strong {
  display: block;
  margin-top: 14px;
  color: #f8efd0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.ranking-stat-card p {
  margin: 16px 0 0;
  color: rgba(232, 238, 246, .70);
  line-height: 1.6;
}

.download-card .btn {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.download-card {
  display: flex;
  flex-direction: column;
}

.download-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.download-card__head .panel-kicker {
  margin-bottom: 0;
}

.download-card__number {
  color: rgba(241, 191, 69, .22);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 0 16px rgba(241, 191, 69, .12);
}

.download-card__description {
  margin: 14px 0 20px;
}

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

.download-card__meta > span {
  min-width: 0;
  padding: 11px 12px;
  background: rgba(1, 7, 13, .56);
  border: 1px solid rgba(241, 191, 69, .13);
}

.download-card__meta small,
.download-card__meta strong {
  display: block;
}

.download-card__meta small {
  margin-bottom: 5px;
  color: rgba(241, 191, 69, .58);
  font-family: var(--font-display);
  font-size: .58rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.download-card__meta strong {
  overflow-wrap: anywhere;
  color: rgba(238, 247, 255, .82);
  font-size: .78rem;
  line-height: 1.35;
}

.download-card__action {
  margin-top: 20px;
}

.download-card__action .text-link {
  margin-top: 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
}

.stat-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(241,191,69,.14);
}

.stat-list span {
  color: rgba(243, 229, 190, .62);
}

.stat-list strong {
  color: rgba(238, 247, 255, .88);
  text-align: right;
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-article {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) 1fr;
  min-height: 245px;
}

.news-article .news-thumb {
  min-height: 100%;
}

.news-article > div:last-child {
  padding: clamp(26px, 4vw, 46px);
}

.news-article time {
  color: rgba(243, 229, 190, .66);
  font-family: var(--font-display);
  font-size: .78rem;
  text-transform: uppercase;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(20px, 3vw, 34px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
  background: rgba(3, 10, 18, .86);
  border: 1px solid rgba(241, 191, 69, .24);
  box-shadow: inset 0 0 22px rgba(241,191,69,.035);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #f8efd0;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.faq-list details[open] summary {
  border-bottom: 1px solid rgba(241, 191, 69, .16);
}

.faq-list p {
  margin: 0;
  padding: 18px 24px 22px;
  color: rgba(232, 238, 246, .74);
  line-height: 1.7;
}

.support-panel {
  padding: clamp(26px, 3vw, 38px);
  align-self: start;
}

.support-panel a {
  display: block;
  padding: 14px 0;
  color: rgba(233, 222, 194, .72);
  border-bottom: 1px solid rgba(241,191,69,.14);
  transition: color .18s ease, transform .18s ease;
}

.support-panel a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

@media (min-width: 1921px) {
  .inner-page .page-hero {
    padding-left: calc((100vw - 1920px) / 2 + 172px);
    padding-right: calc((100vw - 1920px) / 2 + 172px);
  }
}

@media (max-width: 1180px) {
  .inner-page .page-hero {
    grid-template-columns: 1fr;
  }

  .page-sigil,
  .ranking-season-card,
  .faq-quick-card {
    justify-self: start;
  }

  .account-perks,
  .feature-detail-grid,
  .feature-showcase,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-tile--no-image,
  .feature-tile--image-left,
  .feature-tile--image-right,
  .feature-tile--image-top,
  .feature-tile--video {
    grid-column: span 1;
  }

  .feature-tile--image-left,
  .feature-tile--image-right,
  .feature-tile--video {
    grid-template-columns: 1fr;
  }

  .feature-tile--image-right .feature-tile__media,
  .feature-tile--video .feature-tile__media {
    order: 1;
  }

  .feature-tile--image-right .feature-tile__copy,
  .feature-tile--video .feature-tile__copy {
    order: 2;
  }

  .auth-layout,
  .faq-layout,
  .vote-layout {
    grid-template-columns: 1fr;
  }

  .account-overview__hero {
    grid-template-columns: 1fr;
  }

  .account-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .character-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ranking-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .inner-page .page-hero {
    text-align: center;
    padding: 46px 22px 30px;
  }

  .inner-page .page-hero h1 {
    font-size: 4.2rem;
  }

  .page-sigil,
  .ranking-season-card,
  .faq-quick-card {
    justify-self: center;
  }

  .content-band {
    width: min(calc(100% - 36px), 900px);
  }

  .feature-callout {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  #download .page-hero {
    min-height: 520px;
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
    gap: clamp(24px, 4vw, 46px);
    padding: 46px clamp(34px, 5vw, 64px) 38px;
    text-align: left;
  }

  #download .page-hero h1 {
    font-size: clamp(4rem, 7.2vw, 5.35rem);
  }

  #download .rune-divider,
  #download .intro {
    margin-inline: 0;
  }

  #download .hero-actions {
    justify-content: flex-start;
  }

  #download .page-sigil {
    width: min(100%, 340px);
    justify-self: end;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .download-card {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
    grid-template-areas:
      "download-head download-meta"
      "download-title download-meta"
      "download-description download-action";
    align-items: start;
    column-gap: clamp(20px, 3vw, 38px);
    row-gap: 0;
    padding: 24px 26px;
  }

  .download-card::before {
    inset: 9px;
  }

  .download-card .download-card__head {
    grid-area: download-head;
    align-self: start;
    margin-bottom: 8px;
  }

  .download-card h2 {
    grid-area: download-title;
    align-self: start;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  }

  .download-card .download-card__description {
    grid-area: download-description;
    align-self: start;
    margin: 9px 0 0;
    font-size: .85rem;
  }

  .download-card .download-card__meta {
    grid-area: download-meta;
    align-self: start;
    margin-top: 0;
  }

  .download-card .download-card__action {
    grid-area: download-action;
    align-self: end;
    margin-top: 14px;
  }

  .download-card__action .btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .download-card {
    min-height: 0;
    padding: 24px 24px 22px;
  }

  .download-card::before {
    inset: 8px;
  }

  .download-card__description {
    max-width: 620px;
    margin-bottom: 18px;
  }

  .download-card__action .btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .inner-page .page-hero {
    min-height: auto;
    padding: 34px 16px 22px;
  }

  .inner-page .page-hero h1 {
    font-size: 3.1rem;
  }

  .page-sigil {
    width: min(76vw, 300px);
  }

  .page-sigil--logo {
    width: min(88vw, 330px);
    padding: 24px;
  }

  .content-band {
    width: calc(100% - 28px);
    margin-top: 24px;
  }

  .download-grid {
    width: calc(100% - 16px);
    gap: 10px;
  }

  .account-perks,
  .account-overview-grid,
  .character-grid,
  .ranking-stats-grid,
  .feature-detail-grid,
  .feature-showcase,
  .download-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .feature-tile {
    min-height: auto;
  }

  .feature-tile__media,
  .feature-tile--video .feature-tile__media {
    min-height: 210px;
  }

  .feature-tile__copy {
    padding: 24px 20px;
  }

  .forge-card,
  .auth-panel,
  .download-card,
  .ranking-panel,
  .requirements-panel,
  .support-panel,
  .feature-callout {
    padding: 24px 20px;
  }

  .download-card {
    padding: 19px 17px 17px;
  }

  .download-card__head {
    margin-bottom: 9px;
    padding-inline: 2px;
  }

  .download-card__number {
    font-size: 1.35rem;
  }

  .download-card h2 {
    padding-right: 20px;
    font-size: 1.18rem;
    line-height: 1.25;
  }

  .download-card__description {
    margin: 10px 0 14px;
    font-size: .84rem;
    line-height: 1.55;
  }

  .download-card__meta {
    gap: 7px;
  }

  .download-card__meta > span {
    padding: 9px 10px;
  }

  .download-card__action {
    margin-top: 12px;
  }

  .download-card__action .btn {
    min-height: 48px;
    padding-inline: 16px;
  }

  .auth-form .btn,
  .account-actions .btn,
  .wallet-actions .btn,
  .vote-button,
  .download-card .btn,
  .feature-callout .btn {
    width: 100%;
  }

  .account-actions .inline-action-form {
    width: 100%;
  }

  .vote-card__head {
    display: grid;
  }

  .ranking-season-card strong,
  .faq-quick-card strong {
    font-size: 1.65rem;
  }

  .news-article {
    grid-template-columns: 1fr;
  }

  .news-article .news-thumb {
    min-height: 150px;
  }

  .stat-list li {
    display: grid;
    gap: 4px;
  }

  .stat-list strong {
    text-align: left;
  }

  .ranking-toolbar {
    justify-content: flex-end;
    min-height: auto;
    margin: 0 0 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(241, 191, 69, .12);
    border-bottom: 1px solid rgba(241, 191, 69, .12);
  }

  .ranking-limit__options {
    width: 148px;
  }

  .ranking-panel {
    width: calc(100% - 16px);
    padding: 18px 12px;
  }

  .ranking-panel::before {
    inset: 8px;
  }

  .ranking-panel .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 14px;
  }

  .ranking-panel .section-heading::after {
    display: none;
  }

  .ranking-panel .section-heading h2 {
    font-size: 1.18rem;
    line-height: 1.25;
  }

  .ranking-panel .rank-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ranking-panel .rank-tabs a {
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    padding: 0 7px;
    font-size: .68rem;
    letter-spacing: .06em;
  }

  .ranking-panel .rank-tabs a::after {
    margin-left: .38rem;
  }

  .ranking-panel .table-scroll {
    overflow: visible;
  }

  .ranking-panel .ranking-table {
    min-width: 0;
    display: block;
  }

  .ranking-panel .ranking-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ranking-panel .ranking-table tbody {
    display: grid;
    gap: 10px;
  }

  .ranking-panel .ranking-table tbody tr {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 12px;
    padding: 15px 14px;
    background:
      linear-gradient(135deg, rgba(4, 13, 22, .72), rgba(2, 8, 15, .48)),
      radial-gradient(circle at 0 0, rgba(241, 191, 69, .055), transparent 9rem);
    border: 1px solid rgba(241, 191, 69, .16);
    box-shadow: inset 0 0 20px rgba(241, 191, 69, .025);
  }

  .ranking-panel .ranking-table tbody tr:hover {
    background:
      linear-gradient(135deg, rgba(7, 18, 29, .82), rgba(2, 8, 15, .56)),
      radial-gradient(circle at 0 0, rgba(241, 191, 69, .08), transparent 9rem);
  }

  .ranking-panel .ranking-table td {
    min-width: 0;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .ranking-panel .ranking-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: rgba(241, 191, 69, .55);
    font-family: var(--font-display);
    font-size: .58rem;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ranking-table--players td:nth-child(1),
  .ranking-table--guilds td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .ranking-table--players td:nth-child(2),
  .ranking-table--guilds td:nth-child(2) {
    grid-column: 2 / -1;
    grid-row: 1;
    align-self: center;
  }

  .ranking-table--players td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    white-space: nowrap;
  }

  .ranking-table--players td:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .ranking-table--players td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

  .ranking-table--players td:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
  }

  .ranking-table--players td:nth-child(7) {
    grid-column: 2 / -1;
    grid-row: 4;
  }

  .ranking-table--guilds td:nth-child(3) {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .ranking-table--guilds td:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .ranking-table--guilds td:nth-child(5) {
    grid-column: 3;
    grid-row: 3;
  }

  .ranking-table--guilds td:nth-child(6) {
    grid-column: 2 / -1;
    grid-row: 4;
  }
}

/* Ranking podium: responsive Hall of Champions */
.podium-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 44px);
  background:
    linear-gradient(145deg, rgba(2, 9, 16, .96), rgba(4, 15, 26, .84)),
    radial-gradient(circle at 50% 100%, rgba(241, 191, 69, .10), transparent 34rem);
  border: 1px solid rgba(241, 191, 69, .30);
  box-shadow: inset 0 0 42px rgba(241, 191, 69, .035), 0 26px 60px rgba(0, 0, 0, .30);
}

.podium-showcase::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(241, 191, 69, .09);
}

.podium-showcase::after {
  content: "";
  width: min(62%, 720px);
  height: 1px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 226, 122, .78), transparent);
  box-shadow: 0 0 18px rgba(241, 191, 69, .42);
}

.podium-showcase__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(241, 191, 69, .16);
}

.podium-showcase__header span {
  display: block;
  margin-bottom: 7px;
  color: rgba(241, 191, 69, .68);
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.podium-showcase__header h2 {
  margin: 0;
  color: #fff0b8;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1vw, 2rem);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.podium-showcase__header p {
  max-width: 330px;
  margin: 0;
  color: rgba(232, 238, 246, .52);
  font-size: .86rem;
  line-height: 1.55;
  text-align: right;
}

.podium-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(30px, 4vw, 54px);
}

.podium-stage::before {
  content: "";
  height: 1px;
  position: absolute;
  right: 2%;
  bottom: 0;
  left: 2%;
  background: linear-gradient(90deg, transparent, rgba(241, 191, 69, .30), transparent);
  box-shadow: 0 0 18px rgba(241, 191, 69, .18);
}

.podium-entry {
  --podium-accent: #d9e4ee;
  --podium-rgb: 217, 228, 238;
  min-width: 0;
  min-height: 228px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 30px);
  background:
    linear-gradient(160deg, rgba(7, 18, 30, .92), rgba(2, 8, 15, .95)),
    radial-gradient(circle at 50% 0, rgba(var(--podium-rgb), .13), transparent 17rem);
  border: 1px solid rgba(var(--podium-rgb), .34);
  box-shadow: inset 0 0 28px rgba(var(--podium-rgb), .045), 0 20px 38px rgba(0, 0, 0, .30);
}

.podium-entry::before {
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  background: linear-gradient(90deg, transparent, var(--podium-accent), transparent);
  box-shadow: 0 0 15px rgba(var(--podium-rgb), .46);
}

.podium-entry::after {
  content: "";
  width: 76px;
  height: 76px;
  position: absolute;
  right: -38px;
  bottom: -38px;
  transform: rotate(45deg);
  border: 1px solid rgba(var(--podium-rgb), .18);
  box-shadow: inset 0 0 18px rgba(var(--podium-rgb), .05);
}

.podium-entry--rank-1 {
  --podium-accent: #ffe27a;
  --podium-rgb: 255, 226, 122;
  min-height: 280px;
  grid-column: 2;
  grid-row: 1;
  padding-top: clamp(26px, 2.8vw, 38px);
  background:
    linear-gradient(160deg, rgba(14, 20, 26, .94), rgba(4, 10, 17, .97)),
    radial-gradient(circle at 50% 0, rgba(255, 226, 122, .18), transparent 20rem);
  border-color: rgba(255, 226, 122, .54);
  box-shadow: inset 0 0 38px rgba(255, 226, 122, .07), 0 24px 48px rgba(0, 0, 0, .38), 0 0 28px rgba(241, 191, 69, .09);
}

.podium-entry--rank-2 {
  --podium-accent: #d9e4ee;
  --podium-rgb: 217, 228, 238;
  grid-column: 1;
  grid-row: 1;
}

.podium-entry--rank-3 {
  --podium-accent: #d79b52;
  --podium-rgb: 215, 155, 82;
  grid-column: 3;
  grid-row: 1;
}

.podium-entry__number {
  position: absolute;
  top: 8px;
  right: 14px;
  color: rgba(var(--podium-rgb), .07);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.8vw, 6.4rem);
  line-height: 1;
  pointer-events: none;
}

.podium-entry__medallion {
  width: 54px;
  height: 54px;
  position: relative;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  color: var(--podium-accent);
  background: rgba(2, 8, 15, .82);
  border: 1px solid rgba(var(--podium-rgb), .58);
  box-shadow: inset 0 0 16px rgba(var(--podium-rgb), .10), 0 0 18px rgba(var(--podium-rgb), .16);
}

.podium-entry--rank-1 .podium-entry__medallion {
  width: 66px;
  height: 66px;
  box-shadow: inset 0 0 22px rgba(255, 226, 122, .14), 0 0 24px rgba(241, 191, 69, .28);
}

.podium-entry__medallion span {
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-size: .9rem;
}

.podium-entry__content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.podium-entry__title {
  display: block;
  margin-bottom: 6px;
  color: var(--podium-accent);
  font-family: var(--font-display);
  font-size: .64rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.podium-entry h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #f8efd0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, .95rem + .65vw, 1.65rem);
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.podium-entry__lead {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: rgba(232, 238, 246, .56);
  font-size: .79rem;
  line-height: 1.4;
}

.podium-entry__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.podium-entry__stats div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(var(--podium-rgb), .18);
}

.podium-entry__stats dt {
  margin-bottom: 4px;
  color: rgba(var(--podium-rgb), .58);
  font-family: var(--font-display);
  font-size: .56rem;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.podium-entry__stats dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(238, 247, 255, .82);
  font-size: .82rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .podium-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 28px;
  }

  .podium-entry--rank-1 {
    min-height: 220px;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .podium-entry--rank-2 {
    grid-column: 1;
    grid-row: auto;
  }

  .podium-entry--rank-3 {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .podium-showcase {
    width: calc(100% - 16px);
    padding: 18px 12px;
  }

  .podium-showcase::before {
    inset: 8px;
  }

  .podium-showcase__header {
    display: grid;
    gap: 8px;
    padding: 2px 4px 14px;
  }

  .podium-showcase__header h2 {
    font-size: 1.15rem;
  }

  .podium-showcase__header p {
    max-width: none;
    font-size: .76rem;
    text-align: left;
  }

  .podium-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 14px;
  }

  .podium-entry,
  .podium-entry--rank-1,
  .podium-entry--rank-2,
  .podium-entry--rank-3 {
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 15px 14px;
  }

  .podium-entry--rank-1 {
    order: 1;
  }

  .podium-entry--rank-2 {
    order: 2;
  }

  .podium-entry--rank-3 {
    order: 3;
  }

  .podium-entry__medallion,
  .podium-entry--rank-1 .podium-entry__medallion {
    width: 44px;
    height: 44px;
    grid-column: 1;
    grid-row: 1;
  }

  .podium-entry__content {
    grid-column: 2;
    grid-row: 1;
  }

  .podium-entry__number {
    top: 8px;
    right: 10px;
    font-size: 3.4rem;
  }

  .podium-entry h3 {
    padding-right: 30px;
    font-size: 1.02rem;
  }

  .podium-entry__lead {
    min-height: 0;
    margin-top: 5px;
    font-size: .72rem;
  }

  .podium-entry__stats {
    gap: 8px;
    margin-top: 12px;
  }

  .podium-entry__stats div {
    padding-top: 8px;
  }
}
