@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.02em;
    background:
        radial-gradient(circle at top, rgba(164, 18, 33, 0.18), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(134, 185, 175, 0.12), transparent 24%),
        linear-gradient(180deg, #050709 0%, #06080b 36%, #040506 100%);
    color: var(--text-color);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.03), transparent 18%);
    opacity: 0.8;
    mix-blend-mode: screen;
}

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

a {
    text-decoration: none;
}

p {
    margin: 0;
    line-height: 1.65;
    color: var(--muted-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--heading-color);
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

ul,
ol,
dl {
    margin: 0;
    padding: 0;
}

.content {
    position: relative;
    z-index: 1;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--edge-color);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.nav-container {
    width: min(1240px, calc(100vw - 2rem));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Oswald", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-dropdown.is-open .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle,
.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav-link svg,
.dropdown-toggle svg,
.menu-toggle svg {
    font-size: 0.9rem;
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: 0 0 auto;
}

.nav-dropdown {
    position: relative;
    padding-bottom: 0.45rem;
    margin-bottom: -0.45rem;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 0.45rem;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 0.15rem);
    right: 0;
    min-width: 210px;
    display: block;
    border: 1px solid var(--edge-color);
    border-radius: 18px;
    padding: 0.45rem;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus-within .dropdown-content,
.nav-dropdown.is-open .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-toggle {
    cursor: pointer;
    border: 0;
    color: inherit;
    background: transparent;
    font-family: inherit;
    line-height: inherit;
    appearance: none;
}

.dropdown-item {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--edge-color);
    border-radius: 14px;
    cursor: pointer;
    color: var(--heading-color);
    background: rgba(255, 255, 255, 0.03);
}

.nav-overlay {
    display: none;
}

.ad-unit {
    width: 100%;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

.ad-unit:empty {
    display: none;
}

.main-footer {
    margin-top: 4rem;
    padding: 2.4rem 0 2.8rem;
    border-top: 1px solid var(--edge-color);
}

.footer-container {
    width: min(1240px, calc(100vw - 2rem));
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.footer-link {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-copyright {
    font-size: 0.92rem;
}

.main-nav {
    padding: 0.42rem 0 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(77, 81, 84, 0.12), rgba(24, 26, 28, 0.26)),
        linear-gradient(180deg, rgba(9, 11, 13, 0.94), rgba(8, 10, 12, 0.86));
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 20px 38px rgba(0, 0, 0, 0.18);
}

.nav-container,
.footer-container {
    width: min(1080px, calc(100vw - 1rem));
}

.nav-logo a {
    gap: 0.7rem;
}

.nav-logo__badge,
.footer-brand__badge {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle, #c4212a, #7b131b);
    box-shadow: 0 0 18px rgba(196, 33, 42, 0.22);
    color: #fef8f8;
}

.nav-logo__badge svg,
.footer-brand__badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-logo__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.42rem;
}

.nav-logo__red {
    color: #d73b45;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.nav-logo__light {
    color: #ece7de;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.nav-link,
.dropdown-toggle {
    padding: 0.76rem 0.9rem;
    border-radius: 8px;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
}

.nav-links {
    gap: 0.35rem;
}

.main-footer {
    margin-top: 3.4rem;
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(7, 10, 12, 0.86), rgba(4, 5, 7, 0.98));
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 1rem;
}

.footer-links {
    justify-content: flex-start;
    margin-bottom: 0;
}

.footer-link {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.22rem;
    text-align: center;
}

.footer-brand strong {
    color: #ece7de;
    font-family: "Oswald", sans-serif;
    font-size: 1.12rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand span {
    color: rgba(232, 224, 215, 0.52);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.footer-copyright {
    text-align: right;
    color: rgba(232, 224, 215, 0.62);
    line-height: 1.5;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff7f7;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-strong));
    box-shadow: 0 18px 30px rgba(164, 18, 33, 0.28);
}

.button--ghost {
    color: var(--heading-color);
    border-color: var(--edge-strong);
    background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.button--small {
    min-height: 44px;
    padding: 0.72rem 1.05rem;
    font-size: 0.82rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(246, 241, 234, 0.82);
}

.section-tag::before {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 61, 76, 0.9), rgba(216, 61, 76, 0));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin-top: 0.9rem;
}

.section-heading p {
    margin-top: 0.95rem;
    font-size: 1.12rem;
}

.re-shell {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
}

.re-section {
    position: relative;
    padding: 2rem 0 0;
}

.re-home {
    padding-bottom: 2rem;
}

.re-hero {
    position: relative;
    min-height: min(940px, calc(100vh - 72px));
    display: flex;
    align-items: flex-end;
    padding: 2rem 0 3rem;
    overflow: clip;
}

.re-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 9, 0.96) 0%, rgba(5, 7, 9, 0.72) 32%, rgba(5, 7, 9, 0.18) 60%, rgba(5, 7, 9, 0.88) 100%),
        linear-gradient(180deg, rgba(5, 7, 9, 0.2), rgba(5, 7, 9, 0.86) 85%),
        url("../images/re-home/crops/hero-banner.jpg") center top / cover no-repeat;
    filter: saturate(0.88) contrast(1.04);
}

