:root {
    --bg: #060407;
    --bg-deep: #030204;
    --surface: rgba(18, 13, 17, .88);
    --surface-solid: #120d11;
    --surface-raised: #191116;
    --surface-soft: rgba(255, 255, 255, .028);
    --text: #f5efe8;
    --text-soft: #d9cec4;
    --muted: #9e918b;
    --muted-2: #746b68;
    --blood: #9f1f2d;
    --blood-bright: #d44850;
    --blood-dark: #57101a;
    --gold: #d5b06a;
    --gold-bright: #f1d798;
    --gold-dim: #8d7042;
    --violet: #6e4e8c;
    --success: #56c88a;
    --danger: #ff7d89;
    --line: rgba(213, 176, 106, .16);
    --line-soft: rgba(255, 255, 255, .07);
    --line-blood: rgba(159, 31, 45, .35);
    --shadow: 0 28px 80px rgba(0, 0, 0, .48);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, .34);
    --radius: 22px;
    --radius-sm: 14px;
    --radius-lg: 34px;
    --shell: 1320px;
    --header-height: 96px;
    --transition: 220ms cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-deep);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(159, 31, 45, .18), transparent 30%),
        radial-gradient(circle at 95% 25%, rgba(110, 78, 140, .09), transparent 28%),
        linear-gradient(180deg, #080508 0%, #060407 40%, #030204 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    opacity: .26;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: .055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection {
    color: #fff;
    background: rgba(159, 31, 45, .72);
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.page-shell {
    position: relative;
    z-index: 2;
    padding: 34px 0 76px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    color: #090507;
    background: var(--gold-bright);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.mist {
    position: absolute;
    width: 72vw;
    height: 38vw;
    min-width: 680px;
    min-height: 360px;
    border-radius: 50%;
    opacity: .16;
    filter: blur(90px);
    animation: mistDrift 18s ease-in-out infinite alternate;
}

.mist--one {
    top: 8%;
    left: -25%;
    background: rgba(118, 27, 39, .56);
}

.mist--two {
    right: -28%;
    bottom: 4%;
    background: rgba(80, 55, 103, .38);
    animation-duration: 24s;
    animation-direction: alternate-reverse;
}

.ember-field {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(241, 215, 152, .55) 0 1px, transparent 2px),
        radial-gradient(circle at 76% 18%, rgba(212, 72, 80, .5) 0 1px, transparent 2px),
        radial-gradient(circle at 84% 64%, rgba(241, 215, 152, .4) 0 1px, transparent 2px),
        radial-gradient(circle at 26% 78%, rgba(212, 72, 80, .42) 0 1px, transparent 2px);
    background-size: 310px 310px, 430px 430px, 360px 360px, 520px 520px;
}

@keyframes mistDrift {
    from { transform: translate3d(-2%, -2%, 0) scale(.96); }
    to { transform: translate3d(7%, 5%, 0) scale(1.08); }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(213, 176, 106, .08);
    background: linear-gradient(180deg, rgba(7, 4, 6, .92), rgba(7, 4, 6, .74));
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px) saturate(120%);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
    border-color: rgba(213, 176, 106, .15);
    background: rgba(7, 4, 6, .96);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .46);
}

.header-rune-line {
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 4%, rgba(213, 176, 106, .38) 28%, rgba(159, 31, 45, .5) 50%, rgba(213, 176, 106, .38) 72%, transparent 96%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 13px;
    min-width: 235px;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .27);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(159, 31, 45, .20), transparent 64%),
        rgba(255, 255, 255, .018);
    box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .23), 0 0 32px rgba(159, 31, 45, .13);
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.brand-mark::before {
    inset: 5px;
    border: 1px dashed rgba(213, 176, 106, .25);
    animation: slowSpin 24s linear infinite;
}

.brand-mark::after {
    inset: -5px;
    border-top: 1px solid rgba(212, 72, 80, .6);
    border-right: 1px solid transparent;
    transform: rotate(-28deg);
}

.brand-mark--image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 7px 13px rgba(0, 0, 0, .48));
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy small,
.footer-brand small {
    margin-bottom: 5px;
    color: var(--gold-dim);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.brand-copy strong {
    color: #fff9f1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: .02em;
}

.brand-copy em,
.footer-brand em {
    margin-top: 5px;
    color: var(--blood-bright);
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 18px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    color: var(--muted);
    font-size: .89rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color var(--transition), background var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 6px;
    left: 13px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity var(--transition), transform var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff6eb;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    opacity: .8;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
}

.header-actions form {
    margin: 0;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 1px;
    margin: 5px auto;
    background: var(--gold-bright);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.primary-btn,
.ghost-btn,
.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: .02em;
    transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}

.primary-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 219, 152, .24);
    color: #fff9ef;
    background: linear-gradient(135deg, #b72736 0%, #77131f 52%, #4c0c15 100%);
    box-shadow: 0 14px 34px rgba(112, 14, 27, .34), inset 0 1px rgba(255, 255, 255, .12);
    cursor: pointer;
}

.primary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .16), transparent 58%);
    transform: translateX(-120%);
    transition: transform 650ms ease;
}

.primary-btn:hover::before {
    transform: translateX(120%);
}

