/* =========================================
   BETTER MC 2026
   Main stylesheet
========================================= */


/* =========================================
   SMOOTH SCROLL
========================================= */

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #080d18;
    --bg-light: #0d1524;
    --surface: #101b2d;
    --surface-hover: #15243a;
    --border: rgba(150, 180, 220, 0.12);
    --text: #f1f5fc;
    --muted: #8998ae;
    --blue: #3987ff;
    --blue-light: #70adff;
    --blue-glow: rgba(57, 135, 255, 0.2);
    --radius: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.link {
    color: #c2a14c;
    font-weight: 700;
}

button,
input {
    font: inherit;
}

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

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    height: 91px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(8, 13, 24, 0.5);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 900;
    font-style: normal;
    font-size: 14px;
}

.brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background-image: url("server-icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
}

.brand-blue {
    color: var(--blue-light);
}

.main-nav {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 38px;
    left: 50%;
    transform: translateX(-50%);
}

.main-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: white;
}

.nav-button {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: var(--surface);
    border-color: var(--blue);
}

.nav-button span {
    margin-left: 8px;
    color: var(--blue-light);
}

/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 15%, rgba(34, 94, 175, 0.2), transparent 48%),
        linear-gradient(180deg, #0b1424 0%, #080d18 100%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(35, 111, 255, 0.12);
    filter: blur(100px);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(110, 155, 220, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 155, 220, 0.12) 1px, transparent 1px);
    background-size: 65px 65px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;

    width: min(1500px, 95vw);
    aspect-ratio: 1;

    top: -50%;
    left: 12%;
    transform: translate(-50%, -50%);
    transform: rotate(20deg);

    background-image: url("season-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 15vh;
    padding-bottom: 15vh;
    text-align: center;
}

.season-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(80, 150, 255, 0.25);
    border-radius: 30px;
    background: rgba(35, 100, 190, 0.09);
    color: #a8caff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.status-dot,
.server-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #52d99b;
    box-shadow: 0 0 12px rgba(82, 217, 155, 0.7);
}

.hero-logo {
    max-width: 270px;
    margin: 35px auto 24px;
}

.hero-logo img {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    color: #9aaac1;
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 13px;
    margin-top: 32px;
}

.button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, #438fff, #2364d0);
    color: white;
    box-shadow: 0 8px 25px rgba(35, 100, 208, 0.22);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(35, 100, 208, 0.35);
}

.button-primary span {
    font-size: 18px;
}

.button-secondary {
    color: #c4d0e2;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(120, 165, 230, 0.4);
}

.copy-icon {
    font-size: 17px;
}

.server-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: inherit;
    cursor: pointer;
    font: inherit;
    transition: all 0.25s ease;
}

.server-address:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(194, 161, 76, 0.5);
}

.server-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.server-label {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.server-address code {
    color: #f1f5f9;
    font-size: 13px;
}

.copy-icon {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s ease;
}

.server-address:hover .copy-icon {
    color: #c2a14c;
}

.server-address .copy-feedback {
    display: none !important;
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
}

.server-address.copied .copy-icon {
    display: none;
}

.server-address.copied .copy-feedback {
    display: inline !important;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 75px;
    margin-top: 42px;
}

.hero-meta div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-meta strong {
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.hero-meta span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--bg));
}

/* =========================================
   SECTION HEADINGS
========================================= */

.features-section,
.mods-section {
    padding: 105px 0;
}

.section-heading {
    margin-bottom: 45px;
    text-align: center;
}

.eyebrow {
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin-top: 12px;
    color: white;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 900;
    letter-spacing: -1.8px;
}

.section-heading h2 span {
    color: var(--blue-light);
}

.section-heading > p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   FEATURE ARTWORKS
========================================= */

.feature-art {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #13243a;
}

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

.artwork_1,
.artwork_2,
.artwork_3,
.artwork_4,
.artwork_5,
.artwork_6 {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}

.artwork_1 {
    background-image: url("img/artwork_01.png");
}

.artwork_2 {
    background-image: url("img/artwork_02.png");
}

.artwork_3 {
    background-image: url("img/artwork_03.jpg");
}

.artwork_4 {
    background-image: url("img/artwork_04.webp");
}

.artwork_5 {
    background-image: url("img/artwork_05.jpeg");
}

.artwork_6 {
    background-image: url("img/artwork_06.webp");
}

/* HOVER EFFECT */
.feature-card:hover .artwork_1,
.feature-card:hover .artwork_2,
.feature-card:hover .artwork_3,
.feature-card:hover .artwork_4,
.feature-card:hover .artwork_5,
.feature-card:hover .artwork_6 {
    transform: scale(1.05);
}