.re-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(5, 7, 9, 0), rgba(5, 7, 9, 1));
}

.re-hero .re-shell {
    position: relative;
    z-index: 1;
}

.re-hero__panel {
    max-width: 700px;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border: 1px solid var(--edge-color);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(10, 14, 18, 0.62), rgba(10, 14, 18, 0.94));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
}

.re-hero__title {
    margin-top: 0.9rem;
    font-size: clamp(2.6rem, 5vw, 5rem);
    max-width: 12ch;
}

.re-hero__description {
    max-width: 34rem;
    margin-top: 1rem;
    font-size: 1.18rem;
}

.re-hero__actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.domain-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 0.18rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.domain-chip span {
    color: var(--muted-text);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.domain-chip strong {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.hero-stat {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-stat dt {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero-stat dd {
    margin-top: 0.45rem;
    color: var(--heading-color);
    font-family: "Oswald", sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.re-section--mission {
    margin-top: -2rem;
}

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

.mission-card,
.module-card,
.status-page__inner,
.post-item,
.feedback-container,
.blog-container,
.post-content {
    border: 1px solid var(--edge-color);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(10, 14, 18, 0.72), rgba(10, 14, 18, 0.92));
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.mission-card {
    position: relative;
    padding: 1.45rem;
    border-radius: 24px;
    overflow: hidden;
}

.mission-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(164, 18, 33, 0.22), rgba(164, 18, 33, 0));
}

.mission-card__index {
    display: inline-block;
    color: rgba(246, 241, 234, 0.4);
    font-family: "Oswald", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.24em;
}

.mission-card h3,
.module-card h3 {
    font-size: 1.5rem;
    margin-top: 0.8rem;
}

.mission-card p,
.module-card p {
    margin-top: 0.75rem;
    font-size: 1.02rem;
}

.hub-list {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.hub-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    min-height: 360px;
    border: 1px solid var(--edge-color);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 18, 23, 0.78), rgba(8, 11, 14, 0.96));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.hub-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 38%);
    pointer-events: none;
}

.hub-card--village {
    --hub-accent: rgba(164, 18, 33, 0.4);
}

.hub-card--re4 {
    --hub-accent: rgba(87, 152, 138, 0.4);
}

.hub-card--re2r {
    --hub-accent: rgba(91, 143, 187, 0.34);
}

.hub-card--archive {
    --hub-accent: rgba(198, 164, 92, 0.32);
}

.hub-card--re-ds {
    --hub-accent: rgba(136, 176, 92, 0.28);
}

