:root {
  --void: #05060a;
  --void-soft: rgba(5, 7, 12, .78);
  --panel: rgba(8, 11, 18, .82);
  --panel-light: rgba(17, 20, 29, .72);
  --silver: #e8edf4;
  --steel: #9ea7b5;
  --muted: #aeb6c2;
  --gold: #d9b66d;
  --gold-hot: #f2d590;
  --red: #c51f2d;
  --red-hot: #ff3b3f;
  --blue: #2496ff;
  --blue-hot: #62c8ff;
  --violet: #8e58ff;
  --line: rgba(226, 232, 240, .14);
  --line-gold: rgba(217, 182, 109, .35);
  --shadow: 0 26px 80px rgba(0, 0, 0, .52);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--silver);
  background: var(--void);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
::selection { background: rgba(197, 31, 45, .55); color: #fff; }
a { color: inherit; text-decoration: none; transition: .22s ease; }
a:hover, a:focus { color: var(--gold-hot); text-decoration: none; outline: none; }
img { max-width: 100%; }
.wrap { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background: #05060a;
}
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.05) contrast(1.05) saturate(1.08);
  transform: scale(1.006);
}
.video-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 5, 9, .33) 0%, rgba(4, 5, 9, .04) 28%, rgba(4, 5, 9, .02) 70%, rgba(4, 5, 9, .27) 100%),
    linear-gradient(180deg, rgba(3, 4, 8, .16) 0%, rgba(3, 4, 8, .02) 45%, rgba(3, 4, 8, .52) 100%);
  pointer-events: none;
}
.video-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, .86));
  pointer-events: none;
}