/* FEATURE CARD CONTENT */
.feature-card-content {
    padding: 23px 23px 23px 0;
}

.feature-number {
    color: var(--blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.feature-card h3 {
    margin-top: 10px;
    font-size: 19px;
    font-weight: 800;
}

.feature-card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================
   MOD DATABASE
========================================= */

.mods-section {
    background: #0b1220;
    border-top: 1px solid var(--border);
}

.mods-heading {
    margin-bottom: 38px;
}

.mod-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    justify-content: center;
}

.search-wrap {
    width: min(450px, 100%);
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #101b2d;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap:focus-within {
    border-color: rgba(57, 135, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(57, 135, 255, 0.08);
}

.search-icon {
    color: #8ca9d1;
    font-size: 23px;
    line-height: 1;
}

.search-wrap input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    font-size: 12px;
}

.search-wrap input::placeholder {
    color: #71829c;
}

.search-wrap kbd {
    padding: 4px 6px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #8292aa;
    font-size: 8px;
    white-space: nowrap;
}

.result-count {
    color: var(--muted);
    font-size: 11px;
}

.result-count strong {
    color: white;
    font-size: 15px;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    justify-content: center;
}

.filter-chip {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: #9aaac1;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    color: white;
    border-color: rgba(57, 135, 255, 0.45);
}

.filter-chip.active {
    color: white;
    border-color: var(--blue);
    background: rgba(57, 135, 255, 0.16);
}

.filter-chip span {
    margin-left: 5px;
    color: var(--blue-light);
}

/* Mod grid */

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

.mod-card {
    min-width: 0;
    min-height: 112px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: linear-gradient(145deg, #111d30, #0e1829);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mod-card:hover {
    transform: translateY(-2px);
    border-color: rgba(57, 135, 255, 0.4);
    background: var(--surface-hover);
}

/* =========================================
   MOD LOGOS
========================================= */

.mod-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(160, 190, 230, 0.12);
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 30%, rgba(67, 126, 205, 0.13), transparent 75%),
        rgba(255, 255, 255, 0.025);
}

.mod-logo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.mod-logo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(140, 175, 220, 0.35);
    font-size: 22px;
    font-weight: 800;
}

.mod-info {
    min-width: 0;
    flex: 1;
}

.mod-info h3 {
    margin: 1px 0 6px;
    overflow-wrap: anywhere;
    color: #e7effc;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.mod-info p {
    margin-bottom: 10px;
    color: #9aaac1;
    font-size: 12px;
    line-height: 1.6;
    min-height: 38.4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-category {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid rgba(85, 143, 220, 0.17);
    border-radius: 4px;
    background: rgba(57, 135, 255, 0.07);
    color: #8db9f2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.no-results {
    padding: 70px 20px;
    text-align: center;
}

.no-results[hidden] {
    display: none;
}

.no-results > span {
    color: #648fc8;
    font-size: 40px;
}

.no-results h3 {
    margin-top: 10px;
    font-size: 19px;
}

.no-results p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.reset-search {
    margin-top: 20px;
    padding: 10px 15px;
    border: 1px solid var(--blue);
    border-radius: 6px;
    background: rgba(57, 135, 255, 0.1);
    color: #a9ceff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.reset-search:hover {
    background: rgba(57, 135, 255, 0.2);
}

.mods-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: #64758e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mod-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mod-card:focus-visible {
    outline: 2px solid #8bbcff;
    outline-offset: 4px;
}

.mods-footer strong {
    color: #a9caff;
}

.button-whitelist {
    background: #2e9b62;
    color: #ffffff;
    border: 1px solid #3dbb79;
    box-shadow: 0 8px 24px rgba(46, 155, 98, 0.2);
}

.button-whitelist:hover {
    background: #36ad70;
    border-color: #50ce8b;
    transform: translateY(-2px);
}

/* =========================================
   KEYBINDINGS
========================================= */

.keybindings-section {
    padding: 100px 0;
    background: #080d18;
}

.keybindings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 45px;
}

.keybinding-card {
    background: #111f32;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.keybinding-card:hover {
    border-color: rgba(194, 161, 76, 0.4);
    transform: translateY(-3px);
}

.keybinding-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.keybinding-category span {
    color: #c2a14c;
    font-size: 11px;
    font-weight: 700;
}

.keybinding-category h3 {
    color: #ffffff;
    font-size: 15px;
    margin: 0;
}

.keybinding-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.keybinding-row > span {
    color: #aab8ca;
    font-size: 13px;
}

.keycaps {
    display: flex;
    align-items: center;
    gap: 5px;
}