.hub-card__copy {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hub-card__kicker {
    color: rgba(246, 241, 234, 0.8);
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-card__copy h3 {
    margin-top: 0.8rem;
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 11ch;
}

.hub-card__summary {
    max-width: 36rem;
    margin-top: 0.9rem;
    font-size: 1.08rem;
}

.hub-card__tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.hub-card__tool-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--heading-color);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.hub-card__visual {
    position: relative;
    min-height: 100%;
    isolation: isolate;
}

.hub-card__visual::before,
.hub-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hub-card__visual::before {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    filter: saturate(0.84) brightness(0.78);
}

.hub-card__visual::after {
    background:
        linear-gradient(90deg, rgba(8, 11, 14, 0.9) 0%, rgba(8, 11, 14, 0.28) 42%, rgba(8, 11, 14, 0.86) 100%),
        radial-gradient(circle at 88% 18%, var(--hub-accent), rgba(255, 255, 255, 0) 42%);
}

.hub-card__visual--village::before {
    background-image: url("../images/re-home/crops/village-card.jpg");
    background-size: cover;
    background-position: center;
}

.hub-card__visual--re4::before {
    background-image: url("../images/re-home/crops/re4-wide.jpg");
    background-size: cover;
    background-position: center;
}

.hub-card__visual--re2r::before {
    background-image: url("../images/re-home/crops/re2r-card.jpg");
    background-size: cover;
    background-position: center;
}

.hub-card__visual--archive::before {
    background-image: url("../images/re-home/crops/archive-card.jpg");
    background-size: cover;
    background-position: center;
}

.hub-card__visual--re-ds::before {
    background-image:
        radial-gradient(circle at 72% 18%, rgba(136, 176, 92, 0.24), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 18% 76%, rgba(198, 164, 92, 0.18), rgba(255, 255, 255, 0) 52%),
        linear-gradient(135deg, rgba(21, 34, 28, 0.92), rgba(8, 11, 14, 0.98));
}

.hub-card__status {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 11, 14, 0.5);
    color: var(--heading-color);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.re-section--modules {
    padding-top: 4.5rem;
}

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

.module-card {
    position: relative;
    min-height: 230px;
    padding: 1.6rem;
    border-radius: 24px;
    overflow: hidden;
}

.module-card::after {
    content: "";
    position: absolute;
    inset: auto auto -25px -10px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(134, 185, 175, 0.18), rgba(134, 185, 175, 0));
}

.re-section--wiki {
    padding-top: 4.5rem;
}

.wiki-panel {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--edge-color);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 14, 18, 0.78), rgba(10, 14, 18, 0.94));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.wiki-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(198, 36, 45, 0.16), rgba(198, 36, 45, 0) 26%),
        radial-gradient(circle at 86% 58%, rgba(92, 218, 167, 0.14), rgba(92, 218, 167, 0) 24%),
        linear-gradient(90deg, rgba(8, 11, 14, 0.94), rgba(8, 11, 14, 0.72));
}

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

.wiki-panel h2 {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 14ch;
}

.wiki-panel p {
    max-width: 58rem;
    margin-top: 0.95rem;
    font-size: 1.08rem;
}

.wiki-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
    margin-bottom: 1.7rem;
}

.wiki-metric {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.wiki-metric strong {
    display: block;
    color: var(--heading-color);
    font-family: "Oswald", sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wiki-metric span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted-text);
    font-size: 0.94rem;
}

.status-page {
    padding: 3.5rem 0 0;
}

.status-page__inner {
    width: min(900px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: 30px;
}

.status-page__inner h1 {
    margin-top: 0.9rem;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    max-width: 13ch;
}

.status-page__inner p {
    max-width: 44rem;
    margin-top: 0.95rem;
    font-size: 1.12rem;
}

.status-page__inner .button {
    margin-top: 1.6rem;
}

.post-content,
.blog-container,
.feedback-container {
    width: min(900px, calc(100vw - 2rem));
    margin: 2rem auto 0;
    padding: clamp(1.2rem, 4vw, 2rem);
    border-radius: 28px;
}

.post-content .post-title,
.blog-title {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--edge-color);
    font-size: clamp(2rem, 4vw, 3rem);
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
}

.post-content p {
    margin-bottom: 1em;
    font-size: 1.02rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
    color: var(--muted-text);
}

.post-content li {
    margin-bottom: 0.45rem;
}

.post-content a,
.post-title a,
.page-link {
    color: var(--heading-color);
}

.post-list {
    margin: 1.6rem 0 0;
}

