:root {
    --bg-blue: #004e92;
    --bg-orange: #f2a358;
    --bg-deep: #081521;
    --ink: #fff8ef;
    --muted: #fff0de;
    --soft-blue: #d8efff;
    --soft-orange: #ffe2be;
    --panel: rgba(8, 19, 33, 0.48);
    --panel-strong: rgba(8, 19, 33, 0.66);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        linear-gradient(to top right, #f2a358, #004e92),
        linear-gradient(to top right, rgba(242, 163, 88, 0.4), transparent);
    background-attachment: fixed;
}

body.home-page,
body.inner-page {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 18, 31, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.nav-shell,
.page-shell,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-link span,
.home-title,
.page-brand {
    font-family: "Mistress Benedict Brush", "Segoe Script", "Lucida Handwriting", cursive;
    font-weight: 400;
    letter-spacing: 0;
}

.brand-link span {
    padding-top: 0.04em;
    font-size: 1.38rem;
    line-height: 0.95;
    white-space: nowrap;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.site-nav,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    padding: 10px 14px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.1);
}

.page-shell {
    padding: 42px 0 66px;
}

.home-landing,
.page-landing {
    display: grid;
    place-items: center;
}

.home-page .home-landing {
    align-content: center;
    min-height: 0;
    padding: 18px 0 28px;
}

.home-panel,
.page-panel {
    width: min(780px, 100%);
    padding: 26px 28px 20px;
    text-align: center;
}

.page-panel {
    margin-inline: auto;
}

.home-logo,
.page-logo {
    width: 250px;
    height: 250px;
    margin: 0 auto 18px;
    border: 3px solid var(--bg-orange);
    border-radius: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.page-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 16px;
}

.home-title {
    display: inline-block;
    margin: 0 0 4px;
    padding-bottom: 0.05em;
    color: #fff8ef;
    font-size: 5.8rem;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.page-brand {
    margin: 0 0 4px;
    color: #fff8ef;
    font-size: 3.6rem;
    line-height: 1.08;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.18);
}

h1,
h2,
h3 {
    margin: 0;
    color: #fffaf5;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: 3.6rem;
}

h2 {
    margin-bottom: 12px;
    font-size: 2.1rem;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

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

.home-note,
.page-note {
    margin-top: 2px;
    color: var(--muted);
    font-size: 1.02rem;
}

.home-copy {
    display: grid;
    gap: 6px;
    margin-top: 28px;
}

.home-subtitle,
.lead-copy {
    max-width: 36rem;
    margin-inline: auto;
    color: var(--muted);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.44;
    letter-spacing: 0;
    text-wrap: balance;
}

.lead-copy {
    max-width: 45rem;
    font-size: 1.08rem;
    line-height: 1.66;
}

.home-subtitle-brand {
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0;
}

.home-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.home-actions {
    width: fit-content;
    margin: 10px auto 0;
}

.button,
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 22px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background-color: var(--bg-orange);
    border: 1px solid rgba(255, 229, 196, 0.22);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button.secondary {
    color: #f4f9ff;
    background: rgba(93, 158, 219, 0.24);
    border-color: rgba(182, 221, 255, 0.36);
}

.button:hover,
.button:focus-visible,
.home-button:hover,
.home-button:focus-visible {
    background-color: #5865f2;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: rgba(118, 183, 238, 0.32);
}

.server-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(700px, 100%);
    margin: 18px auto 0;
}

.server-strip--single {
    grid-template-columns: minmax(0, 1fr);
    width: min(420px, 100%);
}

.server-pill {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 94px;
    padding: 14px 15px 12px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 45%),
        rgba(84, 79, 83, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    box-shadow:
        0 11px 22px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.server-pill:hover,
.server-pill:focus-visible {
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.server-pill strong {
    display: block;
    margin: 0 0 5px;
    color: #e3f0ff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0.96;
}

.server-pill span {
    color: #fffaf5;
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(16, 19, 28, 0.16);
}

.server-pill--pc {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 43%),
        radial-gradient(circle at 50% -16%, rgba(151, 214, 255, 0.38), rgba(151, 214, 255, 0.13) 34%, transparent 72%),
        linear-gradient(135deg, rgba(48, 98, 149, 0.98), rgba(67, 101, 146, 0.96) 54%, rgba(86, 93, 121, 0.93));
    border-color: rgba(169, 220, 255, 0.24);
}

.server-pill--ps5 {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 43%),
        radial-gradient(circle at 50% -16%, rgba(255, 217, 165, 0.35), rgba(255, 217, 165, 0.11) 34%, transparent 72%),
        linear-gradient(135deg, rgba(197, 131, 72, 0.98), rgba(178, 121, 80, 0.96) 54%, rgba(137, 107, 114, 0.93));
    border-color: rgba(255, 217, 182, 0.24);
}

.content-section {
    width: min(960px, 100%);
    margin: 34px auto 0;
}

.section-head {
    max-width: 46rem;
    margin: 0 auto 18px;
    text-align: center;
}

.eyebrow,
.breadcrumb,
.server-tag {
    margin: 0 0 10px;
    color: var(--soft-orange);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.breadcrumb {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    text-transform: none;
}

.breadcrumb a,
.text-link {
    color: var(--soft-orange);
    font-weight: 700;
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.info-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.info-card,
.notice-card,
.gallery-tile,
.feature-tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.info-card,
.notice-card,
.feature-tile {
    padding: 24px;
}

.notice-card {
    width: min(760px, 100%);
    margin-inline: auto;
    text-align: center;
    background: var(--panel-strong);
}

.plain-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.55;
}

.connection-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 11px 15px;
    color: var(--ink);
    font-family: Consolas, "Courier New", monospace;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
}

.gallery-grid {
    margin-top: 18px;
}

.media-grid {
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    align-items: start;
}

.media-grid > .gallery-tile:last-child:nth-child(odd) {
    width: min(100%, 420px);
    grid-column: 1 / -1;
    justify-self: center;
}

.gallery-tile {
    display: block;
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    background: rgba(9, 22, 37, 0.46);
}

.gallery-tile img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
    filter: saturate(1.08);
    transform: scale(1.03);
}