.ghost-btn {
    border: 1px solid rgba(213, 176, 106, .18);
    color: var(--text-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018));
    box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.text-btn {
    min-height: 44px;
    padding-inline: 8px;
    color: var(--gold-bright);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover {
    transform: translateY(-2px);
}

.primary-btn:hover {
    box-shadow: 0 18px 44px rgba(130, 16, 31, .46), inset 0 1px rgba(255, 255, 255, .16);
}

.ghost-btn:hover {
    border-color: rgba(213, 176, 106, .38);
    color: #fff;
    background: rgba(213, 176, 106, .06);
}

.compact-btn {
    min-height: 42px;
    padding-inline: 16px;
    font-size: .87rem;
}

.primary-btn--large,
.ghost-btn--large {
    min-height: 56px;
    padding-inline: 26px;
}

.btn-icon {
    color: var(--gold);
}

/* Shared surfaces */
.card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .022), transparent 35%),
        linear-gradient(180deg, rgba(19, 13, 18, .94), rgba(10, 7, 10, .96));
    box-shadow: var(--shadow-soft), inset 0 1px rgba(255, 255, 255, .025);
}

.card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 215, 152, .65), transparent);
    pointer-events: none;
}

.glow-card {
    box-shadow: var(--shadow), 0 0 70px rgba(159, 31, 45, .09);
}

.eyebrow {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .24em;
    text-transform: uppercase;
}

/* Home hero */
.hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(213, 176, 106, .18);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(105deg, rgba(8, 5, 7, .98) 0%, rgba(17, 9, 13, .96) 53%, rgba(8, 5, 7, .86) 100%);
    box-shadow: var(--shadow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 77% 42%, rgba(173, 31, 48, .24), transparent 27%),
        radial-gradient(circle at 76% 39%, rgba(213, 176, 106, .09), transparent 42%),
        linear-gradient(90deg, transparent 66%, rgba(255, 255, 255, .018));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(213, 176, 106, .07);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
}

.hero-home {
    display: grid;
    min-height: 670px;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr);
    align-items: stretch;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 86px);
    padding-right: 24px;
}

.hero-kickers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.realm-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(159, 31, 45, .34);
    border-radius: 999px;
    color: #e5c9c7;
    background: rgba(159, 31, 45, .08);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.hero h1 {
    max-width: 780px;
    margin: 22px 0 24px;
    font-size: clamp(3.5rem, 6.1vw, 6.6rem);
    line-height: .88;
    letter-spacing: -.055em;
    text-shadow: 0 14px 42px rgba(0, 0, 0, .55);
}

.hero h1 span {
    display: block;
    color: var(--gold-bright);
    font-style: italic;
}

.hero-lead {
    max-width: 720px;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 790px;
    margin-top: 46px;
    border-top: 1px solid rgba(213, 176, 106, .12);
}

.hero-pillars > div {
    position: relative;
    padding: 20px 20px 0 0;
}

.hero-pillars > div + div {
    padding-left: 22px;
    border-left: 1px solid rgba(213, 176, 106, .1);
}

.hero-pillars span {
    display: block;
    margin-bottom: 6px;
    color: var(--blood-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .8rem;
    letter-spacing: .12em;
}

.hero-pillars strong {
    display: block;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 500;
}

.hero-pillars small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 610px;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -3;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159, 31, 45, .27), rgba(159, 31, 45, .05) 42%, transparent 70%);
    filter: blur(4px);
}

.hero-visual::after {
    content: "";
    position: absolute;
    right: -15%;
    bottom: -27%;
    left: -12%;
    height: 48%;
    z-index: 5;
    background: linear-gradient(to top, #090508 20%, rgba(9, 5, 8, .74) 54%, transparent);
    filter: blur(5px);
}

.arcane-halo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.arcane-halo--outer {
    width: min(42vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(213, 176, 106, .16);
    box-shadow: inset 0 0 38px rgba(159, 31, 45, .08), 0 0 44px rgba(159, 31, 45, .09);
    animation: slowSpin 42s linear infinite;
}

.arcane-halo--outer::before,
.arcane-halo--outer::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: inherit;
    border: 1px dashed rgba(213, 176, 106, .18);
}

.arcane-halo--outer::after {
    inset: -10px;
    border-style: solid;
    border-color: transparent rgba(159, 31, 45, .24) transparent rgba(159, 31, 45, .24);
}

.arcane-halo--middle {
    width: min(33vw, 435px);
    aspect-ratio: 1;
    border: 1px solid rgba(212, 72, 80, .22);
    animation: slowSpinReverse 31s linear infinite;
}

.arcane-halo--inner {
    width: min(25vw, 330px);
    aspect-ratio: 1;
    border: 1px solid rgba(213, 176, 106, .27);
    box-shadow: 0 0 65px rgba(159, 31, 45, .16), inset 0 0 60px rgba(0, 0, 0, .62);
}

@keyframes slowSpin {
    to { transform: rotate(360deg); }
}

@keyframes slowSpinReverse {
    to { transform: rotate(-360deg); }
}

.hero-rune {
    position: absolute;
    z-index: 2;
    color: rgba(241, 215, 152, .66);
    font-family: Georgia, serif;
    text-shadow: 0 0 20px rgba(213, 176, 106, .48);
}

.hero-rune--one { top: 18%; left: 16%; font-size: 2rem; }
.hero-rune--two { top: 24%; right: 13%; font-size: 1.4rem; }
.hero-rune--three { right: 16%; bottom: 21%; font-size: 2.4rem; }

.hero-emblem {
    position: relative;
    z-index: 3;
    display: flex;
    width: 260px;
    height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(213, 176, 106, .3);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .06), transparent 35%),
        linear-gradient(145deg, rgba(35, 20, 25, .95), rgba(8, 5, 7, .98));
    box-shadow:
        inset 0 0 0 8px rgba(0, 0, 0, .22),
        inset 0 0 60px rgba(159, 31, 45, .13),
        0 32px 70px rgba(0, 0, 0, .58);
}

.hero-emblem::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px dashed rgba(213, 176, 106, .22);
    border-radius: 50%;
}