.post-item {
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-item:hover {
    transform: translateY(-2px);
    border-color: var(--edge-strong);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

.post-title {
    font-size: 1.35rem;
}

.no-posts {
    padding: 2rem 0 0.5rem;
    text-align: center;
    color: var(--muted-text);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    min-height: 2.8rem;
    padding: 0 1rem;
    border: 1px solid var(--edge-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-link:hover {
    transform: translateY(-2px);
    border-color: var(--edge-strong);
    background: rgba(255, 255, 255, 0.06);
}

.page-link.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-strong));
    color: #fff;
}

.feedback-form {
    margin-top: 1.8rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--heading-color);
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--edge-color);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font: inherit;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(216, 61, 76, 0.55);
    box-shadow: 0 0 0 3px rgba(164, 18, 33, 0.14);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-strong));
    color: #fff;
    font: inherit;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.alert {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.alert.success {
    border-color: rgba(123, 210, 151, 0.28);
    background: rgba(35, 96, 59, 0.24);
    color: #caebd5;
}

.alert.info {
    border-color: rgba(97, 154, 186, 0.28);
    background: rgba(32, 67, 87, 0.26);
    color: #d1ebf3;
}

.alert.error {
    border-color: rgba(216, 61, 76, 0.28);
    background: rgba(93, 24, 31, 0.28);
    color: #f4d8dc;
}

/* Interior Pages */
.page-shell {
    width: min(1080px, calc(100vw - 1rem));
    margin: 0 auto;
    padding: 2rem 0 0;
}

.page-shell--article {
    width: min(980px, calc(100vw - 1rem));
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.7rem, 4vw, 2.8rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background-image:
        linear-gradient(180deg, rgba(5, 7, 9, 0.2), rgba(5, 7, 9, 0.82)),
        linear-gradient(90deg, rgba(5, 7, 9, 0.94), rgba(5, 7, 9, 0.22) 52%, rgba(5, 7, 9, 0.8)),
        url("../images/re-home/crops/hero-banner.jpg");
    background-repeat: no-repeat;
    background-size: auto, auto, cover;
    background-position: center, center, center 28%;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(216, 61, 76, 0.18), transparent 26%),
        radial-gradient(circle at 82% 36%, rgba(118, 206, 176, 0.14), transparent 24%);
    pointer-events: none;
}

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

.page-hero--tools {
    background-position: center, center, center 48%;
}

.page-hero--blog {
    background-position: center, center, center 22%;
}

.page-hero--feedback,
.page-hero--legal {
    background-position: center, center, center 42%;
}

.page-hero--article {
    background-position: center, center, center 18%;
}

.page-hero--games {
    background-position: center, center, center 38%;
}

.page-hero--game-hub-village {
    background-image:
        linear-gradient(180deg, rgba(5, 7, 9, 0.24), rgba(5, 7, 9, 0.84)),
        linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.2) 52%, rgba(5, 7, 9, 0.82)),
        url("../images/re-home/crops/village-card.jpg");
    background-position: center, center, center 32%;
}

.page-hero--game-hub-re4 {
    background-image:
        linear-gradient(180deg, rgba(5, 7, 9, 0.24), rgba(5, 7, 9, 0.84)),
        linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.18) 52%, rgba(5, 7, 9, 0.82)),
        url("../images/re-home/crops/re4-wide.jpg");
    background-position: center, center, center 34%;
}

.page-hero--game-hub-re2r {
    background-image:
        linear-gradient(180deg, rgba(5, 7, 9, 0.24), rgba(5, 7, 9, 0.84)),
        linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.22) 52%, rgba(5, 7, 9, 0.82)),
        url("../images/re-home/crops/re2r-card.jpg");
    background-position: center, center, center 28%;
}

.page-hero--game-hub-archive {
    background-image:
        linear-gradient(180deg, rgba(5, 7, 9, 0.24), rgba(5, 7, 9, 0.84)),
        linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.22) 52%, rgba(5, 7, 9, 0.82)),
        url("../images/re-home/crops/archive-card.jpg");
    background-position: center, center, center 34%;
}

.page-hero__badge {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(115, 15, 22, 0.92), rgba(65, 11, 16, 0.95));
    box-shadow: 0 0 0 4px rgba(7, 8, 9, 0.92);
    color: rgba(255, 255, 255, 0.88);
}

.page-hero__badge svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.page-hero h1 {
    margin-top: 0.95rem;
    max-width: 14ch;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.page-hero__lede {
    max-width: 42rem;
    margin-top: 0.95rem;
    color: rgba(246, 241, 234, 0.8);
    font-size: 1.14rem;
}

.page-hero__actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.55rem;
}

.page-grid,
.page-stat-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.page-grid--three,
.page-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.page-grid--aside {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
}

