:root {
    --night-950: #040711;
    --night-900: #080d19;
    --night-850: #0d1422;
    --night-800: #131c2b;
    --ink: #17100e;
    --panel: #1c1412;
    --panel-soft: #241916;
    --gold-100: #fff0ba;
    --gold-300: #f5cd70;
    --gold-500: #d99a37;
    --gold-700: #8e4e18;
    --ember: #c93720;
    --ember-bright: #f0642f;
    --text: #f8f2e8;
    --muted: #b9b0a5;
    --line: rgba(239, 187, 86, 0.2);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
    --content: 1180px;
    --font-display: Georgia, 'Times New Roman', serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dynamic launch, download and community surfaces */
.launch-countdown {
    width: min(680px, 100%);
    margin: 2rem auto 0;
    padding: 1rem;
    border: 1px solid rgba(245, 205, 112, 0.26);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(5, 9, 18, 0.78), rgba(49, 20, 14, 0.56));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.launch-countdown > p {
    margin: 0 0 0.8rem;
    color: var(--gold-300);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.launch-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.launch-countdown__grid div {
    padding: 0.7rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(3, 6, 13, 0.56);
    text-align: center;
}

.launch-countdown__grid strong {
    display: block;
    color: #fff1ca;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.launch-countdown__grid span {
    display: block;
    margin-top: 0.35rem;
    color: #847c73;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.launch-countdown time {
    display: block;
    margin-top: 0.75rem;
    color: #8f877d;
    font-size: 0.68rem;
    text-align: center;
}

.launch-countdown.is-complete {
    border-color: rgba(84, 214, 141, 0.38);
}

.launch-countdown--pending {
    padding: 1.3rem;
    text-align: center;
}

.launch-countdown--pending strong {
    color: #fff1ca;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.55rem);
}

.download-section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: stretch;
    gap: clamp(1.2rem, 4vw, 3.2rem);
}

.download-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.8rem, 5vw, 3.5rem);
    border: 1px solid rgba(245, 205, 112, 0.2);
    border-radius: 26px;
    background:
        radial-gradient(circle at 85% 20%, rgba(212, 126, 45, 0.2), transparent 35%),
        linear-gradient(145deg, rgba(17, 20, 31, 0.94), rgba(20, 11, 13, 0.96));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.download-panel__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(245, 205, 112, 0.35);
    border-radius: 18px;
    color: #fff1ca;
    background: rgba(194, 103, 31, 0.2);
    font-family: var(--font-display);
    font-size: 1.9rem;
}

.download-panel h2,
.discord-stage h2 {
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1;
}

.download-panel > p:not(.eyebrow),
.discord-stage__copy > p:not(.eyebrow) {
    max-width: 620px;
    color: #a9a096;
}

.download-button {
    margin-top: 1rem;
}

.download-button.is-disabled {
    cursor: not-allowed;
    filter: grayscale(0.55);
    opacity: 0.62;
}

.download-panel__news {
    display: block;
    width: fit-content;
    margin-top: 1.2rem;
    color: var(--gold-300);
    font-size: 0.75rem;
    font-weight: 800;
}

.journey-steps {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.07);
}

.journey-steps article {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    min-height: 150px;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(110deg, rgba(12, 17, 28, 0.98), rgba(22, 13, 15, 0.98));
    gap: 1.2rem;
}

.journey-steps article > span {
    color: rgba(221, 154, 77, 0.68);
    font-family: var(--font-display);
    font-size: 2rem;
}

.journey-steps h3 {
    margin: 0;
    color: #f2e7d6;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.journey-steps p {
    margin: 0.4rem 0 0;
    color: #8e877e;
    font-size: 0.78rem;
}

.discord-stage {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    overflow: hidden;
    min-height: 390px;
    padding: clamp(2rem, 6vw, 5rem);
    border: 1px solid rgba(121, 132, 255, 0.24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 82% 50%, rgba(88, 101, 242, 0.28), transparent 35%),
        linear-gradient(135deg, rgba(10, 15, 29, 0.98), rgba(23, 15, 27, 0.96));
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
    gap: 2rem;
}

.button--discord {
    margin-top: 1rem;
    border-color: rgba(160, 169, 255, 0.48);
    color: #fff;
    background: linear-gradient(135deg, #6573ee, #4d57bf);
    box-shadow: 0 14px 34px rgba(88, 101, 242, 0.25);
}

.discord-stage__mark {
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    border: 0;
    border-radius: 50%;
    color: #f1edff;
    background: transparent;
    box-shadow: none;
}

.discord-stage__mark span {
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
}

.discord-stage__mark small {
    align-self: start;
    color: #aeb5ff;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.discord-stage__mark img {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
}

.social-contact {
    padding-top: 4.5rem;
}

.social-contact .section-heading {
    margin-bottom: 2rem;
}

.social-contact .section-heading p:last-child {
    max-width: 620px;
    margin: 0.8rem auto 0;
    color: #918980;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    color: #eee5d9;
    background: linear-gradient(145deg, rgba(16, 22, 35, 0.96), rgba(20, 13, 17, 0.96));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    grid-column: span 2;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-card:nth-child(4) {
    grid-column: 3 / span 2;
}

a.social-card:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    transform: translateY(-4px);
}

.social-card--discord:hover {
    border-color: rgba(119, 132, 255, 0.55);
}

.social-card--instagram:hover {
    border-color: rgba(224, 45, 132, 0.55);
}

.social-card--facebook:hover {
    border-color: rgba(80, 123, 201, 0.55);
}

.social-card--youtube:hover {
    border-color: rgba(255, 69, 58, 0.62);
}

.social-card__visual {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin-bottom: 1.2rem;
    background: transparent;
}

.social-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-card--discord .social-card__visual {
    border-color: transparent;
    background: transparent;
}

.social-card__name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
}