.hero-emblem__small {
    color: var(--gold-dim);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .32em;
}

.hero-emblem strong {
    margin: -3px 0 -10px;
    color: #fff5e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.12em;
    text-shadow: 0 4px 0 #5a111b, 0 14px 38px rgba(0, 0, 0, .72);
    transform: translateX(-5px);
}

.hero-emblem__line {
    width: 76px;
    height: 1px;
    margin: 5px 0 10px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-emblem em {
    color: var(--blood-bright);
    font-size: .74rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .27em;
}

.hero-crest {
    position: absolute;
    z-index: 4;
    width: 98px;
    height: 98px;
    bottom: 11%;
    object-fit: contain;
    opacity: .82;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .8));
}

.hero-shadow-number {
    position: absolute;
    z-index: -2;
    right: -4%;
    bottom: -11%;
    color: rgba(255, 255, 255, .018);
    font-family: Georgia, serif;
    font-size: 24rem;
    font-weight: 900;
    letter-spacing: -.18em;
    line-height: .8;
    user-select: none;
}

/* Home content */
.feature-band,
.stats-grid,
.donation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 145px;
    padding: 24px;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(213, 176, 106, .3);
    background:
        linear-gradient(145deg, rgba(213, 176, 106, .035), transparent 35%),
        linear-gradient(180deg, rgba(24, 16, 21, .97), rgba(10, 7, 10, .98));
}

.feature-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .2);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(213, 176, 106, .035);
}

.feature-card strong,
.stat-card strong {
    display: block;
    margin-bottom: 7px;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.06rem;
    font-weight: 500;
}

.feature-card span:not(.feature-icon),
.stat-card span,
.pricing-card p,
.news-card p,
.download-card p,
.prose-card p,
.prose-card li {
    color: var(--muted);
    line-height: 1.75;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin: 76px 0 26px;
    padding: 0 2px 20px;
    border-bottom: 1px solid rgba(213, 176, 106, .12);
}

.section-intro h2 {
    margin: 9px 0 0;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    line-height: 1;
}

.section-intro p {
    max-width: 470px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    text-align: right;
}

.home-grid,
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(330px, .68fr);
    gap: 22px;
    margin-top: 26px;
}

.content-grid.single,
.single-column {
    grid-template-columns: 1fr;
}

.home-side-col {
    display: grid;
    align-content: start;
    gap: 18px;
}

