/* /mmorpg — the page that answers "what kind of server is this".
   Loaded only by mmorpg.html; shared chrome still comes from hypercube-main.css. */

.mmo-lede {
    max-width: 760px;
    margin: 0 auto 52px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: center;
}

.mmo-lede strong { color: var(--text-light); }

.mmo-section { margin-bottom: 64px; }

.mmo-section > h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--gold);
    margin-bottom: 10px;
}

.mmo-section > .mmo-intro {
    max-width: 68ch;
    margin-bottom: 28px;
    color: var(--text-muted);
    line-height: 1.75;
}

.mmo-section > .mmo-intro strong { color: var(--text-light); }

/* ---- the comparison ---- */

.mmo-compare-wrap { overflow-x: auto; }

.mmo-compare {
    width: 100%;
    min-width: 340px;
    border-collapse: collapse;
    text-align: left;
}

.mmo-compare th,
.mmo-compare td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid rgba(212, 164, 76, 0.14);
    line-height: 1.6;
    font-size: 0.94rem;
}

.mmo-compare thead th {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    border-bottom: 1px solid rgba(212, 164, 76, 0.35);
}

.mmo-compare thead th:first-child { color: var(--text-dim); }
.mmo-compare thead th:last-child { color: var(--gold-light); }

.mmo-compare td:first-child {
    width: 48%;
    color: var(--text-dim);
}

.mmo-compare td:last-child { color: var(--text-light); }

.mmo-compare tbody tr:last-child th,
.mmo-compare tbody tr:last-child td { border-bottom: 0; }

.mmo-compare td:last-child {
    background: rgba(212, 164, 76, 0.05);
    border-left: 2px solid rgba(212, 164, 76, 0.35);
}

/* ---- the progression loop ---- */

.mmo-loop {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    counter-reset: loop;
}

.mmo-loop li {
    flex: 1 1 180px;
    position: relative;
    padding: 18px 20px;
    border: 1px solid rgba(212, 164, 76, 0.18);
    border-radius: 12px;
    background: rgba(45, 31, 20, 0.45);
}

.mmo-loop li h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.mmo-loop li p {
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.mmo-loop li::after {
    content: '\2192';
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--gold);
    z-index: 1;
}

.mmo-loop li:last-child::after { content: none; }

.mmo-loop-note {
    font-size: 0.92rem;
    color: var(--gold-light);
    line-height: 1.7;
}

/* ---- skills ---- */

.mmo-skills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.mmo-skills li {
    padding: 11px 14px;
    border: 1px solid rgba(212, 164, 76, 0.15);
    border-left: 2px solid var(--gold);
    border-radius: 8px;
    background: rgba(45, 31, 20, 0.4);
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ---- stats ---- */

.mmo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.mmo-stats li {
    padding: 7px 13px;
    border: 1px solid rgba(212, 164, 76, 0.16);
    border-radius: 999px;
    background: rgba(45, 31, 20, 0.35);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mmo-stats li.is-gate {
    border-color: rgba(212, 164, 76, 0.5);
    color: var(--gold-light);
}

/* ---- classes ---- */

.mmo-classes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.mmo-class {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(212, 164, 76, 0.16);
    border-radius: 12px;
    background: rgba(45, 31, 20, 0.45);
}

.mmo-class h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
}

.mmo-class p {
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.mmo-class dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 164, 76, 0.14);
    font-size: 0.83rem;
}

.mmo-class dt { color: var(--text-dim); }
.mmo-class dd { color: var(--text-light); }

/* ---- worlds ---- */

.mmo-worlds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.mmo-world {
    padding: 24px;
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 14px;
}

.mmo-world.is-rpg {
    background:
        linear-gradient(150deg, rgba(212, 164, 76, 0.1) 0%, rgba(212, 164, 76, 0) 50%),
        linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 60%, #3a161b 100%);
    border-color: rgba(212, 164, 76, 0.35);
}

.mmo-world.is-survival { background: rgba(45, 31, 20, 0.5); }

.mmo-world h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.mmo-world .mmo-world-role {
    display: block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.mmo-world p {
    color: rgba(250, 245, 239, 0.86);
    line-height: 1.7;
    font-size: 0.93rem;
}

/* ---- closing call to action ---- */

.mmo-cta {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid rgba(212, 164, 76, 0.3);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(212, 164, 76, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.mmo-cta h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.4rem, 3.4vw, 2rem);
    color: var(--gold);
    margin-bottom: 10px;
}

.mmo-cta p {
    max-width: 52ch;
    margin: 0 auto 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.mmo-ip {
    display: inline-block;
    padding: 13px 26px;
    border: 1px solid rgba(212, 164, 76, 0.45);
    border-radius: 10px;
    background: rgba(15, 12, 9, 0.7);
    font-family: 'Cinzel', serif;
    font-size: clamp(1.1rem, 2.6vw, 1.45rem);
    color: var(--gold-light);
    letter-spacing: 0.03em;
}

.mmo-cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.mmo-cta-links a {
    padding: 10px 20px;
    border: 1px solid rgba(212, 164, 76, 0.28);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.mmo-cta-links a:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

@media (max-width: 640px) {
    .mmo-loop li::after {
        top: auto;
        right: 50%;
        bottom: -17px;
        transform: translateX(50%) rotate(90deg);
    }

    .mmo-compare th,
    .mmo-compare td {
        padding: 11px 12px;
        font-size: 0.88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mmo-cta-links a { transition: none; }
}