.page-stat-grid--compact {
    margin-top: 1.4rem;
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-card,
.blog-container,
.feedback-container,
.post-content,
.status-page__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(1.3rem, 4vw, 1.8rem);
    border: 1px solid var(--edge-color);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(10, 14, 18, 0.74), rgba(10, 14, 18, 0.94));
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.24);
}

.page-card::before,
.blog-container::before,
.feedback-container::before,
.post-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 42%);
    pointer-events: none;
}

.page-panel__header {
    position: relative;
    z-index: 1;
    margin-bottom: 1.1rem;
}

.page-card__kicker,
.entry-card__eyebrow {
    margin: 0;
    color: rgba(246, 241, 234, 0.6);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-card h2,
.page-panel__header h2 {
    margin-top: 0.6rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-card p,
.page-note,
.entry-card__summary {
    position: relative;
    z-index: 1;
    margin-top: 0.72rem;
    font-size: 1.02rem;
}

.page-card__list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
    list-style: none;
}

.page-card__list li {
    position: relative;
    padding-left: 0.95rem;
    color: rgba(232, 224, 215, 0.84);
    line-height: 1.5;
}

.page-card__list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d83d4c, #86b9af);
}

.page-card--compact {
    align-self: start;
}

.game-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.blog-container,
.feedback-container,
.post-content,
.status-page__inner {
    width: 100%;
    margin: 0;
}

.page-stat {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.page-stat strong {
    display: block;
    color: var(--heading-color);
    font-family: "Oswald", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-stat span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted-text);
    font-size: 0.92rem;
}

.blog-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.entry-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.entry-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.entry-card:hover {
    transform: translateY(-2px);
    border-color: var(--edge-strong);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.entry-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(246, 241, 234, 0.9);
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.entry-card__body {
    min-width: 0;
}

.entry-card .post-title {
    margin-top: 0.42rem;
    font-size: 1.42rem;
}

.entry-card__summary {
    max-width: 42rem;
}

.feedback-form,
.post-content,
.legal-copy {
    position: relative;
    z-index: 1;
}

.page-note {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 215, 0.84);
}

.post-content {
    margin-top: 1rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 1.45rem;
    margin-bottom: 0.8rem;
}