.section-head,
.hero-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-head small,
.hero-panel__head small {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-dim);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-head h2,
.hero-panel__head h3 {
    margin: 0;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.hero-panel__head h3 {
    font-size: 1.5rem;
}

.section-link,
.section-head > a,
.hero-panel__head > a,
.inline-link {
    color: var(--gold);
    font-size: .83rem;
    font-weight: 850;
    letter-spacing: .04em;
    transition: color var(--transition), transform var(--transition);
}

.section-link:hover,
.section-head > a:hover,
.hero-panel__head > a:hover,
.inline-link:hover {
    color: var(--gold-bright);
}

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

.news-card,
.download-card,
.panel-card,
.prose-card,
.form-card,
.table-card,
.comment-card,
.legal-card {
    padding: 26px;
}

.news-card--rich {
    min-height: 215px;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.home-main-col .news-card--rich {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 21px;
}

.news-card--rich:hover {
    transform: translateY(-3px);
    border-color: rgba(213, 176, 106, .28);
}

.news-index {
    color: rgba(213, 176, 106, .24);
    font-family: Georgia, serif;
    font-size: 2.8rem;
    line-height: 1;
}

.news-card__content {
    min-width: 0;
}

.news-card--rich h3 {
    margin: 10px 0 10px;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 500;
}

.news-card--rich p {
    margin: 0 0 16px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: var(--gold-dim);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.side-panel {
    padding: 24px;
    overflow: hidden;
}

.side-panel__ornament {
    position: absolute;
    top: -42px;
    right: -16px;
    color: rgba(213, 176, 106, .045);
    font-family: Georgia, serif;
    font-size: 10rem;
    line-height: 1;
    transform: rotate(8deg);
}

.guild-board {
    display: grid;
    gap: 9px;
}

.guild-entry {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 15px;
    background: rgba(255, 255, 255, .018);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.guild-entry:hover {
    transform: translateX(3px);
    border-color: rgba(213, 176, 106, .2);
    background: rgba(213, 176, 106, .035);
}

.guild-entry--top {
    border-color: rgba(159, 31, 45, .24);
    background: linear-gradient(90deg, rgba(159, 31, 45, .10), rgba(255, 255, 255, .018));
}

.guild-rank {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .18);
    border-radius: 50%;
    color: var(--gold);
    background: #0c080b;
    font-family: Georgia, serif;
    font-weight: 700;
}

.guild-main {
    min-width: 0;
}

.guild-main strong {
    display: block;
    overflow: hidden;
    color: #fff8ef;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guild-main span,
.guild-meta span,
.mini-download small,
.price-snippet small {
    color: var(--muted);
}

.guild-main span,
.guild-meta {
    font-size: .76rem;
}

.guild-meta {
    display: grid;
    gap: 3px;
    text-align: right;
}

.side-stack {
    display: grid;
    gap: 9px;
}

.mini-download,
.price-snippet {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 15px;
    background: rgba(255, 255, 255, .018);
}

.mini-download {
    grid-template-columns: 39px minmax(0, 1fr) auto;
    align-items: center;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.mini-download:hover {
    transform: translateX(3px);
    border-color: rgba(213, 176, 106, .24);
    background: rgba(213, 176, 106, .035);
}

.download-rune {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(159, 31, 45, .3);
    border-radius: 50%;
    color: var(--blood-bright);
    background: rgba(159, 31, 45, .07);
}

.mini-download strong,
.price-snippet strong {
    display: block;
    color: #fff8ef;
    font-size: .91rem;
}

.mini-download em {
    color: var(--gold-dim);
    font-style: normal;
}

.compact-empty {
    padding: 18px;
    font-size: .88rem;
}

.portal-cta {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 72px;
    padding: 36px 42px;
    overflow: hidden;
    border-color: rgba(159, 31, 45, .34);
    background:
        radial-gradient(circle at 8% 50%, rgba(159, 31, 45, .21), transparent 24%),
        linear-gradient(115deg, rgba(28, 13, 18, .98), rgba(10, 7, 10, .98));
}

.portal-cta__mark {
    color: rgba(241, 215, 152, .16);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    letter-spacing: -.15em;
}

.portal-cta h2 {
    margin: 9px 0 8px;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.2vw, 2.85rem);
    font-weight: 500;
    line-height: 1;
}

.portal-cta p {
    margin: 0;
    color: var(--muted);
}

.portal-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Internal pages */
.page-hero {
    position: relative;
    margin-bottom: 26px;
    padding: clamp(34px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 88% 45%, rgba(159, 31, 45, .16), transparent 26%),
        linear-gradient(110deg, rgba(21, 12, 16, .96), rgba(8, 5, 7, .98));
    box-shadow: var(--shadow-soft);
}

.page-hero::before {
    content: "77";
    position: absolute;
    right: 4%;
    bottom: -31%;
    color: rgba(213, 176, 106, .045);
    font-family: Georgia, serif;
    font-size: 15rem;
    font-weight: 700;
    letter-spacing: -.14em;
    line-height: 1;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 55px;
    width: 110px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 0 12px;
    color: #fff8ef;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: .98;
}

.page-hero.small h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

.page-hero p {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.stats-grid,
.donation-grid {
    margin-top: 0;
}

.stat-card,
.pricing-card {
    padding: 25px;
}

.stat-card strong {
    color: var(--gold-bright);
    font-size: 2rem;
}

.guild-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.guild-card {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: start;
    gap: 18px;
    padding: 24px;
}

.guild-card--top {
    border-color: rgba(213, 176, 106, .32);
}

.guild-card__rank {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .22);
    border-radius: 50%;
    color: var(--gold);
    background: #0c080b;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.guild-card__body h3 {
    margin: 2px 0 8px;
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-weight: 500;
}

.guild-card__body p {
    margin: 0 0 14px;
    color: var(--muted);
}

.guild-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.guild-card__stats span {
    padding: 11px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .02);
}

.guild-card__stats strong {
    display: block;
    margin-top: 4px;
    color: #fff;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.download-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(159, 31, 45, .27);
    border-radius: 999px;
    color: #e7c8c8;
    background: rgba(159, 31, 45, .08);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.download-card h3,
.panel-card h2,
.form-card h1,
.form-card h2,
.prose-card h2,
.legal-card h2,
.comment-panel h2 {
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.download-card h3 {
    margin: 12px 0;
    font-size: 1.45rem;
}

.panel-card h2,
.form-card h1,
.form-card h2,
.prose-card h2,
.legal-card h2,
.comment-panel h2 {
    margin-top: 0;
}

.pricing-card strong {
    display: block;
    margin: 10px 0 12px;
    color: var(--gold-bright);
    font-family: Georgia, serif;
    font-size: 2rem;
}

.pricing-card.featured {
    border-color: rgba(213, 176, 106, .38);
    transform: translateY(-4px);
}

.tab-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .022);
}

.tab-bar a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .87rem;
    font-weight: 750;
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.tab-bar a:hover {
    color: #fff;
}

.tab-bar a.active {
    color: #fff9ef;
    background: linear-gradient(135deg, #a1202e, #57101a);
    box-shadow: 0 8px 20px rgba(87, 16, 26, .3);
}

.tab-bar--sub {
    display: flex;
    margin-top: 4px;
}

.table-card {
    max-width: 100%;
    overflow-x: auto;
    padding: 10px 20px 18px;
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--gold-dim);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

td {
    color: var(--text-soft);
}

tbody tr {
    transition: background var(--transition);
}

tbody tr:hover {
    background: rgba(213, 176, 106, .026);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.rank-col {
    color: var(--gold);
    font-size: 1.08rem;
    font-weight: 850;
    white-space: nowrap;
}

.class-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.class-icon-cell {
    width: 70px;
}

.class-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid rgba(213, 176, 106, .13);
    border-radius: 50%;
    background: rgba(255, 255, 255, .025);
    padding: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 8px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 850;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.status-pill.online {
    border-color: rgba(86, 200, 138, .24);
    color: #8be3ad;
    background: rgba(86, 200, 138, .07);
}

.status-pill.offline {
    color: #9c9390;
    background: rgba(255, 255, 255, .025);
}

/* Forms and authentication */
.auth-shell {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.auth-shell.wide {
    justify-content: stretch;
}

.auth-card {
    width: min(100%, 610px);
}

.wide-card {
    width: min(100%, 780px);
}

.form-card,
.form-card form {
    display: grid;
    gap: 13px;
}

.form-card label {
    color: var(--text-soft);
    font-size: .88rem;
    font-weight: 800;
}

.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card textarea,
.form-card select,
.checkout-form select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(213, 176, 106, .14);
    border-radius: 13px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, .028);
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, .18);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.form-card textarea:focus,
.form-card select:focus,
.checkout-form select:focus {
    border-color: rgba(213, 176, 106, .48);
    background: rgba(213, 176, 106, .035);
    box-shadow: 0 0 0 4px rgba(213, 176, 106, .055);
}

.form-card input:disabled,
.form-card input[readonly] {
    opacity: .68;
    cursor: not-allowed;
}

.form-card input[type="checkbox"],
.form-card input[type="radio"] {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    accent-color: var(--blood-bright);
}

.form-card textarea {
    min-height: 130px;
    resize: vertical;
}

.form-card select option,
.checkout-form select option {
    color: #1a1115;
    background: #fffaf4;
}

.form-card small,
.form-help {
    display: block;
    margin-top: -5px;
    margin-bottom: 6px;
    color: var(--muted);
    line-height: 1.55;
}

.form-section-title {
    margin-top: 8px;
    color: var(--gold-bright);
    font-family: Georgia, serif;
    font-size: 1.08rem;
    font-weight: 600;
}

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

.inline-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.inline-links a {
    color: var(--gold);
}

.captcha-image {
    display: block;
    max-width: 190px;
    padding: 7px;
    border: 1px solid rgba(213, 176, 106, .17);
    border-radius: 12px;
    background: #0a0709;
}

.inputcaptcha {
    max-width: 260px;
}

.alert {
    position: relative;
    margin-bottom: 18px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    border-color: rgba(86, 200, 138, .26);
    color: #a4eac0;
    background: rgba(86, 200, 138, .09);
}

.alert-error {
    border-color: rgba(255, 125, 137, .25);
    color: #ffb8c0;
    background: rgba(159, 31, 45, .13);
}

/* Account */
.account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.account-grid--main {
    grid-template-columns: 1.18fr .9fr .82fr;
}

.account-profile-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 22px;
    margin-bottom: 24px;
}

.user-summary-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
    gap: 18px;
}

.user-summary-card__media img,
.profile-avatar {
    width: 118px;
    height: 118px;
    border: 1px solid rgba(213, 176, 106, .2);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .38);
}

.avatar-placeholder {
    display: grid;
    width: 118px;
    height: 118px;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .27);
    border-radius: 50%;
    color: var(--gold-bright);
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .08), transparent 36%),
        linear-gradient(145deg, #41101a, #12090e);
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 7px rgba(0, 0, 0, .18), 0 16px 34px rgba(0, 0, 0, .38);
}