.feature-tile {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 190px;
}

.feature-tile strong {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    line-height: 1.2;
}

.site-footer {
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
    color: var(--muted);
}

.site-footer p {
    max-width: 50rem;
}

.footer-links {
    gap: 14px;
}

.footer-links a {
    color: var(--soft-orange);
    text-decoration: none;
}

@media (max-width: 900px) {
    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .server-strip,
    .info-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .home-title {
        font-size: 4.8rem;
    }

    .page-brand {
        font-size: 3.1rem;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .nav-shell,
    .page-shell,
    .site-footer {
        width: min(100% - 24px, 1120px);
    }

    .nav-shell {
        gap: 14px;
        padding: 14px 0;
    }

    .page-shell {
        padding: 28px 0 52px;
    }

    .home-page .home-landing {
        padding: 12px 0 20px;
    }

    .home-panel,
    .page-panel {
        padding: 18px 12px 16px;
    }

    .home-logo {
        width: 220px;
        height: 220px;
    }

    .page-logo {
        width: 150px;
        height: 150px;
    }

    .home-title {
        font-size: 3.85rem;
        line-height: 1.12;
    }

    .page-brand {
        font-size: 2.7rem;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .site-nav {
        gap: 8px;
    }

    .site-nav a {
        padding: 9px 12px;
    }

    .button,
    .home-button {
        width: min(100%, 260px);
    }

    .info-card,
    .notice-card,
    .feature-tile {
        padding: 20px;
    }

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

    .media-grid > .gallery-tile:last-child:nth-child(odd) {
        width: 100%;
        grid-column: auto;
    }
}