.keycaps kbd {
    min-width: 32px;
    padding: 6px 10px;
    text-align: center;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    background: #1d3049;
    border: 1px solid #344b68;
    border-bottom: 3px solid #263b55;
    border-radius: 6px;
}

.keybindings-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    padding: 17px 20px;
    background: rgba(194, 161, 76, 0.07);
    border: 1px solid rgba(194, 161, 76, 0.2);
    border-radius: 10px;
}

.keybindings-note > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #0b1423;
    background: #c2a14c;
    border-radius: 50%;
    font-weight: 800;
}

.keybindings-note p {
    margin: 0;
    color: #aab8ca;
    font-size: 12px;
    line-height: 1.7;
}

.keybindings-note strong {
    color: #ffffff;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    border-top: 1px solid var(--border);
    background: #070b13;
}

.footer-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content > p {
    color: #687991;
    font-size: 11px;
}

.footer-season {
    color: #71839e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eab308;
    box-shadow: 0 0 8px currentColor;
}

.server-status.online .status-indicator {
    background: #22c55e;
    color: #22c55e;
}

.server-status.offline .status-indicator {
    background: #ef4444;
    color: #ef4444;
}

.status-label {
    font-weight: 600;
}

.status-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.status-players {
    color: #94a3b8;
}

/* =========================================
   CHANGELOG
========================================= */

.changelog-section {
    margin: 60px auto;
}

.changelog-container {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.changelog-container:hover {
    border-color: rgba(194, 161, 76, 0.35);
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    cursor: pointer;
    list-style: none;
}

.changelog-header::-webkit-details-marker {
    display: none;
}

.changelog-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #c2a14c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.changelog-heading h2 {
    margin: 0 0 7px;
    color: #f1f5f9;
    font-size: 22px;
}

.changelog-heading p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.changelog-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #c2a14c;
    font-size: 12px;
    font-weight: 600;
}

.changelog-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(194, 161, 76, 0.3);
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.changelog-container[open] .changelog-arrow {
    transform: rotate(180deg);
}

.changelog-content {
    padding: 0 32px 32px;
    animation: changelogFade 0.3s ease;
}

.changelog-entry {
    padding: 24px;
    background: rgba(8, 13, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9px;
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 10px;
}

.changelog-version {
    color: #c2a14c;
    font-weight: 700;
    letter-spacing: 1px;
}

.changelog-date {
    color: #64748b;
}

.changelog-entry h3 {
    margin: 0 0 10px;
    color: #f1f5f9;
    font-size: 17px;
}

.changelog-entry p {
    margin: 0 0 14px;
    color: #9aaac1;
    font-size: 13px;
    line-height: 1.7;
}

.changelog-entry ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.6;
}

.changelog-entry h4 {
    margin: 30px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(194, 161, 76, 0.2);
    color: #c2a14c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.changelog-entry h4:first-of-type {
    margin-top: 28px;
}

.changelog-entry li::marker {
    color: #c2a14c;
}

@keyframes changelogFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE
========================================= */

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

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

    .feature-card:last-child {
        grid-column: 1 / -1;
    }

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

@media (max-width: 650px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .site-header {
        height: 65px;
    }

    .main-nav {
        display: none;
    }

    .nav-button {
        padding: 9px 11px;
        font-size: 10px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-logo {
        width: 100%;
        margin-top: 40px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 310px);
        margin: 28px auto 0;
    }

    .server-address {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .server-address code {
        overflow-wrap: anywhere;
    }

    .hero-meta {
        gap: 40px;
    }

    .features-section,
    .mods-section {
        padding: 75px 0;
    }

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

    .feature-card:last-child {
        grid-column: auto;
    }

    .feature-art {
        height: 170px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .mod-toolbar {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .search-wrap {
        width: 100%;
    }

    .mod-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .mod-card {
        min-height: 100px;
    }

    .mods-footer {
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-content {
        padding-top: 25px;
        padding-bottom: 25px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

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

    .keybindings-section {
        padding: 70px 0;
    }

    .changelog-header {
        align-items: flex-start;
        padding: 22px 20px;
    }

    .changelog-heading h2 {
        font-size: 19px;
    }

    .changelog-toggle {
        gap: 6px;
        font-size: 0;
    }

    .changelog-content {
        padding: 0 16px 20px;
    }

    .changelog-entry {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .server-status {
        display: none;
    }

    .brand {
        font-size: 12px;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {

    .nav-button {
        font-size: 9px;
    }

    .hero-meta {
        gap: 25px;
    }

    .filter-chip {
        padding: 0 9px;
        font-size: 9px;
    }
}