/* Hyperion2 portal redesign — 2026-08-05 */
:root {
    --portal-bg: #050711;
    --portal-panel: rgba(10, 15, 29, .94);
    --portal-panel-soft: rgba(15, 22, 42, .86);
    --portal-line: rgba(111, 151, 255, .19);
    --portal-line-strong: rgba(107, 205, 255, .44);
    --portal-blue: #54c9ff;
    --portal-violet: #9a7cff;
    --portal-gold: #f2cf78;
    --portal-text: #eef5ff;
    --portal-muted: #99a9c4;
    --portal-green: #5ff0ad;
    --portal-danger: #ff6c84;
    --portal-radius: 12px;
    --portal-shadow: 0 24px 70px rgba(0, 0, 0, .46);
}

html {
    scroll-behavior: smooth;
}

body.portal-theme {
    min-height: 100vh;
    color: var(--portal-text);
    background:
        radial-gradient(circle at 50% -10%, rgba(72, 92, 190, .18), transparent 38rem),
        linear-gradient(rgba(4, 6, 13, .91), rgba(4, 6, 13, .97)),
        url("../img/backgrounds/hero-banner-no-text.png") center top / 1920px auto fixed no-repeat,
        var(--portal-bg);
}

body.portal-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(110, 150, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 150, 255, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.portal-theme .site-header {
    min-height: 78px;
    position: sticky;
    top: 0;
    z-index: 100;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    padding: 10px max(24px, calc((100vw - 1540px) / 2));
    border-bottom: 1px solid rgba(111, 151, 255, .16);
    background: linear-gradient(180deg, rgba(5, 8, 18, .97), rgba(5, 8, 18, .91));
    box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.portal-theme .site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--portal-blue), var(--portal-gold), transparent);
    opacity: .46;
}

.portal-theme .site-header .brand-sigil {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
}

.portal-theme .site-header .brand-copy strong {
    color: #f7dda0;
    font-size: 1.55rem;
    text-shadow: 0 0 20px rgba(242, 207, 120, .24);
}

.portal-theme .site-header .brand-copy small {
    color: #8ca2c5;
    font-size: .66rem;
    letter-spacing: .16em;
}

.portal-theme .site-nav {
    justify-content: center;
    gap: 2px;
}

.portal-theme .site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #aebbd2;
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .02em;
}

.portal-theme .site-nav a:hover,
.portal-theme .site-nav a.is-active {
    color: #fff;
    border-color: rgba(84, 201, 255, .21);
    background: linear-gradient(180deg, rgba(84, 201, 255, .12), rgba(154, 124, 255, .06));
    box-shadow: inset 0 -2px 0 rgba(84, 201, 255, .58), 0 0 22px rgba(84, 201, 255, .08);
}

.portal-theme .header-actions {
    gap: 8px;
}

.portal-theme .lang-select,
.portal-theme .header-actions .btn {
    min-height: 40px;
    border-radius: 7px;
}

.portal-theme .header-actions .btn {
    min-width: 122px;
    padding: 0 14px;
    font-size: .82rem;
}

.portal-theme main {
    min-height: 60vh;
}

.portal-home {
    width: min(1540px, calc(100% - 36px));
    margin: 22px auto 0;
}

.portal-hero {
    min-height: 570px;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(370px, .65fr);
    align-items: center;
    gap: 44px;
    overflow: hidden;
    padding: clamp(46px, 6vw, 90px);
    border: 1px solid rgba(111, 151, 255, .22);
    border-radius: 16px 16px 5px 5px;
    background:
        radial-gradient(circle at 63% 36%, rgba(128, 88, 255, .18), transparent 27%),
        linear-gradient(90deg, rgba(5, 8, 18, .97) 0%, rgba(6, 9, 20, .84) 54%, rgba(5, 7, 15, .7) 100%),
        var(--portal-hero) center / cover;
    box-shadow: var(--portal-shadow), inset 0 0 90px rgba(79, 111, 228, .08);
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(110deg, transparent 0 65%, rgba(84, 201, 255, .08) 65.2%, transparent 65.5%),
        linear-gradient(to top, rgba(3, 5, 12, .84), transparent 38%);
    pointer-events: none;
}

.portal-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 560px;
    height: 560px;
    z-index: -1;
    border: 1px solid rgba(84, 201, 255, .19);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(154, 124, 255, .035), 0 0 0 90px rgba(84, 201, 255, .025);
}

.portal-hero .particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: .52;
}

.portal-hero-copy {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.portal-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #c8d7ef;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.portal-eyebrow i {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--portal-blue), var(--portal-gold));
    box-shadow: 0 0 12px var(--portal-blue);
}

.portal-logo {
    width: min(360px, 70%);
    max-height: 118px;
    margin: -8px 0 16px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 24px rgba(70, 154, 255, .23));
}

.portal-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #f7f2e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 5.35rem);
    line-height: .98;
    letter-spacing: -.035em;
    text-wrap: balance;
    text-shadow: 0 16px 34px rgba(0, 0, 0, .58);
}

