:root {
    --ink: #f4ead9;
    --muted: #cdbb9c;
    --ember: #d66b2f;
    --gold: #d3a849;
    --stone: #171719;
    --stone-2: #24211e;
    --moss: #506c4a;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background: #0d0d0f;
    font-family: "Segoe UI", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(5, 5, 6, .42), rgba(5, 5, 6, .58)),
        url("../Content/Images/screenshot.png") center top / cover no-repeat;
    opacity: .86;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

a {
    color: #f4c766;
}

.site-nav {
    border-bottom: 1px solid rgba(244, 234, 217, .14);
    background: rgba(10, 10, 12, .82);
    backdrop-filter: blur(14px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(244, 234, 217, .22);
    object-fit: cover;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(244, 234, 217, .76);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--ink);
}

.body-content {
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0;
}

.home-page {
    overflow: hidden;
}

.hero {
    min-height: calc(100vh - 61px);
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    padding: clamp(4rem, 9vw, 8rem) max(1.25rem, calc((100vw - 1140px) / 2));
    background: rgba(5, 5, 6, .72);
}

.hero-copy {
    max-width: 670px;
}

.hero-banner {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.eyebrow {
    margin: 0 0 .7rem;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: clamp(4rem, 10vw, 8.75rem);
    line-height: .86;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .54);
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 850;
}

h3 {
    margin: 1rem 0 .35rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.lead {
    max-width: 620px;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 4px;
    font-weight: 800;
}

.btn-primary {
    border-color: #e17a35;
    background: #d66b2f;
    color: #16100d;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #f2a554;
    background: #f2a554;
    color: #120d0b;
}

.btn-outline-light {
    border-color: rgba(244, 234, 217, .72);
    color: var(--ink);
}

.feature-band,
.multiplayer-band,
.classes,
.showcase,
.bestiary {
    padding: clamp(3.5rem, 8vw, 6.5rem) max(1.25rem, calc((100vw - 1140px) / 2));
}

.multiplayer-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 13, 15, .76), rgba(39, 25, 17, .68));
}

.multiplayer-copy {
    min-width: 0;
}

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

.mode-grid article {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid rgba(244, 234, 217, .13);
    border-radius: 8px;
    background: rgba(31, 29, 27, .78);
}

.mode-grid strong {
    display: block;
    margin-bottom: .55rem;
    color: var(--ink);
    font-size: 1.25rem;
}

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

.multiplayer-art {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.classes {
    background: linear-gradient(135deg, rgba(8, 8, 10, .78), rgba(25, 31, 24, .68));
}

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

.class-grid article {
    display: grid;
    grid-template-rows: minmax(360px, 52vh) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(244, 234, 217, .13);
    border-radius: 8px;
    background: rgba(13, 13, 15, .7);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .25);
}

.class-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem 1rem 0;
}

.class-grid div {
    padding: 1rem 1.1rem 1.2rem;
    background: rgba(8, 8, 10, .72);
}

.class-grid h3 {
    margin-top: 0;
}

.class-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.feature-band {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    background: linear-gradient(135deg, rgba(28, 31, 25, .72), rgba(17, 17, 18, .76));
}

.feature-band p:not(.eyebrow),
.item-grid p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.feature-band img {
    width: 100%;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.feature-band.slim {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

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

.showcase {
    background: rgba(13, 13, 15, .68);
}

.item-grid,
.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.item-grid article,
.threat-grid article {
    min-width: 0;
    border: 1px solid rgba(244, 234, 217, .13);
    border-radius: 8px;
    background: rgba(31, 29, 27, .78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.item-grid article {
    padding: 1rem;
}

.item-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: radial-gradient(circle at center, rgba(211, 168, 73, .2), rgba(0, 0, 0, .08) 52%, rgba(0, 0, 0, .2));
}

.threat-grid article {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #111;
}

.threat-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .65rem;
}

.threat-grid span {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    left: .8rem;
    padding: .65rem .75rem;
    border: 1px solid rgba(244, 234, 217, .18);
    background: rgba(8, 8, 10, .76);
    color: var(--ink);
    font-weight: 800;
}

.site-footer {
    padding: 1.5rem max(1.25rem, calc((100vw - 1140px) / 2));
    border-top: 1px solid rgba(244, 234, 217, .12);
    color: rgba(244, 234, 217, .68);
    background: rgba(8, 8, 10, .92);
}

.site-footer p {
    margin: 0;
}

.content-page {
    min-height: calc(100vh - 61px);
    background: rgba(13, 13, 15, .9);
}

.page-intro {
    padding: clamp(4rem, 9vw, 7rem) max(1.25rem, calc((100vw - 1140px) / 2)) clamp(2.5rem, 6vw, 4rem);
}

.page-intro h1 {
    max-width: 900px;
    font-size: clamp(3rem, 8vw, 6.5rem);
}

.contact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 max(1.25rem, calc((100vw - 1140px) / 2)) clamp(4rem, 9vw, 7rem);
}

.contact-panel address {
    min-width: 0;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid rgba(244, 234, 217, .13);
    border-radius: 8px;
    background: rgba(31, 29, 27, .78);
}

.contact-panel strong,
.contact-panel a {
    display: block;
}

.contact-panel strong {
    margin-bottom: .45rem;
    color: var(--ink);
}

input,
select,
textarea {
    max-width: 280px;
}

@media (max-width: 900px) {
    .hero {
        min-height: 720px;
        grid-template-columns: 1fr;
        background: #050506;
        align-items: center;
    }

    .hero-banner {
        order: -1;
        max-height: 520px;
    }

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

    .multiplayer-band,
    .contact-panel,
    .mode-grid {
        grid-template-columns: 1fr;
    }

    .multiplayer-art {
        max-height: 480px;
    }

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

    .class-grid article {
        grid-template-rows: 420px auto;
    }
}

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

    h1 {
        font-size: clamp(3.4rem, 18vw, 5.2rem);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .item-grid,
    .threat-grid,
    .class-grid {
        grid-template-columns: 1fr;
    }

    .class-grid article {
        grid-template-rows: 390px auto;
    }
}
