/* Preserve EpicMU's illustrated composition; use gold as an accent. */
:root {
 --bg: #080a0e;
 --bg-radial: radial-gradient(ellipse at 50% 0%, #222019 0%, #0d1016 48%, #080a0e 100%);
 --panel: #12161d;
 --panel-2: #0c1016;
 --panel-head: linear-gradient(180deg, #2e3030, #1b2027);
 --border: #34332d;
 --border-2: #655437;
 --gold: #dfb45f;
 --gold-light: #ffe2a1;
 --cyan: #dfb45f;
 --cyan-glow: #ffe2a1;
 --text: #dde0e5;
 --muted: #9da4af;
 --muted-2: #757e8b;
}
.topbar { height: 62px; border-bottom-color: #62502f; box-shadow: 0 2px 25px #0008; }
.topbar .nav { margin: 0 auto; }
.top-actions { position: absolute; right: 4%; }
#guides { scroll-margin-top: 82px; }
.brand-logo { width: 145px; height: 50px; object-fit: contain; }
.nav a, .top-actions a { color: #cbd0d9; }
.nav a.active, .nav a:hover { color: var(--gold-light); }
.hero { height: min(44vw, 600px); min-height: 450px; background: #0a0d13; isolation: isolate; }
.hero::before {
 content: ''; position: absolute; inset: 0; z-index: -2;
 background: url('../img/hero-bg.png') center 26% / cover no-repeat;
 filter: sepia(.6) saturate(.85);
}
.hero::after {
 inset: 0; height: auto; z-index: -1;
 background: linear-gradient(90deg, rgba(5,8,13,.8), rgba(5,8,13,.3) 35%, transparent 67%), linear-gradient(0deg, var(--bg), transparent 26%);
}
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.hero-logo-img { width: min(820px, 70vw); max-width: 100%; margin: 0; filter: drop-shadow(0 5px 24px #000b); }
.version-label { color: var(--gold-light); font: 700 13px var(--font-mono); letter-spacing: 4px; }
.hero-copy .hero-tagline { color: #e0ddd4; font-size: 13px; margin: 12px 0 22px; letter-spacing: 2px; }
.hero-cta { box-shadow: 0 4px 24px #dba83c30, inset 0 1px #fff5; }
.server-clock { background: #090e17bb; border-color: #7a623a; }
.server-strip { color: #c8cbd2; }
.content-grid { max-width: 1360px; grid-template-columns: 250px minmax(0,1fr) 260px; padding: 26px 28px 50px; gap: 20px; }
.panel { background: linear-gradient(150deg, #181d25, #10141b); border-color: #3c3b34; box-shadow: 0 10px 28px #0006, inset 0 1px #ffffff04; }
.panel-title { color: #e8d3a7; background: linear-gradient(180deg, #30312e, #1a2028); font-size: 11px; }
.panel-title i { background: linear-gradient(90deg, #8c7246, transparent); }
.panel-body { color: var(--text); background: linear-gradient(180deg, #181e28, #10151d); }
.login-panel input:not([type=checkbox]), .page-wrap .form-control { background: #0a0e15; border-color: #353c47; }
.remember, .muted-link, .download-card span, .download-card small, .rank small, .guide-card p, .news-article p, .community-copy, .status-caption, .status-realms span, .rate-bar-wrap span { color: #929dab; }
.outline-button { color: #d5d9df; border-color: #5b513f; }
.download-card { background: radial-gradient(ellipse at 50% 0%, #37302255, #0c111a 70%); border-color: #343b47; }
.download-badge { width: 82px; height: 82px; filter: sepia(.85) saturate(1.4) drop-shadow(0 0 14px #d7a94655); }
.download-card b, .guide-card h4, .rank span, .guild-row b, .event-row b, .news-article h3 { color: #e2e5eb; }
.rank, .guild-row, .event-row, .news-article { border-bottom-color: #29313d; }
.rank > b { color: #c7b48d; }
.feature { background: #0b1018; height: 340px; isolation: isolate; }
.feature::before {
 content: ''; position: absolute; inset: 0; z-index: -2;
 background-image: var(--feature-image, url('../img/hero-bg.png'));
 background-size: cover; background-position: center 25%; filter: sepia(.45) saturate(.8);
}
.feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #080e17ed, #080e1799 42%, #080e170a 80%), linear-gradient(0deg, #090d16e8, transparent 45%); }
.feature-copy { width: 55%; top: 66px; }
.feature-copy h2 { color: #f3f2ed; font-size: clamp(29px, 2.8vw, 40px); text-shadow: 0 2px 12px #000; }
.feature-copy h3 { font-size: 12px; letter-spacing: 2px; margin-top: 6px; }
.feature-copy p { color: #c3cbd5; font-size: 12px; }
.feature-nav { position: absolute; bottom: 18px; left: 30px; display: flex; gap: 8px; z-index: 3; }
.feature-thumb { width: 42px; height: 42px; padding: 0; border: 1px solid #73716a; background: #111; cursor: pointer; opacity: .65; transition: .2s; }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-thumb.active, .feature-thumb:hover { opacity: 1; border-color: var(--gold-light); box-shadow: 0 0 12px #e0b46055; }
.feature-thumb:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.guide-card { background: #0e141e; border-color: #333c48; }
.guide-thumb { position: relative; height: 92px; background-size: cover; background-position: center; }
.guide-thumb.t0 { background-image: linear-gradient(#11192755, #11192766), url('../img/profiles/knight.jpg'); }
.guide-thumb.t1 { background-image: linear-gradient(#11192755, #11192766), url('../img/profiles/wiz.jpg'); }
.guide-thumb.t2 { background-image: linear-gradient(#11192755, #11192766), url('../img/hero-bg.png'); }
.guide-thumb span { color: #ffdf99; text-shadow: 0 2px 8px #000, 0 0 20px #d3a442; }
.classic-news-banner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 205px; padding: 28px; overflow: hidden; isolation: isolate; margin-bottom: 14px; border: 1px solid #6b5736; }
.classic-news-banner::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../img/hero-bg.png') center 32% / cover; filter: sepia(.55) saturate(.8); }
.classic-news-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #060b12e6, #060b1266 65%, transparent); }
.classic-news-banner > span { color: #e7d7b5; font-size: 10px; letter-spacing: 3px; }
.classic-news-banner strong { color: #ffdfa0; font: 700 clamp(26px, 3vw, 40px) var(--font-head); text-shadow: 0 2px 12px #000; margin: 9px 0; }
.classic-news-banner em { font-style: normal; color: #fff; }
.classic-news-banner small { color: #d0d6df; font-size: 11px; }
.classic-news-banner b { margin-left: 8px; color: var(--gold); }
.shop-banner { display: block; overflow: hidden; border: 1px solid #6b5736; }
.shop-banner img { width: 100%; filter: sepia(.45) saturate(.8); transition: transform .3s; }
.shop-banner:hover img { transform: scale(1.025); }
.social-banners img { filter: sepia(.6) saturate(.8); }
.classic-rate { min-width: 65px; color: var(--gold-light); font: 700 23px var(--font-head); text-shadow: 0 0 16px #dfb45f50; }
.rate-bar { background: #262d39; }
.rate-bar i { background: linear-gradient(90deg, #ae7730, #ffe1a0); box-shadow: 0 0 8px #dfb45f66; }
.roster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.roster-card { position: relative; min-height: 155px; overflow: hidden; border: 1px solid #43413a; background: #10151d; }
.roster-card img { width: 100%; height: 155px; object-fit: cover; object-position: 25% center; transition: transform .3s; }
.roster-card:hover img { transform: scale(1.05); }
.roster-card span { position: absolute; inset: auto 0 0; padding: 22px 12px 12px; background: linear-gradient(transparent, #06090fee); }
.roster-card b { display: block; color: #eed6a6; font: 700 15px var(--font-head); }
.roster-card small { color: #bec5cf; font-size: 10px; }
.page-wrap-inner { background: #12161d; }
.page-wrap .panel-body, .page-wrap table:not(.rankings-table), .rankings-table, .rankings-table a, .page-wrap table:not(.rankings-table) a { color: #d3d9e2; }
.page-title, .page-wrap h1, .page-wrap h2, .page-wrap h3, .page-wrap h4, .page-wrap h5 { color: #f0e5cf; }
.page-wrap label, .rankings-update-time, .rankings-table tr:first-child td, .page-wrap table:not(.rankings-table) th { color: #9ba6b6; }
footer { color: #8a95a5; border-top-color: #39362d; }
.footer-brand img { height: 42px; width: auto; }
footer small.copyright { color: #707b8c; }
@media (max-width: 1100px) {
 .topbar .nav { margin: 0 auto 0 0; }
 .top-actions { position: static; }
 .content-grid { grid-template-columns: 220px minmax(0, 1fr); }
 .col-right { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
 .col-right > .panel, .col-right > .social-banners { flex: 1 1 230px; }
 .nav { gap: 16px; } .topbar { gap: 18px; }
}
@media (max-width: 760px) {
 .topbar .menu-toggle { margin-left: 0; margin-right: auto; }
 .topbar { height: 62px; } .nav { top: 62px; background: #0e131d; } .nav a { border-bottom-color: #29313d; }
 .hero { min-height: 430px; height: 72vw; }
 .hero::before { background-position: 60% center; }
 .hero::after { background: linear-gradient(90deg, #070b12c9, #070b1222), linear-gradient(0deg, var(--bg), transparent 35%); }
 .hero-copy { padding: 20px; }
 .hero-logo-img { width: 92vw; max-width: 100%; }
 .version-label { font-size: 11px; letter-spacing: 2px; }
 .hero-copy .hero-tagline { font-size: 11px; }
 .server-clock { bottom: 65px; padding: 8px 12px; font-size: 10px; }
 .server-strip { left: 5%; right: 5%; font-size: 9px; gap: 10px; }
 .content-grid { display: flex; flex-direction: column; padding: 20px 16px 35px; }
 .col { width: 100%; } .col-right { flex-direction: column; } .col-right > .panel, .col-right > .social-banners { flex: none; }
 .feature { height: 340px; } .feature-copy { width: 62%; left: 22px; } .feature-label, .feature-nav { left: 22px; }
 .feature-copy h2 { font-size: 30px; } .feature-copy h3 { font-size: 11px; } .feature-copy p { font-size: 11px; }
 .guide-grid { grid-template-columns: 1fr; } .guide-thumb { width: 100px; height: auto; min-height: 100px; }
 .shop-banner img { max-height: 300px; object-fit: cover; object-position: bottom; }
 .classic-news-banner { min-height: 185px; }
}
@media (prefers-reduced-motion: reduce) { .roster-card img, .shop-banner img, .feature-thumb { transition: none; } }

/* Illustrated download and matching community banners. */
.download-card-premium { padding: 0; overflow: hidden; text-align: left; border: 1px solid #6d5735; box-shadow: inset 0 0 25px #0005; }
.download-details { padding: 17px 14px 15px; background: linear-gradient(150deg, #19212c, #0d131d); }
.download-card .download-eyebrow { font-size: 9px; letter-spacing: 2px; color: #dabb80; margin: 0 0 7px; }
.download-details h3 { color: #ece6da; font: 700 19px/1.2 var(--font-head); margin: 0 0 10px; }
.download-details p { color: #aab3c0; font-size: 11px; line-height: 1.7; margin: 0 0 16px; }
.download-main-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 8px; border: 1px solid #ffe2a1; background: linear-gradient(#edcc87, #aa7830); box-shadow: inset 0 1px #fff6, 0 4px 15px #0005; transition: filter .2s, transform .2s; }
.download-main-button svg { width: 19px; height: 19px; fill: none; stroke: #21180c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.download-card .download-main-button span { margin: 0; color: #21180c; font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.download-main-button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.download-card .download-platform { margin: 11px 0 0; text-align: center; color: #8793a3; font-size: 8px; letter-spacing: .7px; }
.community-banners { display: grid; gap: 10px; }
.mu-social-banner { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; min-height: 84px; isolation: isolate; overflow: hidden; border: 1px solid #78613b; background: #10151d; box-shadow: inset 0 0 0 3px #080b1044, 0 8px 22px #0005; transition: border-color .2s, transform .2s; }
.mu-social-banner::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../img/profiles/knight.jpg') 20% 35% / cover; filter: sepia(.7) saturate(.65); opacity: .8; }
.mu-social-discord::before { background-image: url('../img/profiles/dl.jpg'); }
.mu-social-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a101b66, #0a101ba6), linear-gradient(0deg, #060a1080, transparent); box-shadow: inset 0 1px #e1be7422, inset 0 -1px #e1be7422; }
.social-crest { display: grid; place-items: center; width: 34px; height: 42px; flex-shrink: 0; color: #f3d58d; background: linear-gradient(145deg, #80643e66, #121923); border: 1px solid #ad8951; clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); filter: drop-shadow(0 0 8px #d4ae5044); }
.social-crest svg { width: 24px; height: 24px; fill: currentColor; }
.mu-social-discord circle { fill: #18202d; }
.discord-smile { fill: none; stroke: #18202d; stroke-width: 1.4; }
.social-banner-copy { min-width: 0; }
.social-banner-copy small { display: block; color: #ba9a61; font-size: 7px; letter-spacing: 1.5px; }
.social-banner-copy strong { display: block; color: #f5ddb0; font: 700 22px/1.25 var(--font-head); text-shadow: 0 2px 8px #000; }
.social-banner-copy > span { display: block; color: #adb6c3; font-size: 9px; margin-top: 3px; }
.social-banner-arrow { margin-left: auto; color: #ddbd7a; font-size: 20px; }
.mu-social-banner[href]:hover { border-color: #ffe2a1; transform: translateY(-2px); }
.mu-social-banner:focus-visible, .download-main-button:focus-visible { outline: 2px solid #ffe2a1; outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 761px) { .community-banners { flex: 1 1 260px; } }
@media (prefers-reduced-motion: reduce) { .mu-social-banner, .download-main-button { transition: none; } }

/* Keep Bootstrap link states consistent with the Gold MU palette. */
body a, body a:hover, body a:focus, body a:active, body a:visited { text-decoration: none; }
body a:hover, body a:focus { color: var(--gold-light); }
body .download-main-button:hover, body .download-main-button:focus { color: #21180c; }
.col { min-width: 0; }
.download-card-premium { border-color: #6d5735; background: #111822; }
.download-details { padding: 16px 14px; background: radial-gradient(ellipse at 50% 0%, #a17c3322, transparent 70%), linear-gradient(150deg, #19212c, #0d131d); }
.download-card .download-eyebrow { color: #e2c890; padding-bottom: 13px; margin-bottom: 15px; border-bottom: 1px solid #b7964f55; letter-spacing: 2px; }
.download-details h3 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; }
.download-details h3 small { display: inline; margin: 0 0 0 4px; color: #dabb80; font: 400 12px var(--font-mono); }
.download-details p { font-size: 11px; margin: 0 0 14px; }
.download-main-button { min-height: 38px; padding: 10px 8px; }
.download-card .download-main-button span { font-size: 10px; letter-spacing: 1px; }
.download-card .download-platform { margin-top: 15px; line-height: 1.6; }

/* Compact online status; fill reflects actual server occupancy. */
.online-panel .panel-body { padding: 18px 16px; background: radial-gradient(ellipse at top right, #36c78c0c, transparent 70%), linear-gradient(180deg, #171f2a, #10161f); }
.online-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 21px; }
.online-heading > div > b { display: block; font-size: 15px; color: #ece7da; }
.online-heading > div > small { display: block; margin-top: 2px; font-size: 8px; letter-spacing: 1.3px; color: #8b97a8; }
.online-presence { display: flex; align-items: center; white-space: nowrap; color: #80dfb2; font-size: 7px; letter-spacing: .5px; padding: 6px 7px; background: #4cdb9b0c; border: 1px solid #4cdb9b26; border-radius: 4px; }
.online-presence .green-dot { width: 5px; height: 5px; margin-right: 5px; }
.online-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.online-summary > span { color: #a3afbe; font-size: 10px; }
.online-summary > strong { color: #e2f6e9; font-size: 13px; font-weight: 600; white-space: nowrap; }
.online-summary strong small { color: #8593a4; font-size: 10px; font-weight: 400; }
.online-meter { height: 9px; padding: 2px; border: 1px solid #35483f; background: #080e14; border-radius: 20px; overflow: hidden; }
.online-meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #21a56a, #7eeab0); box-shadow: 0 0 10px #56dd9866; transform-origin: left; animation: onlineFill 1.2s ease-out both; }
.online-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; font-size: 9px; color: #8796a8; }
.online-meta b { margin-left: 3px; color: #a7dfbe; font-weight: 500; }
.online-meta > span:last-child b { color: #d8bd85; }
@keyframes onlineFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .online-meter > span { animation: none; } }

/* Information page: presentation only; module content stays intact. */
.page-info { max-width: 1200px; }
.page-info .page-wrap-inner { padding: 28px; border-color: #424139; background: linear-gradient(135deg, #161c25, #0d131c 65%); border-radius: 6px; }
.page-info .page-title { position: relative; margin: -28px -28px 26px; padding: 32px 28px; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; border-bottom: 1px solid #75613b; background: linear-gradient(90deg, #141c28f2, #141c28bb), url('../img/hero-bg.png') center 32% / cover; color: #f5dfb4; }
.page-info .page-title::before { content: ''; position: absolute; left: 0; top: 30px; bottom: 30px; width: 3px; background: var(--gold); box-shadow: 0 0 14px #d9ad5833; }
.page-info .page-wrap-inner > br { display: none; }
.page-info .page-wrap-inner > h2 { display: flex; align-items: center; gap: 12px; font: 700 21px/1.3 var(--font-head); color: #ecd5aa; margin: 30px 0 14px; }
.page-info .page-wrap-inner > h2::before { content: ''; width: 7px; height: 7px; background: #d5ae63; transform: rotate(45deg); box-shadow: 0 0 12px #d5ae6333; flex-shrink: 0; }
.page-info .page-wrap-inner > h2::after { content: ''; height: 1px; flex: 1; margin-left: 4px; background: linear-gradient(90deg, #8a713c77, transparent); }
.page-info .info-table-shell { overflow-x: auto; border: 1px solid #3a4350; border-radius: 5px; background: #111822; box-shadow: 0 6px 20px #0002; scrollbar-color: #766443 #10151e; }
.page-info .info-table-shell table { width: 100%; margin: 0; border: 0; color: #cdd5e0; font-size: 12px; }
.page-info .info-table-shell table > tbody > tr > td,
.page-info .info-table-shell table > thead > tr > th { padding: 13px 16px; vertical-align: middle; border: 1px solid #303947; line-height: 1.5; }
.page-info .info-table-shell table > tbody > tr:nth-of-type(odd) > td { background: #151e2a; }
.page-info .info-table-shell table > tbody > tr:nth-of-type(even) > td { background: #101822; }
.page-info .info-table-shell table > tbody > tr:hover > td { background: #202b38; }
.page-info .info-table-shell table > tbody > tr > td:first-child { color: #d9e0e9; }
.page-info .info-table-shell table > tbody > tr > td:not(:first-child) { color: #edce90; font-family: var(--font-mono); font-size: 11px; }
.page-info .info-table-shell:not(.info-overview) table > tbody > tr:nth-child(-n+2) > td { background: #242b33; color: #d5bc8d; font: 600 10px/1.5 var(--font); letter-spacing: .6px; }
.page-info .info-table-shell:not(.info-overview):last-of-type table > tbody > tr > td { background: #111a25; color: #cdd5e0; font: 400 12px/1.5 var(--font); letter-spacing: normal; }
.page-info .info-table-shell:not(.info-overview):last-of-type table > tbody > tr:nth-of-type(odd) > td { background: #151e2a; }
.page-info .info-table-shell:not(.info-overview):last-of-type table > tbody > tr > td:first-child { color: #e2c38a; font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.page-info .info-overview table > thead > tr > th { background: linear-gradient(90deg, #34342d, #222a35); color: #e7d1a5; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.page-info .info-overview table > tbody > tr > td:last-child { font-size: 13px; font-weight: 600; }
.page-info .info-table-shell table tr > :first-child { border-left: 0; }
.page-info .info-table-shell table tr > :last-child { border-right: 0; }
.page-info .info-table-shell table > tbody > tr:last-child > td { border-bottom: 0; }
.page-info iframe { display: block; width: 100%; max-width: 760px; height: auto; aspect-ratio: 16 / 9; border: 1px solid #625333; border-radius: 5px; background: #080d15; }
@media (max-width: 760px) {
 .page-info .page-wrap-inner { padding: 16px; }
 .page-info .page-title { margin: -16px -16px 20px; padding: 25px 20px; }
 .page-info .info-table-shell:not(.info-overview) table { min-width: 510px; }
 .page-info .info-table-shell table > tbody > tr > td, .page-info .info-table-shell table > thead > tr > th { padding: 11px 12px; }
 .page-info .page-wrap-inner > h2 { font-size: 19px; margin-top: 25px; }
}