.portal-hero-copy > p {
    max-width: 700px;
    margin: 24px 0 0;
    color: #b7c4d9;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.portal-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #fff;
    font-size: .86rem;
    font-weight: 950;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.portal-button:hover {
    transform: translateY(-2px);
    color: #fff;
}

.portal-button-primary {
    color: #06101d;
    border-color: #dcecff;
    background: linear-gradient(110deg, #f6d98f, #fff0b8 42%, #66d5ff 100%);
    box-shadow: 0 12px 28px rgba(84, 201, 255, .18), inset 0 1px 0 #fff;
}

.portal-button-primary:hover {
    color: #06101d;
    box-shadow: 0 16px 36px rgba(84, 201, 255, .32), inset 0 1px 0 #fff;
}

.portal-button-secondary {
    border-color: rgba(84, 201, 255, .4);
    background: linear-gradient(180deg, rgba(36, 70, 122, .94), rgba(19, 35, 67, .96));
    box-shadow: inset 0 0 20px rgba(84, 201, 255, .07);
}

.portal-button-ghost {
    border-color: rgba(164, 179, 211, .2);
    background: rgba(7, 11, 23, .7);
}

.portal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.portal-pills span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(111, 151, 255, .17);
    border-radius: 999px;
    color: #aebbd2;
    background: rgba(4, 8, 18, .58);
    font-size: .78rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.portal-pills b {
    color: var(--portal-gold);
    font-size: .9rem;
}

.portal-character {
    position: relative;
    align-self: stretch;
    display: grid;
    align-content: end;
    justify-items: center;
    padding-top: 34px;
}

.portal-character > img {
    width: min(100%, 430px);
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(131, 188, 255, .3);
    border-radius: 50% 50% 12px 12px;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(.92) contrast(1.06);
    box-shadow: 0 32px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(94, 92, 255, .16);
}

.portal-character-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 205, 255, .2), rgba(133, 86, 255, .08) 45%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(12px);
}

.portal-character > div {
    width: min(82%, 330px);
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    margin-top: -44px;
    padding: 14px 20px;
    border: 1px solid rgba(242, 207, 120, .35);
    border-radius: 8px;
    background: rgba(6, 10, 22, .91);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
    backdrop-filter: blur(12px);
}

.portal-character small {
    color: var(--portal-blue);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.portal-character strong {
    margin-top: 2px;
    color: #f6dda1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
}

.portal-character div span {
    color: #9daac2;
    font-size: .76rem;
    font-weight: 800;
}

.portal-status {
    min-height: 84px;
    display: grid;
    grid-template-columns: 1.1fr repeat(4, 1fr);
    position: relative;
    z-index: 3;
    margin: -2px 18px 0;
    overflow: hidden;
    border: 1px solid rgba(111, 151, 255, .2);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(15, 23, 44, .98), rgba(8, 13, 27, .98));
    box-shadow: 0 24px 54px rgba(0, 0, 0, .34);
}

.portal-status > div,
.portal-status > a {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px 23px;
    border-right: 1px solid rgba(111, 151, 255, .13);
}

.portal-status > :last-child {
    border-right: 0;
}

.portal-status span {
    color: #7f91ad;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-status strong {
    overflow: hidden;
    color: #edf5ff;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-status-online {
    grid-template-columns: auto 1fr;
    column-gap: 10px !important;
}

.portal-status-online i {
    grid-row: 1 / 3;
    align-self: center;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--portal-green);
    box-shadow: 0 0 0 5px rgba(95, 240, 173, .08), 0 0 20px rgba(95, 240, 173, .7);
}

.portal-status-online strong {
    color: #b9ffdb;
}

.portal-status > a:hover {
    background: rgba(84, 201, 255, .07);
}

.portal-dashboard {
    display: grid;
    grid-template-columns: 278px minmax(0, 1fr) 306px;
    align-items: start;
    gap: 18px;
    margin-top: 26px;
}

.portal-sidebar,
.portal-content {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.portal-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius);
    background:
        radial-gradient(circle at 0 0, rgba(84, 201, 255, .07), transparent 38%),
        linear-gradient(180deg, var(--portal-panel-soft), var(--portal-panel));
    box-shadow: 0 18px 46px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .015);
}

.portal-panel > header {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 17px;
    border-bottom: 1px solid rgba(111, 151, 255, .15);
    background: linear-gradient(90deg, rgba(84, 201, 255, .08), rgba(154, 124, 255, .035), transparent);
}

.portal-panel > header > span {
    color: #eaf2ff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.portal-panel > header > a {
    color: var(--portal-blue);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.portal-panel-rune {
    min-width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242, 207, 120, .32);
    border-radius: 50%;
    color: var(--portal-gold);
    background: rgba(242, 207, 120, .06);
    font-size: .63rem;
    font-style: normal;
    font-weight: 900;
}

.portal-login {
    display: grid;
    gap: 13px;
    padding: 18px 17px 14px;
}

.portal-login label {
    display: grid;
    gap: 6px;
}