.avatar-placeholder--large {
    width: 140px;
    height: 140px;
}

.profile-info-card__top {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 18px;
}

.profile-info-card p,
.user-summary-card p {
    margin: .35rem 0;
    color: var(--muted);
}

.quick-links {
    display: grid;
    gap: 10px;
}

.quick-links .ghost-btn {
    justify-content: flex-start;
    border-radius: 13px;
}

.donation-methods-mini,
.donation-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 14px 0 18px;
}

.donation-methods-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donation-methods-mini span,
.donation-methods-grid span {
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .022);
    text-align: center;
}

.character-list,
.mini-list {
    display: grid;
    gap: 10px;
}

.character-card-mini {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: start;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, .018);
}

.character-card-mini--full {
    grid-template-columns: 64px 1fr;
    margin-bottom: 12px;
}

.character-card-mini p {
    margin: 4px 0;
    color: var(--muted);
}

.character-card-mini span {
    color: var(--gold-dim);
    font-size: .82rem;
}

.class-icon-wrap {
    display: grid;
    place-items: start;
}

.mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, .018);
}

.mini-row strong {
    color: var(--gold-bright);
}

/* Content, rules and donation */
.news-body,
.article-body {
    color: var(--text-soft);
    line-height: 1.85;
    white-space: normal;
}

.news-body h1,
.news-body h2,
.news-body h3,
.news-body h4,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 1.4em 0 .6em;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.news-body p,
.article-body p {
    margin: 0 0 1em;
}

.news-body a,
.article-body a {
    color: var(--gold-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-body center {
    display: block;
    text-align: center;
}

.news-body font {
    color: inherit;
}

.prose-card,
.legal-card {
    color: var(--text-soft);
    line-height: 1.82;
}

.legal-card h2 {
    font-size: 1.35rem;
}

.legal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.rule-divider {
    margin: 8px 0;
    border: 0;
    border-top: 1px solid var(--line-soft);
}

.accordion-rules {
    display: grid;
    gap: 13px;
}

.rule-accordion-item {
    padding: 0;
    overflow: hidden;
}

.rule-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 23px;
    list-style: none;
    cursor: pointer;
}

.rule-accordion-item summary::-webkit-details-marker {
    display: none;
}

.rule-accordion-item summary strong {
    display: block;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: 1.12rem;
    font-weight: 500;
}

.rule-accordion-item summary small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.rule-accordion-body {
    padding: 0 23px 23px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    line-height: 1.8;
}

.rule-accordion-body > *:first-child {
    margin-top: 20px;
}

.comment-panel,
.comment-card {
    padding: 23px;
}

.comment-card {
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, .018);
}

.empty-state {
    padding: 30px;
    color: var(--muted);
    text-align: center;
}

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

.donate-panel,
.donate-copy {
    position: relative;
}

.pix-key-box {
    padding: 14px;
    border: 1px dashed rgba(213, 176, 106, .28);
    border-radius: 13px;
    color: var(--gold-bright);
    background: rgba(213, 176, 106, .035);
    overflow-wrap: anywhere;
}

.donate-pix-logo {
    max-width: 130px;
}


/* Iris Points */
.page-hero--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.page-hero--centered p {
    margin-inline: auto;
}

.donation-page {
    display: block;
}

.donate-panel {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
}