.post-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.post-content h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.post-content p,
.post-content li {
    color: rgba(232, 224, 215, 0.84);
    font-size: 1.04rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.post-content blockquote {
    margin: 1.2rem 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid rgba(216, 61, 76, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 18px 18px 0;
}

.post-content img {
    margin: 1.2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.post-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1rem 0;
}

.post-content th,
.post-content td {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(232, 224, 215, 0.84);
    background: rgba(255, 255, 255, 0.02);
}

.post-content code {
    padding: 0.16rem 0.35rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.post-content a,
.post-title a,
.page-link {
    color: #f2ede5;
}

@media (max-width: 960px) {
    .hub-card {
        grid-template-columns: 1fr;
    }

    .hub-card__visual {
        min-height: 280px;
        order: -1;
    }

    .mission-grid,
    .module-grid,
    .wiki-metrics,
    .hero-stats,
    .page-grid--three,
    .page-grid--two,
    .page-grid--aside,
    .page-stat-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-links,
    .footer-copyright {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.8rem 0;
    }

    .nav-container {
        gap: 0.8rem;
    }

    .menu-toggle {
        display: inline-flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -78%;
        width: min(360px, 78%);
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 5.5rem 1rem 1rem;
        border-left: 1px solid var(--edge-color);
        box-shadow: -25px 0 60px rgba(0, 0, 0, 0.34);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link,
    .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 0.9rem 1rem;
        border-radius: 16px;
    }

    .nav-overlay.active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: block;
        min-width: 100%;
        margin-top: 0.4rem;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .re-hero {
        min-height: 720px;
        padding-bottom: 2rem;
    }

    .re-hero::before {
        background:
            linear-gradient(180deg, rgba(5, 7, 9, 0.24), rgba(5, 7, 9, 0.82) 72%, rgba(5, 7, 9, 1) 100%),
            linear-gradient(90deg, rgba(5, 7, 9, 0.88), rgba(5, 7, 9, 0.2)),
            url("../images/re-home/crops/hero-banner.jpg") 56% 12% / cover no-repeat;
    }

    .re-hero__panel,
    .wiki-panel,
    .status-page__inner,
    .post-content,
    .blog-container,
    .feedback-container,
    .page-card,
    .page-hero {
        border-radius: 24px;
    }

    .hub-card,
    .module-card,
    .mission-card {
        border-radius: 24px;
    }

    .entry-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .entry-card .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .re-shell,
    .nav-container,
    .footer-container {
        width: min(100vw - 1rem, 1180px);
    }

    .re-hero__title {
        max-width: none;
    }

    .hub-card__copy,
    .mission-card,
    .module-card,
    .wiki-panel,
    .status-page__inner,
    .post-content,
    .blog-container,
    .feedback-container,
    .page-card,
    .page-hero {
        padding: 1.2rem;
    }

    .button,
    .button--small,
    .submit-btn {
        width: 100%;
    }

    .hub-card__actions,
    .re-hero__actions,
    .page-hero__actions {
        flex-direction: column;
    }

    .hub-card__tool-list {
        gap: 0.55rem;
    }

    .hub-card__tool-list span {
        width: 100%;
        justify-content: center;
    }

    .nav-logo__wordmark {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }
}

/* Replica Home */
.re-home-body .ad-unit {
    display: none;
}

.re-home-body .content {
    padding: 0;
}

.re-home-body {
    background:
        radial-gradient(circle at 16% 14%, rgba(216, 61, 76, 0.18), transparent 22%),
        radial-gradient(circle at 86% 30%, rgba(216, 61, 76, 0.12), transparent 18%),
        radial-gradient(circle at 12% 72%, rgba(118, 206, 176, 0.1), transparent 18%),
        radial-gradient(circle at 88% 63%, rgba(118, 206, 176, 0.12), transparent 20%),
        linear-gradient(180deg, #070809 0%, #050607 100%);
}

.re-home-body::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.018)),
        radial-gradient(circle at 22% 6%, rgba(255, 255, 255, 0.025), transparent 16%);
}

.re-replica {
    padding: 0 0 2.2rem;
}

.re-replica__frame {
    width: min(1030px, calc(100vw - 0.8rem));
    margin: 0 auto;
    padding-top: 0.35rem;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 64px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at 12% 62%, rgba(132, 23, 31, 0.2), transparent 18%),
        radial-gradient(circle at 88% 46%, rgba(89, 212, 161, 0.16), transparent 18%),
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.04), transparent 30%),
        linear-gradient(180deg, rgba(23, 27, 31, 0.55), rgba(8, 10, 12, 0.9) 24%, rgba(7, 9, 11, 0.96) 100%);
}

.re-banner {
    position: relative;
    min-height: 412px;
    margin-top: 0.1rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(8, 10, 12, 0.06), rgba(8, 10, 12, 0.76)),
        url("../images/re-home/crops/hero-banner.jpg") center 44% / cover no-repeat;
}

.re-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 80%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 20%),
        radial-gradient(circle at 94% 76%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, rgba(8, 10, 12, 0.1), rgba(8, 10, 12, 0.24) 42%, rgba(8, 10, 12, 0.54) 100%),
        linear-gradient(90deg, rgba(8, 10, 12, 0.44), rgba(8, 10, 12, 0.06) 48%, rgba(8, 10, 12, 0.42));
}

.re-banner__copy {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2.55rem;
}

.re-banner__copy h1 {
    font-size: clamp(3rem, 6vw, 4.9rem);
    color: #f5efe6;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.36);
}

.re-banner__copy p {
    margin-top: 0.5rem;
    color: rgba(245, 239, 230, 0.82);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.re-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 1rem;
    padding: 0.58rem 1.12rem;
    border: 1px solid rgba(130, 15, 26, 0.7);
    border-radius: 4px;
    background: linear-gradient(180deg, #aa1d27, #6f1219);
    color: #fff6f6;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(111, 18, 25, 0.35);
}

.re-banner__cta:hover {
    filter: brightness(1.05);
}

.re-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: -15px auto 0.92rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(115, 15, 22, 0.92), rgba(65, 11, 16, 0.95));
    box-shadow: 0 0 0 4px rgba(7, 8, 9, 0.92);
    color: rgba(255, 255, 255, 0.88);
}

