:root{--main-color:#6a43de;--main-text:#171322;--muted:#68627a;--border:#e8e3f2;--success:#36ad42;--error:#dc3d3d;--background:#f8f8fb}
*{box-sizing:border-box;margin:0;padding:0}
html{min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--main-text);background:var(--background)}
body{min-height:100vh;background:radial-gradient(circle at 73% 19%,rgba(114,71,226,.09),transparent 25rem),linear-gradient(180deg,#fbfcff 0%,#f7f6fb 100%);overflow-x:hidden}
a{color:inherit;text-decoration:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-shell{width:min(1380px,calc(100% - 48px));min-height:100vh;margin:0 auto;padding:18px 0 28px}
.site-header{height:64px;display:flex;align-items:center;justify-content:space-between}
.brand{display:inline-flex;align-items:center}
.brand img{display:block;width:168px;height:auto}
.site-nav{display:flex;align-items:center;gap:34px;font-size:15px;font-weight:600}
.site-nav>a{transition:color .2s ease}
.site-nav>a:hover{color:var(--main-color)}
.nav-divider{width:1px;height:34px;background:#d7d3df}
.language-picker{display:inline-flex;align-items:center;gap:8px;position:relative}
.language-picker>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.language-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:112px;padding:8px 4px;border:0;color:var(--main-text);background:transparent;font:inherit;text-align:left;cursor:pointer;outline:none}
.language-trigger:hover{color:var(--main-color)}
.language-trigger:focus-visible{border-radius:7px;box-shadow:0 0 0 3px rgba(106,67,222,.2)}
.language-chevron{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.language-trigger[aria-expanded="true"] .language-chevron{transform:rotate(180deg)}
.language-menu{position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:156px;padding:6px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(35,24,70,.14)}
.language-menu[hidden]{display:none}
.language-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border:0;border-radius:8px;color:var(--main-text);background:transparent;font:inherit;text-align:left;cursor:pointer;outline:none}
.language-option::after{content:"";width:15px;color:var(--main-color);font-weight:800}
.language-option[aria-selected="true"]{color:var(--main-color);background:#f0ebff;font-weight:700}
.language-option[aria-selected="true"]::after{content:"✓"}
.language-option:hover,.language-option:focus-visible{background:#f5f2fd}
main{padding-top:26px}
.hero{display:flex;flex-direction:column;align-items:center;padding:18px 6px 34px;text-align:center}
.error-code{font-size:76px;line-height:.92;font-weight:900;letter-spacing:-4px;background:linear-gradient(135deg,#7544ee 15%,#4d37ca);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero h1{margin-top:10px;font-size:48px;line-height:1;font-weight:850;letter-spacing:-1.8px}
.hero-copy{margin-top:15px;color:var(--muted);font-size:19px;line-height:1.45}
.status-card{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 42px 24px;border:1px solid var(--border);border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 14px 38px rgba(61,43,112,.06);backdrop-filter:blur(12px)}
.status-node{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.status-node:not(:last-child)::after{content:"";position:absolute;z-index:0;top:34px;left:calc(50% + 49px);width:calc(100% - 98px);border-top:2px dashed #cfc4f3}
.status-icon-wrap{position:relative;z-index:1;margin-bottom:8px}
.status-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;color:var(--main-color);background:#eee9ff;box-shadow:0 0 0 7px rgba(255,255,255,.95)}
.status-icon>svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gateway-icon{grid-template-columns:repeat(2,12px);align-content:center;justify-content:center;gap:4px}
.gateway-icon i{display:block;width:12px;height:12px;border-radius:3px;background:linear-gradient(145deg,#7a4cf0,#4c35c6)}
.status-badge{position:absolute;right:-4px;bottom:-2px;display:grid;place-items:center;width:24px;height:24px;border:3px solid #fff;border-radius:50%;color:#fff}
.status-badge svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.status-ok .status-badge{background:var(--success)}
.status-error .status-badge{background:var(--error)}
.status-pending .status-badge{background:#92909b}
.status-node strong{font-size:16px}
.status-node>span:not(.status-icon-wrap){color:var(--muted);font-size:14px}
.status-node em{font-size:15px;font-style:normal;font-weight:750}
.status-ok em{color:var(--success)}
.status-error em{color:var(--error)}
.status-pending em{color:#777482}
.information-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.information-card{display:flex;gap:22px;min-height:142px;padding:24px 28px;border:1px solid var(--border);border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(61,43,112,.05)}
.information-icon{flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:var(--main-color);font-size:24px;font-weight:800;background:#eee9ff}
.information-card h2{margin:2px 0 8px;font-size:19px}
.information-card p,.information-card li{color:#575167;font-size:15px;line-height:1.55}
.information-card ul{padding-left:18px}
.information-card a{color:var(--main-color);font-weight:650;text-decoration:underline;text-underline-offset:2px}
.actions{display:flex;justify-content:center;gap:14px;margin:20px 0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 24px;border-radius:9px;font-size:15px;font-weight:700;transition:transform .2s ease,box-shadow .2s ease}
.button:hover{transform:translateY(-1px)}
.button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.button-primary{color:#fff;background:linear-gradient(135deg,#7545ed,#5c39d6);box-shadow:0 9px 20px rgba(106,67,222,.24)}
.button-secondary{background:#fff;border:1px solid var(--border);box-shadow:0 5px 15px rgba(30,20,60,.05)}
footer{display:flex;justify-content:center;align-items:center;gap:9px;padding-top:15px;border-top:1px solid #ded9e9;color:#777087;font-size:13px}
footer strong{color:#5f5870;font-weight:650}
@media (max-width:900px){.page-shell{width:min(100% - 32px,720px)}.site-nav>a,.nav-divider{display:none}.error-code{font-size:62px}.hero h1{font-size:40px}.status-card{padding:24px 16px 20px}.status-node:not(:last-child)::after{left:calc(50% + 42px);width:calc(100% - 84px)}.information-grid{grid-template-columns:1fr}.status-node strong{font-size:14px}.status-node>span:not(.status-icon-wrap),.status-node em{font-size:12px}}
@media (max-width:560px){.page-shell{width:min(100% - 22px,520px);padding-bottom:22px}.brand img{width:136px}.language-trigger{min-width:96px}.hero{padding-top:22px}.error-code{font-size:54px}.hero h1{font-size:34px}.hero-copy{font-size:16px}.status-card{grid-template-columns:1fr;gap:26px}.status-node:not(:last-child)::after{top:82px;left:50%;width:0;height:28px;border-top:0;border-left:2px dashed #cfc4f3}.status-node>span:not(.status-icon-wrap){display:block}.information-card{padding:20px;gap:15px}.information-icon{width:44px;height:44px}.actions{flex-direction:column}.button{width:100%}footer{flex-wrap:wrap}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