.pix-emblem {
    position: relative;
    display: grid;
    width: 116px;
    height: 116px;
    margin: 0 auto 24px;
    place-items: center;
    border: 1px solid rgba(213, 176, 106, .25);
    border-radius: 50%;
    color: var(--gold-bright);
    background:
        radial-gradient(circle, rgba(159, 31, 45, .16), transparent 62%),
        #0c080b;
    box-shadow: inset 0 0 0 7px rgba(0, 0, 0, .2), 0 18px 44px rgba(0, 0, 0, .4);
}

.pix-emblem::before,
.pix-emblem::after {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px dashed rgba(213, 176, 106, .2);
    border-radius: 50%;
}

.pix-emblem::after {
    inset: -7px;
    border-style: solid;
    border-color: transparent rgba(159, 31, 45, .42);
    transform: rotate(32deg);
}

.pix-emblem span {
    font-family: Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.donate-copy {
    max-width: 760px;
    margin: 0 auto 28px;
}

.donate-copy h2 {
    margin: 10px 0 12px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 3.6vw, 2.75rem);
    font-weight: 500;
    line-height: 1.05;
}

.donate-copy p,
.donation-table-card__head p,
.donation-contact-card p {
    color: var(--muted);
    line-height: 1.75;
}

.donate-warning {
    color: #e9b6b8 !important;
    font-weight: 650;
}

.pix-key-box {
    display: grid;
    max-width: 760px;
    margin: 0 auto 28px;
    gap: 6px;
    padding: 20px 24px;
    border: 1px solid rgba(213, 176, 106, .25);
    border-radius: 16px;
    color: var(--text-soft);
    background:
        linear-gradient(145deg, rgba(213, 176, 106, .05), transparent),
        rgba(255, 255, 255, .018);
    text-align: center;
}

.pix-key-box small {
    color: var(--gold-dim);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pix-key-box strong {
    color: var(--gold-bright);
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    overflow-wrap: anywhere;
    text-transform: lowercase;
}

.pix-key-box span {
    color: var(--muted);
    font-size: .84rem;
}

.donation-table-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.donation-table-card__head {
    padding: 27px 28px 22px;
    border-bottom: 1px solid var(--line-soft);
}

.donation-table-card__head h2 {
    margin: 9px 0 7px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
}

.donation-table-card__head p {
    margin: 0;
}

.donation-table-scroll {
    max-height: 680px;
    overflow: auto;
    scrollbar-color: var(--blood) rgba(255, 255, 255, .03);
}

.donation-table {
    min-width: 470px;
}

.donation-table th,
.donation-table td {
    text-align: center;
}

.donation-table td:first-child {
    color: var(--gold-bright);
    font-weight: 800;
}

.donation-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: min(100%, 760px);
    margin: 24px auto 0;
    padding: 28px;
    text-align: left;
    border-color: rgba(159, 31, 45, .3);
}

.donation-contact-card h2 {
    margin: 9px 0 7px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 500;
}

.donation-contact-card p {
    margin: 0;
}

.form-card h1 {
    margin: 0 0 4px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
}

.form-card > p {
    margin-top: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* Payment selector: PIX + Moedaz */
.payment-choice-heading {
    width: min(100%, 820px);
    margin: 0 auto 26px;
    text-align: center;
}

.payment-choice-heading h2 {
    margin: 9px 0 9px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 500;
    line-height: 1.08;
}

.payment-choice-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 820px);
    margin: 0 auto 26px;
}

.payment-method-card {
    position: relative;
    min-height: 310px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 45%),
        rgba(7, 6, 10, .78);
    box-shadow: 0 20px 55px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.012);
    text-align: left;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.payment-method-card:hover {
    transform: translateY(-4px);
}

.payment-method-card--pix:hover {
    border-color: rgba(213, 176, 106, .34);
    box-shadow: 0 25px 60px rgba(0,0,0,.32), 0 0 32px rgba(213,176,106,.05);
}

.payment-method-card--moedaz {
    border-color: rgba(128, 92, 246, .34);
    background:
        radial-gradient(circle at 88% 12%, rgba(118, 76, 255, .16), transparent 34%),
        linear-gradient(145deg, rgba(108, 70, 232, .08), transparent 50%),
        rgba(8, 7, 13, .88);
    box-shadow: 0 22px 62px rgba(0,0,0,.34), 0 0 34px rgba(100,65,225,.06);
}

.payment-method-card--moedaz:hover {
    border-color: rgba(151, 118, 255, .62);
    box-shadow: 0 28px 70px rgba(0,0,0,.4), 0 0 38px rgba(113,77,240,.13);
}

.payment-method-card__glow {
    position: absolute;
    width: 190px;
    height: 190px;
    top: -90px;
    right: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(137,95,255,.26), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}

.payment-method-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.payment-method-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(213,176,106,.25);
    border-radius: 15px;
    color: var(--gold-bright);
    background: rgba(213,176,106,.055);
    box-shadow: inset 0 0 18px rgba(213,176,106,.035);
}

