.settings-page {
    max-width: 1480px;
    margin: 0 auto;
    padding: 42px 3vw 80px;
}

.settings-hero {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 5vw, 60px);
    background:
        radial-gradient(circle at 88% 12%, rgba(232,168,58,.16), transparent 26rem),
        linear-gradient(145deg, rgba(11,27,42,.98), rgba(5,14,24,.97));
}

.settings-hero h1,
.settings-heading h2 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}

.settings-hero h1 {
    color: var(--gold-light);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: .9;
}

.settings-hero p {
    max-width: 800px;
    color: #cad5df;
    line-height: 1.7;
}

.settings-hero aside {
    display: grid;
    min-width: 170px;
    place-items: center;
    padding: 24px;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: rgba(232,168,58,.08);
}

.settings-hero aside strong {
    color: var(--gold-light);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.4rem;
}

.settings-hero aside span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.settings-section {
    margin-top: 70px;
}

.settings-heading {
    max-width: 900px;
    margin-bottom: 26px;
}

.settings-heading h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.settings-heading > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}

.mod-table {
    display: grid;
    gap: 14px;
}

.mod-row {
    display: grid;
    grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(12,29,44,.97), rgba(5,14,24,.96));
    box-shadow: var(--shadow);
}

.mod-logo-cell {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 18px;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(circle, rgba(232,168,58,.13), transparent 72%),
        rgba(0,0,0,.14);
}

.mod-logo-cell a {
    display: grid;
    width: min(100%, 220px);
    min-height: 190px;
    place-items: center;
}

.mod-logo-cell img {
    display: block;
    width: min(100%, 190px);
    aspect-ratio: 1;
    max-height: 190px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,.32);
}

.mod-logo-fallback {
    display: grid;
    width: 150px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    color: var(--gold-light);
    font: 800 2rem "Barlow Condensed", sans-serif;
    background: rgba(232,168,58,.08);
}

.mod-description-cell {
    padding: clamp(22px, 4vw, 36px);
}

.mod-title-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.mod-title-line span {
    color: var(--gold-light);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mod-title-line h3 {
    margin: 5px 0 0;
    color: #f6e1b8;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.mod-title-line > a {
    padding: 9px 12px;
    border: 1px solid var(--border-gold);
    border-radius: 7px;
    color: var(--gold-light);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.mod-description-cell p {
    max-width: 1000px;
    margin-bottom: 0;
    color: #c2ced8;
    line-height: 1.75;
}

.settings-source {
    margin-bottom: 15px;
    padding: 20px 24px;
}

.settings-source strong {
    color: var(--gold-light);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.settings-source ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: .8rem;
}

.settings-source p {
    margin-bottom: 0;
    color: var(--muted);
}

.value-table-wrap {
    overflow-x: auto;
}

.value-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.value-table th,
.value-table td {
    padding: 17px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.value-table thead th {
    color: var(--gold-light);
    background: rgba(232,168,58,.08);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.value-table tbody td:nth-child(1) {
    width: 31%;
}

.value-table tbody td:nth-child(2) {
    width: 17%;
    color: #d7e0e7;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
}

.value-table td {
    color: #bdc9d3;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.value-table td strong {
    display: block;
    color: #edf2f6;
}

.value-table td small {
    display: block;
    margin-top: 5px;
    color: #718294;
    font-size: .7rem;
}

.value-group th {
    padding-top: 26px;
    color: #f4d69d;
    background: rgba(255,255,255,.025);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.15rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.settings-note {
    margin-top: 18px;
    padding: 16px 19px;
    border-left: 3px solid var(--gold);
    border-radius: 7px;
    background: rgba(232,168,58,.07);
    color: var(--muted);
    line-height: 1.6;
}

.settings-updated {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 14px 2px 0;
    color: var(--muted);
    font-size: .82rem;
}

.settings-updated strong {
    color: #d7e0e7;
}

@media (max-width: 850px) {
    .settings-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .mod-row {
        grid-template-columns: 1fr;
    }

    .mod-logo-cell {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 560px) {
    .mod-title-line {
        flex-direction: column;
    }
}

.mod-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 18px;
    color: #91a7ba;
    font-size: .78rem;
}

.mod-metadata strong {
    color: #dce6ee;
}
