/* Shared visual system. Loaded after the existing utility stylesheet. */
:root{--surface:#101b2b;--line:#25364b;--muted:#a9b9cb;--teal:#5ce1bf;--blue:#69a8ff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{background:radial-gradient(ellipse at 80% 5%,#123c452e,transparent 45%),#0a1220;animation:none;color:#eaf1f8;font-family:Roboto,system-ui,sans-serif;overflow-x:clip}a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--teal)!important;outline-offset:5px}::selection{background:#227364;color:white}.skip-link{position:fixed;left:16px;top:-80px;background:var(--teal);color:#081b22;padding:12px 20px;z-index:100000}.skip-link:focus{top:16px}.minecraft-font{background-image:linear-gradient(110deg,var(--teal),var(--blue));text-shadow:none;letter-spacing:.3px}.minecraft-font:hover{animation:none}.header-bg{padding:28px 0!important;background:#0a1220e8!important;border-bottom:1px solid var(--line);box-shadow:none!important;backdrop-filter:blur(16px);position:relative;z-index:30!important}.header-content{gap:24px;text-align:left}.header-content h1,.header-content .text-5xl{font-size:clamp(23px,3vw,34px);line-height:1.3}.header-content p{font-size:10px;letter-spacing:2px;margin-top:8px;color:var(--muted)}.nav-btn{background:transparent!important;border:0!important;box-shadow:none!important;color:#bdcbdc!important;font-family:inherit!important;font-size:13px;padding:10px 12px;border-radius:6px;animation:none!important;text-shadow:none}.nav-btn:hover{background:#19283b!important;color:var(--teal)!important;transform:none}.nav-btn:first-child{border:1px solid #456877!important;color:var(--teal)!important}main{padding-top:44px;position:relative;z-index:2}#particles-js{pointer-events:none!important;z-index:0!important;background-image:radial-gradient(#5ce1bf25 1px,transparent 1px);background-size:64px 64px}.section-bg,.section-bg:hover{background:linear-gradient(120deg,#121f30,#101a2a);border:1px solid var(--line);border-radius:16px;box-shadow:none;animation:none;backdrop-filter:none}.section-bg h2{font-size:clamp(24px,3vw,32px);line-height:1.4}.section-bg p{color:#b9c8d9;line-height:1.85}.section-bg a:not(.btn-minecraft){color:var(--teal)}.feature-card,.feature-card:hover{background:#0c1625!important;border:1px solid var(--line)!important;border-radius:10px;box-shadow:none!important;padding:26px;transform:none;transition:border-color .2s}.feature-card:hover{border-color:#479b92!important}.feature-card h3,.feature-card h4{font-size:19px;line-height:1.5}.feature-card p{font-size:14px}.btn-minecraft,.btn-minecraft:hover{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:linear-gradient(110deg,#60e6ba,#65cbdc);color:#08232a!important;border-radius:6px;padding:15px 24px;text-shadow:none;box-shadow:0 4px 0 #234f52;animation:none;transform:none;font-size:14px;min-height:48px;transition:filter .2s}.btn-minecraft:hover{filter:brightness(1.1)}.btn-minecraft::before,.btn-minecraft::after{display:none}.hamburger{width:44px!important;height:44px!important;position:fixed!important;top:24px!important;right:20px!important;border:1px solid var(--line);border-radius:6px;background:#101c2c!important;z-index:99999!important}.hamburger .bar{background:var(--teal);height:2px;width:20px}.mobile-nav[data-mobile-nav]{background:#0a1220fa!important;backdrop-filter:blur(15px);z-index:99998!important;overflow-y:auto;padding:80px 24px}.mobile-nav.active{display:flex!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}.mobile-nav a{display:inline-block;min-height:44px;background:none!important;color:var(--teal)!important;font-size:20px}.mobile-nav ul{list-style:none;padding:0}.mobile-nav li{margin-bottom:20px}.menu-open{overflow:hidden}.toc{border:1px solid var(--line);box-shadow:none!important;background:#0c1625!important}.toc h2{font-family:Minecraft,system-ui!important}.code-block-wrapper{min-width:0}pre{max-width:100%;overflow-x:auto!important;padding-top:52px!important}code{overflow-wrap:anywhere}img{max-width:100%;height:auto}.realms-image{border:1px solid #405669;border-radius:10px;box-shadow:0 20px 50px #0005}footer{border-top:1px solid var(--line);background:#080f1a!important;color:var(--muted);line-height:1.8;padding:30px 20px!important}footer a{color:var(--teal)}
.landing-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;padding:38px 0 70px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--teal);display:flex;align-items:center;gap:10px}.status-dot{display:inline-block;width:7px;height:7px;background:var(--teal);box-shadow:0 0 15px #5ce1bf70;border-radius:50%;flex-shrink:0}.hero-copy h1{font-size:clamp(48px,5.7vw,76px);font-weight:900;line-height:1.1;letter-spacing:-3px;margin:27px 0}.hero-copy h1 .minecraft-font{font-size:.89em;letter-spacing:-1px}.hero-description{font-size:16px;line-height:1.9;color:var(--muted);max-width:480px}.hero-actions{display:flex;gap:24px;align-items:center;margin-top:30px;flex-wrap:wrap}.text-link{font-size:12px;color:#c2d2e2;display:flex;gap:12px;align-items:center;min-height:44px}.text-link:hover{color:var(--teal)}.hero-tags{display:flex;flex-wrap:wrap;gap:20px;font-size:10px;color:#96aabe;margin-top:30px}.hero-tags span::first-letter{color:var(--teal)}.world-art{height:450px;position:relative;overflow:hidden;border:1px solid #2c4a56;border-radius:14px;background:radial-gradient(ellipse at 50% 40%,#245f6260,transparent 65%),linear-gradient(#101d30,#17333a);isolation:isolate}.world-grid{position:absolute;inset:0;background-image:linear-gradient(#6fd9c009 1px,transparent 1px),linear-gradient(90deg,#6fd9c009 1px,transparent 1px);background-size:32px 32px}.world-sun{position:absolute;width:75px;height:75px;background:#9ee8c5;right:75px;top:65px;box-shadow:0 0 80px #62e8bb35}.mountain{position:absolute;bottom:65px;width:100%;height:210px;clip-path:polygon(0 60%,10% 60%,10% 45%,20% 45%,20% 20%,30% 20%,30% 0,40% 0,40% 30%,50% 30%,50% 45%,60% 45%,60% 20%,70% 20%,70% 40%,80% 40%,80% 60%,100% 60%,100% 100%,0 100%);background:#225058}.mountain-front{bottom:0;left:30%;background:#173d43;transform:scale(1.25);height:160px}.voxel{position:absolute;width:125px;height:125px;background:linear-gradient(90deg,#25484c 50%,#193a3d 50%);transform:rotate(-30deg) skewY(30deg);border-top:16px solid #56b496;box-shadow:18px 18px 40px #07161e70}.voxel i{position:absolute;width:100%;height:72px;background:repeating-conic-gradient(#6cc6a0 0 25%,#5ab492 0 50%) 0/32px 32px;transform:skewX(-45deg);transform-origin:bottom;bottom:100%;left:36px}.voxel-one{left:26%;top:205px}.voxel-two{width:80px;height:80px;left:63%;top:260px}.voxel-two i{height:46px;left:23px;background:#75c8a4}.voxel-three{width:55px;height:55px;left:15%;top:320px}.voxel-three i{height:32px;left:16px;background:#67bca0}.world-caption{position:absolute;bottom:0;left:0;right:0;padding:17px;background:#0b1925bc;border-top:1px solid #325459;display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.3px;color:#a4cbbb}.world-caption>span:last-child{margin-left:auto}.floating-label{position:absolute;top:25px;left:25px;font-size:9px;line-height:1.9;letter-spacing:2px;color:#99c2bf}.floating-label strong{font-size:16px;letter-spacing:0;color:#d8eee8;font-weight:500}.chapter-divider{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0;font-size:9px;letter-spacing:2px;color:#91a9bc;margin-bottom:25px}.home #features{background:transparent;border:0;padding:22px 0 45px}.home #features h2{text-align:left}.home #features .feature-card{border-top:2px solid #4dab98!important}.home #features .grid{counter-reset:feature}.home #features .feature-card::before{counter-increment:feature;content:'0' counter(feature);display:block;font:12px monospace;color:#689a99;margin-bottom:24px}.home #get-started{background:radial-gradient(ellipse at top,#225f5040,transparent),#101d2b}.home section{scroll-margin-top:30px}.search-input{background:#0b1625!important;border:1px solid #3c6271!important;color:#eaf1f8}.search-input:focus{outline:3px solid var(--teal)!important;outline-offset:3px}.server-connect{display:flex;gap:12px;align-items:center;margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.server-connect code{font-size:12px;flex:1;min-width:0}.copy-btn{min-width:44px;min-height:44px;border:1px solid var(--line);color:var(--teal);border-radius:6px;background:#183039}.server-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;color:var(--muted);margin-top:20px}.server-meta strong{display:block;color:#d9e7ef;font-weight:500}.empty-state{padding:36px;text-align:center;color:var(--muted)}
@media(min-width:768px){.hamburger{display:none!important}.mobile-nav{display:none!important}}@media(max-width:1000px){.header-content{flex-direction:column;align-items:flex-start}.header-content nav{flex-wrap:wrap}.landing-hero{gap:25px}.world-art{height:400px}.hero-copy h1{font-size:58px}}@media(max-width:767px){html{scroll-padding-top:30px}.header-bg{padding:24px 0!important}.header-content{padding-right:80px}.header-content p{font-size:8px;letter-spacing:1px}.header-content nav:not(.mobile-nav){display:none!important}main{padding-top:22px}.landing-hero{grid-template-columns:1fr;padding:25px 0 36px;gap:36px}.hero-copy h1{font-size:clamp(46px,10vw,66px);letter-spacing:-2px}.hero-description{font-size:15px}.world-art{height:350px}.hero-tags{gap:14px}.chapter-divider{letter-spacing:1px;font-size:8px;gap:20px}.chapter-divider span:last-child{display:none}.section-bg{padding:25px!important;margin-bottom:28px}.home #features{padding:15px 0!important}.section-bg h2{margin-bottom:24px}.feature-card{padding:22px}.section-bg p{font-size:15px}.toc{margin:20px 0!important;padding:16px!important}.toc a{font-size:14px!important}.hero-actions{gap:10px 22px}.hero-copy .eyebrow{font-size:8px}.world-sun{top:45px;right:55px}.voxel-one{top:160px}.voxel-two{top:220px}.voxel-three{top:260px}.hamburger.active .bar:nth-child(1){transform:translateY(8px) rotate(45deg)}.hamburger.active .bar:nth-child(2){opacity:0}.hamburger.active .bar:nth-child(3){transform:translateY(-8px) rotate(-45deg)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Long API signatures must stay inside their cards on narrow screens. */
main,.grid>*,.section-bg,.feature-card{min-width:0}.section-bg h1,.section-bg h2,.section-bg h3,.section-bg h4,.section-bg li,.section-bg a{overflow-wrap:anywhere}pre code{overflow-wrap:normal}table{display:block;max-width:100%;overflow-x:auto}
.video-art{background:#102634}.video-art #ytplayer,.video-art .video-fallback{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;z-index:-2}.video-art .video-fallback{display:none}.video-art .video-shade{position:absolute;inset:0;background:linear-gradient(180deg,#07131a55,#07131acc);z-index:-1}.video-art .world-grid{opacity:.18}.video-art .world-sun,.video-art .mountain,.video-art .voxel{opacity:.18}.video-art .floating-label,.video-art .world-caption{z-index:2}.video-art iframe{pointer-events:none}@media(prefers-reduced-motion:reduce){.video-art #ytplayer{display:none}.video-art .video-fallback{display:block}}
/* The hero media is a clean, cropped stage. Decorative geometry stays behind the
   footage, while the small labels remain readable without hiding the scene. */
.video-art{isolation:isolate;background:#102634;contain:paint;overflow:hidden}
/* Keep the player centered while the banner clips its edges cleanly. */
.video-art .hero-video{z-index:0!important;inset:-21% -21%!important;width:142%!important;height:142%!important;max-width:none;transform:none;pointer-events:none;display:block}
.video-art .video-fallback{z-index:-2!important;inset:-21% -21%!important;width:142%!important;height:142%!important;max-width:none;object-fit:cover}
.video-art .video-shade{z-index:1!important;background:linear-gradient(180deg,#07131a12,#07131a55)}
.video-art .world-grid,.video-art .world-sun,.video-art .mountain,.video-art .voxel{z-index:-1;pointer-events:none;opacity:.07!important}
.video-art .world-caption,.video-art .floating-label{z-index:2;pointer-events:none}
.video-art .world-caption{background:#0b19254d}
@media(max-width:767px){.video-art .hero-video{inset:-12% -12%!important;width:124%!important;height:124%!important}.video-art .video-fallback{inset:-12% -12%!important;width:124%!important;height:124%!important}}