.re-mark svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.re-hub-stack {
    display: flex;
    flex-direction: column;
    gap: 0.88rem;
}

.replica-grid {
    display: grid;
    gap: 0.88rem;
}

.replica-grid--medium,
.replica-grid--small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(79%, 812px);
    margin: 0 auto;
}

.replica-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(211, 214, 216, 0.18);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(14, 18, 22, 0.94), rgba(8, 10, 12, 0.98));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 18px 34px rgba(0, 0, 0, 0.28);
}

.replica-card::after {
    content: "";
    position: absolute;
    inset: 18px -10px 18px auto;
    width: 18px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(88, 212, 162, 0.62), rgba(88, 212, 162, 0.08) 58%, rgba(88, 212, 162, 0) 74%);
    filter: blur(3px);
    opacity: 0.85;
    pointer-events: none;
}

.replica-card--village-hub::before,
.replica-card--village::before,
.replica-card--re2r::before,
.replica-card--archive::before {
    content: "";
    position: absolute;
    inset: 20px auto 20px -10px;
    width: 18px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(198, 36, 45, 0.62), rgba(198, 36, 45, 0.08) 58%, rgba(198, 36, 45, 0) 74%);
    filter: blur(3px);
    opacity: 0.75;
    pointer-events: none;
}

.replica-card--wide::before {
    content: "";
    position: absolute;
    inset: 18px auto 18px -10px;
    width: 18px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(92, 218, 167, 0.74), rgba(92, 218, 167, 0.14) 58%, rgba(92, 218, 167, 0) 74%);
    filter: blur(3px);
    opacity: 0.82;
    pointer-events: none;
}

.replica-card--wide {
    display: grid;
    grid-template-columns: 0.56fr 0.44fr;
    width: min(79%, 812px);
    min-height: 270px;
    align-self: center;
}

.replica-grid--medium .replica-card {
    min-height: 210px;
}

.replica-grid--small .replica-card {
    min-height: 186px;
}

.replica-card__media {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: saturate(0.92) brightness(0.82);
}

.replica-card__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    padding: 1rem 1.08rem 1.04rem;
    background: linear-gradient(90deg, rgba(8, 10, 12, 0.58) 0%, rgba(8, 10, 12, 0.3) 35%, rgba(8, 10, 12, 0.82) 100%);
}

.replica-card--wide .replica-card__copy {
    margin-left: 50%;
    padding-top: 1.08rem;
}

.replica-card--wide .replica-card__media {
    background-image:
        linear-gradient(90deg, rgba(8, 10, 12, 0.18), rgba(8, 10, 12, 0.68)),
        url("../images/re-home/crops/re4-wide.jpg");
    background-position: left center;
}

.replica-card--village-hub .replica-card__media {
    background-image:
        linear-gradient(180deg, rgba(8, 10, 12, 0.04), rgba(8, 10, 12, 0.44)),
        url("../images/re-home/crops/village-hub.jpg");
    background-position: center;
}

.replica-card--village .replica-card__media {
    background-image:
        linear-gradient(90deg, rgba(8, 10, 12, 0.18), rgba(8, 10, 12, 0.48)),
        url("../images/re-home/crops/village-card.jpg");
    background-position: center;
}

.replica-card--re2r .replica-card__media {
    background-image:
        linear-gradient(90deg, rgba(8, 10, 12, 0.24), rgba(8, 10, 12, 0.56)),
        url("../images/re-home/crops/re2r-card.jpg");
    background-position: center;
}

.replica-card--archive .replica-card__media {
    background-image:
        linear-gradient(90deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.48)),
        url("../images/re-home/crops/archive-card.jpg");
    background-position: center;
}

.replica-card--re-ds-home .replica-card__media {
    background-image:
        linear-gradient(90deg, rgba(8, 10, 12, 0.12), rgba(8, 10, 12, 0.68)),
        url("../images/re-ds/fan-art/spencer-mansion-storm-arrival.webp");
    background-position: center;
}

.replica-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.42rem;
    line-height: 1;
}