.portal-login label span {
    color: #8fa0bc;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.portal-login input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(111, 151, 255, .2);
    border-radius: 6px;
    outline: 0;
    color: #edf5ff;
    background: rgba(3, 7, 16, .72);
}

.portal-login input:focus {
    border-color: var(--portal-line-strong);
    box-shadow: 0 0 0 3px rgba(84, 201, 255, .08);
}

.portal-login .portal-button {
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
}

.portal-account-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 17px 18px;
}

.portal-account-links a {
    color: #8fa3c2;
    font-size: .73rem;
    font-weight: 800;
}

.portal-account-links a:hover {
    color: var(--portal-blue);
}

.portal-account-welcome {
    display: grid;
    gap: 8px;
    padding: 20px 17px;
}

.portal-account-welcome small {
    color: var(--portal-blue);
    font-weight: 800;
}

.portal-account-welcome strong {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.portal-quick-panel ol,
.portal-ranking-panel ol {
    margin: 0;
    padding: 9px 15px 15px;
    list-style: none;
}

.portal-quick-panel li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    align-items: center;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(111, 151, 255, .1);
}

.portal-quick-panel li:last-child {
    border-bottom: 0;
}

.portal-quick-panel li > b {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(84, 201, 255, .28);
    border-radius: 7px;
    color: var(--portal-blue);
    background: rgba(84, 201, 255, .06);
    font-size: .66rem;
}

.portal-quick-panel li span {
    display: grid;
    gap: 3px;
}

.portal-quick-panel strong {
    color: #dce6f6;
    font-size: .82rem;
}

.portal-quick-panel small {
    color: #7789a6;
    font-size: .68rem;
}

.portal-links-panel nav {
    display: grid;
    padding: 10px 15px 15px;
}

.portal-links-panel nav a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 2px;
    border-bottom: 1px solid rgba(111, 151, 255, .1);
    color: #a9b6cc;
    font-size: .79rem;
    font-weight: 800;
}

.portal-links-panel nav a:last-child {
    border-bottom: 0;
}

.portal-links-panel nav a:hover,
.portal-links-panel nav a b {
    color: var(--portal-blue);
}

.portal-section-header {
    min-height: 72px !important;
    padding: 13px 20px !important;
}

.portal-section-header > div {
    display: grid;
    gap: 2px;
}

.portal-section-header small {
    color: var(--portal-blue);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.portal-section-header h2 {
    margin: 0;
    color: #f1f5fc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.portal-news-list {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr);
    gap: 14px;
    padding: 18px;
}

.portal-news-list article {
    min-width: 0;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
    border: 1px solid rgba(111, 151, 255, .13);
    border-radius: 8px;
    background: rgba(3, 7, 16, .42);
}

.portal-news-list article.is-featured {
    grid-row: span 2;
    grid-template-columns: 1fr;
}

.portal-news-image {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    border-radius: 6px;
}

.portal-news-list .is-featured .portal-news-image {
    min-height: 210px;
}

.portal-news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 6, 13, .75), transparent 62%);
}

.portal-news-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .35s ease;
}

.portal-news-list article:hover .portal-news-image img {
    transform: scale(1.045);
}

.portal-news-image span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    padding: 4px 8px;
    border: 1px solid rgba(242, 207, 120, .3);
    border-radius: 999px;
    color: #fff1ba;
    background: rgba(5, 8, 18, .83);
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-news-list article > div:last-child {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
}

.portal-news-list article small {
    color: #7486a2;
    font-size: .68rem;
    font-weight: 800;
}

.portal-news-list h3 {
    margin: 0;
    color: #edf4ff;
    font-size: .97rem;
    line-height: 1.25;
}

.portal-news-list .is-featured h3 {
    font-size: 1.28rem;
}

.portal-news-list h3 a {
    color: inherit;
}

.portal-news-list h3 a:hover {
    color: var(--portal-blue);
}

.portal-news-list p {
    margin: 0;
    color: #8798b3;
    font-size: .76rem;
    line-height: 1.55;
}

.portal-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

.portal-feature-grid article {
    min-height: 110px;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border: 1px solid rgba(111, 151, 255, .13);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(84, 201, 255, .045), rgba(154, 124, 255, .025));
}

.portal-feature-grid img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 7px 14px rgba(84, 201, 255, .13));
}

.portal-feature-grid strong {
    color: #edf4ff;
    font-size: .9rem;
}

.portal-feature-grid p {
    margin: 5px 0 0;
    color: #8091ad;
    font-size: .73rem;
    line-height: 1.45;
}

.portal-artemisia {
    min-height: 350px;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 34px 40px;
    border: 1px solid rgba(154, 124, 255, .26);
    border-radius: var(--portal-radius);
    background:
        radial-gradient(circle at 78% 45%, rgba(84, 201, 255, .16), transparent 31%),
        linear-gradient(105deg, rgba(11, 15, 32, .98), rgba(24, 17, 48, .9));
    box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.portal-artemisia::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 64%, rgba(84, 201, 255, .09) 64.3%, transparent 64.6%);
}

