:root {
    --page-ink: #090809;
    --panel: #151112;
    --panel-raised: #201719;
    --line: rgba(196, 63, 54, .34);
    --line-gold: rgba(231, 190, 105, .38);
    --blood: #9d1c2b;
    --blood-light: #c72f3b;
    --gold: #e8bd69;
    --gold-bright: #f4d997;
    --paper: #f6f0e6;
    --muted: #c7bcb1;
    --green: #81d1a0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--paper);
    background: #090809;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.site-frame { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }

.site-topline {
    min-height: 36px;
    color: #d9ccba;
    background: #100c0d;
    border-bottom: 1px solid rgba(255,255,255,.055);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}
.topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topline-inner a { color: var(--gold-bright); text-decoration: none; }
.topline-inner a:hover { color: white; }
.topline-note { color: #93877c; letter-spacing: .07em; }
.status-light { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(129,209,160,.6); margin-right: 8px; vertical-align: 1px; }
.status-light.maintenance { background: #e5aa65; box-shadow: 0 0 10px rgba(229,170,101,.4); }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 8, 9, .95);
    border-bottom: 1px solid rgba(231,190,105,.43);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: baseline; color: #fff4dd; text-decoration: none; font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900; letter-spacing: .035em; white-space: nowrap; }
.wordmark b { color: var(--gold); margin-left: 6px; }
.wordmark small { align-self: center; color: #c7bcb1; font-family: 'Rajdhani', sans-serif; font-size: 9px; letter-spacing: .2em; margin-left: 9px; }
.site-menu { display: flex; align-items: center; justify-content: center; list-style: none; gap: clamp(14px, 2.4vw, 38px); margin: 0 auto; padding: 0; }
.site-link { display: inline-flex; align-items: center; min-height: 82px; color: #e5ddd0; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .12em; position: relative; }
.site-link::after { position: absolute; content: ''; bottom: 20px; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-link:hover, .site-link.active { color: var(--gold-bright); }
.site-link:hover::after, .site-link.active::after { transform: scaleX(1); }
.nav-account { display: inline-flex; align-items: center; gap: 14px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-gold); color: var(--gold-bright); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .09em; transition: .2s ease; }
.nav-account:hover { color: #140e08; background: var(--gold); }
.menu-toggle { display: none; }

.site-hero {
    min-height: 570px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #100b0c;
    background-image: linear-gradient(90deg, rgba(7,6,7,.97) 0%, rgba(8,6,7,.86) 25%, rgba(8,6,7,.48) 55%, rgba(8,6,7,.6) 100%), url('rohan.jpg');
    background-size: cover;
    background-position: center 43%;
    border-bottom: 1px solid rgba(231,190,105,.35);
}
.site-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 79% 46%, rgba(147,28,38,.2), transparent 37%), linear-gradient(0deg, rgba(6,5,6,.76), transparent 24%); }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(83,12,20,.18), transparent 48%, rgba(7,5,6,.14)); pointer-events: none; }
.hero-inner { min-height: 570px; position: relative; display: flex; align-items: center; }
.hero-copy { width: min(690px, 62%); padding: 54px 0 72px; }
.eyebrow, .section-kicker { color: var(--gold); font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 30px; height: 1px; background: var(--gold); }
.hero-copy h1 { margin: 21px 0 15px; color: #fff5e1; font-family: 'Orbitron', sans-serif; font-size: clamp(56px, 7.3vw, 96px); font-weight: 900; line-height: .98; letter-spacing: .005em; text-shadow: 0 5px 28px rgba(0,0,0,.65); }
.hero-copy h1 em { color: var(--gold-bright); font-style: normal; }
.hero-lead { max-width: 530px; margin: 0; color: #e0d5c8; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; text-decoration: none; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .075em; transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #170f08; background: linear-gradient(120deg, #f5da98, #d4a448); border-color: #ffe4aa; box-shadow: 0 8px 25px rgba(125,22,31,.26); }
.button-gold:hover { color: #170f08; background: #ffe3a3; }
.button-ghost, .button-outline { color: #fff1d4; background: rgba(10,8,9,.56); border-color: rgba(231,190,105,.58); }
.button-ghost:hover, .button-outline:hover { color: #1a1008; background: var(--gold); border-color: var(--gold); }
.hero-facts { display: flex; gap: 28px; margin-top: 38px; }
.hero-facts div { min-width: 94px; padding-left: 13px; border-left: 1px solid rgba(231,190,105,.58); }
.hero-facts strong { display: block; color: #fff4dc; font-family: 'Orbitron', sans-serif; font-size: 17px; line-height: 1.2; }
.hero-facts strong span { color: var(--gold); font-size: 11px; margin-left: 3px; }
.hero-facts small { display: block; margin-top: 6px; color: #bdb1a4; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.hero-callout { width: 248px; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); padding: 23px; background: rgba(13,10,11,.87); border: 1px solid rgba(231,190,105,.49); box-shadow: 0 18px 48px rgba(0,0,0,.4); }
.callout-mark { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.callout-label { display: block; margin-top: 24px; color: #bdb2a6; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.hero-callout strong { display: block; margin-top: 8px; color: #fff1d4; font-family: 'Orbitron', sans-serif; font-size: 22px; line-height: 1.35; letter-spacing: .045em; }
.hero-callout a { display: inline-block; margin-top: 19px; color: var(--gold); text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.hero-callout a:hover { color: white; }
.hero-bottomline { position: absolute; right: 0; bottom: 19px; left: 0; display: flex; justify-content: space-between; color: #c2b8ad; font-size: 10px; font-weight: 700; letter-spacing: .15em; }

.landing-content { padding-top: 34px; padding-bottom: 62px; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.entry-card { min-height: 108px; display: flex; align-items: center; gap: 16px; position: relative; padding: 19px 20px; color: var(--paper); background: linear-gradient(120deg, #1e1718, #131011); border: 1px solid rgba(255,255,255,.075); border-bottom: 2px solid rgba(183,52,54,.6); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.entry-card:hover { transform: translateY(-3px); color: #fff6e4; border-color: var(--line-gold); background: linear-gradient(120deg, #291a1c, #171213); }
.entry-featured { border-bottom-color: var(--gold); }
.entry-icon { color: var(--gold); font-size: 28px; line-height: 1; }
.entry-copy { display: grid; gap: 2px; }
.entry-copy small { color: #b5a99d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.entry-copy strong { color: #fff3dc; font-family: 'Orbitron', sans-serif; font-size: 13px; letter-spacing: .015em; }
.entry-copy em { color: #c5b9ac; font-size: 13px; font-style: normal; }
.entry-arrow { margin-left: auto; align-self: flex-start; color: var(--gold); font-size: 17px; }

.realm-section { padding: 23px 25px 25px; margin-bottom: 28px; background: linear-gradient(120deg, rgba(25,18,19,.98), rgba(15,12,13,.98)); border: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.section-heading h2 { margin: 5px 0 0; color: #fff3dd; font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: .035em; }
.section-kicker { font-size: 9px; }
.realm-heading { margin-bottom: 16px; }
.text-link { color: var(--gold-bright); text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.text-link:hover { color: white; }
.realm-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.realm-item { min-height: 65px; display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: rgba(7,6,7,.58); border: 1px solid rgba(255,255,255,.055); }
.realm-item .status-light { width: 8px; height: 8px; flex: 0 0 auto; margin: 0; }
.realm-item div { min-width: 0; display: grid; gap: 1px; }
.realm-item strong { color: #fff2dc; font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: .035em; }
.realm-item span { color: #bdb2a6; font-size: 12px; }
.realm-item > b { margin-left: auto; color: #9de0b6; font-family: 'Orbitron', sans-serif; font-size: 8px; letter-spacing: .1em; }
.realm-maintenance > b { color: #e5b275; }

.portal-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, .84fr); align-items: start; gap: 24px; }
.portal-main, .portal-sidebar { display: grid; gap: 24px; min-width: 0; }
.panel { min-width: 0; padding: 24px; background: linear-gradient(145deg, rgba(28,20,21,.98), rgba(15,12,13,.98)); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.compact-heading { margin-bottom: 16px; }
.compact-heading .section-heading { margin-bottom: 0; }
.carousel-count { display: flex; align-items: center; gap: 10px; color: #aa9d90; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.carousel-count b { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line-gold); color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 12px; }
.world-carousel { height: 390px; position: relative; overflow: hidden; background: #110e0f; border: 1px solid rgba(231,190,105,.27); }
.carousel-inner, .carousel-item { position: absolute; inset: 0; }
.carousel-item { display: none; }
.carousel-item.active { display: block; }
.carousel-item img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 42%; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,7,.88), rgba(8,6,7,.5) 55%, rgba(8,6,7,.15)), linear-gradient(0deg, rgba(8,6,7,.62), transparent 65%); }
.slide-caption { position: absolute; z-index: 1; left: clamp(23px, 5vw, 58px); bottom: 62px; max-width: 500px; }
.slide-caption > span { color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.slide-caption h3 { margin: 8px 0 7px; color: #fff4dc; font-family: 'Orbitron', sans-serif; font-size: clamp(27px, 4vw, 43px); line-height: 1.13; letter-spacing: .015em; }
.slide-caption p { max-width: 410px; margin: 0; color: #e0d5c9; font-size: 16px; }
.carousel-btn { position: absolute; z-index: 3; top: 50%; width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; transform: translateY(-50%); color: var(--gold-bright); background: rgba(11,8,9,.76); border: 1px solid rgba(231,190,105,.63); font-size: 25px; cursor: pointer; }
.carousel-btn:hover { color: #130d07; background: var(--gold); }
.prev-btn { left: 14px; }
.next-btn { right: 14px; }
.carousel-dots { position: absolute; z-index: 3; right: 25px; bottom: 22px; display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(255,241,210,.8); border-radius: 50%; background: rgba(10,8,9,.55); cursor: pointer; }
.dot.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgba(232,189,105,.48); }

.news-panel { padding-bottom: 14px; }
.news-heading { align-items: end; flex-wrap: wrap; }
.tabs { display: flex; gap: 5px; border-bottom: 1px solid rgba(231,190,105,.25); }
.tab-btn { min-height: 38px; padding: 0 13px; color: #bdb1a5; background: transparent; border: 0; border-bottom: 2px solid transparent; font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.tab-btn:hover, .tab-btn.active { color: var(--gold-bright); border-bottom-color: var(--gold); }
.tab-pane { display: none; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.tab-pane.active { display: grid; }
.tab-pane[hidden] { display: none !important; }
.news-item { min-width: 0; padding: 17px 18px; background: rgba(8,7,8,.56); border: 1px solid rgba(255,255,255,.065); border-left: 2px solid var(--blood-light); }
.news-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.news-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.news-date i { color: #baaea2; font-size: 9px; font-style: normal; }
.news-item h3 { margin: 9px 0 6px; color: #fff2dc; font-family: 'Orbitron', sans-serif; font-size: 13px; line-height: 1.45; }
.news-item p { margin: 0; color: #d0c5b9; font-size: 14px; line-height: 1.55; }

.community-panel .section-heading { margin-bottom: 16px; }
.community-body { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(190px,.65fr); gap: 18px; align-items: stretch; }
.discord-widget { min-width: 0; min-height: 300px; overflow: hidden; background: #111; }
.discord-widget iframe { display: block; height: 300px; }
.community-numbers { display: grid; grid-template-columns: 1fr; gap: 10px; }
.community-numbers > div { display: flex; flex-direction: column; justify-content: center; padding: 15px 18px; background: rgba(8,7,8,.62); border: 1px solid rgba(231,190,105,.19); }
.community-numbers strong { color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 28px; line-height: 1.2; }
.community-numbers span { margin-top: 6px; color: #c2b7ab; font-size: 10px; font-weight: 700; letter-spacing: .1em; }

.portal-sidebar .panel { padding: 21px; }
.portal-sidebar .section-heading h2 { font-size: 18px; }
.account-emblem, .rank-icon, .download-emblem { color: var(--gold); font-size: 25px; }
.panel-intro { margin: -3px 0 17px; color: #c6baae; font-size: 14px; }
.login-form { display: grid; gap: 8px; }
.login-form label { margin-top: 3px; color: #ddd0c1; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.form-input { width: 100%; min-height: 44px; padding: 10px 12px; color: #fff5e3; background: #0b090a; border: 1px solid rgba(231,190,105,.24); border-radius: 0; font-size: 15px; }
.form-input::placeholder { color: #877d74; }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,190,105,.1); }
.login-btn { min-height: 46px; margin-top: 7px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; color: #180f08; background: linear-gradient(120deg,#f2d58e,#d4a448); border: 1px solid #f9dfaa; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.login-btn:hover { filter: brightness(1.08); }
.login-btn:disabled { opacity: .65; cursor: wait; }
.form-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.form-link { color: #c7b9aa; font-size: 12px; text-decoration: none; }
.form-link:hover { color: var(--gold-bright); text-decoration: underline; }
#loginPanel[hidden], #registerPanel[hidden] { display: none !important; }

.leaderboard-list { display: grid; }
.leaderboard-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 1px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.075); }
.leaderboard-item:last-child { border-bottom: 0; }
.rank-badge { width: 28px; height: 28px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--gold-bright); background: rgba(148,29,39,.24); border: 1px solid rgba(231,190,105,.33); font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: 800; }
.rank-badge.gold { color: #251706; background: var(--gold); border-color: #f1d38e; }
.rank-badge.silver { color: #211e1b; background: #c4beb4; border-color: #d6d0c6; }
.rank-badge.bronze { color: #27180d; background: #b7815c; border-color: #d09a6f; }
.player-info { min-width: 0; display: grid; gap: 1px; }
.player-name { overflow: hidden; color: #f4ebdf; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.player-stats { color: #bcb0a4; font-size: 12px; }
.rank-chevron { margin-left: auto; color: #7f7167; font-size: 19px; }
.guild-rankings { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(231,190,105,.24); }
.subsection-heading { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; }

.client-panel .panel-intro { margin-bottom: 12px; }
.client-download { display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; gap: 11px; min-height: 63px; padding: 9px; color: var(--paper); background: rgba(8,7,8,.63); border: 1px solid rgba(231,190,105,.19); text-decoration: none; }
.client-download + .client-download { margin-top: 8px; }
.client-download:hover { border-color: var(--gold); background: rgba(83,19,27,.34); }
.client-file { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #211508; background: var(--gold); font-family: 'Orbitron', sans-serif; font-size: 9px; font-weight: 800; }
.client-download strong, .client-download small { display: block; }
.client-download strong { color: #fff0d6; font-size: 12px; }
.client-download small { margin-top: 2px; color: #bdb0a4; font-size: 12px; }
.client-download > b { color: var(--gold); }

.dropdown-btn { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; color: #f4e8d3; background: rgba(8,7,8,.7); border: 1px solid rgba(231,190,105,.28); text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .07em; cursor: pointer; }
.dropdown-btn:hover { border-color: var(--gold); }
.dropdown-content { padding-top: 15px; color: #d2c7bc; font-size: 13px; }
.dropdown-content[hidden] { display: none !important; }
.dropdown-content p { margin: 0 0 12px; }
.dropdown-content h3 { margin: 15px 0 5px; color: var(--gold-bright); font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: .08em; }
.dropdown-content dl { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; margin: 12px 0; }
.dropdown-content dt { color: #aca094; }
.dropdown-content dd { margin: 0; color: #f1e6d8; text-align: right; }
.dropdown-content a { color: var(--gold-bright); }
.wayfinder-actions { display: grid; gap: 7px; margin-top: 14px; }
.sidebar-btn { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; color: var(--gold-bright); background: rgba(104,19,29,.22); border: 1px solid rgba(231,190,105,.25); font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; }
.sidebar-btn:hover { color: #190f07; background: var(--gold); }
.site-toast { position: fixed; z-index: 2000; right: 24px; bottom: 24px; max-width: min(440px, calc(100% - 32px)); padding: 14px 18px; color: white; background: #211719; border: 1px solid var(--line-gold); box-shadow: 0 14px 40px rgba(0,0,0,.42); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.site-toast.is-visible { opacity: 1; transform: translateY(0); }
.site-toast.toast-success { border-left: 3px solid var(--green); }
.site-toast.toast-error { border-left: 3px solid #df525c; }
.site-footer { background: #080707; border-top: 1px solid rgba(231,190,105,.3); }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-mark { font-size: 17px; }
.footer-inner p { margin: 0; color: #a99d91; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.footer-inner > div { display: flex; gap: 16px; }
.footer-inner > div a { color: #c9bcae; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.footer-inner > div a:hover { color: var(--gold); }

@media (max-width: 1050px) {
    .site-frame { width: min(100% - 40px, 960px); }
    .nav-inner { gap: 20px; }
    .site-menu { gap: 18px; }
    .hero-callout { right: 0; width: 215px; }
    .hero-copy { width: 66%; }
    .portal-grid { grid-template-columns: minmax(0,1.55fr) minmax(270px,.9fr); gap: 16px; }
    .portal-main, .portal-sidebar { gap: 16px; }
    .panel { padding: 20px; }
}
@media (max-width: 820px) {
    .topline-note { display: none; }
    .nav-inner { min-height: 72px; flex-wrap: wrap; }
    .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; margin-left: auto; background: transparent; border: 1px solid rgba(231,190,105,.45); cursor: pointer; }
    .menu-toggle span { width: 18px; height: 2px; background: var(--gold-bright); }
    .site-menu { display: none; order: 4; width: 100%; margin: 0; padding: 5px 0 15px; align-items: stretch; flex-direction: column; gap: 0; }
    .site-menu.is-open { display: flex; }
    .site-menu li { border-top: 1px solid rgba(255,255,255,.07); }
    .site-link { width: 100%; min-height: 42px; }
    .site-link::after { display: none; }
    .nav-account { min-height: 40px; padding-inline: 12px; font-size: 10px; }
    .hero-inner { min-height: 520px; }
    .site-hero { min-height: 520px; background-position: 58% center; }
    .hero-copy { width: min(620px, 75%); }
    .hero-callout { width: 188px; right: 0; padding: 17px; }
    .hero-callout strong { font-size: 17px; }
    .entry-grid { grid-template-columns: 1fr; gap: 8px; }
    .entry-card { min-height: 82px; padding: 13px 16px; }
    .realm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .portal-grid { grid-template-columns: 1fr; }
    .portal-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
    .ranking-panel { grid-row: span 2; }
    .community-body { grid-template-columns: minmax(0,1.2fr) minmax(170px,.8fr); }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-frame { width: calc(100% - 28px); }
    .topline-inner { font-size: 9px; letter-spacing: .07em; }
    .wordmark { font-size: 17px; }
    .wordmark small { font-size: 8px; }
    .nav-inner { gap: 10px; }
    .nav-account { gap: 5px; min-height: 36px; padding-inline: 8px; font-size: 9px; }
    .site-hero, .hero-inner { min-height: 590px; }
    .site-hero { align-items: flex-start; background-position: 57% center; }
    .site-hero::before { background: linear-gradient(90deg, rgba(7,6,7,.94), rgba(8,6,7,.69) 58%, rgba(8,6,7,.42)), linear-gradient(0deg,rgba(6,5,6,.6),transparent 55%); }
    .hero-inner { align-items: flex-start; }
    .hero-copy { width: 100%; padding-top: 54px; }
    .hero-copy h1 { margin-top: 16px; font-size: clamp(47px, 15vw, 67px); }
    .hero-lead { max-width: 420px; font-size: 17px; }
    .hero-actions { gap: 8px; margin-top: 22px; }
    .button { min-height: 44px; padding-inline: 12px; font-size: 9px; gap: 8px; }
    .hero-facts { gap: 13px; margin-top: 27px; }
    .hero-facts div { min-width: 72px; padding-left: 8px; }
    .hero-facts strong { font-size: 13px; }
    .hero-facts small { font-size: 8px; }
    .hero-callout { right: 0; bottom: 42px; top: auto; width: 175px; padding: 12px; transform: none; }
    .callout-mark { width: 30px; height: 30px; font-size: 8px; }
    .callout-label { margin-top: 10px; font-size: 8px; }
    .hero-callout strong { margin-top: 3px; font-size: 14px; }
    .hero-callout a { margin-top: 7px; font-size: 8px; }
    .hero-bottomline { bottom: 13px; font-size: 8px; }
    .landing-content { padding-top: 18px; padding-bottom: 40px; }
    .entry-card { gap: 12px; }
    .entry-icon { font-size: 24px; }
    .entry-copy strong { font-size: 11px; }
    .entry-copy em { font-size: 12px; }
    .realm-section { padding: 17px 14px; margin-bottom: 18px; }
    .realm-grid { grid-template-columns: 1fr; }
    .realm-item { min-height: 58px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-heading h2 { font-size: 18px; }
    .realm-heading { flex-direction: row; align-items: end; }
    .text-link { white-space: nowrap; font-size: 9px; }
    .portal-grid, .portal-main, .portal-sidebar { gap: 14px; }
    .portal-sidebar { display: flex; flex-direction: column; }
    .portal-sidebar .panel { width: 100%; }
    .panel { padding: 16px; }
    .world-carousel { height: 320px; }
    .carousel-item img { object-position: 56% center; }
    .slide-caption { right: 16px; bottom: 54px; left: 20px; }
    .slide-caption h3 { font-size: 27px; }
    .slide-caption p { font-size: 14px; }
    .carousel-btn { width: 34px; height: 34px; font-size: 21px; }
    .prev-btn { left: 8px; }
    .next-btn { right: 8px; }
    .news-heading { align-items: stretch; }
    .tabs { width: 100%; }
    .tab-btn { flex: 1; padding-inline: 5px; font-size: 10px; }
    .tab-pane.active { grid-template-columns: 1fr; }
    .news-item:last-child:nth-child(odd) { grid-column: auto; }
    .community-body { grid-template-columns: 1fr; }
    .discord-widget, .discord-widget iframe { min-height: 280px; height: 280px; }
    .community-numbers { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .community-numbers > div { padding: 12px; }
    .community-numbers strong { font-size: 21px; }
    .community-numbers span { font-size: 8px; }
    .footer-inner { min-height: auto; padding-block: 22px; align-items: flex-start; flex-direction: column; }
    .footer-inner > div { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.social-grid a { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; color: #ded2c3; background: rgba(8,7,8,.66); border: 1px solid rgba(231,190,105,.2); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.social-grid a:hover { color: var(--gold-bright); border-color: var(--gold); }
.social-grid a b { width: 22px; height: 22px; display: grid; place-items: center; color: #1b1008; background: var(--gold); font-family: 'Orbitron',sans-serif; font-size: 9px; }
.social-grid a span { margin-left: auto; color: var(--gold); }

/* Origin Rohan image wordmark */
.wordmark { align-items: center; flex: 0 0 auto; }
.brand-logo-image { display: block; width: 132px; max-height: 84px; height: auto; object-fit: contain; }
.nav-inner { min-height: 94px; }
.footer-mark .brand-logo-image { width: 116px; max-height: 78px; }
@media (max-width: 1050px) {
    .brand-logo-image { width: 112px; max-height: 75px; }
    .nav-inner { min-height: 88px; }
}
@media (max-width: 820px) {
    .brand-logo-image { width: 102px; max-height: 68px; }
    .nav-inner { min-height: 78px; }
}
@media (max-width: 560px) {
    .brand-logo-image { width: 86px; max-height: 58px; }
    .footer-mark .brand-logo-image { width: 100px; max-height: 67px; }
    .nav-inner { min-height: 70px; }
}
/* Registration CAPTCHA */
.registration-captcha { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border: 1px solid rgba(231,190,105,.24); border-left: 2px solid var(--gold); background: rgba(5,4,5,.62); }
.captcha-challenge { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; margin-bottom: 3px; }
.captcha-challenge > div { display: grid; gap: 4px; }
.captcha-challenge span { color: #cdbb99; font-family: 'Orbitron',sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.captcha-challenge strong { color: #fff1d0; font-family: 'Orbitron',sans-serif; font-size: 17px; letter-spacing: .04em; }
.captcha-refresh { flex: 0 0 38px; width: 38px; height: 38px; color: var(--gold-bright); background: #171112; border: 1px solid rgba(231,190,105,.38); font-size: 22px; cursor: pointer; }
.captcha-refresh:hover { color: #160f08; background: var(--gold); }
.captcha-refresh:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.captcha-help { color: #b9ad9f; font-size: 12px; line-height: 1.4; }
.registration-captcha .form-input:disabled { color: #93877a; cursor: wait; }