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

.legacy-page-page {
    --legacy-page-ivory: #fbf7ef;
    --legacy-page-stone: #ede5d7;
    --legacy-page-crimson: #a91d2f;
    --legacy-page-crimson-deep: #7f1021;
    --legacy-page-gold: #b8943f;
    --legacy-page-ink: #1d2230;
    --legacy-page-muted: #677085;
    --legacy-page-border: rgba(87, 61, 47, 0.14);
    --legacy-page-surface: rgba(255, 252, 246, 0.9);
    --legacy-page-shadow: 0 22px 58px rgba(58, 42, 31, 0.13);
    --legacy-page-focus: 0 0 0 3px rgba(169, 29, 47, 0.2);
    margin: 0;
    min-width: 0;
    background: #141824;
    color: var(--legacy-page-ink);
    font-family: "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
    line-height: 1.65;
}

.legacy-page-page a {
    color: inherit;
    text-decoration: none;
}

.legacy-page-page img {
    max-width: 100%;
    height: auto;
}

.legacy-page-footer,
.legacy-page-page-hero,
.legacy-page-page-content {
    position: relative;
    z-index: 1;
}

.legacy-page-page-hero__inner,
.legacy-page-page-content__inner,
.legacy-page-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.legacy-page-footer__mark {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.legacy-page-page-shell {
    position: relative;
    min-height: 100vh;
    overflow: clip;
    isolation: isolate;
}

.legacy-page-page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(250, 247, 239, 0.09), rgba(250, 247, 239, 0.09)),
        url("/assets/legacy/images/hero/hero-home-mobile-v1.webp");
    background-position: center, center top;
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
}

.legacy-page-page-hero {
    padding: 58px 0 28px;
}

.legacy-page-page-hero__card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--legacy-page-border);
    border-radius: 30px;
    padding: clamp(24px, 4vw, 44px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(251, 247, 239, 0.94)),
        radial-gradient(circle at 88% 18%, rgba(169, 29, 47, 0.11), transparent 34%);
    box-shadow: var(--legacy-page-shadow);
}

.legacy-page-page-hero__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(169, 29, 47, 0.16), transparent 22%, transparent 78%, rgba(184, 148, 63, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 42%);
}

.legacy-page-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--legacy-page-crimson-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legacy-page-page-kicker::before {
    content: "";
    width: 9px;
    height: 13px;
    border-radius: 60% 60% 70% 70%;
    background: linear-gradient(180deg, #d64a5c, var(--legacy-page-crimson-deep));
    box-shadow: 0 0 0 3px rgba(169, 29, 47, 0.09);
    transform: rotate(45deg);
}

.legacy-page-page-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.legacy-page-page-subtitle {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--legacy-page-muted);
    font-size: clamp(15px, 2vw, 18px);
}

.legacy-page-page-content {
    padding: 0 0 58px;
}

.legacy-page-page-content__inner {
    position: relative;
    border: 1px solid var(--legacy-page-border);
    border-radius: 30px;
    padding: clamp(16px, 3vw, 28px);
    background: var(--legacy-page-surface);
    box-shadow: var(--legacy-page-shadow);
}

.legacy-page-legacy-content {
    min-width: 0;
}

.legacy-page-legacy-content .ui.segment {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.legacy-page-legacy-content .main-header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(87, 61, 47, 0.12);
}