.payment-method-icon span {
    font-family: Georgia, serif;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.payment-method-icon--moedaz {
    color: #c9b7ff;
    border-color: rgba(144,106,255,.4);
    background: linear-gradient(145deg, rgba(136,96,255,.16), rgba(88,55,190,.05));
    box-shadow: inset 0 0 20px rgba(129,86,255,.08), 0 0 22px rgba(122,76,255,.08);
}

.payment-method-badge {
    padding: 7px 9px;
    color: var(--gold-dim);
    border: 1px solid rgba(213,176,106,.18);
    border-radius: 999px;
    background: rgba(213,176,106,.045);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.payment-method-badge--auto {
    color: #cfc2ff;
    border-color: rgba(144,106,255,.28);
    background: rgba(120,78,245,.08);
}

.payment-method-card__body {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 24px 0 21px;
}

.payment-method-card__body small {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.payment-method-card__body h3 {
    margin: 6px 0 9px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}

.payment-method-card--moedaz .payment-method-card__body h3 {
    color: #e9e1ff;
    text-shadow: 0 0 22px rgba(129,90,255,.14);
}

.payment-method-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.62;
}

.payment-method-action {
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
}

.payment-method-action--moedaz {
    border-color: rgba(146,110,255,.45);
    background: linear-gradient(115deg, rgba(109,67,224,.74), rgba(144,93,225,.55));
    box-shadow: 0 10px 26px rgba(74,42,160,.2), inset 0 0 22px rgba(255,255,255,.03);
}

.payment-method-action--moedaz:hover {
    border-color: rgba(180,154,255,.72);
    box-shadow: 0 13px 32px rgba(82,48,177,.3), 0 0 24px rgba(125,82,240,.15);
}

.moedaz-info-card {
    position: relative;
    width: min(100%, 820px);
    margin: 0 auto 30px;
    padding: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    border: 1px solid rgba(141,101,255,.28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 95% 0, rgba(124,76,236,.13), transparent 38%),
        linear-gradient(135deg, rgba(94,55,190,.06), transparent 52%),
        rgba(255,255,255,.014);
    text-align: left;
}

.moedaz-info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.025) 50%, transparent 65%);
}

.moedaz-info-card__mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    color: #d5c8ff;
    border: 1px solid rgba(151,113,255,.4);
    border-radius: 20px;
    background: radial-gradient(circle, rgba(132,89,255,.16), rgba(74,44,152,.05));
    font-family: Georgia, serif;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: inset 0 0 24px rgba(138,94,255,.09), 0 0 25px rgba(105,64,220,.08);
}

.moedaz-info-card__content {
    position: relative;
    z-index: 1;
}

.moedaz-info-card__content h2 {
    margin: 8px 0 13px;
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 500;
}

.moedaz-info-card__content p {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.6;
}

.moedaz-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.moedaz-steps span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    color: var(--text-soft);
    border: 1px solid rgba(136,101,230,.17);
    border-radius: 9px;
    background: rgba(112,74,209,.035);
    font-size: .69rem;
}

.moedaz-steps b {
    color: #b9a3ff;
    font-size: .62rem;
    letter-spacing: .08em;
}

.moedaz-main-button {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.payment-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    width: min(100%, 760px);
    margin: 36px auto 30px;
    scroll-margin-top: 110px;
}

.payment-separator span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(213,176,106,.25));
}

.payment-separator span:last-child {
    transform: scaleX(-1);
}

.payment-separator b {
    color: var(--gold-dim);
    font-size: .63rem;
    letter-spacing: .15em;
    font-weight: 900;
}

@media (max-width: 860px) {
    .moedaz-info-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .moedaz-info-card__mark {
        width: 64px;
        height: 64px;
        border-radius: 17px;
    }

    .moedaz-main-button {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .payment-method-grid {
        grid-template-columns: 1fr;
    }

    .payment-method-card {
        min-height: 0;
    }

    .moedaz-info-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .moedaz-info-card__mark {
        margin-inline: auto;
    }

    .moedaz-steps {
        justify-content: center;
    }

    .payment-separator {
        gap: 9px;
    }

    .payment-separator b {
        font-size: .57rem;
        letter-spacing: .1em;
    }
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    padding: 62px 0 24px;
    overflow: hidden;
    border-top: 1px solid rgba(213, 176, 106, .12);
    background:
        radial-gradient(circle at 10% 30%, rgba(159, 31, 45, .12), transparent 28%),
        linear-gradient(180deg, rgba(12, 8, 11, .95), rgba(4, 2, 4, .99));
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(70vw, 760px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(213, 176, 106, .52), transparent);
    transform: translateX(-50%);
}

.footer-sigil {
    position: absolute;
    right: 3%;
    bottom: -18%;
    color: rgba(213, 176, 106, .025);
    font-family: Georgia, serif;
    font-size: 25rem;
    font-weight: 800;
    letter-spacing: -.18em;
    line-height: 1;
    user-select: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.45fr .72fr .72fr;
    gap: 48px;
}

.footer-brand-column {
    max-width: 520px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
}

.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 9px 20px rgba(0, 0, 0, .52));
}

.footer-brand span {
    display: grid;
}

.footer-brand strong {
    color: #fff8ef;
    font-family: Georgia, serif;
    font-size: 1.24rem;
    font-weight: 500;
}

.footer-grid h4 {
    margin: 5px 0 16px;
    color: var(--gold-bright);
    font-family: Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
    color: var(--muted);
    line-height: 1.75;
}

.footer-grid p {
    margin: 0;
}

.footer-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid li a {
    transition: color var(--transition), padding var(--transition);
}

.footer-grid li a:hover {
    padding-left: 4px;
    color: var(--gold-bright);
}

.footer-discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--gold) !important;
    font-size: .86rem;
    font-weight: 850;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .055);
    color: var(--muted-2);
    font-size: .82rem;
}

.footer-motto {
    color: var(--gold-dim);
    font-family: Georgia, serif;
    font-style: italic;
}