.social-card__action {
    margin-top: 0.35rem;
    color: #918980;
    font-size: 0.7rem;
    font-weight: 700;
}

.social-card.is-disabled {
    filter: saturate(0.6);
    opacity: 0.6;
}

.social-contact__email {
    margin: 1.5rem 0 0;
    color: #7f7871;
    font-size: 0.75rem;
    text-align: center;
}

.social-contact__email a {
    color: var(--gold-300);
    font-weight: 800;
}

.not-found {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 128px));
    place-items: center;
    padding: clamp(8rem, 15vw, 12rem) 1rem 6rem;
    overflow: hidden;
    text-align: center;
}

.not-found::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(2, 6, 15, 0.24), rgba(2, 6, 15, 0.9)),
        radial-gradient(circle at 50% 8%, rgba(236, 157, 41, 0.16), transparent 38rem);
    content: '';
}

.not-found__glow {
    position: absolute;
    z-index: -1;
    width: min(680px, 90vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 73, 30, 0.26), rgba(205, 73, 30, 0));
    filter: blur(12px);
}

.not-found__panel {
    width: min(670px, 100%);
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 4rem);
    border-color: rgba(245, 205, 112, 0.28);
    background: linear-gradient(145deg, rgba(14, 21, 35, 0.95), rgba(15, 9, 14, 0.96));
    box-shadow: 0 36px 110px rgba(0, 0, 0, 0.55), inset 0 0 34px rgba(246, 178, 62, 0.05);
}

.not-found__code {
    margin: -0.35rem 0 0.45rem;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 21vw, 10.5rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.07em;
    -webkit-text-stroke: 1px rgba(245, 205, 112, 0.72);
    text-shadow: 0 0 32px rgba(227, 138, 33, 0.32);
}

.not-found h1 {
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.1rem);
    line-height: 1.08;
}

.not-found h1 + p {
    max-width: 480px;
    margin: 1rem auto 1.7rem;
    color: #c6beb4;
}

.not-found__actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-strip__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.5rem;
}

/* News archive inspired by the supplied three-column reference */
.news-archive {
    padding-top: 3.5rem;
}

.news-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.news-toolbar h2 {
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.news-filter {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.news-filter label {
    color: #8e877e;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-filter select,
.news-filter button {
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ddd4c7;
    background: #111621;
}

.news-filter button {
    border-color: rgba(223, 153, 73, 0.4);
    cursor: pointer;
    font-weight: 800;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.archive-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #111722;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.archive-card:hover {
    border-color: rgba(222, 151, 70, 0.36);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    transform: translateY(-4px);
}

.archive-card__cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #080c14;
}

.archive-card__cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 8, 14, 0.72), transparent 52%);
    content: '';
}

.archive-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease, filter 450ms ease;
}

.archive-card:hover .archive-card__cover img {
    filter: saturate(1.08);
    transform: scale(1.035);
}

.archive-card__cover > span {
    position: absolute;
    z-index: 1;
    right: 0.85rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 220, 147, 0.28);
    border-radius: 7px;
    color: #ffe3a4;
    background: rgba(16, 10, 10, 0.78);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.archive-card__body {
    padding: 1.25rem;
}

.archive-card time {
    color: var(--gold-300);
    font-size: 0.7rem;
    font-weight: 800;
}

.archive-card h3 {
    margin: 0.75rem 0 0;
    color: #f3eadf;
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.15;
}

.archive-card h3 a:hover {
    color: var(--gold-300);
}

.archive-card__body > p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.9em;
    margin: 0.75rem 0 0;
    color: #8f8981;
    font-size: 0.78rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.archive-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #635e59;
    font-size: 0.65rem;
}

.archive-card__meta a {
    color: #c99c63;
    font-weight: 800;
}

.archive-card--compact .archive-card__body {
    min-height: 120px;
}

.empty-news {
    grid-column: 1 / -1;
    padding: 4rem 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: #8f8981;
    text-align: center;
}

.empty-news > span {
    color: var(--gold-500);
    font-size: 2rem;
}

.empty-news h3 {
    color: #eee4d6;
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.2rem;
    gap: 1.25rem;
}

.news-pagination a,
.news-pagination span {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    color: #a99f94;
    font-size: 0.72rem;
}

/* News detail inspired by the supplied long-form reference */
.news-detail-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 9rem 0 3rem;
}

.news-detail {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 4px solid var(--gold-500);
    border-radius: 0 0 18px 18px;
    background: #111722;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
}

.news-detail__back {
    display: inline-block;
    margin: 1.5rem clamp(1.25rem, 5vw, 3.5rem) 0;
    color: #9c9389;
    font-size: 0.7rem;
    font-weight: 800;
}

.news-detail__header {
    padding: 2rem clamp(1.25rem, 5vw, 3.5rem) 1.8rem;
}

.news-detail__header h1 {
    max-width: 880px;
    margin: 0;
    color: #fff0d5;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 0.98;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    color: #7d7770;
    font-size: 0.68rem;
    gap: 1rem;
}

.news-detail__cover {
    width: calc(100% - clamp(2.5rem, 10vw, 7rem));
    max-height: 540px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.news-detail__cover img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
}

.news-detail__content {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem);
    color: #c4bbb0;
    font-size: 0.92rem;
    line-height: 1.9;
}

.news-detail__lead {
    color: #eee2d1;
    font-size: 1.05rem;
    font-weight: 700;
}

.news-detail__body p {
    margin: 0 0 1.25rem;
}

.ornate-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 2.8rem 0;
    color: var(--gold-500);
    gap: 0.9rem;
}