.legacy-page-legacy-content .main-header span {
    display: block;
    color: var(--legacy-page-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legacy-page-legacy-content .main-header p {
    margin: 6px 0 0;
    color: var(--legacy-page-muted);
}

.legacy-page-legacy-content .row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.legacy-page-legacy-content [class*="col-"] {
    min-width: 0;
    width: auto;
}

.legacy-page-legacy-content .col-lg-12,
.legacy-page-legacy-content .col-sm-12 {
    grid-column: span 12;
}

.legacy-page-legacy-content .col-lg-6,
.legacy-page-legacy-content .col-sm-6,
.legacy-page-legacy-content .col-lg-5,
.legacy-page-legacy-content .col-sm-5 {
    grid-column: span 6;
}

.legacy-page-legacy-content .col-lg-4,
.legacy-page-legacy-content .col-sm-4 {
    grid-column: span 4;
}

.legacy-page-legacy-content .col-lg-3,
.legacy-page-legacy-content .col-sm-3 {
    grid-column: span 3;
}

.legacy-page-legacy-content .box-sv {
    height: 100%;
    border: 1px solid rgba(87, 61, 47, 0.13);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(251, 247, 239, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(184, 148, 63, 0.08), transparent 30%);
    box-shadow: 0 16px 34px rgba(58, 42, 31, 0.08);
    overflow: hidden;
}

.legacy-page-legacy-content .box-sv-body {
    padding: 18px;
}

.legacy-page-legacy-content .legacy-page-server-summary-grid {
    align-items: start;
}

.legacy-page-legacy-content .legacy-page-server-summary-card,
.legacy-page-legacy-content .legacy-page-server-summary-stack,
.legacy-page-legacy-content .legacy-page-server-guild-war {
    align-self: start;
}

.legacy-page-legacy-content .legacy-page-server-summary-card > .box-sv,
.legacy-page-legacy-content .legacy-page-server-summary-stack > .box-sv,
.legacy-page-legacy-content .legacy-page-server-guild-war > .box-sv {
    height: auto;
}

.legacy-page-legacy-content .legacy-page-server-summary-stack {
    display: grid;
    gap: 18px;
}

.legacy-page-legacy-content .legacy-page-server-guild-war {
    margin-top: 0;
}

.legacy-page-legacy-content .box-text-haeder {
    color: var(--legacy-page-crimson-deep);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legacy-page-legacy-content .box-text-haeder small {
    display: block;
    margin-top: 2px;
    color: var(--legacy-page-muted);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.legacy-page-legacy-content .line-box {
    height: 1px;
    margin: 12px 0;
    background: linear-gradient(90deg, rgba(169, 29, 47, 0.32), rgba(184, 148, 63, 0.14), transparent);
}

.legacy-page-legacy-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.legacy-page-legacy-content .list-haeder {
    margin: 12px 0 6px;
    color: var(--legacy-page-ink);
    font-weight: 800;
}

.legacy-page-legacy-content .list-text {
    margin: 6px 0;
    color: #303747;
    font-size: 14px;
    line-height: 1.7;
}

.legacy-page-legacy-content .list-text img {
    width: auto;
    max-width: 28px;
    max-height: 28px;
    vertical-align: middle;
    margin-right: 6px;
}

.legacy-page-legacy-content .font-org {
    color: var(--legacy-page-crimson-deep);
    font-weight: 800;
}

.legacy-page-legacy-content .ui.tag.label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 4px;
    padding: 0 11px;
    border: 1px solid rgba(169, 29, 47, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--legacy-page-crimson-deep);
    font-size: 12px;
    font-weight: 800;
}

.legacy-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legacy-page-button--primary {
    color: #fffdf9;
    background: linear-gradient(180deg, var(--legacy-page-crimson), var(--legacy-page-crimson-deep));
    box-shadow: 0 14px 28px rgba(127, 16, 33, 0.22);
}

.legacy-page-button--secondary {
    color: var(--legacy-page-crimson-deep);
    border-color: rgba(169, 29, 47, 0.22);
    background: rgba(255, 255, 255, 0.78);
}

.legacy-page-footer {
    padding: 48px 0 28px;
    background:
        linear-gradient(180deg, rgba(237, 229, 215, 0), rgba(237, 229, 215, 0.64) 28%, rgba(251, 247, 239, 0.96)),
        radial-gradient(circle at 86% 0%, rgba(169, 29, 47, 0.05), transparent 28%);
}

.legacy-page-footer__inner {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.legacy-page-footer__brand,
.legacy-page-footer__gateway,
.legacy-page-footer__bottom {
    width: 100%;
    min-width: 0;
}

.legacy-page-footer__brand {
    text-align: center;
}

.legacy-page-footer__mark {
    justify-content: center;
    gap: 14px;
}

.legacy-page-footer__crest {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(127, 16, 33, 0.18));
}

.legacy-page-footer__mark strong,
.legacy-page-footer__bottom span:first-child {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legacy-page-footer__mark small {
    display: block;
    margin-top: 3px;
    color: var(--legacy-page-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legacy-page-footer__brand p {
    margin: 12px auto 0;
    max-width: 52ch;
    color: var(--legacy-page-muted);
    font-size: 14.5px;
    line-height: 1.82;
}

.legacy-page-footer__gateway {
    display: grid;
    gap: 18px;
    max-width: 860px;
    padding: 24px 28px;
    border: 1px solid var(--legacy-page-border);
    border-radius: 26px;
    background: rgba(255, 252, 246, 0.78);
    box-shadow: var(--legacy-page-shadow);
}

.legacy-page-footer__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 520px);
    margin: 0 auto;
}

.legacy-page-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 10px;
}

.legacy-page-footer__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 14px;
    border: 1px solid rgba(87, 61, 47, 0.12);
    background: rgba(255, 255, 255, 0.52);
    color: var(--legacy-page-muted);
    font-size: 12.5px;
    font-weight: 800;
}

.legacy-page-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 16px;
    color: var(--legacy-page-muted);
    font-size: 12.5px;
    text-align: center;
}

.legacy-page-button:focus-visible,
.legacy-page-footer__links a:focus-visible {
    outline: none;
    box-shadow: var(--legacy-page-focus);
}

/* Shared compact production footer. */
.legacy-page-footer {
    min-height: 148px;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(195, 158, 84, 0.28);
    background: linear-gradient(180deg, rgba(9, 12, 16, 0.95), rgba(5, 7, 10, 0.99));
    color: #a8a7a3;
    box-shadow: inset 0 1px rgba(255,255,255,.018);
}

.legacy-page-footer::before {
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(760px,52vw);
    height: 2px;
    content: "";
    background: linear-gradient(90deg,transparent,rgba(199,160,79,.58),transparent);
    transform: translateX(-50%);
}

.legacy-page-footer__inner {
    width: min(1440px,calc(100% - 52px));
    min-height: 148px;
    display: grid;
    grid-template-columns: minmax(300px,1fr) auto minmax(300px,1fr);
    align-items: center;
    justify-items: stretch;
    gap: 42px;
}

.legacy-page-footer__identity { min-width: 0; justify-self: start; display: inline-flex; align-items: center; gap: 14px; }
.legacy-page-footer__identity img { width: 52px; height: 52px; object-fit: contain; filter: saturate(.92) brightness(.92) drop-shadow(0 7px 10px rgba(0,0,0,.42)); transition: filter .2s ease,transform .2s ease; }
.legacy-page-footer__identity span,.legacy-page-footer__identity strong,.legacy-page-footer__identity small,.legacy-page-footer__legal strong,.legacy-page-footer__legal small,.legacy-page-footer__links a span,.legacy-page-footer__links a small { display: block; }
.legacy-page-footer__identity strong { color: #eee8df; font: 600 16px Inter,sans-serif; letter-spacing: .075em; }
.legacy-page-footer__identity small { margin-top: 5px; color: #8c9093; font: 500 11px Inter,sans-serif; letter-spacing: .075em; }
.legacy-page-footer__legal { justify-self: center; text-align: center; }
.legacy-page-footer__legal strong { color: #c1bfba; font: 500 13px Inter,sans-serif; letter-spacing: .015em; }
.legacy-page-footer__legal small { margin-top: 7px; color: #7c8185; font: 500 11px Inter,sans-serif; letter-spacing: .03em; }
.legacy-page-footer__links { justify-self: end; display: flex; align-items: center; flex-wrap: nowrap; gap: 30px; }
.legacy-page-footer__links a { position: relative; min-height: 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: #b1afaa; font: 500 13px Inter,sans-serif; white-space: nowrap; }
.legacy-page-footer__links a::after { position: absolute; right: 50%; bottom: 2px; left: 50%; height: 1px; content: ""; background: #caaa69; transition: right .2s ease,left .2s ease; }
.legacy-page-footer__links a small { margin-top: 2px; color: #777c80; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.legacy-page-footer__identity:hover img,.legacy-page-footer__identity:focus-visible img { filter: saturate(1) brightness(1.03) drop-shadow(0 8px 11px rgba(0,0,0,.46)); transform: translateY(-2px); }
.legacy-page-footer__links a:hover,.legacy-page-footer__links a:focus-visible { color: #dcc078; outline: 0; box-shadow: none; }
.legacy-page-footer__links a:hover::after,.legacy-page-footer__links a:focus-visible::after { right: 0; left: 0; }

@media (min-width: 768px) {
    .legacy-page-page-shell::before {
        background-image:
            linear-gradient(rgba(250, 247, 239, 0.09), rgba(250, 247, 239, 0.09)),
            url("/assets/legacy/images/hero/hero-home-main-v1.webp");
    }
}

@media (max-width: 767px) {
    .legacy-page-page-hero__inner,
    .legacy-page-page-content__inner,
    .legacy-page-footer__inner {
        width: calc(100% - 28px);
    }

    .legacy-page-page-hero {
        padding-top: 34px;
    }

    .legacy-page-legacy-content .row {
        grid-template-columns: minmax(0, 1fr);
    }

    .legacy-page-legacy-content .col-lg-12,
    .legacy-page-legacy-content .col-sm-12,
    .legacy-page-legacy-content .col-lg-6,
    .legacy-page-legacy-content .col-sm-6,
    .legacy-page-legacy-content .col-lg-5,
    .legacy-page-legacy-content .col-sm-5,
    .legacy-page-legacy-content .col-lg-4,
    .legacy-page-legacy-content .col-sm-4,
    .legacy-page-legacy-content .col-lg-3,
    .legacy-page-legacy-content .col-sm-3 {
        grid-column: span 1;
    }

    .legacy-page-footer__actions {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .legacy-page-footer__gateway {
        padding: 20px;
    }

    .legacy-page-footer { min-height: 0; padding: 28px 20px 30px; }
    .legacy-page-footer__inner { width: 100%; min-height: 0; grid-template-columns: 1fr; justify-items: center; gap: 21px; text-align: center; }
    .legacy-page-footer__identity,.legacy-page-footer__links { justify-self: center; }
    .legacy-page-footer__identity { gap: 11px; text-align: left; }
    .legacy-page-footer__identity img { width: 46px; height: 46px; }
    .legacy-page-footer__links { flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-page-page *,
    .legacy-page-page *::before,
    .legacy-page-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
