:root {
	--home-blue-950: #030811;
	--home-gold-100: #fff7df;
}

html { scroll-behavior: smooth; }

body.nexusot-home {
	margin: 0;
	min-width: 320px;
	background: var(--home-blue-950);
	color: var(--home-gold-100);
	font-family: "NexusSans", "Trebuchet MS", Arial, sans-serif;
}

body.nexusot-home::before {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 0;
	content: "";
	background: linear-gradient(180deg, rgba(1, 6, 13, .12), rgba(1, 6, 13, .55)), url("../img/nexusot/client-background.webp") center / cover no-repeat;
	pointer-events: none;
}

.nexusot-home *,
.nexusot-home *::before,
.nexusot-home *::after { box-sizing: border-box; }

.nexusot-home a { color: inherit; text-decoration: none; }
.nexusot-home button { font: inherit; }

.home-page {
	position: relative;
	z-index: 1;
	max-width: 1540px;
	margin: 0 auto;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(2, 7, 16, .04), rgba(2, 7, 16, .32) 72%, rgba(2, 7, 16, .7));
	box-shadow: 0 0 90px rgba(0, 0, 0, .72);
}

.home-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(360px, 1.1fr) 1fr;
	align-items: center;
	height: 505px;
	min-height: 505px;
	padding: 42px 46px 34px;
	background: linear-gradient(90deg, rgba(2, 8, 16, .18), rgba(1, 9, 20, .05) 50%, rgba(1, 7, 16, .28));
	isolation: isolate;
}

.home-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: radial-gradient(ellipse at 50% 44%, rgba(18, 82, 164, .14), transparent 48%), linear-gradient(180deg, rgba(0, 0, 0, .01), rgba(0, 0, 0, .12)); }
.home-hero::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 42px; content: ""; background: linear-gradient(180deg, transparent, rgba(3, 8, 17, .52)); pointer-events: none; }