.atmosphere { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.atmosphere span { position: absolute; width: 3px; height: 3px; border-radius: 50%; opacity: .55; animation: emberFloat 10s linear infinite; }
.atmosphere span:nth-child(1) { left: 13%; bottom: -10px; background: var(--red-hot); box-shadow: 0 0 12px var(--red-hot); }
.atmosphere span:nth-child(2) { left: 82%; bottom: -40px; background: var(--blue-hot); box-shadow: 0 0 12px var(--blue-hot); animation-delay: -3s; animation-duration: 13s; }
.atmosphere span:nth-child(3) { left: 67%; bottom: -25px; background: var(--gold-hot); box-shadow: 0 0 10px var(--gold-hot); animation-delay: -6s; animation-duration: 16s; }
@keyframes emberFloat { from { transform: translateY(0) translateX(0) scale(.7); opacity: 0; } 15% { opacity: .55; } to { transform: translateY(-110vh) translateX(80px) scale(1.5); opacity: 0; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5, 6, 10, .94), rgba(5, 6, 10, .76));
  border-bottom: 1px solid rgba(218, 228, 239, .12);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 35px rgba(0,0,0,.24);
}
.header-line { height: 2px; background: linear-gradient(90deg, transparent 0 4%, var(--red) 22%, var(--gold) 50%, var(--blue) 78%, transparent 96%); opacity: .9; }
.nav-shell { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-width: 235px; }
.brand-mark { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #05060a; border: 1px solid rgba(217, 182, 109, .5); box-shadow: 0 0 0 4px rgba(255,255,255,.025), 0 0 24px rgba(36,150,255,.12); }
.brand-mark img { width: 78px; height: 78px; max-width: none; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: "Cinzel", serif; color: #f4f5f7; font-size: 15px; letter-spacing: 1.8px; font-weight: 800; text-shadow: 0 0 16px rgba(255,255,255,.12); }
.brand-copy small { margin-top: 6px; color: var(--gold); font-family: "Cinzel", serif; letter-spacing: 8px; font-size: 8px; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.main-nav a { position: relative; padding: 29px 10px 27px; color: #cbd1da; font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 17px; width: 0; height: 1px; background: linear-gradient(90deg, var(--red-hot), var(--gold-hot), var(--blue-hot)); transform: translateX(-50%); transition: .22s ease; box-shadow: 0 0 8px rgba(217,182,109,.65); }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: calc(100% - 20px); }
.main-nav .nav-account { margin-left: 8px; padding: 10px 16px; border: 1px solid var(--line-gold); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: linear-gradient(135deg, rgba(197,31,45,.16), rgba(36,150,255,.12)); color: #fff; }
.main-nav .nav-account::after { display: none; }
.main-nav .nav-account:hover { border-color: rgba(242,213,144,.7); box-shadow: inset 0 0 20px rgba(217,182,109,.08), 0 0 24px rgba(197,31,45,.1); }
.main-nav .nav-admin { margin-left: 5px; padding: 10px 16px; border: 1px solid rgba(232,67,72,.85); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: linear-gradient(135deg, rgba(143,13,26,.92), rgba(79,12,18,.92)); color: #fff4d6; box-shadow: inset 0 0 18px rgba(255,183,71,.08), 0 0 16px rgba(197,31,45,.18); }
.main-nav .nav-admin::after { display: none; }
.main-nav .nav-admin:hover { color: #fff; border-color: #f4c875; background: linear-gradient(135deg, rgba(185,22,38,.96), rgba(95,16,22,.96)); box-shadow: inset 0 0 20px rgba(255,210,120,.12), 0 0 22px rgba(197,31,45,.3); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-gold); background: rgba(8,11,18,.8); padding: 9px; }
.nav-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--gold-hot); }

.hero-section { position: relative; min-height: calc(100vh - 82px); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 34px; }
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); align-items: center; gap: clamp(34px, 7vw, 100px); }
.hero-copy { max-width: 770px; padding: 30px 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-hot); font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 3.4px; font-weight: 700; text-shadow: 0 0 16px rgba(217,182,109,.35); }
.eyebrow span { display: block; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow span:last-child { transform: rotate(180deg); }
.hero-logo { width: min(560px, 80vw); margin: 16px 0 6px -38px; mix-blend-mode: screen; filter: drop-shadow(0 18px 30px rgba(0,0,0,.36)); }
.hero-oath { margin: -18px 0 0; color: #f3f5f7; font-family: "Cinzel", serif; font-size: clamp(24px, 3.2vw, 43px); font-weight: 500; letter-spacing: .3px; line-height: 1.18; text-shadow: 0 4px 22px rgba(0,0,0,.85); }
.hero-oath strong { display: block; background: linear-gradient(90deg, #fff 0%, #f0d48b 42%, #c2cad7 72%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.hero-description { max-width: 680px; margin: 17px 0 0; color: #d4d8df; font-family: "Marcellus", serif; font-size: 17px; line-height: 1.72; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.epic-btn { min-width: 190px; position: relative; display: inline-flex; justify-content: center; align-items: center; padding: 15px 25px; overflow: hidden; border: 1px solid rgba(232,237,244,.22); clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px); font-family: "Cinzel", serif; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.epic-btn span { position: relative; z-index: 2; }
.epic-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.18) 46%, transparent 66%); transform: translateX(-140%); transition: transform .55s ease; }
.epic-btn:hover::before { transform: translateX(140%); }
.epic-btn-primary { background: linear-gradient(135deg, rgba(154,13,24,.92), rgba(82,7,15,.95)); border-color: rgba(255,84,84,.58); color: #fff; box-shadow: 0 10px 30px rgba(138,10,20,.24), inset 0 1px rgba(255,255,255,.12); }
.epic-btn-primary:hover { color: #fff; box-shadow: 0 12px 34px rgba(217,30,45,.34), 0 0 28px rgba(255,59,63,.11); }
.epic-btn-secondary { background: linear-gradient(135deg, rgba(18,59,102,.9), rgba(7,22,42,.96)); border-color: rgba(90,184,255,.48); color: #fff; box-shadow: 0 10px 30px rgba(16,89,157,.18), inset 0 1px rgba(255,255,255,.1); }
.epic-btn-secondary:hover { color: #fff; box-shadow: 0 12px 34px rgba(36,150,255,.25), 0 0 28px rgba(36,150,255,.1); }
.world-status { max-width: 620px; margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.status-orb { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(75,255,123,.28); border-radius: 50%; background: rgba(13,34,21,.45); }
.status-orb i { width: 8px; height: 8px; background: #38e875; border-radius: 50%; box-shadow: 0 0 6px #38e875, 0 0 16px rgba(56,232,117,.8); animation: pulseOnline 1.8s ease-in-out infinite; }
@keyframes pulseOnline { 50% { transform: scale(.75); opacity: .55; } }
.world-status small { display: block; color: #7f8997; font-size: 10px; letter-spacing: 1.7px; }
.world-status strong { display: block; color: #d9e0e8; font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .6px; }
.status-count { text-align: right; }
.status-count b { color: #fff; font-family: "Cinzel", serif; font-size: 21px; }
.status-count span { display: block; color: #8f98a5; font-size: 11px; }
.online-track { max-width: 620px; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.online-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--red-hot), var(--gold-hot), var(--blue-hot)); box-shadow: 0 0 12px rgba(217,182,109,.7); }

.hero-panel { position: relative; padding: 25px 24px 22px; border: 1px solid rgba(222,230,240,.15); background: linear-gradient(155deg, rgba(9,11,18,.88), rgba(8,10,17,.68)); backdrop-filter: blur(14px); box-shadow: var(--shadow); clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px); }
.hero-panel::before, .module-frame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(197,31,45,.1), transparent 32%, transparent 70%, rgba(36,150,255,.08)); }
.panel-crown { position: relative; margin: -25px -24px 16px; padding: 13px 18px 12px; background: linear-gradient(90deg, rgba(139,13,23,.72), rgba(27,17,20,.2) 45%, rgba(17,69,116,.5)); border-bottom: 1px solid rgba(217,182,109,.24); color: var(--gold-hot); font-family: "Cinzel", serif; font-size: 10px; letter-spacing: 1.8px; text-align: center; }
.realm-stat { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.075); }
.realm-stat span { color: #8d97a5; text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; }
.realm-stat strong { color: #f0f3f6; font-family: "Cinzel", serif; font-size: 15px; }
.realm-seal { position: relative; width: 122px; height: 122px; margin: 24px auto 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(217,182,109,.34); border-radius: 50%; background: radial-gradient(circle, rgba(197,31,45,.15), rgba(7,10,17,.36) 58%, rgba(36,150,255,.12)); box-shadow: inset 0 0 30px rgba(217,182,109,.05), 0 0 34px rgba(36,150,255,.06); }
.realm-seal::before, .realm-seal::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217,182,109,.13); border-radius: 50%; }
.realm-seal span { color: #f1f3f5; font-family: "Cinzel", serif; font-size: 36px; font-weight: 900; letter-spacing: -4px; text-shadow: -2px 0 8px rgba(255,59,63,.28), 2px 0 8px rgba(36,150,255,.32); }
.realm-seal small { color: var(--gold); font-family: "Cinzel", serif; font-size: 6px; letter-spacing: 1.6px; }
.realm-links { position: relative; display: grid; gap: 6px; }
.realm-links a { padding: 9px 12px; border-left: 2px solid rgba(217,182,109,.28); background: rgba(255,255,255,.025); color: #c4cbd5; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.realm-links a:hover { border-left-color: var(--gold-hot); padding-left: 16px; color: #fff; background: rgba(217,182,109,.045); }

.hero-bottom { margin-top: 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; opacity: .9; }
.time-card { display: flex; align-items: baseline; gap: 11px; color: #a7b0bc; }
.time-card span { font-size: 9px; letter-spacing: 1.7px; }
.time-card strong { color: #fff; font-family: "Cinzel", serif; font-size: 14px; }
.time-card small { color: var(--gold); font-size: 10px; }
.time-card-right { justify-content: flex-end; }
.rune-divider, .ornament { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rune-divider i, .ornament i { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,182,109,.5)); }
.rune-divider i:last-child, .ornament i:last-child { transform: rotate(180deg); }
.rune-divider b, .ornament b { color: var(--gold); font-size: 9px; text-shadow: 0 0 10px rgba(217,182,109,.5); }

.realm-content-section { position: relative; padding: 82px 0 96px; background: linear-gradient(180deg, rgba(5,6,10,.82), rgba(4,5,8,.95)); border-top: 1px solid rgba(255,255,255,.07); }
.realm-content-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 30%, rgba(197,31,45,.06), transparent 31%), radial-gradient(circle at 88% 45%, rgba(36,150,255,.06), transparent 33%); }
.section-heading { position: relative; text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-heading > span, .inner-kicker { color: var(--gold); font-family: "Cinzel", serif; font-size: 10px; letter-spacing: 3px; }
.section-heading h2 { margin: 7px 0 8px; color: #f2f4f6; font-family: "Cinzel", serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.section-heading p { margin: 0; color: #919aa7; font-family: "Marcellus", serif; font-size: 15px; }
.module-frame { position: relative; display: flow-root; min-height: 220px; padding: clamp(18px, 3vw, 35px); border: 1px solid rgba(220,230,240,.13); background: linear-gradient(155deg, rgba(7,9,15,.91), rgba(12,14,22,.78)); backdrop-filter: blur(14px); box-shadow: var(--shadow); clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px); }
.module-frame > * { position: relative; z-index: 1; }
.home-module-frame { padding-top: 30px; }

.inner-hero { min-height: 300px; display: grid; place-items: center; padding: 70px 0 45px; text-align: center; }
.inner-hero-content h1 { margin: 12px 0 14px; color: #f3f5f7; font-family: "Cinzel", serif; font-size: clamp(35px, 6vw, 66px); font-weight: 800; letter-spacing: 2px; text-shadow: -3px 0 20px rgba(197,31,45,.22), 3px 0 20px rgba(36,150,255,.22), 0 5px 18px rgba(0,0,0,.85); }
.inner-content-section { padding-top: 28px; }
.hidden-clock { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-footer { position: relative; padding: 34px 0 24px; background: rgba(3,4,7,.96); border-top: 1px solid rgba(217,182,109,.16); overflow: hidden; }
.footer-glow { position: absolute; top: -80px; left: 50%; width: 520px; height: 150px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(217,182,109,.10), transparent 65%); pointer-events: none; }
.footer-brandline { position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brandline img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.footer-brandline div { display: flex; flex-direction: column; }
.footer-brandline strong { color: #e9edf2; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: 1.6px; }
.footer-brandline span { color: var(--gold); font-size: 8px; letter-spacing: 4px; }
.footer-content { position: relative; }

.audio-console { position: fixed; right: 18px; bottom: 18px; z-index: 1200; display: flex; align-items: center; gap: 9px; padding: 7px; border: 1px solid rgba(217,182,109,.22); background: rgba(5,7,12,.86); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.32); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.audio-toggle { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #c8ced7; padding: 7px 9px; font-family: "Rajdhani", sans-serif; font-weight: 700; letter-spacing: 1px; }
.audio-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(217,182,109,.28); border-radius: 50%; color: var(--gold-hot); }
.audio-console.is-playing .audio-icon { color: #fff; border-color: rgba(62,223,111,.45); box-shadow: 0 0 12px rgba(62,223,111,.22); }
.audio-volume { width: 74px; padding-right: 7px; }
.audio-volume input { width: 100%; accent-color: var(--gold); cursor: pointer; }
.audio-console.is-missing .audio-label { color: #e17777; }

@media (max-width: 1100px) {
  .main-nav a { padding-left: 7px; padding-right: 7px; font-size: 12px; }
  .brand { min-width: 210px; }
  .hero-shell { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-shell { min-height: 70px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 12px; flex-direction: column; align-items: stretch; background: rgba(5,7,12,.97); border: 1px solid rgba(217,182,109,.22); box-shadow: 0 20px 50px rgba(0,0,0,.48); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.055); }
  .main-nav a::after { display: none; }
  .main-nav .nav-account { margin: 4px 0 0; }
  .main-nav .nav-admin { margin: 4px 0 0; }
  .hero-section { min-height: auto; padding-top: 58px; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .eyebrow { justify-content: center; }
  .hero-logo { margin-left: 0; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .world-status, .online-track { margin-left: auto; margin-right: auto; }
  .hero-panel { width: min(520px, 100%); margin: 0 auto; }
  .hero-bottom { grid-template-columns: 1fr; text-align: center; gap: 7px; }
  .time-card, .time-card-right { justify-content: center; }
  .rune-divider { order: 2; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, 1220px); }
  .brand-copy { display: none; }
  .brand { min-width: auto; }
  .brand-mark { width: 50px; height: 50px; }
  .nav-shell { min-height: 62px; }
  .main-nav { top: 64px; left: 12px; right: 12px; }
  .hero-section { padding-top: 40px; }
  .hero-copy { padding-top: 12px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; }
  .eyebrow span { width: 24px; }
  .hero-logo { width: min(420px, 96vw); margin-top: 2px; }
  .hero-oath { margin-top: -8px; font-size: 25px; }
  .hero-description { font-size: 15px; line-height: 1.58; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .epic-btn { width: 100%; }
  .world-status { grid-template-columns: auto 1fr; text-align: left; }
  .status-count { grid-column: 1 / -1; text-align: center; padding-top: 5px; }
  .realm-content-section { padding: 56px 0 70px; }
  .module-frame { padding: 14px; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }
  .audio-console { right: 10px; bottom: 10px; }
  .audio-volume { display: none; }
  .audio-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .atmosphere { display: none; }
}

/* WebEngine legacy AdminCP floating access is replaced by the secured menu button above. */
.admincp-button { display: none !important; }