.ornate-divider::before,
.ornate-divider::after {
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    content: '';
}

.news-detail__signature {
    margin: 0;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.more-news {
    padding-top: 2rem;
}

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

    .discord-stage__mark {
        display: none;
    }

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

@media (max-width: 640px) {
    .launch-countdown {
        margin-top: 1.35rem;
        padding: 0.7rem;
    }

    .launch-countdown__grid {
        gap: 0.35rem;
    }

    .launch-countdown__grid div {
        padding: 0.65rem 0.25rem;
    }

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

    .journey-steps article {
        grid-template-columns: 50px 1fr;
        min-height: 132px;
        padding: 1.1rem;
    }

    .discord-stage {
        min-height: 0;
        padding: 2rem 1.25rem;
    }

    .contact-strip__actions,
    .news-toolbar,
    .news-filter {
        align-items: stretch;
        flex-direction: column;
    }

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

    .news-filter select,
    .news-filter button {
        width: 100%;
    }

    .news-detail-shell {
        width: min(100% - 1rem, 1120px);
        padding-top: 6.5rem;
    }

    .news-detail__cover {
        width: calc(100% - 1.5rem);
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    .social-card,
    .social-card:nth-child(4) {
        grid-column: auto;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(33, 75, 123, 0.16), transparent 28rem),
        radial-gradient(circle at 82% 25%, rgba(147, 44, 27, 0.12), transparent 26rem),
        var(--night-950);
    font-family: var(--font-body);
    line-height: 1.65;
    min-width: 320px;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 56px 56px;
    content: '';
    pointer-events: none;
}

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

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

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

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

:focus-visible {
    outline: 3px solid var(--gold-300);
    outline-offset: 4px;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    color: #111;
    background: var(--gold-100);
    font-weight: 800;
    transform: translateY(-160%);
}

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

.site-shell {
    min-height: 100vh;
    overflow: clip;
}

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(240, 179, 64, 0.36);
    background: rgba(4, 7, 17, 0.96);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
    display: flex;
    align-items: center;
    width: min(var(--content), calc(100% - 2rem));
    min-height: 128px;
    margin: 0 auto;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.72rem;
}

.brand-mark {
    display: block;
    width: 102px;
    height: 102px;
    flex: 0 0 auto;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.65));
}

.brand-copy {
    display: grid;
    line-height: 1;
    text-transform: uppercase;
}

.brand-copy strong {
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.09em;
}

.brand-copy small {
    margin-top: 0.3rem;
    color: var(--gold-500);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.42em;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: clamp(1rem, 2.2vw, 2rem);
}

.primary-nav a {
    position: relative;
    padding: 1.75rem 0 1.55rem;
    color: #d8d2ca;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.primary-nav a::after {
    position: absolute;
    right: 50%;
    bottom: 0.9rem;
    left: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--ember), var(--gold-300));
    content: '';
    transition: inset 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--gold-100);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
    right: 0;
    left: 0;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.25rem;
    border: 1px solid rgba(255, 224, 154, 0.65);
    color: #241008;
    background: linear-gradient(180deg, #ffd676, #c97b22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 22px rgba(135, 49, 18, 0.28);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease;
}

.nav-cta:hover,
.button:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 45px;
    height: 45px;
    margin-left: auto;
    padding: 0.65rem;
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--night-800);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--gold-300);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #62db83;
    box-shadow: 0 0 0 5px rgba(98, 219, 131, 0.1), 0 0 14px rgba(98, 219, 131, 0.75);
}

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: min(900px, calc(100vh - 120px));
    padding: clamp(24rem, 31vw, 28rem) 1rem 5rem;
    background-color: #081121;
    background-image: url('../img/rise-guardian-sky2.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, transparent 0 56%, rgba(2, 5, 12, 0.24) 72%, #040711 100%),
        radial-gradient(circle at 50% 68%, transparent 0, rgba(0, 0, 0, 0.12) 66%);
}

.ornate-panel {
    position: relative;
    width: min(700px, calc(100% - 2rem));
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(246, 196, 101, 0.46);
    background:
        linear-gradient(rgba(31, 20, 17, 0.86), rgba(13, 11, 13, 0.92)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 6px);
    box-shadow: inset 0 0 0 4px rgba(60, 30, 13, 0.5), inset 0 0 45px rgba(0, 0, 0, 0.72), var(--shadow);
    text-align: center;
}

.ornate-panel::before,
.ornate-panel::after {
    position: absolute;
    left: 50%;
    width: 64px;
    height: 18px;
    border: solid var(--gold-500);
    content: '';
    transform: translateX(-50%) rotate(45deg);
}

.ornate-panel::before {
    top: -10px;
    border-width: 1px 0 0 1px;
}

.ornate-panel::after {
    bottom: -10px;
    border-width: 0 1px 1px 0;
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--gold-300);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
}

.hero h1 {
    color: var(--gold-100);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    text-shadow: 0 2px 0 #4f1a0d, 0 0 30px rgba(221, 123, 30, 0.25);
}

.hero__lead {
    max-width: 550px;
    margin: 1rem auto 1.5rem;
    color: #d4ccc1;
    font-size: clamp(0.93rem, 1.6vw, 1.08rem);
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.button--ghost {
    color: var(--gold-100);
    background: rgba(5, 8, 15, 0.58);
    box-shadow: inset 0 0 20px rgba(220, 139, 36, 0.08);
}

.button--disabled,
.button:disabled {
    color: #8c8378;
    border-color: #4a4038;
    background: #211b19;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.account-access-control {
    font: inherit;
}

.button.account-access-control {
    cursor: pointer;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 470px;
    margin: 1.7rem auto 0;
    border-top: 1px solid var(--line);
}

.hero__stats div {
    padding: 1rem 0.5rem 0;
}

.hero__stats div + div {
    border-left: 1px solid var(--line);
}

.hero__stats dt {
    color: #968c81;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero__stats dd {
    margin: 0.2rem 0 0;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
}

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    color: #d1c9be;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero__scroll span {
    margin-left: 0.45rem;
    color: var(--gold-500);
}

