@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #10131c;
  --panel: #181d29;
  --border: #2c3444;
  --text: #f1f4f8;
  --muted: #aebacf;
  --accent: #c8f77a;
  font: 16px/1.5 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
[hidden] { display: none !important; }
button, input { font: inherit; }
a[href], button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }
button:active:not(:disabled) { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; }
h1, h2, p { margin: 0; }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #242a38; }
.header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 11px; text-decoration: none; font-weight: 800; font-size: 21px; }
.mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--accent); color: #182011; font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; }
.help-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 4px; color: var(--muted); }
.hero { position: relative; overflow: hidden; margin-block: 34px 23px; min-height: 240px; display: flex; align-items: center; border: 1px solid #353a48; border-radius: 20px; isolation: isolate; background: linear-gradient(100deg,#1d2530 28%,#172e37 66%,#183747); }
.hero-content { position: relative; padding: 29px 36px 34px; z-index: 1; }
.hero h1 { font: 800 clamp(44px, 6vw, 79px)/.91 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: -.025em; }
.hero h1 span { color: var(--accent); }
.hero p { margin-top: 19px; max-width: 430px; color: #d2dce4; }
.landscape { position: absolute; inset: 0 0 0 44%; opacity: .95; background: radial-gradient(ellipse at 70% 29%,#43777a90,transparent 57%); }
.landscape::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#1d2530,transparent 37%); z-index: 2; }
.landscape::after { content: ''; position: absolute; top: 18%; right: 20%; width: 66px; height: 66px; background: #cbeb9b; box-shadow: 0 0 60px #b8df9b8a; opacity: .8; }
.landscape i { position: absolute; z-index: 1; bottom: var(--y); right: var(--x); width: var(--w); height: var(--h); background: repeating-linear-gradient(90deg,#ffffff0b 0 15px,transparent 15px 33px),linear-gradient(#6f9e69 0 14px,#315f56 14px 65%,#25494d 65%); box-shadow: inset -13px 0 #081c2a48, inset 0 -8px #101e2c45; }
.landscape i:nth-child(1) { --x:-1%; --y:0; --w:24%; --h:59%; }
.landscape i:nth-child(2) { --x:17%; --y:0; --w:16%; --h:43%; }
.landscape i:nth-child(3) { --x:31%; --y:0; --w:16%; --h:29%; }
.landscape i:nth-child(4) { --x:43%; --y:0; --w:30%; --h:16%; }
.landscape i:nth-child(5) { --x:63%; --y:0; --w:29%; --h:10%; }
.landscape i:nth-child(6) { --x:1%; --y:59%; --w:5%; --h:14%; background:#4a8063; }
.landscape i:nth-child(7) { --x:0%; --y:70%; --w:10%; --h:12%; background:#78a36d; }
.landscape i:nth-child(8) { --x:51%; --y:16%; --w:6%; --h:10%; background:#426b60; }
.preview { margin-bottom: 16px; border: 1px solid #4b563a; background: #1c261c; border-radius: 10px; padding: 4px 14px; color: #d9e8cd; font-size: 13px; }
.preview strong { margin-right: 6px; color: var(--accent); }
.preview button, .link-button { padding: 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.preview button { min-height: 44px; }
.sections { display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px; align-items: start; }
.card { padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: 17px; }
.card-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 19px; }
.card-heading h2 { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.card p, .card small, details p, footer { color: var(--muted); font-size: 14px; }
.card-heading p { margin-top: 3px; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; font-weight: 800; font-size: 22px; }
.game-icon { background: #2e412b; color: var(--accent); }
.chain-icon { background: #283654; color: #acc5ff; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #10141d; border: 1px solid #262e3d; border-radius: 10px; margin-bottom: 17px; }
.tabs button { min-height: 44px; border: 0; border-radius: 6px; padding: 8px 5px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; }
.tabs button:hover { text-decoration: underline; }
.tabs [aria-selected=true] { background: #323c4d; color: var(--text); }
code { border-radius: 4px; padding: 2px 5px; background: #273340; color: #e2eed9; white-space: nowrap; }
.server-address { min-height: 44px; align-items: center; color: var(--text); border: 1px solid #788599; background: #222a38; border-radius: 7px; padding: 5px 8px; font-size: 12px; display: flex; gap: 10px; margin-top: 9px; }
.server-address span:last-child { color: var(--accent); }
form { margin-top: 15px; display: grid; gap: 7px; }
label { font-size: 13px; font-weight: 700; }
input { width: 100%; min-width: 0; padding: 10px 13px; border: 1px solid #788599; border-radius: 8px; background: #10141d; color: var(--text); letter-spacing: .08em; text-transform: uppercase; }
input::placeholder { color: #8694ae; }
.primary, .secondary { min-height: 44px; border: 1px solid transparent; border-radius: 8px; padding: 8px 13px; font-size: 14px; font-weight: 800; }
.primary { color: #192111; background: var(--accent); width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.primary:hover:not(:disabled) { background: #dcffa7; }
.secondary { color: var(--text); background: #242c3b; border-color: #788599; }
.secondary:hover:not(:disabled) { background: #303b51; }
.providers { padding: 0; margin: 0; list-style: none; }
.providers > li { border-top: 1px solid var(--border); }
.provider-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 68px; }
.account-list, .membership-results { list-style: none; margin: 0; padding: 0 0 8px; }
.account-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-left: 10px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-list button { flex-shrink: 0; margin-top: 0; }
.membership-results { margin-top: 13px; padding-left: 10px; border-left: 2px solid var(--border); }
.membership-results li { padding: 4px 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
#check-memberships { margin-top: 7px; }
.discord { background: #343964; color: #c1c5ff; }
.patreon { background: #4a3034; color: #ffb6ab; }
.twitch { background: #402f66; color: #d9baff; }
.youtube { background: #4a3034; color: #ffb6ab; font-size: 17px; }
.player { display: block; font-size: 26px; color: var(--accent); overflow-wrap: anywhere; margin-block: 8px; }
.confirm-actions { display: grid; gap: 8px; }
.status:not(:empty) { margin-top: 12px; }
.status[data-state=error] { color: #ffb9ae; }
.verified-label { color: var(--accent) !important; }
.link-button { min-height: 44px; margin-top: 8px; font-size: 14px; }
details { padding: 16px 0; margin-top: 10px; }
summary { color: #d1dcee; width: fit-content; font-size: 14px; min-height: 44px; align-content: center; }
details p { margin-top: 9px; max-width: 600px; }
footer { padding-block: 17px 25px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
@media (max-width: 740px) {
  .shell { width: min(100% - 30px, 535px); }
  .hero { margin-top: 20px; min-height: 214px; }
  .hero-content { padding: 22px; }
  .hero p { max-width: 280px; font-size: 14px; }
  .landscape { inset-inline-start: 37%; opacity: .5; }
  .sections { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 19px; }
}
@media (max-width: 370px) { .card { padding: 15px; } }