.portal-artemisia > div {
    position: relative;
    z-index: 2;
}

.portal-artemisia small {
    color: var(--portal-blue);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.portal-artemisia h2 {
    max-width: 540px;
    margin: 8px 0 12px;
    color: #f8eddb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1.02;
}

.portal-artemisia p {
    max-width: 530px;
    margin: 0 0 22px;
    color: #9eadc4;
    line-height: 1.65;
}

.portal-artemisia > img {
    width: 100%;
    max-height: 330px;
    align-self: end;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .46));
}

.portal-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    padding: 18px;
}

.portal-system-grid a {
    min-width: 0;
    min-height: 76px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(111, 151, 255, .11);
    border-radius: 7px;
    color: #aebbd0;
    background: rgba(3, 7, 16, .4);
    font-size: .72rem;
    font-weight: 850;
}

.portal-system-grid a:hover {
    color: #fff;
    border-color: rgba(84, 201, 255, .3);
    background: rgba(84, 201, 255, .07);
    transform: translateY(-2px);
}

.portal-system-grid img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.portal-ranking-panel ol {
    padding-top: 8px;
}

.portal-ranking-panel li {
    min-width: 0;
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 12px 1px;
    border-bottom: 1px solid rgba(111, 151, 255, .1);
}

.portal-ranking-panel li:last-child {
    border-bottom: 0;
}

.portal-ranking-panel li > b {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(111, 151, 255, .17);
    border-radius: 50%;
    color: #8291ab;
    background: rgba(111, 151, 255, .05);
    font-size: .66rem;
}