.section {
    width: min(var(--content), calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-heading h2,
.world-copy h2,
.callout h2 {
    color: var(--gold-100);
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.text-link {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--gold-700);
    color: var(--gold-300);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1rem;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(29, 22, 22, 0.94), rgba(10, 15, 26, 0.96));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.news-card__art {
    display: flex;
    align-items: end;
    min-height: 175px;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background-position: center;
    background-size: cover;
}

.news-card--featured .news-card__art {
    min-height: 225px;
}

.news-card__art--war {
    background:
        linear-gradient(180deg, transparent, rgba(13, 5, 5, 0.82)),
        radial-gradient(circle at 72% 28%, rgba(238, 139, 44, 0.65), transparent 18%),
        linear-gradient(135deg, #172844 0%, #7b2e1c 52%, #1a1014 100%);
}

.news-card__art--forge {
    background:
        linear-gradient(180deg, transparent, rgba(13, 5, 5, 0.82)),
        radial-gradient(circle at 25% 68%, #f1a634, transparent 15%),
        linear-gradient(145deg, #38120e, #7d2815 45%, #0c1524);
}

.news-card__art--tribes {
    background:
        linear-gradient(180deg, transparent, rgba(13, 5, 5, 0.82)),
        radial-gradient(circle at 50% 45%, rgba(85, 139, 189, 0.55), transparent 18%),
        linear-gradient(135deg, #111e34, #4c1f24 52%, #20120e);
}

.news-card__art span,
.tag {
    display: inline-flex;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(255, 221, 149, 0.35);
    color: var(--gold-100);
    background: rgba(101, 34, 17, 0.78);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card__body {
    padding: 1.3rem;
}

.news-card time,
.article-meta {
    color: #8e877e;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0.55rem 0 0.6rem;
    color: #f4eadc;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.25;
}

.news-card h3 a:hover,
.list-card h2 a:hover {
    color: var(--gold-300);
}

.news-card p,
.world-copy > p:not(.eyebrow),
.callout p,
.guide-card p,
.contact-card p,
.download-card p,
.requirements-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.world-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.world-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin: 1.2rem 0 1.8rem;
    font-size: 1rem;
}

.feature-stack {
    display: grid;
    gap: 0.8rem;
}

.feature-stack article {
    display: flex;
    align-items: center;
    min-height: 112px;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--line);
    background: linear-gradient(100deg, rgba(77, 29, 19, 0.5), rgba(12, 18, 30, 0.85));
    gap: 1.3rem;
}

.feature-stack article > span {
    color: var(--gold-500);
    font-family: var(--font-display);
    font-size: 2rem;
}

.feature-stack h3 {
    margin: 0 0 0.2rem;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.feature-stack p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    padding: clamp(2rem, 4vw, 3.3rem);
    border: 1px solid rgba(235, 177, 72, 0.4);
    background:
        linear-gradient(90deg, rgba(71, 20, 13, 0.88), rgba(10, 16, 28, 0.93)),
        var(--panel);
    box-shadow: var(--shadow);
    gap: 2rem;
}

.callout p:not(.eyebrow) {
    max-width: 670px;
    margin-top: 0.7rem;
}

.page-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 510px;
    padding: 2rem 1rem 3.5rem;
    background-color: #07101f;
    background-image: url('../img/rise-guardian-sky2.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.page-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 7, 16, 0.04), rgba(4, 7, 17, 0.55) 62%, var(--night-950));
}

.ornate-panel--compact {
    width: min(680px, calc(100% - 2rem));
    padding: 1.7rem 2rem;
}

.page-hero h1 {
    color: var(--gold-100);
    font-size: clamp(2.3rem, 6vw, 4.4rem);
}

.page-hero__content > p:last-child {
    margin: 0.7rem auto 0;
    color: #c8beb2;
}

.page-section {
    min-height: 420px;
}

.news-list {
    display: grid;
    gap: 0.8rem;
}

.list-card {
    display: grid;
    grid-template-columns: 90px 1fr 48px;
    align-items: center;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--line);
    background: linear-gradient(100deg, rgba(43, 23, 19, 0.8), rgba(11, 17, 28, 0.92));
    gap: 1.4rem;
}

.list-card__date {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 92px;
    border-right: 1px solid var(--line);
}

.list-card__date strong {
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1;
}

.list-card__date span {
    color: #8d857c;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.list-card h2 {
    margin: 0.45rem 0 0.2rem;
    color: #f1e7d8;
    font-size: 1.35rem;
}

.list-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.card-arrow {
    color: var(--gold-300);
    font-size: 1.6rem;
    text-align: center;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.article-main {
    max-width: 760px;
}

.article-lead {
    color: #eee3d3;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.65;
}

.article-main h2 {
    margin-top: 2.3rem;
    color: var(--gold-100);
    font-size: 1.8rem;
}

.article-main p {
    color: #bdb4a9;
}

.article-main blockquote {
    margin: 2rem 0;
    padding: 1.2rem 1.5rem;
    border-left: 3px solid var(--gold-500);
    color: #eee0ca;
    background: rgba(93, 38, 21, 0.26);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.article-aside {
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: rgba(25, 18, 18, 0.8);
}

.article-aside a {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    color: #d8cfc4;
    font-size: 0.84rem;
}

.article-aside a span {
    color: var(--gold-500);
}

.panel-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.panel-toolbar h2 {
    color: var(--gold-100);
    font-size: 2.4rem;
}

.status-note {
    margin: 0;
    color: #aaa198;
    font-size: 0.75rem;
}

.status-note .status-dot {
    background: #d99a37;
    box-shadow: 0 0 0 5px rgba(217, 154, 55, 0.1);
}

.table-shell {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: rgba(14, 18, 27, 0.86);
}

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

th,
td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

th {
    color: var(--gold-300);
    background: rgba(94, 39, 21, 0.38);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

td {
    color: #bfb6ab;
    font-size: 0.85rem;
}

.panel-help {
    margin-top: 1rem;
    color: #7f7972;
    font-size: 0.75rem;
}

.guide-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.guide-card,
.contact-card {
    position: relative;
    min-height: 240px;
    padding: 2rem;
    border: 1px solid var(--line);
    background: linear-gradient(140deg, rgba(57, 27, 20, 0.78), rgba(10, 17, 28, 0.92));
}

.guide-card > span:first-child,
.contact-card > span:first-child {
    color: rgba(240, 184, 80, 0.32);
    font-family: var(--font-display);
    font-size: 2.5rem;
}

.guide-card h2,
.contact-card h2,
.download-card h2,
.requirements-card h2,
.tribe-card h2 {
    margin: 0.5rem 0 0.7rem;
    color: var(--gold-100);
    font-size: 1.55rem;
}

.guide-card a {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--gold-300);
    font-size: 0.8rem;
    font-weight: 800;
}

.coming-soon {
    display: inline-flex;
    margin-top: 1.2rem;
    color: #847d74;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
    gap: 1rem;
}

.download-card {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    min-height: 230px;
    padding: 2rem;
    border: 1px solid rgba(237, 183, 82, 0.38);
    background: linear-gradient(120deg, rgba(79, 29, 19, 0.84), rgba(12, 18, 30, 0.94));
    box-shadow: var(--shadow);
    gap: 1.5rem;
}

.download-emblem {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid var(--gold-500);
    color: var(--gold-100);
    background: rgba(10, 11, 17, 0.55);
    font-family: var(--font-display);
    font-size: 1.5rem;
    transform: rotate(45deg);
}

.requirements-card {
    padding: 1.6rem;
    border: 1px solid var(--line);
    background: rgba(17, 20, 29, 0.88);
}

.requirements-card dl {
    margin: 1rem 0;
}

.requirements-card dl div {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    font-size: 0.78rem;
}

.requirements-card dt {
    color: #898078;
}

.requirements-card dd {
    margin: 0;
    color: #d5ccbf;
    text-align: right;
}

.tribe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tribe-card {
    min-height: 360px;
    padding: 2rem;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(8, 10, 16, 0.95)), #1a2435;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.tribe-card--guanyin {
    background: radial-gradient(circle at 50% 20%, rgba(74, 124, 190, 0.45), transparent 38%), linear-gradient(145deg, #162b48, #0a111c 72%);
}

.tribe-card--fujin {
    background: radial-gradient(circle at 50% 20%, rgba(191, 181, 111, 0.38), transparent 38%), linear-gradient(145deg, #2a382f, #0b1216 72%);
}

.tribe-card--jinong {
    background: radial-gradient(circle at 50% 20%, rgba(193, 51, 29, 0.48), transparent 38%), linear-gradient(145deg, #451a17, #110b0e 72%);
}

.tribe-symbol {
    display: block;
    margin-bottom: 5rem;
    color: rgba(255, 235, 191, 0.66);
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 30px currentColor;
}

.tribe-card p:last-child {
    color: var(--muted);
    font-size: 0.88rem;
}

.contact-card--warning {
    border-color: rgba(224, 74, 40, 0.48);
    background: linear-gradient(140deg, rgba(93, 27, 20, 0.82), rgba(15, 13, 20, 0.94));
}

.site-footer {
    border-top: 1px solid rgba(236, 169, 56, 0.3);
    background: #050811;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr 1.1fr;
    width: min(var(--content), calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0 3rem;
    gap: clamp(2rem, 6vw, 5rem);
}

.brand--footer {
    margin-bottom: 1rem;
}

.brand--footer .brand-mark {
    width: 112px;
    height: 112px;
}

.footer-grid > div:first-child p,
.footer-security p {
    max-width: 310px;
    margin: 0;
    color: #817a73;
    font-size: 0.78rem;
}

.footer-grid h2 {
    margin: 0 0 1rem;
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-grid > div:not(:first-child) > a,
.footer-account-link {
    display: block;
    padding: 0.25rem 0;
    color: #958d84;
    font-size: 0.78rem;
}

.footer-account-link {
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
    background: transparent;
}

.footer-grid a:hover {
    color: var(--gold-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    width: min(var(--content), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #625d58;
    font-size: 0.68rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1020px) {
    .nav-wrap {
        gap: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 0.8rem 1rem 1.2rem;
        border-bottom: 1px solid var(--gold-700);
        background: rgba(5, 8, 17, 0.99);
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        padding: 0.8rem 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

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

    .news-card--featured {
        grid-column: 1 / -1;
    }

    .world-section,
    .download-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        max-width: 520px;
    }

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

    .tribe-card {
        min-height: 260px;
    }

    .tribe-symbol {
        margin-bottom: 2rem;
    }

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

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

@media (max-width: 720px) {
    .nav-wrap {
        min-height: 100px;
    }

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

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

    .hero {
        min-height: 760px;
        padding: 23rem 0.5rem 4rem;
        background-position: top center;
        background-size: auto 690px;
    }

    .ornate-panel {
        width: min(94%, 600px);
        padding: 1.5rem 1rem;
    }

    .hero__stats {
        margin-top: 1.2rem;
    }

    .section {
        width: min(100% - 1.25rem, var(--content));
        padding: 4rem 0;
    }

    .section-heading,
    .callout,
    .panel-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .news-card--featured {
        grid-column: auto;
    }

    .news-card--featured .news-card__art,
    .news-card__art {
        min-height: 180px;
    }

    .list-card {
        grid-template-columns: 62px 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .list-card__date {
        min-height: 80px;
    }

    .card-arrow {
        display: none;
    }

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

    .download-emblem {
        margin: 0.5rem 1.2rem;
    }

    .download-card .button {
        justify-self: start;
    }

    .page-hero {
        min-height: 450px;
        padding-bottom: 2.5rem;
        background-size: auto 450px;
    }

    .page-hero__content {
        transform: translateY(1.5rem);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-grid > div:first-child,
    .footer-security {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }
}

@media (max-width: 430px) {
    .hero {
        min-height: 780px;
        padding-top: 20.5rem;
        background-size: auto 610px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero__actions {
        display: grid;
    }

    .hero__stats dt {
        font-size: 0.52rem;
    }

    .hero__stats dd {
        font-size: 1.1rem;
    }

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

    .footer-grid > div:first-child,
    .footer-security {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modern one-page and account experience */
section[id] {
    scroll-margin-top: 86px;
}

.site-shell {
    overflow-x: clip;
    overflow-y: visible;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom-color: rgba(245, 205, 112, 0.18);
    background: rgba(4, 7, 17, 0.78);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px) saturate(1.15);
}

.nav-wrap {
    min-height: 74px;
}

.primary-nav a {
    padding-top: 1.55rem;
    padding-bottom: 1.4rem;
    font-size: 0.7rem;
}

.nav-auth {
    align-items: center;
    gap: 0.65rem;
}

.nav-auth--desktop {
    display: flex;
}

.nav-auth--mobile {
    display: none;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0 0.55rem;
    border: 1px solid rgba(245, 205, 112, 0.2);
    border-radius: 999px;
    background: rgba(5, 9, 18, 0.72);
}

.language-switcher > span {
    color: var(--gold-300);
    font-size: 0.9rem;
}

.language-switcher select {
    max-width: 108px;
    border: 0;
    color: #eee7dc;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    background: transparent;
    cursor: pointer;
}

.language-switcher select:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 3px;
}

.language-switcher select option {
    color: #f4eee6;
    background: #090e19;
}

.language-switcher--mobile {
    display: none;
}

.auth-link {
    padding: 0.6rem 0.4rem;
    color: #d9d1c5;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-link:hover,
.auth-link.is-active {
    color: var(--gold-100);
}

.button,
.nav-cta {
    border-radius: 999px;
}

.button--compact {
    min-height: 40px;
    padding: 0.55rem 1rem;
}

.hero,
.page-hero {
    overflow: hidden;
    background-color: #060b15;
    background-image: none;
}

.hero {
    align-items: flex-end;
    min-height: calc(100svh - 74px);
    padding: clamp(18rem, 29vw, 23rem) 1rem 5.5rem;
}

.hero::before,
.page-hero::before,
.auth-shell__backdrop {
    position: absolute;
    inset: -12px;
    z-index: -2;
    background: #07101f url('../img/rise-guardian-sky2.jpg') top center / cover no-repeat;
    content: '';
    filter: blur(5px) brightness(0.56) saturate(0.72);
    transform: scale(1.035);
}

.hero__veil {
    background:
        linear-gradient(180deg, rgba(4, 7, 17, 0.18), rgba(4, 7, 17, 0.36) 48%, #040711 100%),
        radial-gradient(circle at 50% 38%, transparent, rgba(2, 4, 10, 0.34) 72%);
}

.ornate-panel {
    border-color: rgba(255, 214, 126, 0.32);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(27, 19, 20, 0.83), rgba(7, 11, 20, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 242, 207, 0.08), 0 32px 90px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px) saturate(1.2);
}

.ornate-panel::before,
.ornate-panel::after {
    width: 80px;
    opacity: 0.75;
}

.hero__badge,
.preview-pill,
.soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0.25rem 0.72rem;
    border: 1px solid rgba(255, 218, 137, 0.28);
    border-radius: 999px;
    color: var(--gold-300);
    background: rgba(204, 95, 31, 0.12);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__badge {
    margin-bottom: 1rem;
}

.section-kicker {
    max-width: 310px;
    margin: 0;
    color: #8e877f;
    font-size: 0.8rem;
    text-align: right;
}

.news-card,
.feature-stack article,
.community-grid article,
.leaderboard-glass,
.contact-strip {
    border-radius: 18px;
    backdrop-filter: blur(14px);
}

.news-card {
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
    border-color: rgba(245, 205, 112, 0.38);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
    transform: translateY(-5px);
}

.news-card__art {
    filter: saturate(0.82);
}

.ranking-section {
    position: relative;
}

.leaderboard-glass {
    overflow: hidden;
    padding: clamp(1.4rem, 3vw, 2.5rem);
    border: 1px solid rgba(245, 205, 112, 0.22);
    background:
        radial-gradient(circle at 92% 5%, rgba(194, 70, 29, 0.18), transparent 20rem),
        linear-gradient(140deg, rgba(30, 21, 22, 0.86), rgba(8, 14, 25, 0.92));
    box-shadow: var(--shadow);
}

.leaderboard-intro {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 0.75fr);
    align-items: end;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
    gap: 2rem;
}

.leaderboard-intro h3 {
    max-width: 630px;
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.15;
}

.leaderboard-intro > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.leaderboard-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 1px;
    background: var(--line);
}

.leaderboard-categories article {
    padding: 1.5rem;
    background: rgba(7, 12, 22, 0.88);
}

.leaderboard-categories span {
    color: var(--gold-500);
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.leaderboard-categories h4 {
    margin: 0.5rem 0 0.2rem;
    color: #f2e8d9;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.leaderboard-categories p {
    margin: 0;
    color: #8e877f;
    font-size: 0.76rem;
}

.section-heading--center {
    justify-content: center;
    text-align: center;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.community-grid article {
    min-height: 270px;
    padding: 2rem;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(37, 24, 24, 0.72), rgba(8, 14, 25, 0.88));
}

.community-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(245, 205, 112, 0.4);
    border-radius: 16px;
    color: var(--gold-300);
    background: rgba(217, 154, 55, 0.08);
    font-size: 1.3rem;
}

.community-grid h3 {
    margin: 2.6rem 0 0.7rem;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.community-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.account-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    overflow: hidden;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255, 213, 121, 0.34);
    border-radius: 26px;
    background: linear-gradient(120deg, rgba(96, 30, 18, 0.88), rgba(10, 16, 27, 0.96) 62%);
    box-shadow: var(--shadow);
    gap: 2rem;
}

.account-cta__glow {
    position: absolute;
    top: -150px;
    right: 8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(235, 118, 37, 0.22);
    filter: blur(70px);
    pointer-events: none;
}

.account-cta h2,
.contact-strip h2 {
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.account-cta p:not(.eyebrow),
.contact-strip p:not(.eyebrow) {
    max-width: 680px;
    margin: 0.8rem 0 0;
    color: var(--muted);
}

.account-cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 15, 25, 0.62);
    gap: 2rem;
}

/* Login and register preview */
.auth-page .site-footer {
    display: none;
}

.auth-shell {
    position: relative;
    min-height: calc(100svh - 74px);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 5rem) 1rem;
    isolation: isolate;
}

.auth-shell::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(3, 6, 14, 0.9), rgba(4, 7, 16, 0.38) 48%, rgba(18, 8, 9, 0.86));
    content: '';
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
    align-items: center;
    width: min(1120px, 100%);
    min-height: calc(100svh - 74px - clamp(4rem, 10vw, 10rem));
    margin: 0 auto;
    gap: clamp(2rem, 7vw, 7rem);
}

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

.auth-story {
    max-width: 600px;
}

.auth-back {
    display: inline-flex;
    margin-bottom: clamp(3rem, 8vw, 7rem);
    color: #b9b0a5;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    gap: 0.6rem;
}

.auth-back:hover {
    color: var(--gold-300);
}

.auth-story h1 {
    max-width: 650px;
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.98;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
}

.auth-story > p:not(.eyebrow) {
    max-width: 550px;
    margin: 1.3rem 0 0;
    color: #c4bbb0;
}

.auth-benefits {
    display: grid;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    gap: 0.7rem;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    color: #d7cec1;
    font-size: 0.82rem;
    gap: 0.8rem;
}

.auth-benefits span {
    color: var(--gold-500);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.auth-emblem {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin-top: 3rem;
    border: 1px solid rgba(255, 220, 143, 0.7);
    color: #2a1208;
    background: linear-gradient(135deg, #ffe59c, #be641c);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    font-family: var(--font-display);
    font-weight: 900;
    transform: rotate(45deg);
}

.auth-emblem span {
    transform: rotate(-45deg);
}

.auth-card {
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid rgba(255, 215, 128, 0.24);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(17, 18, 28, 0.86), rgba(20, 12, 14, 0.92));
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(26px) saturate(1.2);
}

.preview-pill {
    margin-bottom: 1.5rem;
}

.auth-card h1,
.auth-card h2 {
    margin: 0;
    color: #fff2d4;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1;
}

.account-card--single {
    width: 100%;
    text-align: left;
}

.account-card--single .auth-back {
    margin-bottom: 2rem;
}

.notice-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.3rem;
    border: 1px solid rgba(255, 215, 128, 0.38);
    border-radius: 16px;
    color: #fff1c7;
    background: linear-gradient(145deg, rgba(205, 127, 45, 0.4), rgba(118, 51, 21, 0.35));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
    font-size: 1.35rem;
}

.notice-detail {
    margin: 1rem 0 0;
    color: #888077;
    font-size: 0.75rem;
    line-height: 1.7;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    gap: 0.8rem;
}

.auth-card__lead {
    margin: 0.9rem 0 1.7rem;
    padding: 0.8rem 1rem;
    border-left: 2px solid var(--gold-500);
    color: #a99f94;
    background: rgba(211, 126, 46, 0.06);
    font-size: 0.76rem;
}

.auth-form fieldset {
    display: grid;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 0.65rem;
}

.auth-form label,
.field-label-row {
    color: #dbd2c6;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.field-label-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.45rem;
}

.field-label-row span {
    color: #776f67;
}

.field-shell {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    color: var(--gold-500);
    background: rgba(4, 8, 16, 0.62);
}

.field-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    color: #e8dfd2;
    outline: 0;
    background: transparent;
}

.field-shell input::placeholder {
    color: #625c57;
}

.auth-form fieldset:disabled {
    opacity: 0.76;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.field-grid > div {
    display: grid;
    gap: 0.55rem;
}

.check-row {
    display: flex;
    align-items: flex-start;
    margin: 0.6rem 0;
    color: #8f877f !important;
    gap: 0.55rem;
}

.check-row input {
    margin-top: 0.2rem;
    accent-color: var(--gold-500);
}

.auth-form__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.25rem 0;
    gap: 1rem;
}

.auth-form__links .check-row {
    margin: 0;
}

.auth-form__links > a {
    color: var(--gold-300);
    font-size: 0.72rem;
    font-weight: 800;
}

.auth-submit {
    width: 100%;
    margin-top: 0.35rem;
}

.auth-switch {
    margin: 1.4rem 0 0;
    color: #817a72;
    font-size: 0.78rem;
    text-align: center;
}

.auth-switch a {
    color: var(--gold-300);
    font-weight: 800;
}

.auth-switch--compact {
    margin-top: 0.55rem;
    font-size: 0.72rem;
}

.preview-pill--live {
    border-color: rgba(84, 214, 141, 0.35);
    color: #89e7ad;
    background: rgba(40, 136, 83, 0.13);
}

.form-alert {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.78rem;
}

.form-alert p {
    margin: 0;
}

.form-alert--error {
    border-color: rgba(238, 96, 96, 0.32);
    color: #ffb3b3;
    background: rgba(146, 33, 33, 0.16);
}

.field-shell--error {
    border-color: rgba(238, 96, 96, 0.65);
    box-shadow: 0 0 0 3px rgba(238, 96, 96, 0.07);
}

.field-error {
    margin: -0.25rem 0 0;
    color: #ff9f9f;
    font-size: 0.7rem;
}

.flash-stack {
    position: fixed;
    z-index: 80;
    top: 86px;
    right: 1rem;
    width: min(390px, calc(100% - 2rem));
}

.flash-message {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(245, 205, 112, 0.26);
    border-radius: 13px;
    color: #efe5d6;
    background: rgba(7, 12, 23, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.flash-message--success {
    border-color: rgba(84, 214, 141, 0.35);
}

.account-access-popup[hidden] {
    display: none;
}

.account-access-popup {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(2, 5, 11, 0.76);
    backdrop-filter: blur(9px);
}

.account-access-popup__dialog {
    position: relative;
    width: min(440px, 100%);
    padding: 2.5rem 2rem 2rem;
    overflow: hidden;
    border: 1px solid rgba(245, 205, 112, 0.38);
    border-radius: 22px;
    text-align: center;
    background:
        radial-gradient(circle at 50% -15%, rgba(222, 125, 33, 0.28), transparent 53%),
        linear-gradient(145deg, rgba(22, 30, 49, 0.99), rgba(7, 10, 19, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), inset 0 0 34px rgba(249, 196, 93, 0.06);
}

.account-access-popup__close {
    position: absolute;
    top: 0.8rem;
    right: 0.85rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(245, 205, 112, 0.2);
    border-radius: 50%;
    color: #e8dfd1;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.04);
}

.account-access-popup__close:hover,
.account-access-popup__close:focus-visible {
    border-color: rgba(245, 205, 112, 0.7);
    color: var(--gold-100);
}

.account-access-popup__mark {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    place-items: center;
    border: 1px solid rgba(245, 205, 112, 0.38);
    border-radius: 50%;
    color: var(--gold-300);
    font-size: 1.4rem;
    background: rgba(220, 139, 36, 0.1);
    box-shadow: 0 0 28px rgba(220, 139, 36, 0.2);
}

.account-access-popup__dialog h2 {
    margin: 0;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 5vw, 2.1rem);
}

.account-access-popup__dialog > p:not(.eyebrow) {
    max-width: 335px;
    margin: 0.85rem auto 1.5rem;
    color: #c9c2ba;
    line-height: 1.7;
}

.nav-auth form {
    margin: 0;
}

.auth-link--button {
    border: 0;
    cursor: pointer;
    font: inherit;
    background: transparent;
}


.nav-user {
    max-width: 160px;
    overflow: hidden;
    color: var(--gold-300);
    font-size: 0.76rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .nav-toggle {
        display: block;
    }

    .nav-auth--desktop {
        display: none;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100svh - 74px);
        overflow-y: auto;
        padding: 0.8rem 1rem 1.2rem;
        border-bottom: 1px solid var(--gold-700);
        background: rgba(5, 8, 17, 0.97);
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        padding: 0.75rem 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .nav-auth--mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 0.5rem;
    }

    .language-switcher--mobile {
        display: flex;
        justify-content: center;
        margin: 0.45rem 0;
        border-radius: 12px;
    }

    .language-switcher--mobile select {
        width: 100%;
        max-width: none;
    }

    .nav-auth--mobile .auth-link,
    .nav-auth--mobile .button {
        border: 1px solid rgba(245, 205, 112, 0.22);
        border-radius: 12px;
        text-align: center;
    }

    .auth-layout {
        grid-template-columns: 0.8fr minmax(400px, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: 760px;
        padding: 20rem 0.65rem 4.5rem;
    }

    .hero::before {
        background-size: auto 650px;
    }

    .leaderboard-intro,
    .account-cta,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .leaderboard-categories,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-categories {
        gap: 1px;
    }

    .community-grid article {
        min-height: auto;
    }

    .community-grid h3 {
        margin-top: 1.8rem;
    }

    .account-cta__actions {
        justify-content: flex-start;
    }

    .contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-layout {
        min-height: auto;
    }

    .auth-story {
        display: none;
    }

    .auth-card {
        width: min(560px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 760px;
        padding-top: 18.5rem;
    }

    .hero::before {
        background-size: auto 590px;
        filter: blur(4px) brightness(0.52) saturate(0.68);
    }

    .ornate-panel {
        border-radius: 18px;
    }

    .hero__badge {
        display: none;
    }

    .section-kicker {
        text-align: left;
    }

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

    .auth-shell {
        padding: 1rem 0.65rem 2rem;
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-form__links,
    .account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-actions .button {
        width: 100%;
        text-align: center;
    }

    .account-cta {
        border-radius: 20px;
    }

    .account-cta__actions,
    .account-cta__actions .button {
        width: 100%;
    }
}