.replica-logo__evil {
    color: #d53c47;
    font-size: 1.22rem;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.replica-logo__main {
    color: #f5efe6;
    font-size: 1.72rem;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.replica-logo--gold .replica-logo__main {
    color: #dac280;
    font-size: 2.42rem;
}

.replica-card__eyebrow {
    margin-top: 0.24rem;
    color: rgba(228, 219, 193, 0.52);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.replica-card__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
    margin-top: auto;
}

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

.replica-card__columns h3 {
    color: #f5efe6;
    font-size: 0.96rem;
    letter-spacing: 0.16em;
}

.replica-card--wide .replica-card__columns h3,
.replica-card--re2r .replica-card__columns h3,
.replica-card--archive .replica-card__columns h3 {
    color: rgba(241, 234, 225, 0.96);
}

.replica-card__columns ul {
    list-style: none;
    margin-top: 0.46rem;
}

.replica-card__columns li {
    position: relative;
    padding-left: 0.72rem;
    color: rgba(240, 233, 225, 0.82);
    font-size: 0.9rem;
    line-height: 1.5;
}

.replica-card__columns li + li {
    margin-top: 0.22rem;
}

.replica-card__columns li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(240, 233, 225, 0.82);
}

.replica-card__feature {
    margin-top: 0.74rem;
    padding-top: 0.62rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.replica-card__feature span {
    display: block;
    color: rgba(236, 231, 222, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.replica-card__feature strong {
    display: block;
    margin-top: 0.22rem;
    color: #f7efe7;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.34rem;
    font-weight: 600;
}

.replica-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.replica-card--village-hub::before,
.replica-card--village::before {
    background: radial-gradient(circle, rgba(198, 36, 45, 0.72), rgba(198, 36, 45, 0.14) 58%, rgba(198, 36, 45, 0) 74%);
}

.replica-card--village-hub::after,
.replica-card--village::after {
    background: radial-gradient(circle, rgba(198, 36, 45, 0.68), rgba(198, 36, 45, 0.12) 58%, rgba(198, 36, 45, 0) 74%);
}

.replica-card--re2r::before {
    background: radial-gradient(circle, rgba(92, 218, 167, 0.72), rgba(92, 218, 167, 0.14) 58%, rgba(92, 218, 167, 0) 74%);
}

.replica-card--re2r::after,
.replica-card--archive::after {
    background: radial-gradient(circle, rgba(92, 218, 167, 0.72), rgba(92, 218, 167, 0.12) 58%, rgba(92, 218, 167, 0) 74%);
}

.replica-card--archive::before {
    background: radial-gradient(circle, rgba(92, 218, 167, 0.68), rgba(92, 218, 167, 0.1) 58%, rgba(92, 218, 167, 0) 74%);
    opacity: 0.3;
}

.replica-card--re-ds-home::before {
    background: radial-gradient(circle, rgba(206, 44, 58, 0.76), rgba(206, 44, 58, 0.16) 58%, rgba(206, 44, 58, 0) 74%);
}

.replica-card--re-ds-home::after {
    background: radial-gradient(circle, rgba(92, 218, 167, 0.76), rgba(92, 218, 167, 0.16) 58%, rgba(92, 218, 167, 0) 74%);
}

@media (max-width: 980px) {
    .replica-card--wide {
        grid-template-columns: 1fr;
        width: min(92%, 812px);
    }

    .replica-card--wide .replica-card__copy {
        margin-left: 0;
        justify-content: flex-end;
        padding-top: 8.6rem;
        background: linear-gradient(180deg, rgba(8, 10, 12, 0.14), rgba(8, 10, 12, 0.82) 42%, rgba(8, 10, 12, 0.95));
    }
}

@media (max-width: 760px) {
    .re-replica__frame {
        width: min(100vw - 0.55rem, 1120px);
    }

    .re-banner {
        min-height: 280px;
        background-position: center 38%;
    }

    .replica-grid--medium,
    .replica-grid--small {
        grid-template-columns: 1fr;
        width: min(92%, 812px);
    }

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

}

@media (max-width: 520px) {
    .re-banner__copy h1 {
        font-size: 2.62rem;
    }

    .replica-card__copy {
        padding: 1rem 0.92rem;
    }

    .replica-card__columns,
    .replica-card__columns--two {
        grid-template-columns: 1fr;
    }

    .replica-logo__evil,
    .replica-logo__main {
        width: 100%;
    }

    .replica-logo--gold .replica-logo__main {
        font-size: 2rem;
    }
}