.portal-ranking-panel li > b.rank-1 {
    color: #352202;
    border-color: #ffe7a6;
    background: linear-gradient(135deg, #fff0a9, #bf7b21);
    box-shadow: 0 0 16px rgba(242, 207, 120, .22);
}

.portal-ranking-panel li > b.rank-2 {
    color: #182034;
    background: linear-gradient(135deg, #edf5ff, #8795b1);
}

.portal-ranking-panel li > b.rank-3 {
    color: #291307;
    background: linear-gradient(135deg, #ffc38e, #9c5628);
}

.portal-ranking-panel li > span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.portal-ranking-panel li strong {
    overflow: hidden;
    color: #dce6f5;
    font-size: .79rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-ranking-panel li small {
    overflow: hidden;
    color: #71839f;
    font-size: .63rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-ranking-panel li em {
    min-width: 48px;
    padding: 5px 7px;
    border: 1px solid rgba(84, 201, 255, .2);
    border-radius: 5px;
    color: #b9eaff;
    background: rgba(84, 201, 255, .06);
    font-size: .65rem;
    font-style: normal;
    font-weight: 900;
    text-align: center;
}

.portal-ranking-panel li.portal-empty,
.portal-empty {
    display: block;
    padding: 16px;
    color: #7f90aa;
    font-size: .74rem;
    line-height: 1.5;
}

.portal-events-panel > div {
    display: grid;
    padding: 10px 15px 15px;
}

.portal-events-panel article {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px 2px;
    border-bottom: 1px solid rgba(111, 151, 255, .1);
}

.portal-events-panel article:last-child {
    border-bottom: 0;
}

.portal-events-panel article i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--portal-violet);
    box-shadow: 0 0 14px var(--portal-violet);
}

.portal-events-panel article span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.portal-events-panel article strong {
    overflow: hidden;
    color: #dce6f6;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-events-panel article small {
    color: #7789a6;
    font-size: .65rem;
}

.portal-discord-card {
    min-height: 150px;
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    gap: 5px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(154, 124, 255, .31);
    border-radius: var(--portal-radius);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(84, 201, 255, .24), transparent 38%),
        linear-gradient(135deg, rgba(54, 42, 126, .94), rgba(21, 25, 65, .96));
    box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
}

.portal-discord-card::after {
    content: "H";
    position: absolute;
    right: -5px;
    bottom: -34px;
    z-index: -1;
    color: rgba(255, 255, 255, .045);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 9rem;
    font-weight: 900;
}

.portal-discord-card small {
    color: #b9c5ff;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-discord-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.portal-discord-card span {
    color: #aeb9e1;
    font-size: .72rem;
    font-weight: 800;
}

.portal-download-strip {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 22px 0 44px;
    padding: 36px clamp(24px, 5vw, 68px);
    border: 1px solid rgba(111, 151, 255, .2);
    border-radius: var(--portal-radius);
    background:
        radial-gradient(circle at 88% 50%, rgba(84, 201, 255, .14), transparent 32%),
        linear-gradient(100deg, rgba(12, 17, 34, .98), rgba(23, 18, 48, .94)),
        url("../img/backgrounds/homepage-background.png") center / cover;
    box-shadow: var(--portal-shadow);
}

.portal-download-strip small {
    color: var(--portal-blue);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.portal-download-strip h2 {
    margin: 6px 0;
    color: #f5eedf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.portal-download-strip p {
    margin: 0;
    color: #98a8bf;
}

.portal-download-strip .portal-button {
    min-width: 220px;
}

/* Keep the entire existing CMS visually coherent beyond the new homepage. */
.portal-theme .page-hero,
.portal-theme .inner-hero,
.portal-theme .download-hero {
    border-bottom: 1px solid rgba(111, 151, 255, .18);
    background-color: #070b17;
}

.portal-theme .section,
.portal-theme .support-layout {
    width: min(1320px, calc(100% - 36px));
}

.portal-theme .panel-card,
.portal-theme .form-card,
.portal-theme .news-card,
.portal-theme .system-card,
.portal-theme .character-card,
.portal-theme .server-event-card,
.portal-theme .campaign-card,
.portal-theme .support-card,
.portal-theme .ranking-wrap,
.portal-theme .podium-card {
    border-color: var(--portal-line);
    border-radius: var(--portal-radius);
    background:
        radial-gradient(circle at 0 0, rgba(84, 201, 255, .07), transparent 34%),
        linear-gradient(180deg, rgba(15, 22, 42, .93), rgba(7, 11, 23, .95));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .27);
}

.portal-theme .btn {
    border-radius: 7px;
}

.portal-theme .auth-shell {
    min-height: calc(100vh - 78px);
    background:
        linear-gradient(90deg, rgba(4, 6, 14, .92), rgba(8, 10, 24, .78)),
        url("../img/backgrounds/hero-banner-no-text.png") center / cover;
}

.portal-theme .auth-card {
    border-color: rgba(84, 201, 255, .25);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .58), 0 0 70px rgba(84, 201, 255, .08);
}

.portal-theme .footer {
    width: min(1540px, calc(100% - 36px));
    margin: 0 auto 22px;
    border: 1px solid rgba(111, 151, 255, .15);
    border-radius: 12px;
    background: rgba(5, 8, 17, .9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.portal-theme .footer .brand-copy strong {
    color: #f3d88f;
}

@media (max-width: 1320px) {
    .portal-theme .site-header {
        gap: 12px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .portal-theme .site-nav a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: .77rem;
    }

    .portal-theme .header-actions .btn {
        min-width: 106px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .portal-dashboard {
        grid-template-columns: 250px minmax(0, 1fr) 278px;
    }

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

@media (max-width: 1120px) {
    .portal-theme .site-header {
        grid-template-columns: auto auto;
    }

    .portal-theme .nav-toggle {
        display: grid;
        justify-self: end;
    }

    .portal-theme .site-nav,
    .portal-theme .header-actions {
        display: none;
        grid-column: 1 / -1;
    }

    .portal-theme .site-nav.is-open {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .portal-theme .header-actions.is-open {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-hero {
        min-height: 520px;
        grid-template-columns: minmax(0, 1fr) 310px;
        padding: 48px;
    }

    .portal-dashboard {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .portal-sidebar-right {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-discord-card {
        grid-column: 1 / -1;
    }

    .portal-status {
        grid-template-columns: repeat(3, 1fr);
    }

    .portal-status > :nth-child(4),
    .portal-status > :nth-child(5) {
        display: none;
    }

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

    .portal-news-list article.is-featured {
        grid-row: auto;
    }
}

@media (max-width: 820px) {
    .portal-home {
        width: min(100% - 20px, 720px);
        margin-top: 10px;
    }

    .portal-hero {
        min-height: 570px;
        grid-template-columns: 1fr;
        padding: 42px 28px;
        text-align: center;
    }

    .portal-hero-copy {
        margin: auto;
    }

    .portal-eyebrow,
    .portal-actions,
    .portal-pills {
        justify-content: center;
    }

    .portal-logo {
        object-position: center;
    }

    .portal-character {
        display: none;
    }

    .portal-status {
        grid-template-columns: 1fr;
        margin-right: 8px;
        margin-left: 8px;
    }

    .portal-status > div,
    .portal-status > a {
        border-right: 0;
        border-bottom: 1px solid rgba(111, 151, 255, .11);
    }

    .portal-status > :nth-child(2),
    .portal-status > :nth-child(3) {
        display: none;
    }

    .portal-dashboard {
        grid-template-columns: 1fr;
    }

    .portal-sidebar-left,
    .portal-content,
    .portal-sidebar-right {
        grid-column: 1;
    }

    .portal-content {
        grid-row: 1;
    }

    .portal-sidebar-left {
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-account-panel,
    .portal-links-panel {
        grid-column: 1 / -1;
    }

    .portal-sidebar-right {
        grid-template-columns: 1fr;
    }

    .portal-discord-card {
        grid-column: auto;
    }

    .portal-artemisia {
        min-height: 320px;
        grid-template-columns: 1fr;
        padding: 30px 25px;
        text-align: center;
    }

    .portal-artemisia > img {
        display: none;
    }

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

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

    .portal-download-strip {
        display: grid;
        text-align: center;
    }

    .portal-download-strip .portal-button {
        width: min(100%, 320px);
        justify-self: center;
    }

    .portal-theme .footer {
        width: calc(100% - 20px);
    }
}

@media (max-width: 520px) {
    .portal-theme .site-header {
        min-height: 68px;
        padding: 9px 13px;
    }

    .portal-theme .site-header .brand-sigil {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    .portal-theme .site-header .brand-copy strong {
        font-size: 1.22rem;
    }

    .portal-theme .site-nav.is-open,
    .portal-theme .header-actions.is-open {
        grid-template-columns: 1fr;
    }

    .portal-hero {
        min-height: 560px;
        padding: 36px 18px;
    }

    .portal-hero h1 {
        font-size: 2.55rem;
    }

    .portal-hero-copy > p {
        font-size: .94rem;
    }

    .portal-actions .portal-button {
        width: 100%;
    }

    .portal-pills span {
        flex: 1 1 46%;
        justify-content: center;
    }

    .portal-news-list article,
    .portal-news-list article.is-featured {
        grid-template-columns: 1fr;
    }

    .portal-news-list .portal-news-image,
    .portal-news-list .is-featured .portal-news-image {
        min-height: 170px;
    }

    .portal-sidebar-left {
        grid-template-columns: 1fr;
    }

    .portal-quick-panel,
    .portal-account-panel,
    .portal-links-panel {
        grid-column: 1;
    }

    .portal-system-grid {
        grid-template-columns: 1fr;
    }

    .portal-download-strip {
        margin-bottom: 18px;
        padding: 28px 18px;
    }
}

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

/* Donation packages */
.donation-page {
    padding-bottom: 54px;
    color: var(--portal-text);
}

.donation-hero {
    width: min(1460px, calc(100% - 40px));
    min-height: 520px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    align-items: center;
    gap: clamp(44px, 7vw, 110px);
    margin: 26px auto 0;
    padding: clamp(52px, 7vw, 108px);
    overflow: hidden;
    border: 1px solid rgba(111, 151, 255, .19);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(5, 8, 18, .98) 3%, rgba(6, 10, 23, .86) 54%, rgba(15, 16, 42, .74)),
        url("../img/backgrounds/hero-banner-no-text.png") 52% center / cover no-repeat;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .035);
}

.donation-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(84, 201, 255, .09), transparent 34%),
        linear-gradient(0deg, rgba(154, 124, 255, .08), transparent 48%);
}

.donation-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: -1px;
    left: 7%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--portal-blue), var(--portal-gold), transparent);
    opacity: .82;
}

.donation-hero-glow {
    width: 440px;
    height: 440px;
    position: absolute;
    top: -190px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(154, 124, 255, .16);
    filter: blur(90px);
}

.donation-hero-copy,
.donation-account-card {
    position: relative;
    z-index: 1;
}

.donation-hero h1 {
    max-width: 760px;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(3.35rem, 6vw, 6.35rem);
    line-height: .93;
    letter-spacing: -.055em;
    text-shadow: 0 16px 55px rgba(0, 0, 0, .56);
}

.donation-hero h1 span {
    color: var(--portal-gold);
    text-shadow: 0 0 36px rgba(242, 207, 120, .2);
}

.donation-hero-copy > p:not(.portal-eyebrow) {
    max-width: 690px;
    margin: 0;
    color: #aebbd2;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.75;
}

.donation-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.donation-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 24px;
    margin-top: 28px;
    color: #8fa0ba;
    font-size: .79rem;
    font-weight: 750;
}

.donation-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.donation-trust-row i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--portal-green);
    box-shadow: 0 0 12px rgba(95, 240, 173, .72);
}

.donation-account-card {
    padding: 28px;
    border: 1px solid rgba(242, 207, 120, .28);
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(19, 27, 50, .95), rgba(8, 12, 25, .92));
    box-shadow: 0 25px 70px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .04);
}