/* Reveal animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1180px) {
    :root { --header-height: 86px; }

    .brand { min-width: auto; }
    .brand-copy small { display: none; }
    .main-nav a { padding-inline: 10px; }
    .header-actions .btn-icon { display: none; }

    .hero-home {
        grid-template-columns: minmax(0, 1fr) 390px;
        min-height: 620px;
    }

    .hero-content {
        padding: 56px 26px 56px 54px;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 6.4vw, 5.6rem);
    }

    .feature-band,
    .stats-grid,
    .donation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .downloads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .site-header {
        backdrop-filter: blur(22px);
    }

    .header-inner {
        min-height: 82px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
        align-items: stretch;
        padding: 16px;
        border: 1px solid rgba(213, 176, 106, .18);
        border-radius: 18px;
        background: rgba(10, 6, 9, .98);
        box-shadow: var(--shadow);
    }

    .nav-panel.is-open {
        display: grid;
        gap: 14px;
        animation: navReveal 180ms ease both;
    }

    @keyframes navReveal {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .main-nav a {
        justify-content: flex-start;
        padding-inline: 15px;
        border-radius: 11px;
        background: rgba(255, 255, 255, .018);
    }

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

    .main-nav a.active {
        color: #fff;
        background: rgba(159, 31, 45, .13);
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-actions form,
    .header-actions .primary-btn,
    .header-actions .ghost-btn {
        width: 100%;
    }

    .hero-home {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 62px 54px 26px;
    }

    .hero-visual {
        min-height: 460px;
    }

    .arcane-halo--outer { width: 440px; }
    .arcane-halo--middle { width: 350px; }
    .arcane-halo--inner { width: 270px; }

    .home-grid,
    .content-grid,
    .account-profile-layout {
        grid-template-columns: 1fr;
    }

    .home-side-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-grid--main,
    .account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-cta {
        grid-template-columns: 80px 1fr;
    }

    .portal-cta__actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 26px), var(--shell));
    }

    .page-shell {
        padding-top: 18px;
    }

    .brand-mark {
        width: 57px;
        height: 57px;
    }

    .brand-mark--image {
        width: 47px;
        height: 47px;
    }

    .brand-copy strong {
        font-size: .96rem;
    }

    .brand-copy em {
        font-size: .61rem;
    }

    .nav-panel {
        right: 13px;
        left: 13px;
    }

    .hero {
        border-radius: 24px;
    }

    .hero::after {
        inset: 10px;
        border-radius: 18px;
    }

    .hero-content {
        padding: 46px 25px 20px;
    }

    .hero h1 {
        margin-top: 17px;
        font-size: clamp(3.2rem, 17vw, 5rem);
    }

    .hero-lead {
        font-size: .98rem;
        line-height: 1.75;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .primary-btn,
    .hero-actions .ghost-btn,
    .hero-actions .text-btn {
        width: 100%;
    }

    .hero-pillars {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .hero-pillars > div,
    .hero-pillars > div + div {
        padding: 15px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(213, 176, 106, .09);
    }

    .hero-visual {
        min-height: 390px;
    }

    .arcane-halo--outer { width: 345px; }
    .arcane-halo--middle { width: 285px; }
    .arcane-halo--inner { width: 225px; }

    .hero-emblem {
        width: 215px;
        height: 215px;
    }

    .hero-emblem strong {
        font-size: 6rem;
    }

    .hero-crest {
        width: 78px;
        height: 78px;
        bottom: 8%;
    }

    .feature-band,
    .stats-grid,
    .donation-grid,
    .downloads-grid,
    .guild-ranking-grid,
    .account-grid,
    .account-grid--main,
    .home-side-col,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .section-intro {
        display: grid;
        margin-top: 56px;
    }

    .section-intro p {
        text-align: left;
    }

    .section-head,
    .hero-panel__head {
        align-items: center;
    }

    .home-main-col .news-card--rich {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 21px;
    }

    .news-index {
        font-size: 2rem;
    }

    .guild-entry {
        grid-template-columns: 42px 1fr;
    }

    .guild-meta {
        grid-column: 2;
        display: flex;
        text-align: left;
    }

    .portal-cta {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .portal-cta__mark {
        display: none;
    }

    .portal-cta__actions {
        grid-column: 1;
        justify-content: stretch;
    }

    .portal-cta__actions a {
        width: 100%;
    }

    .page-hero {
        padding: 34px 25px;
        border-radius: 24px;
    }

    .page-hero::before {
        right: -5%;
        font-size: 10rem;
    }

    .tab-bar {
        display: flex;
        width: 100%;
        border-radius: 16px;
    }

    .tab-bar a {
        flex: 1 1 auto;
        text-align: center;
    }

    .user-summary-card,
    .profile-info-card__top,
    .guild-card {
        grid-template-columns: 1fr;
    }

    .user-summary-card__media,
    .profile-info-card__top {
        justify-items: start;
    }

    .donation-methods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        gap: 34px;
    }

    .footer-bottom {
        display: grid;
    }
}

@media (max-width: 460px) {
    .brand-copy {
        display: none;
    }

    .main-nav,
    .header-actions {
        grid-template-columns: 1fr;
    }

    .hero-kickers {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content {
        padding-inline: 20px;
    }

    .hero h1 {
        font-size: clamp(2.9rem, 18vw, 4.35rem);
    }

    .hero-visual {
        min-height: 340px;
    }

    .arcane-halo--outer { width: 300px; }
    .arcane-halo--middle { width: 245px; }
    .arcane-halo--inner { width: 195px; }
    .hero-emblem { width: 185px; height: 185px; }
    .hero-emblem strong { font-size: 5.1rem; }
    .hero-crest { width: 65px; height: 65px; }

    .section-head {
        display: grid;
    }

    .home-main-col .news-card--rich {
        grid-template-columns: 1fr;
    }

    .news-index {
        display: none;
    }

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

    .mini-download em {
        display: none;
    }

    .donation-methods-grid,
    .donation-methods-mini {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 760px) {
    .donation-contact-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .donation-contact-card .primary-btn {
        width: 100%;
    }

    .donate-panel {
        padding-inline: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
