:root {
  --gold: #e49a2c;
  --gold-bright: #ffc14a;
  --gold-dark: #a85d12;
  --ink: #17191b;
  --panel: #26292c;
  --steel: #3b3f42;
  --line: #55595b;
  --paper: #e9e5dc;
  --muted: #a9adae;
  --white: #f7f4ed;
  --shadow: 0 8px 20px rgba(0, 0, 0, .28);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: #1d1f21; font-family: "Roboto Slab", Georgia, serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .055; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: hidden; }
.section { padding-block: 86px; }
.eyebrow { margin: 0 0 12px; color: var(--gold-bright); font: 700 .82rem/1 "Rajdhani", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Rajdhani", sans-serif; text-transform: uppercase; }

.top-strip { min-height: 30px; color: #c9cbcc; background: #131516; border-bottom: 1px solid #2e3133; font: 600 .68rem/30px "Rajdhani", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.top-strip .wrap { display: flex; justify-content: space-between; }
.top-strip__ip { display: flex; align-items: center; gap: 8px; color: var(--gold-bright); }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #777; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.status-dot.is-loading { animation: pulse 1.2s infinite; }
.status-dot.is-online { background: #73c76d; box-shadow: 0 0 8px rgba(115,199,109,.55); }
.status-dot.is-offline { background: #d75e52; }
.status-dot.is-unknown { background: #8a8c8c; }
@keyframes pulse { 50% { opacity: .35; } }

#site-header { position: relative; z-index: 10; background: #292c2e; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.main-nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.65rem/1 "Rajdhani", sans-serif; letter-spacing: .04em; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; }
.nav-brand strong, .footer-brand strong { color: var(--gold-bright); }
.nav-links { height: 100%; display: flex; align-items: stretch; }
.nav-links > a { min-width: 96px; display: grid; place-items: center; position: relative; color: #cacccd; font: 700 .85rem "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: .2s ease; }
.nav-links > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: .2s; }
.nav-links > a:hover, .nav-links > a.is-active { color: #fff; background: rgba(255,255,255,.035); }
.nav-links > a.is-active::after { transform: scaleX(1); }
.nav-links .nav-discord { min-width: 124px; margin: 17px 0 17px 18px; color: #20180e; background: linear-gradient(#ffc65a, #d98019); border: 1px solid #f3b33f; box-shadow: inset 0 1px rgba(255,255,255,.35), 0 2px 5px rgba(0,0,0,.3); }
.nav-links .nav-discord::after { display: none; }
.nav-toggle { display: none; border: 0; background: none; color: white; }

.hero { min-height: 590px; display: grid; align-items: center; position: relative; background-color: #414344; background-image: url("../assets/background.png"), linear-gradient(125deg, #53575a 0%, #242729 65%, #17191a 100%); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 32px 32px; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,21,.9) 0%, rgba(18,20,21,.58) 52%, rgba(18,20,21,.15) 100%), linear-gradient(0deg, rgba(23,25,27,.65), transparent 45%); }
.hero__content { position: relative; padding-block: 90px; }
.brand-lockup { display: flex; align-items: center; gap: 22px; }
.hero-logo { width: 104px; height: 104px; object-fit: contain; image-rendering: pixelated; }
.hero h1 { margin: 0; font-size: clamp(4.2rem, 10vw, 7.5rem); line-height: .84; letter-spacing: -.045em; text-shadow: 0 5px 0 rgba(0,0,0,.5), 0 0 30px rgba(0,0,0,.5); }
.hero h1 span { color: var(--gold-bright); }
.hero__lead { max-width: 680px; margin: 28px 0 32px; color: #dddeda; font-size: 1.08rem; line-height: 1.8; text-shadow: 0 2px 3px #111; }
.hero__actions { display: flex; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border: 1px solid #555; color: white; background: #292c2e; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 3px 8px rgba(0,0,0,.35); cursor: pointer; font: 700 .86rem "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: transform .15s, filter .15s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button--gold { color: #271b0a; border-color: #f4b43d; background: linear-gradient(#ffc85f, #d77d16); }
.button--gold strong { padding-left: 18px; border-left: 1px solid rgba(59,34,4,.25); }
.button--dark { background: linear-gradient(#3e4245, #242729); }
.copy-feedback { min-height: 22px; margin: 12px 0 0; color: var(--gold-bright); font-size: .78rem; }
.copy-ip.is-copied { filter: saturate(.5) brightness(1.25); }

.status-ribbon { background: #e3dfd5; color: #292c2e; border-block: 1px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.status-ribbon__inner { min-height: 86px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; }
.status-ribbon__inner > * { min-height: 46px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #c1bdb5; }
.status-state { justify-content: flex-start; gap: 12px; font: 700 1rem "Rajdhani", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.status-stat { flex-direction: column; }
.status-stat strong { font: 700 1.3rem "Rajdhani", sans-serif; }
.status-stat span { color: #747575; font: 600 .68rem "Rajdhani", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.text-button { gap: 5px; border: 0; padding-left: 28px; color: var(--gold-dark); background: transparent; cursor: pointer; font: 700 .78rem "Rajdhani", sans-serif; text-transform: uppercase; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.section-heading h2, .world-callout h2, .vote-intro h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; }
.intro__copy { margin: 0; color: #c0c3c3; font-size: .96rem; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding-bottom: 90px; background: #4c5052; border: 1px solid #4c5052; box-shadow: var(--shadow); }
.feature-card { min-height: 300px; position: relative; padding: 42px 36px; background: linear-gradient(145deg, #303437, #242729); }
.feature-card__number { position: absolute; top: 20px; right: 22px; color: #5c6061; font: 700 .75rem "Rajdhani", sans-serif; }
.feature-card__icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; color: var(--gold-bright); background: #1c1f20; border: 1px solid #505456; box-shadow: inset 0 0 0 4px #292c2e; font-size: 1.45rem; }
.feature-card h3 { margin: 0 0 12px; color: #fff; font-size: 1.35rem; letter-spacing: .04em; }
.feature-card p { margin: 0; color: #aeb1b1; font-size: .82rem; line-height: 1.75; }
.world-callout { background-color: #191b1d; background-image: linear-gradient(90deg, rgba(17,18,19,.96), rgba(17,18,19,.6)), url("../assets/callout-background.png"); background-size: cover; background-position: center; border-top: 1px solid #3b3e40; }
.world-callout__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.world-callout p:not(.eyebrow) { color: #afb2b3; }

.page-banner { padding: 82px 0 72px; background-color: #363a3c; background-image: linear-gradient(90deg, rgba(20,22,23,.92), rgba(20,22,23,.38)), url("../assets/page-background.png"); background-size: cover; background-position: center; border-bottom: 4px solid var(--gold-dark); }
.page-banner h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 5.6rem); line-height: 1; }
.page-banner p:last-child { max-width: 650px; margin: 16px 0 0; color: #d2d3d1; line-height: 1.7; }
.rules-layout { display: grid; grid-template-columns: 245px 1fr; gap: 48px; align-items: start; }
.rules-index { position: sticky; top: 24px; }
.rules-index__title { margin: 0 0 12px; color: #85898a; font: 700 .72rem "Rajdhani", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.rules-index nav { border: 1px solid #414547; box-shadow: var(--shadow); }
.rules-index nav a { display: flex; align-items: center; gap: 12px; padding: 16px; color: #bfc1c1; background: #292c2e; border-bottom: 1px solid #414547; font: 700 .84rem "Rajdhani", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.rules-index nav a:last-child { border: 0; }
.rules-index nav a:hover, .rules-index nav a.is-active { color: #21170b; background: var(--gold); }
.rules-index nav a span { width: 18px; text-align: center; }
.rules-note { margin-top: 20px; padding: 22px; color: #aaaead; background: #242729; border-left: 3px solid var(--gold); font-size: .76rem; line-height: 1.6; }
.rules-note strong { color: #fff; font-family: "Rajdhani", sans-serif; text-transform: uppercase; }
.rules-note a { color: var(--gold-bright); font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; }
.rules-content { display: grid; gap: 34px; counter-reset: rules; }
.rule-category { scroll-margin-top: 24px; background: #272a2c; border: 1px solid #424648; box-shadow: var(--shadow); }
.rule-category > header { display: flex; gap: 20px; align-items: center; padding: 26px 30px; background: linear-gradient(100deg, #35393b, #292c2e); border-bottom: 1px solid #4a4e50; }
.rule-category__icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold-bright); background: #202224; border: 1px solid #575b5d; font-size: 1.35rem; }
.rule-category header p { margin: 0; color: var(--gold); font: 700 .66rem "Rajdhani", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.rule-category h2 { margin: 2px 0 4px; font-size: 1.75rem; }
.rule-category header div > span { color: #9fa2a3; font-size: .78rem; }
.rule-category ol { margin: 0; padding: 0; list-style: none; }
.rule-category li { display: flex; gap: 20px; padding: 24px 30px; border-bottom: 1px solid #393d3f; counter-increment: rules; }
.rule-category li:last-child { border: 0; }
.rule-number::before { content: counter(rules, decimal-leading-zero); display: grid; place-items: center; width: 35px; height: 35px; color: var(--gold); background: #1f2123; border: 1px solid #464a4c; font: 700 .72rem "Rajdhani", sans-serif; }
.rule-category li h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: .04em; }
.rule-category li p { margin: 0; color: #aeb1b1; font-size: .8rem; line-height: 1.7; }

.vote-section { max-width: 950px; }
.vote-intro { display: flex; align-items: center; gap: 28px; margin-bottom: 36px; }
.vote-intro__badge { width: 78px; height: 78px; display: grid; place-items: center; flex: 0 0 auto; color: #25180a; background: var(--gold); border: 5px solid #413820; box-shadow: inset 0 0 0 2px #f9c55f; font: 700 1.15rem "Rajdhani", sans-serif; transform: rotate(-3deg); }
.vote-intro p { margin-bottom: 0; color: #aeb1b1; }
.vote-grid { display: grid; gap: 14px; }
.vote-card { min-height: 112px; display: grid; grid-template-columns: 45px 58px 1fr auto; gap: 20px; align-items: center; padding: 18px 20px; background: linear-gradient(100deg, #303437, #25282a); border: 1px solid #464a4c; box-shadow: 0 5px 12px rgba(0,0,0,.22); }
.vote-card__index { color: #777b7c; font: 700 .75rem "Rajdhani", sans-serif; }
.vote-card__mark { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold); background: #202224; border: 1px solid #505456; }
.vote-card p { margin: 0; color: #888c8d; font: 700 .65rem "Rajdhani", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.vote-card h2 { margin: 2px 0 0; font-size: 1.35rem; }
.vote-card .button { min-width: 142px; }
.empty-state { padding: 50px; text-align: center; background: #25282a; border: 1px dashed #5b5f61; }
.empty-state p { color: #aeb1b1; }
.empty-state code { color: var(--gold-bright); }

.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-link, .back-link { color: var(--gold-bright); font: 700 .78rem "Rajdhani", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.latest-news { padding-bottom: 100px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-grid--archive { grid-template-columns: repeat(2, 1fr); }
.news-card { position: relative; min-height: 250px; padding: 30px; background: linear-gradient(145deg, #303437, #242729); border: 1px solid #464a4c; box-shadow: var(--shadow); }
.news-card.has-image { min-height: 440px; }
.news-card__image { width: calc(100% + 60px); height: 190px; display: block; margin: -30px -30px 25px; object-fit: cover; border-bottom: 1px solid #4b4f51; }
.news-card.is-pinned { border-top: 3px solid var(--gold); }
.news-card time { color: var(--gold); font: 700 .68rem "Rajdhani", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.news-card__pin { position: absolute; top: 25px; right: 25px; padding: 3px 7px; color: #20170b; background: var(--gold); font: 700 .62rem "Rajdhani", sans-serif; text-transform: uppercase; }
.news-card h2, .news-card h3 { margin: 15px 0 10px; font-size: 1.35rem; line-height: 1.1; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--gold-bright); }
.news-card p { color: #aeb1b1; font-size: .8rem; line-height: 1.7; }
.news-card__link { position: absolute; left: 30px; bottom: 27px; color: var(--gold-bright); font: 700 .72rem "Rajdhani", sans-serif; text-transform: uppercase; }
.news-section { max-width: 1000px; }
.news-article { margin-top: 26px; padding: clamp(28px, 7vw, 72px); background: #272a2c; border: 1px solid #44484a; box-shadow: var(--shadow); }
.news-article__image { width: calc(100% + clamp(56px, 14vw, 144px)); max-height: 540px; display: block; margin: clamp(-72px, -7vw, -28px) clamp(-72px, -7vw, -28px) 45px; object-fit: cover; border-bottom: 1px solid #4b4f51; }
.news-article__meta { display: flex; gap: 20px; color: var(--gold); font: 700 .7rem "Rajdhani", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.news-article h1 { max-width: 800px; margin: 18px 0; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .95; }
.news-article__lead { max-width: 750px; color: #d0d2d1; font-size: 1.05rem; line-height: 1.7; }
.news-article__body { max-width: 760px; margin-top: 40px; padding-top: 35px; color: #b4b7b7; border-top: 1px solid #45494b; line-height: 1.9; }

.guide-layout { display: grid; grid-template-columns: 245px 1fr; gap: 48px; align-items: start; }
.guide-content { display: grid; gap: 44px; }
.guide-category { scroll-margin-top: 24px; }
.guide-category__heading { display: flex; gap: 18px; align-items: center; margin-bottom: 17px; }
.guide-category__heading > span { width: 56px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gold-bright); background: #222527; border: 1px solid #505456; font-size: 1.4rem; }
.guide-category__heading h2 { margin: 0; font-size: 1.8rem; }
.guide-category__heading p:not(.eyebrow) { margin: 4px 0 0; color: #969a9b; font-size: .8rem; }
.guide-list { display: grid; gap: 10px; }
.guide-card { background: #292c2e; border: 1px solid #45494b; box-shadow: 0 5px 14px rgba(0,0,0,.2); }
.guide-card summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; cursor: pointer; list-style: none; }
.guide-card summary::-webkit-details-marker { display: none; }
.guide-card summary h3 { margin: 0 0 5px; font-size: 1.05rem; }
.guide-card summary p { margin: 0; color: #999d9e; font-size: .78rem; line-height: 1.5; }
.guide-card summary > span { color: var(--gold); font: 700 1.5rem "Rajdhani", sans-serif; transition: transform .2s; }
.guide-card[open] summary > span { transform: rotate(45deg); }
.guide-card__body { padding: 25px; color: #b9bcbd; background: #222527; border-top: 1px solid #414547; font-size: .84rem; line-height: 1.9; }
.database-notice { padding: 45px; background: #292c2e; border: 1px dashed #5b5f61; text-align: center; }
.database-notice h2 { margin-top: 0; }
.database-notice p { color: #aeb1b1; }
.database-notice code { color: var(--gold-bright); }

.footer-main { padding: 54px 0; background: #202224; border-top: 1px solid #3a3d3f; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-brand { font: 700 1.65rem "Rajdhani", sans-serif; }
.footer-grid p { max-width: 360px; color: #8f9394; font-size: .76rem; line-height: 1.7; }
.footer-grid h3 { margin: 0 0 15px; color: #777b7d; font-size: .72rem; letter-spacing: .16em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div:not(:first-child) a, .footer-copy { width: fit-content; padding: 0; color: #b9bcbd; background: none; border: 0; font-size: .76rem; cursor: pointer; }
.footer-grid a:hover, .footer-copy:hover { color: var(--gold-bright); }
.footer-bottom { padding: 14px 0; color: #65696a; background: #161819; font: 600 .65rem "Rajdhani", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom .wrap { display: flex; justify-content: space-between; }

@media (max-width: 800px) {
  .main-nav { height: 68px; }
  .nav-toggle { width: 46px; display: grid; gap: 5px; padding: 8px; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: #ddd; }
  .nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-links { display: none; position: absolute; top: 98px; left: 0; right: 0; height: auto; padding: 12px 20px 20px; background: #292c2e; border-top: 1px solid #414547; box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links > a { min-height: 50px; }
  .nav-links .nav-discord { margin: 10px 0 0; }
  .hero { min-height: 540px; }
  .hero__lead { max-width: 90%; }
  .status-ribbon__inner { grid-template-columns: 1fr 1fr; padding-block: 14px; }
  .status-ribbon__inner > * { border: 0; }
  .status-state { justify-content: center; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .rules-layout { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .rules-index { position: static; }
  .rules-index nav { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .section { padding-block: 60px; }
  .top-strip .wrap > span:first-child { display: none; }
  .top-strip .wrap { justify-content: flex-end; }
  .hero__content { padding-block: 70px; }
  .hero h1 { font-size: 3.65rem; }
  .brand-lockup { gap: 12px; }
  .hero-logo { width: 64px; height: 64px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .status-ribbon__inner { grid-template-columns: 1fr; }
  .status-ribbon__inner > * { min-height: 54px; border-bottom: 1px solid #c7c2b9; }
  .status-ribbon__inner > *:last-child { border-bottom: 0; }
  .world-callout__inner { align-items: flex-start; flex-direction: column; }
  .page-banner { padding: 64px 0 56px; }
  .rules-index nav { grid-template-columns: 1fr; }
  .rule-category > header, .rule-category li { padding-inline: 20px; }
  .vote-intro { align-items: flex-start; }
  .vote-card { grid-template-columns: 32px 48px 1fr; }
  .vote-card .button { grid-column: 1 / -1; }
  .section-heading--row { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom .wrap { gap: 8px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