.donation-account-label {
    display: block;
    margin-bottom: 9px;
    color: #8799b8;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.donation-account-card > strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    overflow-wrap: anywhere;
}

.donation-account-card > p {
    margin: 15px 0;
    color: #96a7c2;
    font-size: .88rem;
    line-height: 1.65;
}

.donation-account-card > a:not(.portal-button) {
    color: var(--portal-blue);
    font-size: .82rem;
    font-weight: 850;
}

.donation-switch-form button {
    padding: 0;
    border: 0;
    color: var(--portal-blue);
    background: none;
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    cursor: pointer;
}

.donation-balance,
.donation-delivery-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(111, 151, 255, .13);
    border-bottom: 1px solid rgba(111, 151, 255, .13);
}

.donation-balance span,
.donation-delivery-target span {
    color: #8e9db6;
    font-size: .8rem;
}

.donation-balance b,
.donation-delivery-target b {
    color: var(--portal-gold);
}

.donation-section,
.donation-process,
.donation-disclaimer {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
}

.donation-section {
    padding: 92px 0 18px;
}

.donation-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 32px;
}

.donation-section-heading h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -.035em;
}

.donation-section-heading > p {
    max-width: 560px;
    margin: 0;
    color: #899bb8;
    line-height: 1.7;
}

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