.home-hero__content { position: relative; z-index: 1; text-align: center; }
.home-hero__logo { position: relative; top: 16px; width: min(100%, 350px); height: 240px; margin: -24px auto 32px; object-fit: fill; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)); animation: nexus-logo-pulse 8s ease-in-out infinite; }
.home-kicker { position: relative; top: -16px; margin: 0 0 8px; color: #f7e1a5; font-family: "NexusDisplay", Georgia, serif; font-size: 11px; letter-spacing: .28em; text-shadow: 0 2px 6px #000; }
.home-hero h1, .home-hero__headline { margin: 0 0 17px; color: #f8eee0; font-family: "NexusDisplay", Georgia, serif; font-size: 14px; font-weight: 400; letter-spacing: .14em; line-height: 1.4; text-shadow: 0 3px 10px #000; }

.home-cta {
	position: relative;
	overflow: visible;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 218px;
	justify-content: center;
	min-height: 49px;
	padding: 12px 18px;
	border: 0;
	border-radius: 0;
	background: none;
	color: #fff2d4;
	font-family: Georgia, serif;
	font-size: 17px;
	letter-spacing: 0;
	transition: transform .2s ease, filter .2s ease;
}

.home-cta::before { position: absolute; inset: -3px 0; z-index: -1; content: ""; background: url("../img/nexusot/button-gold.svg") center / 100% 100% no-repeat; pointer-events: none; }

.home-cta:hover { color: #fff; filter: brightness(1.18); transform: translateY(-2px); }
.home-cta i { display: none; }
.home-cta span { margin-left: 10px; font-size: 25px; line-height: 0; }
.home-hero__register { display: block; margin-top: 12px; color: #eecf87; font-size: 11px; letter-spacing: .16em; }
.home-hero__register:hover { color: #fff5ce; }

.home-worldboss-altar {
	position: absolute;
	left: clamp(18px, 3.8vw, 68px);
	bottom: 16px;
	z-index: 3;
	width: min(354px, 29vw);
	padding: 12px 13px 13px;
	border: 1px solid rgba(190, 148, 72, .82);
	background: linear-gradient(155deg, rgba(9, 20, 38, .96), rgba(2, 8, 17, .97) 72%);
	box-shadow: inset 0 0 0 1px rgba(70, 157, 234, .15), 0 12px 28px rgba(0, 0, 0, .57), 0 0 20px rgba(27, 109, 190, .14);
	clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
	text-align: center;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.home-worldboss-altar::before,
.home-worldboss-altar::after { position: absolute; content: ""; pointer-events: none; }
.home-worldboss-altar::before { top: 5px; right: 24px; left: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(99, 183, 255, .85), transparent); }
.home-worldboss-altar::after { right: 12px; bottom: 7px; left: 12px; height: 1px; background: linear-gradient(90deg, transparent, rgba(220, 174, 83, .72), transparent); }
.home-worldboss-altar.is-live { border-color: rgba(72, 207, 255, .95); box-shadow: inset 0 0 0 1px rgba(47, 172, 255, .25), 0 12px 28px rgba(0, 0, 0, .57), 0 0 25px rgba(31, 165, 255, .35); }
.home-worldboss-altar__header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
.home-worldboss-altar__eyebrow { color: #f3d38d; font-family: "NexusDisplay", Georgia, serif; font-size: 10px; letter-spacing: .14em; }
.home-worldboss-altar__eyebrow i { margin-right: 4px; color: #6ddcff; font-size: 9px; }
.home-worldboss-altar__state { padding: 3px 6px; border: 1px solid rgba(224, 177, 81, .54); background: rgba(81, 45, 13, .42); color: #e9bf69; font-size: 8px; letter-spacing: .1em; }
.home-worldboss-altar.is-live .home-worldboss-altar__state { border-color: rgba(74, 220, 151, .68); background: rgba(16, 100, 72, .3); color: #73edb2; }
.home-worldboss-altar__title { margin-top: 5px; color: #8294ab; font-size: 8px; letter-spacing: .18em; }
.home-worldboss-altar__name { min-height: 28px; margin-top: 3px; color: #f5e4ba; font-family: "NexusDisplay", Georgia, serif; font-size: 13px; line-height: 1.18; }
.home-worldboss-altar__stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 190px; margin: 2px 0 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 47%, rgba(23, 117, 217, .34), transparent 53%), linear-gradient(180deg, rgba(1, 9, 21, .1), rgba(1, 5, 12, .88)); }
.home-worldboss-altar__stage::before { position: absolute; inset: 6px; z-index: 4; border: 1px solid rgba(113, 196, 255, .23); content: ""; clip-path: polygon(0 9px, 9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px)); pointer-events: none; }
.home-worldboss-altar__stage::after { position: absolute; right: 22%; bottom: 11px; left: 22%; z-index: 1; height: 22px; border-radius: 50%; background: rgba(23, 183, 255, .22); box-shadow: 0 0 26px rgba(23, 172, 255, .36); content: ""; filter: blur(5px); pointer-events: none; }
.home-worldboss-altar__rune { position: absolute; top: 20px; left: 50%; z-index: 0; width: 100px; height: 100px; border: 1px solid rgba(62, 178, 255, .2); border-radius: 50%; box-shadow: 0 0 0 9px rgba(58, 172, 255, .035), 0 0 28px rgba(34, 150, 255, .24); transform: translateX(-50%); }
.home-worldboss-altar__rune::before,
.home-worldboss-altar__rune::after { position: absolute; inset: 16px; border: 1px solid rgba(232, 188, 89, .21); content: ""; transform: rotate(45deg); }
.home-worldboss-altar__rune::after { inset: 25px; border-color: rgba(80, 206, 255, .3); transform: rotate(0); }
.home-worldboss-altar__frame { position: absolute; inset: 12px; z-index: 4; pointer-events: none; }
.home-worldboss-altar__frame i { position: absolute; width: 14px; height: 14px; border-color: rgba(229, 185, 89, .92); border-style: solid; box-shadow: 0 0 8px rgba(229, 185, 89, .22); }
.home-worldboss-altar__frame i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.home-worldboss-altar__frame i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.home-worldboss-altar__frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.home-worldboss-altar__frame i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.home-worldboss-altar__floor { position: absolute; right: 8%; bottom: 2px; left: 8%; z-index: 1; height: 78px; overflow: hidden; border: 1px solid rgba(213, 169, 78, .72); background-image: linear-gradient(180deg, rgba(63, 182, 246, .16), rgba(3, 13, 27, .74)), url("../img/nexusot/worldbosses/floor-tile.png"); background-position: center, center; background-size: cover, 32px 32px; box-shadow: inset 0 0 0 2px rgba(5, 21, 39, .66), 0 4px 10px rgba(0, 0, 0, .78); clip-path: polygon(8% 0, 92% 0, 100% 28%, 94% 100%, 6% 100%, 0 28%); transform: perspective(230px) rotateX(58deg); transform-origin: center bottom; }
.home-worldboss-altar__floor::after { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 31px, rgba(219, 186, 104, .18) 31px 32px), repeating-linear-gradient(180deg, transparent 0 31px, rgba(219, 186, 104, .16) 31px 32px); content: ""; }
.home-worldboss-altar__floor span { position: absolute; bottom: 6px; z-index: 1; width: 8px; height: 8px; border: 1px solid #77dfff; transform: rotate(45deg); box-shadow: 0 0 10px rgba(86, 214, 255, .8); }
.home-worldboss-altar__floor span:nth-child(1) { left: 16%; }
.home-worldboss-altar__floor span:nth-child(2) { left: 31%; }
.home-worldboss-altar__floor span:nth-child(3) { left: 48%; width: 12px; height: 12px; border-color: #f0cc72; }
.home-worldboss-altar__floor span:nth-child(4) { right: 31%; }
.home-worldboss-altar__floor span:nth-child(5) { right: 16%; }
.home-worldboss-altar__bosses { position: absolute; right: 8%; bottom: 37px; left: 8%; z-index: 3; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 174px; }
.home-worldboss-altar__boss { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 174px; }
.home-worldboss-altar__boss img { display: block; width: auto; max-width: 100%; height: 174px; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .78)) drop-shadow(0 0 8px rgba(45, 173, 255, .38)); image-rendering: pixelated; }
.home-worldboss-altar__boss.is-dead img { filter: grayscale(1) brightness(.55) contrast(.8) drop-shadow(0 5px 7px rgba(0, 0, 0, .8)); }
.home-worldboss-altar__dead-label { position: absolute; top: 43%; left: 50%; z-index: 2; padding: 3px 5px; border: 1px solid rgba(255, 120, 120, .68); background: rgba(65, 9, 17, .82); color: #ff9292; font-family: "NexusDisplay", Georgia, serif; font-size: 10px; letter-spacing: .12em; transform: translate(-50%, -50%) rotate(-8deg); }
.home-worldboss-altar__pedestal { position: absolute; right: 17%; bottom: 18px; left: 17%; z-index: 2; height: 52px; pointer-events: none; }
.home-worldboss-altar__pedestal-top { position: absolute; top: 0; right: 0; left: 0; height: 18px; border: 1px solid rgba(245, 204, 107, .9); background: linear-gradient(180deg, #70d7ff, #22547d 34%, #0a1c32 75%); box-shadow: 0 3px 7px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(152, 232, 255, .18); clip-path: polygon(7% 0, 93% 0, 100% 58%, 93% 100%, 7% 100%, 0 58%); transform: perspective(100px) rotateX(48deg); transform-origin: center top; }
.home-worldboss-altar__pedestal-body { position: absolute; top: 11px; right: 7%; bottom: 6px; left: 7%; border: 1px solid rgba(211, 162, 73, .72); background: linear-gradient(90deg, #07172a, #204a70 48%, #07172a); box-shadow: inset 0 0 0 2px rgba(69, 172, 230, .17); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.home-worldboss-altar__pedestal-step { position: absolute; right: -8%; bottom: 0; left: -8%; height: 11px; border: 1px solid rgba(233, 180, 77, .85); background: linear-gradient(180deg, #1d5379, #07182c); clip-path: polygon(3% 0, 97% 0, 100% 38%, 96% 100%, 4% 100%, 0 38%); }
.home-worldboss-altar__dead-overlay { position: absolute; top: 48%; left: 50%; z-index: 5; padding: 5px 12px; border: 1px solid rgba(255, 111, 111, .76); background: rgba(34, 5, 12, .84); color: #ff9898; font-family: "NexusDisplay", Georgia, serif; font-size: 19px; letter-spacing: .22em; text-shadow: 0 2px 5px #000; transform: translate(-50%, -50%) rotate(-7deg); }
.home-worldboss-altar__spawn { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 2px 6px; border-bottom: 1px solid rgba(130, 151, 174, .2); color: #8495aa; font-size: 8px; letter-spacing: .07em; text-align: left; }
.home-worldboss-altar__spawn strong { color: #e8d196; font-size: 10px; font-weight: 400; white-space: nowrap; }
.home-worldboss-altar__next { padding-top: 7px; text-align: left; }
.home-worldboss-altar__next-heading { display: flex; align-items: center; justify-content: space-between; color: #6e9dca; font-size: 8px; letter-spacing: .13em; }
.home-worldboss-altar__next-heading i { color: #e5bd68; font-size: 10px; }
.home-worldboss-altar__next ul { display: grid; gap: 2px; margin: 5px 0 0; padding: 0; list-style: none; }
.home-worldboss-altar__next li { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 26px; padding: 3px 4px; border-left: 1px solid rgba(68, 147, 215, .42); background: rgba(12, 38, 65, .36); }
.home-worldboss-altar__next li > span { display: grid; min-width: 0; gap: 1px; }
.home-worldboss-altar__next strong { overflow: hidden; color: #c9d5e2; font-family: "NexusDisplay", Georgia, serif; font-size: 9px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.home-worldboss-altar__next small { color: #728399; font-size: 8px; }
.home-worldboss-altar__next time { flex: 0 0 auto; color: #f0d289; font-size: 8px; white-space: nowrap; }

.home-stats {
	display: grid;
	grid-template-columns: 1.05fr repeat(4, 1fr);
	position: relative;
	margin: -1px 9.375% 26px;
	height: 66px;
	border: 1px solid rgba(210, 158, 67, .65);
	background: rgba(2, 11, 23, .94);
	box-shadow: 0 11px 24px rgba(0, 0, 0, .44);
}

.home-stat {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	grid-template-rows: 1fr 1fr;
	align-items: center;
	min-height: 64px;
	padding: 5px 10px;
	border-right: 1px solid rgba(153, 140, 114, .22);
}

.home-stat:last-child { border-right: 0; }
.home-stat__icon { display: inline-flex; grid-row: 1 / span 2; align-items: center; justify-content: center; width: 42px; height: 42px; color: #f8e6b8; background: center / contain no-repeat; filter: drop-shadow(0 0 7px rgba(255, 213, 111, .28)); }
.home-stat__icon i { display: none; }
.home-stat__icon--users,
.home-stat__icon--community { background-image: url("../img/nexusot/icons/stat-users.svg"); }
.home-stat__icon--server { background-image: url("../img/nexusot/icons/stat-shield.svg"); }
.home-stat__icon--calendar { background-image: url("../img/nexusot/icons/stat-calendar.svg"); }
.home-stat__icon--star { background-image: url("../img/nexusot/icons/stat-star.svg"); }
.home-stat strong { overflow: hidden; color: #f6e8c2; font-family: "NexusDisplay", Georgia, serif; font-size: 10px; font-weight: 400; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.home-stat--players strong { font-size: 16px; }
.home-stat--players { grid-template-columns: 68px minmax(0, 1fr); }
.home-stat small { color: #d3d7de; font-size: 9px; letter-spacing: .12em; }
.home-stat__icon--server,
.home-stat__icon--calendar { transform: translateX(10px); }
.home-stat--star { grid-template-columns: 34px minmax(0, 1fr); padding-left: 5px; }
.home-stat--star .home-stat__icon { width: 34px; }

.home-content { padding: 0 20px 67px 18px; }
.home-primary-grid { display: grid; grid-template-columns: 1fr 1.235fr .99fr; gap: 10px; }

.home-card {
	position: relative;
	min-width: 0;
	border: 1px solid rgba(123, 151, 180, .52);
	background: linear-gradient(145deg, rgba(4, 13, 24, .97), rgba(1, 7, 14, .98));
	box-shadow: inset 0 0 0 1px rgba(18, 93, 159, .28), 0 10px 22px rgba(0, 0, 0, .28);
	clip-path: polygon(0 7px, 7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px));
}

.home-card::before { position: absolute; top: -1px; right: 18px; left: 18px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(66, 139, 229, .75), transparent); }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 0 15px; border-bottom: 1px solid rgba(122, 143, 166, .25); }
.home-section-heading__label { display: inline-flex; align-items: center; min-width: 0; color: #f0d493; font-family: "NexusDisplay", Georgia, serif; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.home-heading-icon { display: inline-block; flex: 0 0 auto; width: 23px; height: 23px; margin-right: 9px; background: center / contain no-repeat; filter: drop-shadow(0 0 4px rgba(255, 210, 109, .28)); }
.home-heading-icon--news { background-image: url("../img/nexusot/icons/heading-news.svg"); }
.home-heading-icon--ranking { background-image: url("../img/nexusot/icons/heading-crown.svg"); }
.home-section-heading a { color: #5fa9ff; font-size: 10px; white-space: nowrap; }
.home-section-heading a:hover { color: #b8dcff; }
.home-section-heading a i { margin-left: 4px; }
.home-primary-grid .home-section-heading { min-height: 40px; }

.home-primary-grid > .home-card { border-color: transparent; clip-path: none; }
.home-primary-grid > .home-card::before {
	inset: -1px;
	z-index: 4;
	height: auto;
	border: 18px solid transparent;
	border-image: url("../img/nexusot/lower-frame.svg") 22 stretch;
	background: none;
	pointer-events: none;
}

.home-news-panel { min-height: 259px; }
.home-news-list { padding: 5px 14px 11px; }
.home-news-item { display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 5px 0; border-bottom: 1px solid rgba(155, 168, 186, .12); }
.home-news-item:last-child { border-bottom: 0; }
.home-news-item:hover .home-news-item__copy strong { color: #fff4cc; }
.home-news-thumb { flex: 0 0 88px; width: 88px; height: 58px; border: 1px solid rgba(198, 159, 85, .54); background-repeat: no-repeat; background-size: cover; background-position: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
.home-news-thumb--castle { background-image: url("../img/nexusot/news-castle.webp"); }
.home-news-thumb--battle { background-image: url("../img/nexusot/news-battle.webp"); }
.home-news-thumb--council { background-image: url("../img/nexusot/news-council.webp"); }
.home-news-item__copy { display: grid; gap: 4px; min-width: 0; }
.home-news-item__copy strong { overflow: hidden; color: #ece6da; font-family: "NexusDisplay", Georgia, serif; font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.home-news-item__copy small { overflow: hidden; color: #a7b0bd; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.home-news-item__copy em { color: #6e7d92; font-size: 9px; font-style: normal; }

.home-carousel { aspect-ratio: 368 / 259; overflow: hidden; }
.home-carousel__viewport { position: absolute; inset: 2px; overflow: hidden; }
.home-carousel__slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; pointer-events: none; background-position: center; background-size: contain; background-repeat: no-repeat; transition: opacity .55s ease; }
.home-carousel__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.home-carousel__slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .3)); }
.home-carousel__slide--dragon { background-image: url("../img/nexusot/dragon-slide.webp"); }
.home-carousel__slide--world { background-image: url("../img/nexusot/world-wide.webp"); }
.home-carousel__slide--community { background-image: url("../img/nexusot/community.webp"); }
.home-carousel__slide--dragon-alt { background-image: url("../img/nexusot/dragon-lair.webp"); }
.home-carousel__slide--world-alt { background-image: url("../img/nexusot/world-wide.webp"); }
.home-carousel__slide--community-alt { background-image: url("../img/nexusot/community.webp"); }
.home-carousel__slide--dragon::after { background: transparent; }
.home-carousel__arrow { position: absolute; top: 50%; z-index: 2; display: grid; width: 32px; height: 50px; place-items: center; border: 1px solid rgba(224, 172, 85, .68); background: rgba(2, 9, 19, .7); color: #f3dfac; font-size: 20px; transform: translateY(-50%); cursor: pointer; }
.home-carousel__arrow:hover { background: rgba(16, 74, 144, .82); }
.home-carousel__arrow--prev { left: 0; }
.home-carousel__arrow--next { right: 0; }
.home-carousel__dots { position: absolute; right: 0; bottom: 12px; left: 0; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.home-carousel__dots button { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255, 233, 177, .8); border-radius: 50%; background: transparent; cursor: pointer; }
.home-carousel__dots button.is-active { background: #fff0b6; box-shadow: 0 0 9px #fff0b6; }

.home-ranking-panel { min-height: 259px; }
.home-ranking__head,
.home-ranking__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 45px 44px; align-items: center; gap: 5px; }
.home-ranking__head { padding: 6px 13px 5px; color: #69798e; font-size: 9px; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.home-ranking__row { min-height: 33px; padding: 0 13px; border-top: 1px solid rgba(158, 169, 188, .11); color: #b6c0d0; font-size: 10px; }
.home-ranking__row:hover { background: rgba(23, 74, 137, .22); }
.home-ranking__row strong { color: #efdb9d; font-weight: 400; }
.home-ranking__row small { color: #69778b; }
.home-rank { display: flex; align-items: center; justify-content: flex-start; min-width: 22px; color: #aab6c8; font-family: Georgia, serif; font-size: 12px; }
.home-rank--1 { color: #f8d35f; }
.home-rank--2 { color: #dbe4f1; }
.home-rank--3 { color: #d79655; }
.home-rank__medal { position: relative; display: none; flex-shrink: 0; width: 20px; height: 23px; margin-right: 2px; background: var(--medal-art) center / contain no-repeat; animation: nexus-medal-glow 5s ease-in-out var(--medal-delay, 0s) infinite; }
.home-rank--1 .home-rank__medal { --medal-art: url("../img/nexusot/icons/medal-1.svg"); --medal-glow: #ffcf6388; display: block; }
.home-rank--2 .home-rank__medal { --medal-art: url("../img/nexusot/icons/medal-2.svg"); --medal-glow: #96d5ff88; --medal-delay: .6s; display: block; }
.home-rank--3 .home-rank__medal { --medal-art: url("../img/nexusot/icons/medal-3.svg"); --medal-glow: #ffb17b88; --medal-delay: 1.2s; display: block; }
.home-rank__medal::after { position: absolute; inset: 0; content: ''; opacity: 0; background: linear-gradient(115deg, transparent 40%, #fff9da 50%, transparent 60%) 150% 0 / 300% 100%; -webkit-mask: var(--medal-art) center / contain no-repeat; mask: var(--medal-art) center / contain no-repeat; animation: nexus-brand-shine 5s ease-in-out var(--medal-delay, 0s) infinite; pointer-events: none; }
.home-ranking__row:hover .home-rank__medal { filter: drop-shadow(0 0 5px var(--medal-glow)); }
.home-rank--1 > span:last-child, .home-rank--2 > span:last-child, .home-rank--3 > span:last-child { display: none; }
.home-player { display: flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-player__avatar { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid rgba(172, 198, 234, .7); border-radius: 50%; background: radial-gradient(circle at 38% 30%, #d6efff 0 13%, transparent 14%), linear-gradient(145deg, #7d4cff, #172c65 68%); box-shadow: inset 0 0 0 2px rgba(8, 18, 38, .68), 0 0 8px rgba(73, 151, 255, .25); }
.home-player__avatar--2 { background: radial-gradient(circle at 38% 30%, #e9f8ff 0 13%, transparent 14%), linear-gradient(145deg, #2b9bdd, #172c65 68%); }
.home-player__avatar--3 { background: radial-gradient(circle at 38% 30%, #ffe8c0 0 13%, transparent 14%), linear-gradient(145deg, #c77b3d, #472b2d 68%); }
.home-player__avatar--4 { background: radial-gradient(circle at 38% 30%, #e9f8ff 0 13%, transparent 14%), linear-gradient(145deg, #526a8f, #18233f 68%); }
.home-player__avatar--5 { background: radial-gradient(circle at 38% 30%, #ffe5ad 0 13%, transparent 14%), linear-gradient(145deg, #d48b2b, #4d2631 68%); }
.home-empty-state { padding: 24px 15px; color: #8490a1; font-size: 12px; text-align: center; }

.home-news-detail { padding-bottom: 28px; }
.home-news-detail h1 { margin: 28px 30px 8px; color: #f1d79a; font-family: "NexusDisplay", Georgia, serif; font-size: 28px; font-weight: 400; }
.home-news-detail__meta { margin: 0 30px 24px; color: #718097; font-size: 11px; }
.home-news-detail__body { margin: 0 30px; color: #c2cbd8; font-size: 14px; line-height: 1.8; }
.home-news-detail__body img { height: auto; }

.home-footer { position: relative; display: grid; grid-template-columns: 256px 440px minmax(0, 1fr); gap: 0; height: 256px; min-height: 256px; padding: 30px 48px 20px; border-top: 1px solid rgba(134, 155, 180, .58); background: linear-gradient(90deg, rgba(3, 11, 24, .32), rgba(3, 11, 24, .94) 38%, rgba(3, 11, 24, .98) 52%, rgba(4, 13, 26, .55)), url("../img/nexusot/sunset-world.webp") center bottom / cover no-repeat; }
.home-footer__brand { display: flex; align-items: center; flex-direction: column; gap: 9px; }
.home-footer__brand img { width: min(100%, 200px); filter: drop-shadow(0 7px 10px #000); transform: translate(-33px, 21px) scale(1.08); transform-origin: center top; }
.home-footer__brand span { position: relative; left: -15px; color: #aeb7c5; font-family: "NexusDisplay", Georgia, serif; font-size: 9px; letter-spacing: .18em; }
.home-footer__links { display: grid; grid-template-columns: 118px 132px minmax(0, 1fr); gap: 0; }
.home-footer__links div { display: flex; flex-direction: column; gap: 8px; }
.home-footer__links strong { margin-bottom: 5px; color: #e6e4dc; font-family: "NexusDisplay", Georgia, serif; font-size: 12px; font-weight: 400; letter-spacing: .1em; }
.home-footer__links a { color: #8d9aad; font-size: 11px; }
.home-footer__links a:hover { color: #fff0bd; }
.home-footer__quote { align-self: center; justify-self: start; color: #ceb779; font-family: "NexusDisplay", Georgia, serif; font-size: 13px; font-style: italic; line-height: 1.55; text-align: left; }
.home-footer__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 108px; padding: 28px 24px 15px; border-top: 1px solid rgba(125, 145, 171, .23); background: rgba(1, 7, 15, .88); color: #6c7b90; font-size: 10px; }
.home-footer__bar span:nth-child(2) { color: #c6cbd2; }

.home-whatsapp-seal {
	position: fixed;
	right: clamp(14px, 2.2vw, 32px);
	top: clamp(118px, 14vh, 168px);
	z-index: 50;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: clamp(104px, 10vw, 154px);
	color: #f5dc9d;
	filter: drop-shadow(0 9px 18px rgba(0, 0, 0, .7));
	transition: transform .22s ease, filter .22s ease;
}
.home-whatsapp-seal__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 50%;
	animation: home-whatsapp-seal-float 5s ease-in-out infinite;
}
.home-whatsapp-seal:hover,
.home-whatsapp-seal:focus-visible {
	filter: drop-shadow(0 11px 22px rgba(0, 0, 0, .78)) drop-shadow(0 0 18px rgba(42, 161, 255, .72));
	transform: translateY(-4px) scale(1.035);
}
.home-whatsapp-seal:focus-visible { outline: 2px solid #fff1bd; outline-offset: 5px; }
@keyframes home-whatsapp-seal-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-5px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
	.home-whatsapp-seal__image { animation: none; }
}

@keyframes nexus-logo-pulse {
	0%, 72%, 100% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 0 rgba(44, 156, 255, 0)); transform: translateY(20px) scale(.95); }
	78% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 22px rgba(44, 156, 255, .8)); transform: translateY(20px) scale(.975); }
	88% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 9px rgba(255, 213, 116, .68)); transform: translateY(20px) scale(.96); }
}
@keyframes nexus-medal-glow { 0%, 55%, 100% { filter: drop-shadow(0 0 1px transparent); translate: 0 0; } 72% { filter: drop-shadow(0 0 4px var(--medal-glow)); translate: 0 -1px; } }
@media (prefers-reduced-motion: reduce) { .home-rank__medal, .home-rank__medal::after { animation: none; } }
@keyframes nexus-logo-awaken {
	0% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 0 rgba(44, 156, 255, 0)); transform: translateY(20px) scale(.95); }
	35% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 31px rgba(47, 166, 255, .95)); transform: translateY(20px) scale(.985); }
	68% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 13px rgba(255, 217, 125, .78)); transform: translateY(20px) scale(.962); }
	100% { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .75)) drop-shadow(0 0 0 rgba(44, 156, 255, 0)); transform: translateY(20px) scale(.95); }
}
@keyframes nexus-logo-pulse-mobile {
	0%, 72%, 100% { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .75)); transform: scale(1); }
	78% { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .75)) drop-shadow(0 0 20px rgba(44, 156, 255, .8)); transform: scale(1.025); }
}
.home-hero__logo.is-awakened { animation: nexus-logo-awaken 1.6s ease-out both; }

@media (max-width: 1180px) {
	.home-hero { grid-template-columns: 1fr minmax(360px, 1.1fr) 1fr; height: 505px; min-height: 505px; padding: 42px 26px 34px; }
	.home-hero__aside--left { transform: translateX(24px); }
	.home-hero__aside { font-size: 10px; letter-spacing: .2em; }
	.home-stats { margin-right: 9.375%; margin-left: 9.375%; }
}

@media (max-width: 960px) and (min-width: 821px) {
	.home-primary-grid { grid-template-columns: minmax(220px, .85fr) minmax(360px, 1.45fr); }
	.home-ranking-panel { grid-column: 1 / -1; min-height: 0; }
	.home-ranking__list { display: grid; grid-template-columns: repeat(5, 1fr); }
	.home-ranking__row { border-right: 1px solid rgba(158, 169, 188, .11); border-top: 0; }
	.home-ranking__head { display: none; }
}

@media (max-width: 820px) {
	.home-hero { grid-template-columns: 1fr; min-height: 480px; padding-top: 32px; padding-bottom: 60px; }
	.home-hero__aside { display: none; }
	.home-worldboss-altar { right: auto; left: 14px; bottom: 12px; width: 230px; padding: 9px 10px 10px; }
	.home-worldboss-altar__title { margin-top: 3px; font-size: 7px; }
	.home-worldboss-altar__name { min-height: 23px; font-size: 10px; }
	.home-worldboss-altar__stage { min-height: 136px; }
	.home-worldboss-altar__floor { height: 58px; }
	.home-worldboss-altar__bosses { bottom: 28px; height: 126px; }
	.home-worldboss-altar__boss { height: 126px; }
	.home-worldboss-altar__boss img { height: 126px; }
	.home-worldboss-altar__pedestal { bottom: 14px; height: 40px; }
	.home-worldboss-altar__pedestal-top { height: 14px; }
	.home-worldboss-altar__pedestal-body { top: 8px; }
	.home-worldboss-altar__pedestal-step { height: 8px; }
	.home-worldboss-altar__spawn { display: none; }
	.home-worldboss-altar__next { display: none; }
	.home-worldboss-altar__dead-overlay { font-size: 14px; }
	.home-hero__logo { top: 0; max-width: 420px; height: auto; margin-top: -10px; transform: none; animation: nexus-logo-pulse-mobile 8s ease-in-out infinite; }
	.home-kicker { font-size: 11px; letter-spacing: .2em; }
	.home-hero h1 { font-size: 27px; }
	.home-stats { grid-template-columns: repeat(2, 1fr); margin-right: 16px; margin-left: 16px; }
	.home-stat:nth-child(2n) { border-right: 0; }
	.home-stat:nth-child(-n + 3) { border-bottom: 1px solid rgba(153, 140, 114, .22); }
	.home-content { padding-right: 16px; padding-left: 16px; }
	.home-primary-grid { grid-template-columns: 1fr; }
	.home-ranking__list { grid-template-columns: 1fr; }
	.home-ranking__row { border-top: 1px solid rgba(158, 169, 188, .11); border-right: 0; }
	.home-footer { grid-template-columns: 1fr; padding: 36px 24px; }
	.home-footer__quote { justify-self: start; text-align: left; }
	.home-footer__bar { flex-direction: column; align-items: center; padding-right: 24px; padding-left: 24px; text-align: center; }
}

@media (max-width: 500px) {
	.home-hero { min-height: 430px; }
	.home-hero__logo { max-width: 310px; }
	.home-worldboss-altar { right: auto; left: 10px; bottom: 8px; width: 192px; }
	.home-worldboss-altar__eyebrow { font-size: 8px; }
	.home-worldboss-altar__state { font-size: 7px; }
	.home-worldboss-altar__stage { min-height: 116px; }
	.home-worldboss-altar__floor { height: 49px; }
	.home-worldboss-altar__bosses { bottom: 23px; height: 108px; }
	.home-worldboss-altar__boss { height: 108px; }
	.home-worldboss-altar__boss img { height: 108px; }
	.home-worldboss-altar__pedestal { bottom: 11px; height: 34px; }
	.home-worldboss-altar__pedestal-top { height: 12px; }
	.home-worldboss-altar__pedestal-body { top: 7px; }
	.home-worldboss-altar__pedestal-step { height: 7px; }
	.home-hero h1 { font-size: 22px; letter-spacing: .1em; }
	.home-cta { min-width: 205px; padding: 12px 17px; font-size: 14px; }
	.home-stat { grid-template-columns: 43px 1fr; min-height: 69px; padding: 8px 10px; }
	.home-stat--players { grid-template-columns: 50px 1fr; }
	.home-stat__icon { width: 36px; height: 36px; }
	.home-stat strong { font-size: 11px; }
	.home-stat small { font-size: 8px; }
	.home-section-heading { padding-right: 11px; padding-left: 11px; }
	.home-section-heading__label { font-size: 11px; }
	.home-section-heading a { font-size: 9px; }
	.home-footer__links { grid-template-columns: repeat(2, 1fr); }
	.home-whatsapp-seal { top: 132px; right: 12px; width: 92px; }
}
