:root {
  --ink: #090b0d;
  --ink-2: #101317;
  --panel: #15191e;
  --panel-2: #1c2228;
  --stone: #242a2f;
  --stone-light: #343b40;
  --red: #e51d37;
  --red-bright: #ff4156;
  --red-dark: #8e1323;
  --green: #54cf72;
  --gold: #f1c15b;
  --text: #f6f7f8;
  --muted: #a8afb5;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.19);
  --shadow: 0 22px 60px rgba(0,0,0,.38);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--text); background: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.world-noise { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.site-header { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 1210px); min-height: 68px; display: flex; align-items: center; gap: 26px; padding: 8px 10px 8px 17px; border: 1px solid var(--line-strong); background: rgba(9,11,13,.9); box-shadow: 0 14px 36px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(16px); }
.site-header::before, .site-header::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--red); }
.site-header::before { left: -1px; top: -1px; }
.site-header::after { right: -1px; bottom: -1px; }
.brand { flex: 0 0 auto; }
.brand img { width: 220px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.site-nav a, .nav-play { padding: 12px 13px; border: 0; background: transparent; color: #c5cbd0; font-size: .76rem; font-weight: 800; letter-spacing: .035em; cursor: pointer; }
.site-nav a:hover { color: white; }
.nav-play { margin-left: 6px; padding-inline: 17px; color: white; background: var(--red); box-shadow: 4px 4px 0 var(--red-dark); text-transform: uppercase; }
.nav-play:hover { transform: translate(1px,1px); box-shadow: 3px 3px 0 var(--red-dark); }
.nav-toggle { display: none; width: 45px; height: 45px; margin-left: auto; border: 1px solid var(--line); background: #15191e; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: white; transition: .2s ease; }

.hero { position: relative; min-height: 820px; padding: 128px 0 104px; overflow: hidden; background: linear-gradient(#151b20 0 62%, #101317 62%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229,29,55,.09) 1px, transparent 1px), linear-gradient(rgba(229,29,55,.055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-sky { position: absolute; inset: 0 0 38%; overflow: hidden; background: radial-gradient(circle at 76% 14%, rgba(255,80,90,.12), transparent 23%), linear-gradient(180deg, #171d22, #11161a); }
.sun-square { position: absolute; right: 12%; top: 13%; width: 74px; height: 74px; background: #ffd47a; box-shadow: 0 0 50px rgba(255,201,95,.32); opacity: .8; }
.cloud { position: absolute; height: 22px; background: rgba(255,255,255,.08); box-shadow: 22px -11px rgba(255,255,255,.08), 44px 0 rgba(255,255,255,.08), 66px 0 rgba(255,255,255,.08); }
.cloud-a { left: 8%; top: 24%; width: 78px; }
.cloud-b { right: 28%; top: 38%; width: 64px; transform: scale(.7); opacity: .7; }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; min-height: 590px; }
.hero-copy { max-width: 670px; }
.pixel-kicker { margin: 0 0 15px; color: var(--red-bright); font-size: .69rem; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .section h2 { margin: 0; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { font-size: clamp(4rem, 7.2vw, 7rem); text-transform: uppercase; text-shadow: 5px 5px 0 rgba(0,0,0,.22); }
.hero h1 span { color: var(--red-bright); }
.hero-lead { max-width: 650px; margin: 25px 0 28px; color: #c0c5c9; font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.75; }
.server-live-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 11px; border: 1px solid var(--line); background: rgba(9,11,13,.62); color: #c4c9cc; font-size: .73rem; font-weight: 800; }
.live-dot { width: 9px; height: 9px; background: #929ba2; box-shadow: 0 0 0 4px rgba(146,155,162,.12); }
.server-live-pill[data-state="online"] { border-color: rgba(84,207,114,.28); color: #c7f6d1; }
.server-live-pill[data-state="online"] .live-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(84,207,114,.13), 0 0 16px rgba(84,207,114,.45); }
.server-live-pill[data-state="offline"] { border-color: rgba(255,65,86,.35); color: #ffc2ca; }
.server-live-pill[data-state="offline"] .live-dot { background: var(--red-bright); box-shadow: 0 0 0 4px rgba(255,65,86,.12); }
.server-join-card { display: grid; grid-template-columns: 58px minmax(0,1fr) 72px; gap: 14px; align-items: center; max-width: 630px; padding: 12px; border: 2px solid var(--stone-light); background: #111519; box-shadow: 7px 7px 0 rgba(0,0,0,.28), inset 0 0 0 2px #080a0c; }
.server-icon-wrap { width: 58px; height: 58px; padding: 4px; border: 2px solid #343c42; background: #080a0c; }
.server-icon { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.server-address-wrap { min-width: 0; }
.server-address-wrap span { display: block; margin-bottom: 4px; color: #899299; font-size: .63rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.server-address-wrap strong { display: block; overflow: hidden; color: white; font-size: clamp(1rem, 2vw, 1.32rem); white-space: nowrap; text-overflow: ellipsis; }
.server-address-wrap small { display: block; margin-top: 3px; overflow: hidden; color: #9ca5aa; font-size: .72rem; white-space: nowrap; text-overflow: ellipsis; }
.copy-block { height: 58px; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: var(--red); box-shadow: inset -4px -4px rgba(0,0,0,.22), inset 3px 3px rgba(255,255,255,.12); cursor: pointer; }
.copy-block:hover { filter: brightness(1.08); }
.copy-block span { font-size: .67rem; font-weight: 950; text-transform: uppercase; }
.copy-block svg { width: 18px; fill: white; }
.live-stats { max-width: 630px; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 13px; border: 1px solid var(--line); background: rgba(9,11,13,.5); }
.live-stats > div { min-width: 0; padding: 13px 15px; border-right: 1px solid var(--line); }
.live-stats > div:last-child { border-right: 0; }
.live-stats span { display: block; color: #7f898f; font-size: .6rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.live-stats strong { display: block; margin-top: 4px; overflow: hidden; font-size: .93rem; white-space: nowrap; text-overflow: ellipsis; }
.live-stats b { font-size: 1.05rem; }
.live-stats em { margin: 0 3px; color: #626c72; font-style: normal; font-size: .72rem; }
.version-value { font-size: .77rem !important; }
.hero-world { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-world::before { content: ""; position: absolute; inset: 9% 2% 4%; border: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle, rgba(229,29,55,.12), transparent 62%); transform: rotate(-2deg); }
.hero-world > img { position: relative; z-index: 2; width: min(100%, 690px); filter: drop-shadow(0 35px 35px rgba(0,0,0,.48)); animation: island-float 7s ease-in-out infinite; }
.world-label { position: absolute; z-index: 5; display: grid; grid-template-columns: 38px auto; align-items: center; gap: 9px; padding: 8px 11px 8px 8px; border: 1px solid var(--line-strong); background: rgba(9,11,13,.91); box-shadow: 5px 5px rgba(0,0,0,.24); }
.world-label span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); font-weight: 950; }
.world-label strong { font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.label-pu { left: 2%; bottom: 17%; }
.label-event { right: 0; top: 18%; }
.hero-ground { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 86px; background: linear-gradient(#364134 0 16px, #5b3d2c 16px 45px, #2b2927 45px); box-shadow: inset 0 5px rgba(255,255,255,.04); }
.hero-ground::after { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(90deg, transparent 0 31px, rgba(0,0,0,.35) 31px 33px), linear-gradient(transparent 0 31px, rgba(0,0,0,.35) 31px 33px); background-size: 33px 33px; }

.section { position: relative; padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .65fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.section-heading.centered { grid-template-columns: 1fr; max-width: 850px; margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(2.8rem, 5vw, 5rem); text-transform: uppercase; }
.section-heading > p, .copy-lead { margin: 0; color: var(--muted); line-height: 1.75; }
.gameplay { background: #0c0f12; }
.gameplay::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(45deg, #171b1e 25%, transparent 25%), linear-gradient(-45deg, #171b1e 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #171b1e 75%), linear-gradient(-45deg, transparent 75%, #171b1e 75%); background-size: 48px 48px; background-position: 0 0, 0 24px, 24px -24px, -24px 0; }
.gameplay .shell { position: relative; }
.progression-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.progress-step { position: relative; padding: 0 21px 26px; border: 1px solid var(--line); background: rgba(21,25,30,.88); box-shadow: 6px 6px 0 rgba(0,0,0,.22); }
.progress-step::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: .3s ease; }
.progress-step:hover::after { transform: scaleX(1); }
.step-block { width: 78px; height: 78px; display: grid; place-items: center; margin: -18px 0 23px; border: 4px solid #090b0d; box-shadow: 5px 5px rgba(0,0,0,.3); image-rendering: pixelated; }
.step-block span { color: white; font-size: .78rem; font-weight: 950; text-shadow: 2px 2px rgba(0,0,0,.45); }
.grass-block { background: linear-gradient(#4e8147 0 24%, #70513a 24% 100%); }
.ore-block { background: radial-gradient(circle at 28% 28%, #e84d5d 0 8%, transparent 9%), radial-gradient(circle at 68% 58%, #e84d5d 0 10%, transparent 11%), #50565a; }
.machine-block { background: linear-gradient(90deg, transparent 43%, #e52a40 43% 57%, transparent 57%), linear-gradient(transparent 43%, #e52a40 43% 57%, transparent 57%), #30383e; }
.beacon-block { background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.8) 31% 43%, transparent 44%), #d9223a; }
.progress-step h3 { margin: 0 0 10px; font-size: 1.42rem; text-transform: uppercase; }
.progress-step p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.skycore { overflow: hidden; background: linear-gradient(180deg, #151a1f, #0f1317); }
.skycore::after { content: "SKYCORE"; position: absolute; right: -28px; bottom: 0; color: rgba(255,255,255,.025); font-size: 12vw; font-weight: 1000; letter-spacing: -.08em; }
.skycore-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.machine-window { border: 4px solid #080a0c; background: #151b20; box-shadow: 10px 10px 0 rgba(0,0,0,.32), inset 0 0 0 2px #3d464d; }
.window-title { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border-bottom: 3px solid #080a0c; background: #262e34; color: #c8d0d5; font-size: .7rem; font-weight: 950; letter-spacing: .16em; }
.window-title span { width: 12px; height: 12px; background: var(--red); box-shadow: 17px 0 #69757c, 34px 0 #69757c; }
.network-board { position: relative; min-height: 470px; overflow: hidden; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), #11161a; background-size: 34px 34px; }
.network-node { position: absolute; width: 128px; height: 128px; display: grid; place-items: center; align-content: center; gap: 8px; border: 5px solid #080a0c; background: #2c343a; box-shadow: inset 0 0 0 3px #465159, 8px 8px rgba(0,0,0,.3); }
.network-node i { width: 45px; height: 45px; display: block; background: var(--red); box-shadow: inset -8px -8px var(--red-dark), 0 0 22px rgba(229,29,55,.28); }
.network-node b { font-size: .66rem; letter-spacing: .08em; }
.network-node small { color: #92a0a8; font-size: .55rem; font-weight: 900; }
.generator-node { left: 8%; top: 10%; }
.storage-node { right: 8%; top: 15%; }
.machine-node { left: 35%; bottom: 9%; }
.machine-node i { background: #f0c254; box-shadow: inset -8px -8px #94701e, 0 0 24px rgba(240,194,84,.25); }
.wire { position: absolute; height: 12px; background: #8f1424; border: 3px solid #080a0c; transform-origin: left; }
.wire::after { content: ""; position: absolute; inset: 2px; background: var(--red-bright); }
.wire-one { width: 235px; left: 28%; top: 28%; transform: rotate(9deg); }
.wire-two { width: 210px; left: 27%; top: 46%; transform: rotate(56deg); }
.item-link { position: absolute; right: 7%; bottom: 8%; display: grid; grid-template-columns: auto 38px auto; gap: 8px; align-items: center; padding: 9px; border: 3px solid #080a0c; background: #252c31; font-size: .6rem; font-weight: 950; }
.item-link b { height: 30px; display: grid; place-items: center; background: var(--red); }
.item-link i { color: #f0c254; font-style: normal; }
.section-copy { position: relative; }
.section-copy h2 { margin-bottom: 24px; }
.feature-list { display: grid; gap: 12px; margin-top: 30px; }
.feature-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: start; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; background: #22292e; color: var(--red-bright); font-size: 1.3rem; font-weight: 950; box-shadow: inset -5px -5px rgba(0,0,0,.18); }
.feature-list p { margin: 0; color: var(--muted); line-height: 1.6; }
.feature-list strong { color: white; }

.classes { background: #0b0e10; }
.class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.class-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: #151a1e; box-shadow: 6px 6px 0 rgba(0,0,0,.28); transition: transform .2s ease, border-color .2s ease; }
.class-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.2); }
.class-scene { height: 215px; display: grid; place-items: center; padding: 24px; border-bottom: 4px solid #080a0c; background: linear-gradient(145deg, #262d32, #171c20); }
.class-scene img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(10px 12px 0 rgba(0,0,0,.18)); }
.class-content { padding: 23px; }
.class-content span, .event-copy > span { color: var(--red-bright); font-size: .62rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.class-content h3 { margin: 6px 0 10px; font-size: 1.7rem; text-transform: uppercase; }
.class-content p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.warrior .class-scene { background: linear-gradient(145deg, #493339, #1a1c20); }
.mage .class-scene { background: linear-gradient(145deg, #3b304d, #171a20); }
.priest .class-scene { background: linear-gradient(145deg, #4a4735, #1b1d1d); }
.ranger .class-scene { background: linear-gradient(145deg, #304438, #171d1a); }

.events { background: linear-gradient(180deg, #14191d, #0d1114); }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.event-card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 370px; border: 1px solid var(--line); background: #151a1e; box-shadow: 8px 8px 0 rgba(0,0,0,.27); }
.event-art { position: relative; display: grid; place-items: center; min-height: 330px; overflow: hidden; border-right: 4px solid #080a0c; background: #20272c; }
.event-art::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 36px 36px; }
.event-art img { position: relative; z-index: 2; width: 94%; filter: drop-shadow(10px 14px 0 rgba(0,0,0,.2)); }
.event-copy { align-self: center; padding: 34px; }
.event-copy h3 { margin: 7px 0 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; }
.event-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.event-copy ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 0; padding: 0; list-style: none; }
.event-copy li { padding: 7px 9px; border: 1px solid var(--line); color: #c9ced1; font-size: .66rem; font-weight: 800; }
.takeover { border-color: rgba(229,29,55,.3); }
.takeover .event-art { background: linear-gradient(150deg, #421822, #1a1e21); }
.envoy .event-art { background: linear-gradient(150deg, #413822, #1a1e21); }


/* Discord community status */
.community { overflow: hidden; background: linear-gradient(180deg, #0d1014, #11141b); }
.community::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(45deg, rgba(88,101,242,.15) 25%, transparent 25%), linear-gradient(-45deg, rgba(88,101,242,.15) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(88,101,242,.15) 75%), linear-gradient(-45deg, transparent 75%, rgba(88,101,242,.15) 75%); background-position: 0 0, 0 16px, 16px -16px, -16px 0; background-size: 32px 32px; }
.discord-panel { position: relative; z-index: 2; display: grid; grid-template-columns: 132px minmax(0,1fr) 300px; gap: clamp(24px, 4vw, 58px); align-items: center; padding: clamp(28px, 5vw, 58px); border: 5px solid #080a0c; background: linear-gradient(135deg, #232a43, #171b25 48%, #15191e); box-shadow: 0 0 0 2px #41485e, 12px 12px 0 rgba(0,0,0,.36); }
.discord-panel::after { content: "COMMUNITY"; position: absolute; right: 20px; bottom: -13px; color: rgba(255,255,255,.025); font-size: clamp(4rem, 10vw, 9rem); font-weight: 1000; letter-spacing: -.08em; pointer-events: none; }
.discord-emblem { position: relative; z-index: 2; width: 126px; height: 126px; display: grid; place-items: center; border: 5px solid #080a0c; background: #5865f2; box-shadow: inset -13px -13px #3541ae, inset 8px 8px rgba(255,255,255,.12), 8px 8px rgba(0,0,0,.28); }
.pixel-chat { position: relative; width: 74px; height: 52px; border: 8px solid white; border-radius: 5px; }
.pixel-chat::after { content: ""; position: absolute; left: 8px; bottom: -22px; width: 18px; height: 18px; border-left: 8px solid white; border-bottom: 8px solid white; }
.pixel-chat span { position: absolute; top: 16px; width: 9px; height: 9px; background: white; }
.pixel-chat span:first-child { left: 13px; }
.pixel-chat span:nth-child(2) { right: 13px; }
.pixel-chat i { position: absolute; left: 27px; top: 14px; width: 5px; height: 13px; background: white; }
.pixel-chat b { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 5px; background: white; }
.discord-copy { position: relative; z-index: 2; min-width: 0; }
.discord-copy h2 { margin-bottom: 17px; font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
.discord-copy > p:not(.pixel-kicker) { max-width: 670px; margin: 0; color: #b9c0cc; line-height: 1.72; }
.discord-live-pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 11px; border: 1px solid var(--line); background: rgba(8,10,14,.5); color: #c5c9d7; font-size: .71rem; }
.discord-live-dot { width: 9px; height: 9px; background: #929ba2; box-shadow: 0 0 0 4px rgba(146,155,162,.12); }
.discord-live-pill[data-state="online"] { border-color: rgba(84,207,114,.3); color: #ccf7d6; }
.discord-live-pill[data-state="online"] .discord-live-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(84,207,114,.13), 0 0 16px rgba(84,207,114,.4); }
.discord-live-pill[data-state="offline"] { border-color: rgba(255,65,86,.32); color: #ffc1c8; }
.discord-live-pill[data-state="offline"] .discord-live-dot { background: var(--red-bright); }
.discord-side { position: relative; z-index: 2; display: grid; gap: 12px; }
.discord-counts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.13); background: rgba(7,9,13,.46); }
.discord-counts > div { padding: 18px; border-right: 1px solid rgba(255,255,255,.1); }
.discord-counts > div:last-child { border-right: 0; }
.discord-counts span { display: block; color: #8f97a8; font-size: .61rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.discord-counts strong { display: block; margin-top: 5px; font-size: 1.65rem; }
.discord-join-button { display: grid; place-items: center; gap: 3px; min-height: 70px; padding: 14px; background: #5865f2; box-shadow: inset -7px -7px #3541ae, inset 5px 5px rgba(255,255,255,.1); text-align: center; }
.discord-join-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.discord-join-button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.discord-join-button span { font-size: .84rem; font-weight: 1000; text-transform: uppercase; }
.discord-join-button small { color: #dce0ff; font-size: .61rem; font-weight: 800; }


.join { background: #0a0d0f; }
.join-panel { position: relative; overflow: hidden; padding: clamp(34px, 6vw, 74px); border: 5px solid #080a0c; background: linear-gradient(135deg, #273036, #151a1e 55%, #271119); box-shadow: 0 0 0 2px #414b52, 12px 12px 0 rgba(0,0,0,.35); }
.join-panel::before { content: ""; position: absolute; right: -80px; top: -80px; width: 330px; height: 330px; background: var(--red); opacity: .08; transform: rotate(45deg); }
.join-copy { position: relative; max-width: 760px; }
.join-copy h2 { font-size: clamp(3rem, 6vw, 6rem); }
.join-copy > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.join-steps { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 34px 0 22px; }
.join-steps > div { display: grid; grid-template-columns: 39px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); background: rgba(8,10,12,.35); }
.join-steps span { width: 39px; height: 39px; display: grid; place-items: center; background: var(--red); font-size: .75rem; font-weight: 950; }
.join-steps p { margin: 0; color: #c2c8cc; font-size: .78rem; }
.join-steps strong { color: white; }
.big-ip-button { position: relative; width: 100%; display: grid; place-items: center; gap: 4px; padding: 18px; border: 0; background: var(--red); box-shadow: inset -7px -7px var(--red-dark), inset 5px 5px rgba(255,255,255,.12); cursor: pointer; }
.big-ip-button:hover { filter: brightness(1.07); }
.big-ip-button span { font-size: clamp(.96rem, 2.2vw, 1.45rem); font-weight: 1000; letter-spacing: .07em; }
.big-ip-button small { color: #ffd4d9; font-size: .65rem; font-weight: 800; }

.site-footer { padding: 50px 0 28px; border-top: 1px solid var(--line); background: #07090b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; }
.footer-grid > div:first-child img { width: 220px; }
.footer-grid p { margin: 8px 0 0; color: #757e84; font-size: .75rem; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #a6aeb3; font-size: .73rem; font-weight: 800; }
.footer-nav a:hover { color: white; }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); color: #667078; font-size: .65rem; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 11px 14px; border: 1px solid rgba(84,207,114,.35); background: #102017; color: #c9f7d3; font-size: .75rem; font-weight: 850; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: 5px 5px 0 rgba(0,0,0,.3); }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes island-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1050px) {
  .hero-grid, .skycore-grid { grid-template-columns: 1fr; }
  .discord-panel { grid-template-columns: 105px minmax(0,1fr); }
  .discord-emblem { width: 100px; height: 100px; }
  .discord-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 125px; }
  .hero-copy { max-width: 800px; }
  .hero-world { min-height: 520px; }
  .progression-track, .class-grid { grid-template-columns: repeat(2,1fr); }
  .event-card { grid-template-columns: 1fr; }
  .event-art { min-height: 260px; border-right: 0; border-bottom: 4px solid #080a0c; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .site-header { top: 8px; width: calc(100% - 16px); min-height: 62px; padding-inline: 13px 8px; }
  .brand img { width: 186px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 8px auto; display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line-strong); background: rgba(8,10,12,.98); box-shadow: var(--shadow); opacity: 0; transform: translateY(-9px); pointer-events: none; transition: .2s ease; }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a, .nav-play { margin: 0; padding: 14px; text-align: left; }
  .nav-play { text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 106px 0 90px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.6rem); }
  .hero-world { min-height: 420px; }
  .world-label { transform: scale(.84); }
  .label-pu { left: -3%; bottom: 10%; }
  .label-event { right: -4%; top: 10%; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 42px; }
  .progression-track, .class-grid, .event-grid, .join-steps { grid-template-columns: 1fr; }
  .discord-panel { grid-template-columns: 1fr; text-align: left; }
  .discord-emblem { width: 86px; height: 86px; }
  .pixel-chat { transform: scale(.72); }
  .discord-side { grid-column: auto; grid-template-columns: 1fr; }
  .skycore-grid { gap: 42px; }
  .network-board { min-height: 410px; }
  .network-node { transform: scale(.82); }
  .wire { display: none; }
  .generator-node { left: 2%; }
  .storage-node { right: 2%; }
  .machine-node { left: 25%; }
  .event-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand img { width: 165px; }
  .server-join-card { grid-template-columns: 50px minmax(0,1fr); }
  .server-icon-wrap { width: 50px; height: 50px; }
  .copy-block { grid-column: 1 / -1; height: 42px; display: flex; gap: 8px; }
  .live-stats { grid-template-columns: 1fr 1fr; }
  .live-stats > div:nth-child(2) { border-right: 0; }
  .live-stats > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .hero-world { min-height: 340px; }
  .world-label { display: none; }
  .step-block { width: 68px; height: 68px; }
  .network-node { width: 112px; height: 112px; }
  .item-link { right: 3%; }
  .class-scene { height: 190px; }
  .event-copy { padding: 25px; }
  .join-panel { padding: 29px 22px; }
  .discord-panel { padding: 27px 22px; }
  .discord-counts > div { padding: 14px; }
  .discord-counts strong { font-size: 1.35rem; }
}

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