.donation-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(111, 151, 255, .17);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(15, 22, 42, .97), rgba(7, 11, 23, .97));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .03);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.donation-package-card::before {
    content: "";
    position: absolute;
    top: -85px;
    right: -65px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(84, 201, 255, .09);
    filter: blur(35px);
}

.donation-package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(84, 201, 255, .42);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .43), 0 0 34px rgba(84, 201, 255, .08);
}

.donation-package-card.is-featured {
    border-color: rgba(242, 207, 120, .4);
    background: linear-gradient(155deg, rgba(30, 28, 50, .98), rgba(10, 14, 29, .98));
}

.donation-package-card.is-featured::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--portal-gold), transparent);
}

.donation-card-topline,
.donation-package-card h3,
.donation-card-description,
.donation-coin-total,
.donation-package-details,
.donation-price,
.donation-order-form,
.donation-card-login,
.donation-card-notice {
    position: relative;
    z-index: 1;
}

.donation-card-topline {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7f90ad;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.donation-card-topline b {
    padding: 5px 8px;
    border: 1px solid rgba(242, 207, 120, .3);
    border-radius: 999px;
    color: #f8d986;
    background: rgba(242, 207, 120, .08);
    font-size: .6rem;
    letter-spacing: .07em;
}

.donation-package-card h3 {
    margin: 20px 0 7px;
    color: #fff;
    font-size: 1.23rem;
}

.donation-card-description {
    min-height: 65px;
    margin: 0;
    color: #8fa0bc;
    font-size: .84rem;
    line-height: 1.55;
}

.donation-coin-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 25px 0 20px;
}

.donation-coin-total strong {
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 3.65rem);
    line-height: .9;
    letter-spacing: -.06em;
}

.donation-coin-total span {
    color: var(--portal-blue);
    font-size: .95rem;
    font-weight: 950;
}

.donation-euro-price {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 25px 0 20px;
}

.donation-euro-price strong {
    color: #fff;
    font-size: clamp(2.75rem, 4vw, 4.15rem);
    line-height: .9;
    letter-spacing: -.06em;
}

.donation-euro-price span {
    color: var(--portal-gold);
    font-size: .95rem;
    font-weight: 950;
}

.donation-package-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 13px 0;
    border-top: 1px solid rgba(111, 151, 255, .12);
    border-bottom: 1px solid rgba(111, 151, 255, .12);
}

.donation-package-details span {
    display: grid;
    gap: 4px;
}

.donation-package-details small,
.donation-price > span {
    color: #7f90a9;
    font-size: .68rem;
    font-weight: 800;
}

.donation-package-details b {
    color: #dbe8fb;
    font-size: .83rem;
}

.donation-vip-benefits {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.donation-vip-benefits li {
    position: relative;
    padding-left: 18px;
    color: #a9b9d1;
    font-size: .77rem;
    line-height: 1.45;
}

.donation-vip-benefits li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: .42em;
    left: 0;
    border-radius: 50%;
    background: var(--portal-green);
    box-shadow: 0 0 10px rgba(95, 240, 173, .5);
}

.donation-price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0;
}

.donation-price strong {
    color: var(--portal-gold);
    font-size: 1.3rem;
}

.donation-price small {
    font-size: .7rem;
}

.donation-order-form {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.donation-order-form label {
    display: grid;
    gap: 6px;
}

.donation-order-form label > span {
    color: #899ab5;
    font-size: .69rem;
    font-weight: 850;
}

.donation-order-form select,
.donation-order-form textarea {
    width: 100%;
    border: 1px solid rgba(111, 151, 255, .19);
    border-radius: 8px;
    color: #eaf2ff;
    background: rgba(3, 6, 14, .69);
    font: inherit;
    font-size: .78rem;
    outline: none;
}

.donation-order-form select {
    min-height: 43px;
    padding: 0 11px;
}

.donation-order-form textarea {
    min-height: 64px;
    resize: vertical;
    padding: 10px 11px;
}

.donation-order-form select:focus,
.donation-order-form textarea:focus {
    border-color: rgba(84, 201, 255, .55);
    box-shadow: 0 0 0 3px rgba(84, 201, 255, .08);
}

.donation-order-form .portal-button,
.donation-card-login,
.donation-card-contact {
    width: 100%;
    margin-top: 4px;
}

.donation-card-contact {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.donation-card-notice {
    margin-top: auto;
    padding: 12px;
    border: 1px solid rgba(242, 207, 120, .2);
    border-radius: 8px;
    color: #d7c69a;
    background: rgba(242, 207, 120, .055);
    font-size: .76rem;
    text-align: center;
}

.donation-process {
    margin-top: 88px;
    padding: 42px;
    border: 1px solid rgba(111, 151, 255, .15);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(13, 20, 39, .92), rgba(7, 11, 23, .95));
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}

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

.donation-step-grid article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(111, 151, 255, .1);
    border-radius: 10px;
    background: rgba(5, 9, 20, .5);
}

.donation-step-grid article > span {
    color: var(--portal-gold);
    font-size: .78rem;
    font-weight: 950;
}

.donation-step-grid h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1rem;
}

.donation-step-grid p {
    margin: 0;
    color: #8899b5;
    font-size: .8rem;
    line-height: 1.6;
}

.donation-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.donation-method-grid article {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(111, 151, 255, .13);
    border-radius: 11px;
    background: rgba(10, 15, 29, .78);
}

.donation-method-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(84, 201, 255, .26);
    border-radius: 10px;
    color: var(--portal-blue);
    background: rgba(84, 201, 255, .08);
    font-weight: 950;
}

.donation-method-grid h3 {
    margin: 2px 0 5px;
    color: #f3f7ff;
    font-size: .96rem;
}

.donation-method-grid p {
    margin: 0;
    color: #8d9db8;
    font-size: .8rem;
    line-height: 1.5;
}

.donation-method-grid small {
    display: block;
    margin-top: 9px;
    color: #6f819f;
    font-size: .7rem;
    line-height: 1.55;
}

.donation-method-state {
    padding: 5px 8px;
    border: 1px solid rgba(95, 240, 173, .22);
    border-radius: 999px;
    color: #8ce9bd;
    background: rgba(95, 240, 173, .06);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.donation-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(111, 151, 255, .14);
    border-radius: 12px;
    background: rgba(8, 12, 24, .75);
}

.donation-order-table {
    min-width: 990px;
}

.donation-payment-link {
    color: var(--portal-blue);
    font-size: .78rem;
    font-weight: 900;
}

.donation-empty-state {
    display: grid;
    gap: 6px;
    padding: 36px;
    border: 1px dashed rgba(111, 151, 255, .22);
    border-radius: 12px;
    color: #8e9fba;
    background: rgba(10, 15, 29, .65);
    text-align: center;
}

.donation-empty-state strong {
    color: #e9f1ff;
}

.donation-disclaimer {
    margin-top: 74px;
    padding: 25px 28px;
    border: 1px solid rgba(242, 207, 120, .16);
    border-radius: 12px;
    color: #899ab5;
    background: rgba(242, 207, 120, .035);
}

.donation-contact {
    width: min(1360px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    margin: 76px auto 0;
    padding: 42px;
    border: 1px solid rgba(242, 207, 120, .26);
    border-radius: 15px;
    background: linear-gradient(125deg, rgba(30, 27, 49, .94), rgba(8, 13, 28, .98));
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}

.donation-contact h2 {
    margin: 7px 0 11px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.donation-contact p:not(.portal-eyebrow) {
    max-width: 730px;
    margin: 0;
    color: #9aabc5;
    line-height: 1.7;
}

.donation-contact p strong,
.donation-contact-actions b {
    color: var(--portal-gold);
}

.donation-contact-actions {
    display: grid;
    gap: 13px;
    min-width: 255px;
    color: #a8b8d1;
    font-size: .85rem;
    text-align: center;
}

.donation-disclaimer strong {
    display: block;
    margin-bottom: 7px;
    color: #e8d7a9;
}

.donation-disclaimer p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.65;
}

.donation-disclaimer a {
    color: var(--portal-blue);
}

@media (max-width: 1180px) {
    .donation-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donation-card-description {
        min-height: 42px;
    }
}

@media (max-width: 900px) {
    .donation-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 62px 34px;
    }

    .donation-account-card {
        max-width: 520px;
    }

    .donation-section-heading {
        display: grid;
        gap: 16px;
    }

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

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

@media (max-width: 620px) {
    .donation-page {
        padding-bottom: 28px;
    }

    .donation-hero,
    .donation-section,
    .donation-process,
    .donation-disclaimer {
        width: calc(100% - 20px);
    }

    .donation-hero {
        margin-top: 12px;
        padding: 44px 20px 26px;
        border-radius: 12px;
    }

    .donation-hero h1 {
        font-size: 3rem;
    }

    .donation-hero-actions {
        display: grid;
    }

    .donation-hero-actions .portal-button {
        width: 100%;
    }

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

    .donation-account-card {
        padding: 22px;
    }

    .donation-section {
        padding-top: 68px;
    }

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

    .donation-package-card {
        padding: 22px;
    }

    .donation-process {
        margin-top: 66px;
        padding: 26px 18px;
    }

    .donation-process .donation-section-heading {
        margin-bottom: 22px;
    }

    .donation-step-grid article {
        padding: 17px;
    }

    .donation-method-grid article {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 17px;
    }

    .donation-method-icon {
        width: 42px;
        height: 42px;
    }

    .donation-method-state {
        grid-column: 2;
        justify-self: start;
    }

    .donation-disclaimer {
        margin-top: 55px;
        padding: 21px;
    }

    .donation-contact {
        width: calc(100% - 20px);
        margin-top: 55px;
        padding: 28px 20px;
        text-align: center;
    }
}
