:root {
  color-scheme: light;
  --primary: #16A34A;
  --primary-deep: #15803D;
  --aqua: #17d8e8;
  --aqua-deep: #078eaa;
  --lime: #55db72;
  --coral: #ee725b;
  --navy: #0a3c3d;
  --navy-deep: #061f2a;
  --ink: #143f3d;
  --muted: #718680;
  --page: #f2f5ed;
  --surface: #fffdf6;
  --surface-raised: #ffffff;
  --line: rgba(12, 91, 75, .12);
  --line-strong: rgba(12, 91, 75, .22);
  --shadow: 0 18px 44px rgba(6, 61, 55, .12);
  --shadow-hover: 0 25px 54px rgba(6, 61, 55, .2);
  --display: "Lilita One", Impact, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --shell: min(1240px, calc(100% - 40px));
  --header-height: 72px;
  --season-banner: url('/assets/fablenetwork-banner-20261102.png');
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ecf8f1;
  --muted: #a2bbb2;
  --page: #061d25;
  --surface: #0a2c31;
  --surface-raised: #10373a;
  --line: rgba(190, 235, 216, .13);
  --line-strong: rgba(190, 235, 216, .24);
  --shadow: 0 18px 44px rgba(0, 10, 14, .28);
  --shadow-hover: 0 25px 54px rgba(0, 10, 14, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 16%, rgba(85, 219, 114, .1), transparent 24rem),
    radial-gradient(circle at 94% 42%, rgba(23, 216, 232, .1), transparent 28rem),
    var(--page);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .26;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%230c8f78' stroke-opacity='.13' stroke-width='1.4'%3E%3Cpath d='M40 10 62 32 40 54 18 32Z'/%3E%3Cpath d='m120 91 22 22-22 22-22-22Z'/%3E%3Cpath d='m40 18 14 14-14 14-14-14Z'/%3E%3Cpath d='m120 99 14 14-14 14-14-14Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 4% 16%, rgba(85, 219, 114, .07), transparent 24rem),
    radial-gradient(circle at 94% 42%, rgba(23, 216, 232, .08), transparent 28rem),
    var(--page);
}
html[data-theme="dark"] body::before { opacity: .12; }
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: var(--navy-deep); background: var(--primary); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 108px 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; color: var(--navy-deep); background: var(--primary); border-radius: 10px; font-weight: 900; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  align-items: center;
  gap: 9px;
  color: var(--aqua-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 3px; content: ""; background: var(--primary); border-radius: 9px; }
html[data-theme="dark"] .eyebrow { color: var(--aqua); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .98; }
h2 { margin-bottom: 22px; font-size: clamp(45px, 5.2vw, 74px); text-transform: uppercase; }
h2 span { color: var(--aqua-deep); }
html[data-theme="dark"] h2 span { color: var(--aqua); }
.section-heading { display: flex; margin-bottom: 43px; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 480px; margin-bottom: 8px; color: var(--muted); font-size: 16px; }
.section-heading.centered { align-items: center; flex-direction: column; gap: 8px; text-align: center; }
.section-heading.centered > p { margin: 0; }

.button {
  display: inline-flex;
  min-height: 53px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .035em;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #22B95A); box-shadow: 0 5px 0 var(--primary-deep), 0 13px 24px rgba(11, 92, 42, .22); }
.button-primary:hover { color: #fff; filter: saturate(1.08) brightness(1.03); box-shadow: 0 6px 0 var(--primary-deep), 0 16px 28px rgba(11, 92, 42, .28); }
.button-dark { color: #fff; background: var(--navy); box-shadow: 0 5px 0 var(--navy-deep); }
.button-glass { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(4, 44, 53, .42); box-shadow: 0 12px 28px rgba(1, 27, 33, .16); backdrop-filter: blur(12px); }
.button-glass:hover { color: #fff; background: rgba(4, 44, 53, .64); }
.button-discord { color: #fff; background: linear-gradient(135deg, #5865f2, #7782f8); box-shadow: 0 5px 0 #3f4ac2, 0 13px 24px rgba(40, 48, 139, .25); }

/* Navigation */
.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; padding-top: 16px; transition: padding .25s ease, transform .25s ease; }
.site-header.scrolled { padding-top: 8px; }
.nav-shell {
  display: grid;
  min-height: var(--header-height);
  padding: 7px 9px 7px 13px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  color: #fff;
  background: rgba(5, 45, 48, .94);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(2, 31, 39, .22);
  backdrop-filter: blur(16px) saturate(1.1);
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}
.scrolled .nav-shell { min-height: 61px; background: rgba(4, 37, 40, .98); box-shadow: 0 13px 33px rgba(2, 24, 30, .3); }
.nav-brand { display: flex; min-width: 0; align-items: center; gap: 10px; }
.nav-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
.nav-brand span { display: flex; flex-direction: column; line-height: 1; }
.nav-brand strong { font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.nav-brand small { margin-top: 3px; color: #58e5c0; font-size: 8px; font-weight: 900; letter-spacing: .23em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 11px 13px; color: #c3dfe0; border-radius: 10px; font-size: 11px; font-weight: 900; transition: color .2s ease, background .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.icon-button, .nav-store { display: inline-grid; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.12); color: #e9fbfa; background: rgba(255,255,255,.065); border-radius: 11px; place-items: center; cursor: pointer; transition: .2s ease; }
.icon-button:hover, .nav-store:hover { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); transform: translateY(-2px); }
.theme-sun { display: none; color: var(--primary); }
html[data-theme="dark"] .theme-moon { display: none; }
html[data-theme="dark"] .theme-sun { display: block; }
.nav-store { display: inline-flex; width: auto; padding: 0 16px; gap: 8px; color: #fff; border-color: rgba(22,163,74,.58); background: var(--primary); font-size: 10px; font-weight: 900; }
.nav-store:hover { color: #fff; background: #22B95A; }
.nav-account { display: inline-flex; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.12); color: #e9fbfa; background: rgba(255,255,255,.065); border-radius: 11px; font-size: 10px; font-weight: 900; transition: transform .2s ease, background .2s ease; }
.nav-account:hover, .nav-account.active { color: #fff; background: rgba(255,255,255,.13); transform: translateY(-2px); }
.nav-account svg { color: var(--aqua); }
.nav-account span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu-toggle { display: none; }

.mobile-menu { position: fixed; z-index: 1200; top: 0; right: 0; display: flex; width: min(390px, 100%); height: 100dvh; padding: 22px; flex-direction: column; color: #fff; background: var(--navy-deep); box-shadow: -35px 0 80px rgba(0, 18, 23, .38); transform: translateX(105%); transition: transform .32s cubic-bezier(.22,.75,.2,1); }
.mobile-menu.open { transform: none; }
.mobile-menu { overflow-y: auto; }
.mobile-menu-head { display: flex; padding-bottom: 22px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); color: #85e7ed; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu nav { display: grid; margin-top: 20px; gap: 7px; }
.mobile-menu nav a { display: grid; min-height: 63px; padding: 0 13px; align-items: center; grid-template-columns: 34px 1fr 24px; border-radius: 13px; font-family: var(--display); font-size: 22px; text-transform: uppercase; transition: background .2s ease; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.07); }
.mobile-menu nav a span { color: var(--primary); font-family: var(--body); font-size: 8px; font-weight: 900; }
.mobile-menu nav svg { color: var(--aqua); }
.mobile-menu-actions { display: grid; margin-top: auto; gap: 10px; }
.menu-scrim { position: fixed; z-index: 1100; inset: 0; background: rgba(1, 20, 25, .68); opacity: 0; pointer-events: none; transition: opacity .3s ease; backdrop-filter: blur(4px); }
.menu-scrim.open { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { position: relative; min-height: 800px; overflow: hidden; color: #fff; background: #087f8f; isolation: isolate; }
.hero-art { position: absolute; z-index: -4; inset: 0; background: var(--season-banner) center/cover no-repeat; transform: scale(1.035) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform .18s ease-out; animation: hero-arrive 1.2s ease-out both; }
.hero-wash { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(4,31,39,.82) 0%, rgba(5,54,51,.5) 39%, rgba(4,42,46,.07) 72%), linear-gradient(180deg, rgba(4,25,34,.3), transparent 30%, rgba(3,39,41,.12) 66%, rgba(3,35,40,.62)); }
.hero::after { position: absolute; z-index: -2; inset: 0; content: ""; background: radial-gradient(circle at 70% 48%, transparent 0 20%, rgba(1,40,48,.08) 62%, rgba(1,31,38,.24) 100%); }
.hero-orb { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; opacity: .6; pointer-events: none; }
.orb-one { top: 160px; right: 9%; width: 180px; height: 180px; box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025); animation: float-orb 7s ease-in-out infinite; }
.orb-two { right: 31%; bottom: 145px; width: 80px; height: 80px; box-shadow: 0 0 0 22px rgba(255,255,255,.035); animation: float-orb 5s 1s ease-in-out infinite reverse; }
.hero-content { display: flex; min-height: 800px; padding: 120px 0 160px; justify-content: center; flex-direction: column; }
.hero-copy { width: min(650px, 62%); }
.hero-kicker { display: inline-flex; margin-bottom: 15px; padding: 7px 11px; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.21); color: #e7faf8; background: rgba(3,57,67,.52); border-radius: 40px; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(10px); }
.live-dot, .status-dot { display: inline-block; width: 8px; height: 8px; background: #7fe444; border-radius: 50%; box-shadow: 0 0 0 4px rgba(127,228,68,.14); }
.live-dot.offline, .status-dot.offline { background: #ff795f; box-shadow: 0 0 0 4px rgba(255,121,95,.15); }
.hero-logo { width: min(355px, 100%); height: 330px; margin: -34px 0 -36px -12px; object-fit: contain; filter: drop-shadow(0 15px 10px rgba(1,35,43,.3)); }
.hero h1 { margin-bottom: 20px; font-size: clamp(51px, 6vw, 83px); text-transform: uppercase; text-shadow: 0 5px 18px rgba(2,27,33,.24); }
.hero h1 span { color: var(--primary); }
.hero-copy > p { max-width: 590px; margin-bottom: 29px; color: #d9eeee; font-size: 17px; line-height: 1.68; text-shadow: 0 2px 8px rgba(1,29,35,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-status { position: absolute; z-index: 3; bottom: 42px; left: 50%; display: grid; width: min(860px, calc(100% - 40px)); grid-template-columns: 1fr 1fr; gap: 11px; transform: translateX(-50%); }
.hero-status.reveal { transform: translate(-50%, 24px); }
.hero-status.reveal.is-visible { transform: translate(-50%, 0); }
.server-card { display: grid; min-width: 0; min-height: 78px; padding: 9px 11px; align-items: center; border: 1px solid rgba(255,255,255,.18); grid-template-columns: 54px minmax(0,1fr) auto; gap: 11px; color: #fff; background: rgba(5,45,48,.95); border-radius: 18px; box-shadow: 0 15px 34px rgba(2,30,37,.25), inset 0 -4px 0 rgba(0,0,0,.12); cursor: pointer; backdrop-filter: blur(14px); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.server-card:hover { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(3,64,75,.97); transform: translateY(-4px); }
.status-icon { display: grid; width: 54px; height: 54px; color: #fff; background: linear-gradient(145deg, var(--primary), var(--primary-deep)); border-radius: 15px; box-shadow: 0 4px 0 rgba(0,0,0,.16); place-items: center; }
.status-icon svg { width: 23px; height: 23px; fill: currentColor; }
.discord-card .status-icon { color: #fff; background: linear-gradient(145deg, #6975f1, #5865db); }
.discord-card .status-icon svg { fill: none; }
.status-copy { display: flex; min-width: 0; flex-direction: column; text-align: left; }
.status-copy small { display: flex; align-items: center; gap: 7px; color: #a7cbcc; font-size: 8px; font-weight: 900; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.status-copy strong { overflow: hidden; font-family: var(--display); font-size: 21px; font-weight: 400; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.status-action { display: flex; min-width: 67px; padding: 7px 9px; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: #d6eded; background: rgba(255,255,255,.08); border-radius: 9px; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.status-action svg { color: var(--primary); }
.status-action b { color: #fff; font-size: 10px; }
.hero-edge { position: absolute; z-index: 2; right: -2%; bottom: -2px; left: -2%; height: 31px; background: var(--surface); clip-path: polygon(0 70%,5% 43%,10% 72%,16% 42%,23% 72%,31% 48%,38% 76%,46% 42%,54% 72%,62% 39%,71% 73%,79% 48%,88% 75%,95% 42%,100% 64%,100% 100%,0 100%); }
@keyframes hero-arrive { from { opacity: .65; transform: scale(1.1); } to { opacity: 1; transform: scale(1.035); } }
@keyframes float-orb { 50% { transform: translateY(-13px) scale(1.04); } }

/* Announcement */
.announcement { position: relative; z-index: 5; padding: 20px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.announcement-inner { display: grid; min-height: 68px; padding: 10px 14px; align-items: center; grid-template-columns: 44px 1fr auto; gap: 13px; color: #fff; background: linear-gradient(105deg, #087d70, #0a9b86); border-radius: 16px; box-shadow: 0 7px 0 rgba(5,92,76,.18), 0 15px 28px rgba(4,76,67,.13); }
.announcement-icon { display: grid; width: 44px; height: 44px; color: var(--navy); background: var(--primary); border-radius: 12px; place-items: center; box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.announcement-inner > div { display: flex; min-width: 0; flex-direction: column; line-height: 1.4; }
.announcement-inner small { color: #bfeff1; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.announcement-inner strong { font-size: 12px; }
.announcement-inner > a { display: inline-flex; padding: 10px 12px; align-items: center; gap: 7px; color: var(--navy); background: #fff; border-radius: 10px; font-size: 9px; font-weight: 900; transition: transform .2s ease; }
.announcement-inner > a:hover { transform: translateX(3px); }

/* Intro */
.intro { background: var(--surface); }
.intro-grid { display: grid; align-items: center; grid-template-columns: 1fr .95fr; gap: 74px; }
.section-copy > p { max-width: 650px; margin-bottom: 25px; color: var(--muted); font-size: 17px; }
.check-list { display: grid; margin: 0; padding: 0; gap: 13px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 800; }
.check-list li > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; color: var(--navy); background: var(--lime); border-radius: 8px; box-shadow: 0 3px 0 rgba(47,128,24,.18); place-items: center; }
.check-list svg { width: 15px; height: 15px; stroke-width: 3; }
.intro-bento { display: grid; min-height: 440px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.12fr .88fr; gap: 14px; }
.bento-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); border-radius: 22px; box-shadow: var(--shadow); }
.bento-live { display: flex; padding: 31px; align-items: flex-start; justify-content: space-between; grid-column: 1 / -1; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(23,216,232,.27), transparent 32%), linear-gradient(135deg, var(--navy), #087d70); }
.bento-icon { display: grid; width: 51px; height: 51px; color: var(--navy); background: var(--primary); border-radius: 15px; place-items: center; box-shadow: 0 4px 0 rgba(0,0,0,.16); }
.bento-live > div:not(.pulse-rings) { display: flex; align-items: flex-end; flex-direction: column; }
.bento-live small { color: #9bdde0; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.bento-live strong { font-family: var(--display); font-size: 69px; font-weight: 400; line-height: 1; }
.bento-live > div > span { color: #c7e7e7; font-size: 10px; font-weight: 800; }
.pulse-rings { position: absolute; right: -85px; bottom: -110px; width: 270px; height: 270px; border: 22px solid rgba(255,255,255,.045); border-radius: 50%; }
.pulse-rings i { position: absolute; inset: -50px; border: 22px solid rgba(255,255,255,.03); border-radius: 50%; }
.pulse-rings i:nth-child(2) { inset: 24px; }
.pulse-rings i:nth-child(3) { inset: 75px; background: rgba(255,255,255,.035); }
.bento-version { display: flex; padding: 24px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; background: linear-gradient(145deg, #eaf7ed, #fbfffc); }
html[data-theme="dark"] .bento-version { background: linear-gradient(145deg, #173c2a, #0d343c); }
.bento-version span { padding: 8px 10px; color: var(--navy); background: var(--primary); border-radius: 9px; font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.bento-version i { color: var(--coral); font-style: normal; font-weight: 900; }
.bento-version small { width: 100%; color: var(--muted); font-size: 9px; font-weight: 900; text-align: center; text-transform: uppercase; }
.bento-community { display: flex; padding: 24px; justify-content: center; flex-direction: column; background: linear-gradient(145deg, #edfbf8, #fff); }
html[data-theme="dark"] .bento-community { background: linear-gradient(145deg, #0d3b43, #0a3039); }
.bento-community svg { margin-bottom: 13px; color: var(--coral); fill: rgba(255,112,75,.15); }
.bento-community strong { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.bento-community span { color: var(--muted); font-size: 11px; }

/* Realms */
.realms { border-block: 1px solid var(--line); }
.realm-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.realm-card { position: relative; min-height: 550px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); color: #fff; background: var(--navy); border-radius: 25px; box-shadow: var(--shadow); isolation: isolate; transition: transform .3s ease, box-shadow .3s ease; }
.realm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.realm-card::before { position: absolute; z-index: -3; inset: 0; content: ""; background-position: center; background-size: cover; transition: transform .5s ease; }
.realm-card:hover::before { transform: scale(1.045); }
.realm-prison::before { background-image: linear-gradient(180deg, transparent 7%, rgba(24,31,39,.12) 38%, rgba(9,28,35,.97) 76%), url('/assets/realm-prison.jpg'); }
.realm-survival::before { background-image: linear-gradient(180deg, transparent 7%, rgba(13,49,35,.1) 38%, rgba(5,43,37,.97) 76%), url('/assets/realm-survival.jpg'); }
.realm-skyblock::before { background-image: linear-gradient(180deg, transparent 7%, rgba(20,46,81,.1) 38%, rgba(10,35,69,.97) 76%), url('/assets/realm-skyblock.jpg'); }
.realm-card::after { position: absolute; z-index: -2; inset: 0; content: ""; background: radial-gradient(circle at 50% 20%, transparent 0 16%, rgba(4,41,49,.12) 55%); }
.realm-number { position: absolute; z-index: 1; top: 21px; left: 22px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.realm-art { display: grid; height: 220px; place-items: center; }
.realm-art span { display: grid; width: 98px; height: 98px; overflow: hidden; border: 2px solid rgba(255,255,255,.65); background: var(--primary); border-radius: 25px; box-shadow: 0 8px 0 rgba(0,0,0,.16), 0 18px 35px rgba(0,0,0,.2); place-items: center; transform: rotate(-5deg); transition: transform .3s ease; }
.realm-art span img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(3,37,43,.2)); }
.realm-card:hover .realm-art span { transform: translateY(-6px) rotate(2deg); }
.realm-survival .realm-art span { background: var(--lime); }
.realm-skyblock .realm-art span { color: var(--navy); background: var(--aqua); }
.realm-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px; }
.realm-state { display: inline-flex; margin-bottom: 10px; align-items: center; gap: 7px; color: #9edbde; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.realm-state i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(138,220,50,.12); }
.realm-content h3 { margin-bottom: 9px; font-size: 45px; text-transform: uppercase; }
.realm-content p { margin-bottom: 16px; color: #bcd6d7; font-size: 12px; line-height: 1.55; }
.realm-content ul { display: flex; margin: 0 0 20px; padding: 0; flex-wrap: wrap; gap: 6px; list-style: none; }
.realm-content li { padding: 5px 8px; color: #d7eeee; background: rgba(255,255,255,.08); border-radius: 7px; font-size: 8px; font-weight: 900; }
.realm-link { display: inline-flex; padding: 0; align-items: center; gap: 8px; border: 0; color: var(--primary); background: transparent; font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.realm-link svg { transition: transform .2s ease; }
.realm-link:hover svg { transform: translateX(5px); }

/* Feature bento */
.features { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.feature-card { position: relative; min-height: 300px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); border-radius: 22px; box-shadow: 0 10px 28px rgba(8,58,66,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { border-color: rgba(35,205,226,.32); transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card.featured { color: #fff; border-color: rgba(255,255,255,.14); background: linear-gradient(145deg, #074b58, #087c88); }
.feature-card.wide { display: grid; min-height: 225px; align-items: center; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 45px; }
.feature-icon { display: grid; width: 53px; height: 53px; margin-bottom: 53px; color: var(--navy); background: var(--primary); border-radius: 15px; box-shadow: 0 4px 0 rgba(0,0,0,.13); place-items: center; }
.feature-card:nth-child(1) .feature-icon { background: var(--lime); }
.feature-card:nth-child(3) .feature-icon { color: #fff; background: var(--coral); }
.feature-card.wide .feature-icon { margin-bottom: 17px; }
.feature-index { position: absolute; top: 32px; right: 31px; color: var(--line-strong); font-family: var(--display); font-size: 42px; }
.featured .feature-index { color: rgba(255,255,255,.14); }
.feature-card h3 { margin-bottom: 10px; font-size: 27px; text-transform: uppercase; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.feature-card.featured p { color: #bcdadd; }
.feature-glow { position: absolute; right: -80px; bottom: -110px; width: 280px; height: 280px; border: 25px solid rgba(255,255,255,.04); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.025); }
.event-track { display: grid; align-items: center; grid-template-columns: auto 1fr auto 1fr auto; gap: 10px; }
.event-track span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.event-track span.active { color: var(--ink); }
.event-track i { height: 5px; background: var(--line); border-radius: 10px; }
.event-track i:first-of-type { background: linear-gradient(90deg,var(--aqua),var(--lime)); }

/* Journey */
.journey { padding-top: 78px; padding-bottom: 78px; }
.journey-card { display: grid; min-height: 275px; padding: 42px; align-items: center; grid-template-columns: .85fr 1.2fr auto; gap: 42px; color: #fff; background: radial-gradient(circle at 72% 50%,rgba(23,216,232,.19),transparent 28%),linear-gradient(135deg,var(--navy-deep),#087764); border-radius: 27px; box-shadow: var(--shadow-hover); }
.journey-copy .eyebrow { color: var(--primary); }
.journey-copy h2 { margin-bottom: 9px; font-size: 42px; }
.journey-copy p { margin: 0; color: #b9d7d8; font-size: 12px; }
.journey-steps { display: grid; margin: 0; padding: 0; gap: 11px; list-style: none; }
.journey-steps li { display: flex; align-items: center; gap: 12px; }
.journey-steps li > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; color: var(--navy); background: var(--aqua); border-radius: 10px; place-items: center; font-size: 10px; font-weight: 900; }
.journey-steps li:nth-child(2) > span { background: var(--primary); }
.journey-steps li:nth-child(3) > span { background: var(--lime); }
.journey-steps div { display: flex; flex-direction: column; line-height: 1.35; }
.journey-steps strong { font-size: 11px; }
.journey-steps small { color: #9fc6c8; font-size: 9px; }

/* News */
.news { border-block: 1px solid var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua-deep); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }
html[data-theme="dark"] .text-link { color: var(--aqua); }
.news-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 15px; }
.news-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-visual { position: relative; height: 245px; overflow: hidden; }
.news-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 50%,rgba(4,42,51,.55)); }
.news-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-visual-small { height: 150px; }
.news-card:hover .news-visual img { transform: scale(1.04); }
.news-badge { position: absolute; z-index: 1; top: 17px; left: 17px; padding: 6px 9px; color: var(--navy); background: var(--primary); border-radius: 8px; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.news-body { padding: 25px; }
.news-body time { color: var(--aqua-deep); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html[data-theme="dark"] .news-body time { color: var(--aqua); }
.news-body h3 { margin: 10px 0; font-size: 25px; text-transform: uppercase; }
.news-lead .news-body h3 { font-size: 31px; }
.news-body p { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.news-body a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.news-body a svg { color: var(--aqua-deep); transition: transform .2s ease; }
.news-body a:hover svg { transform: translateX(4px); }
.news-mini-icon { display: grid; width: 68px; height: 68px; margin: 28px 25px 38px; color: #fff; background: var(--primary); border-radius: 20px; box-shadow: 0 5px 0 rgba(11,92,42,.18); place-items: center; transform: rotate(-4deg); }
.news-mini-icon svg { width: 29px; height: 29px; }
.news-mini-icon.lime { background: var(--lime); }

/* Community */
.community { background: var(--surface); }
.community-panel { position: relative; display: grid; min-height: 440px; padding: 60px; overflow: hidden; align-items: center; grid-template-columns: 1fr .8fr; gap: 60px; color: #fff; background: radial-gradient(circle at 84% 20%,rgba(23,216,232,.24),transparent 34%),linear-gradient(125deg,#07594e,#0a8876); border-radius: 30px; box-shadow: 0 24px 60px rgba(5,91,77,.25); }
.community-panel::before { position: absolute; top: -70px; right: 25%; width: 210px; height: 210px; content: ""; border: 24px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 27px rgba(255,255,255,.035); }
.community-copy, .community-stats { position: relative; z-index: 1; }
.community-copy .eyebrow { color: #a8f7df; }
.community-copy .eyebrow::before { background: var(--primary); }
.community-copy h2 { margin-bottom: 14px; font-size: clamp(47px,5vw,70px); }
.community-copy p { max-width: 540px; margin-bottom: 27px; color: #d8f5eb; }
.community-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.community-stats div { display: flex; min-height: 130px; padding: 20px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09); border-radius: 17px; backdrop-filter: blur(9px); }
.community-stats div:last-child { grid-column: 1 / -1; }
.community-stats strong { font-family: var(--display); font-size: 47px; font-weight: 400; line-height: 1; }
.community-stats div:first-child strong::after { content: "+"; color: var(--primary); }
.community-stats div:last-child strong::after { content: "/7"; color: var(--primary); }
.community-stats span { color: #d2f1e7; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.community-waves { position: absolute; right: 0; bottom: 0; left: 0; height: 115px; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='100' viewBox='0 0 220 100'%3E%3Cg fill='%23fff'%3E%3Cpath d='m35 15 30 30-30 30L5 45Z'/%3E%3Cpath d='m165 35 24 24-24 24-24-24Z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 220px 100px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq-intro { position: sticky; top: 115px; align-self: start; }
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p { max-width: 400px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 15px; box-shadow: 0 7px 20px rgba(8,58,66,.06); }
.faq-item button { display: flex; width: 100%; min-height: 70px; padding: 0 20px; align-items: center; justify-content: space-between; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.faq-item button span { padding-right: 18px; font-size: 13px; font-weight: 900; }
.faq-item button i { position: relative; width: 23px; height: 23px; flex: 0 0 auto; background: rgba(35,205,226,.12); border-radius: 7px; }
.faq-item button i::before, .faq-item button i::after { position: absolute; top: 11px; left: 6px; width: 11px; height: 2px; content: ""; background: var(--aqua-deep); border-radius: 2px; transition: transform .2s ease; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item.open button i::after { transform: rotate(0); }
.faq-answer { display: grid; max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-answer p { margin: 0; padding: 0 55px 20px 20px; color: var(--muted); font-size: 12px; }

/* Final CTA and footer */
.final-cta { padding-top: 50px; padding-bottom: 140px; }
.final-card { display: grid; min-height: 260px; padding: 30px 45px; align-items: center; grid-template-columns: 270px 1fr auto; gap: 35px; border: 1px solid var(--line); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.final-card > img { width: 240px; height: 220px; object-fit: contain; filter: drop-shadow(0 10px 7px rgba(4,45,53,.18)); }
.final-card h2 { margin-bottom: 5px; font-size: 53px; }
.final-card p { margin: 0; color: var(--aqua-deep); font-weight: 900; }
html[data-theme="dark"] .final-card p { color: var(--aqua); }
.site-footer { position: relative; color: #d5e9e8; background: var(--navy-deep); }
.footer-wave { position: absolute; right: 0; bottom: 100%; left: 0; height: 32px; background: var(--navy-deep); clip-path: polygon(0 67%,7% 33%,15% 70%,23% 37%,32% 72%,40% 35%,49% 68%,58% 34%,67% 72%,76% 38%,85% 68%,93% 32%,100% 63%,100% 100%,0 100%); }
.footer-grid { display: grid; min-height: 300px; padding: 65px 0 45px; grid-template-columns: 1.3fr .6fr .6fr 1fr; gap: 50px; }
.footer-brand img { width: 150px; height: 145px; margin-bottom: 10px; object-fit: contain; }
.footer-brand p { max-width: 315px; color: #8fb1b3; font-size: 11px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong, .footer-play > span { margin-bottom: 8px; color: var(--primary); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { color: #aac7c8; font-size: 11px; font-weight: 800; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-play { display: flex; flex-direction: column; }
.footer-play button { display: flex; min-height: 54px; padding: 0 13px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.12); color: #fff; background: rgba(255,255,255,.07); border-radius: 12px; cursor: pointer; }
.footer-play button strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.footer-play button svg { color: var(--primary); }
.footer-play small { display: flex; margin-top: 10px; align-items: center; gap: 7px; color: #8fb1b3; font-size: 8px; font-weight: 800; }
.footer-bottom { display: flex; min-height: 66px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #75999b; font-size: 8px; }
.mobile-dock { display: none; }

/* Toast and reveal */
.toast { position: fixed; z-index: 1500; right: 22px; bottom: 22px; display: grid; min-width: 285px; padding: 11px 14px; align-items: center; grid-template-columns: 39px 1fr; gap: 11px; color: var(--ink); border: 1px solid var(--line); background: var(--surface-raised); border-radius: 14px; box-shadow: var(--shadow-hover); opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: none; }
.toast > span { display: grid; width: 39px; height: 39px; color: var(--navy); background: var(--lime); border-radius: 11px; place-items: center; }
.toast div { display: flex; flex-direction: column; line-height: 1.35; }
.toast strong { font-size: 11px; }
.toast small { color: var(--muted); font-size: 8px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-grid; }
  .hero-copy { width: min(680px, 74%); }
  .realm-grid { grid-template-columns: 1fr 1fr; }
  .realm-card:last-child { grid-column: 1 / -1; min-height: 480px; }
  .realm-card:last-child::before { background-size: cover; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(3) { grid-column: 1 / -1; min-height: 240px; }
  .journey-card { grid-template-columns: 1fr 1fr; }
  .journey-card > .button { grid-column: 2; justify-self: start; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-lead { grid-column: 1 / -1; }
  .community-panel { padding: 45px; }
  .final-card { grid-template-columns: 210px 1fr; }
  .final-card > img { width: 210px; }
  .final-card > .button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-play { grid-column: 1 / -1; max-width: 380px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 26px, 1240px); }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(40px, 12vw, 58px); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .site-header { padding-top: 9px; }
  .nav-shell { min-height: 61px; border-radius: 15px; }
  .nav-brand img { width: 44px; height: 44px; }
  .nav-brand strong { font-size: 17px; }
  .nav-brand small { font-size: 7px; }
  .nav-store { width: 42px; padding: 0; }
  .nav-store span { display: none; }
  .hero { min-height: 860px; }
  .hero-art { background-position: 57% center; }
  .hero-wash { background: linear-gradient(180deg,rgba(3,30,37,.55),rgba(4,61,57,.2) 35%,rgba(3,44,44,.55) 72%,rgba(3,34,39,.78)); }
  .hero-content { min-height: 860px; padding: 105px 0 225px; align-items: center; text-align: center; }
  .hero-copy { width: 100%; }
  .hero-kicker { margin-bottom: 6px; }
  .hero-logo { width: min(315px, 82%); height: 300px; margin: -28px auto -34px; }
  .hero h1 { font-size: clamp(47px, 13.5vw, 70px); }
  .hero-copy > p { max-width: 600px; margin-right: auto; margin-left: auto; font-size: 15px; }
  .hero-actions { justify-content: center; }
  .hero-status { bottom: 42px; grid-template-columns: 1fr; }
  .server-card { min-height: 72px; grid-template-columns: 49px minmax(0,1fr) auto; }
  .status-icon { width: 49px; height: 49px; }
  .status-copy strong { font-size: 18px; }
  .announcement-inner { grid-template-columns: 42px 1fr; }
  .announcement-inner > a { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-bento { min-height: 400px; }
  .realm-grid { grid-template-columns: 1fr; }
  .realm-card, .realm-card:last-child { min-height: 510px; grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(3) { min-height: 250px; grid-column: auto; }
  .feature-card.wide { display: block; grid-column: auto; }
  .event-track { margin-top: 28px; }
  .journey-card { padding: 31px; grid-template-columns: 1fr; gap: 30px; }
  .journey-card > .button { grid-column: auto; justify-self: start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-lead { grid-column: auto; }
  .community-panel { padding: 38px 28px; grid-template-columns: 1fr; gap: 38px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .final-card { padding: 28px; grid-template-columns: 145px 1fr; gap: 20px; }
  .final-card > img { width: 145px; height: 130px; }
  .final-card > .button { grid-column: 1 / -1; justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-play { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { padding-bottom: 72px; }
  .section { padding: 68px 0; }
  .nav-shell { padding-left: 10px; gap: 7px; }
  .nav-brand span { display: none; }
  .nav-actions { gap: 5px; }
  .icon-button, .nav-store, .nav-account { width: 39px; height: 39px; }
  .hero { min-height: 820px; }
  .hero-content { min-height: 820px; padding-top: 88px; padding-bottom: 216px; }
  .hero-logo { width: min(270px, 78%); height: 255px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(43px, 13vw, 58px); }
  .hero-copy > p { font-size: 13px; }
  .hero-actions .button { flex: 1 1 140px; min-height: 49px; padding: 0 13px; }
  .hero-status { width: calc(100% - 24px); bottom: 33px; gap: 8px; }
  .server-card { padding: 8px; grid-template-columns: 44px minmax(0,1fr) auto; gap: 8px; border-radius: 15px; }
  .status-icon { width: 44px; height: 44px; border-radius: 12px; }
  .status-copy small { font-size: 6px; }
  .status-copy strong { font-size: 15px; }
  .status-action { min-width: 52px; padding: 6px; font-size: 6px; }
  .announcement { padding: 15px 0; }
  .announcement-inner { width: calc(100% - 24px); min-height: 65px; padding: 9px; grid-template-columns: 39px 1fr; gap: 9px; }
  .announcement-icon { width: 39px; height: 39px; }
  .announcement-inner strong { font-size: 9px; line-height: 1.35; }
  .intro-bento { min-height: 490px; grid-template-columns: 1fr; grid-template-rows: 1.25fr .8fr .8fr; }
  .bento-live { grid-column: auto; }
  .bento-live strong { font-size: 56px; }
  .section-heading > p { font-size: 13px; }
  .realm-card, .realm-card:last-child { min-height: 500px; }
  .realm-content { padding: 23px; }
  .feature-card { padding: 25px; }
  .feature-icon { margin-bottom: 38px; }
  .event-track { grid-template-columns: auto 1fr auto; }
  .event-track span:last-child, .event-track i:last-of-type { display: none; }
  .news-visual { height: 210px; }
  .news-body { padding: 22px; }
  .community-stats div { min-height: 110px; padding: 12px; }
  .community-stats strong { font-size: 38px; }
  .community-stats span { font-size: 6px; text-align: center; }
  .faq-item button { min-height: 64px; padding: 0 16px; }
  .faq-answer p { padding: 0 44px 18px 16px; }
  .final-cta { padding-bottom: 110px; }
  .final-card { display: flex; text-align: center; flex-direction: column; }
  .final-card > img { width: 205px; height: 145px; margin-bottom: -20px; }
  .final-card h2 { font-size: 44px; }
  .final-card > .button { width: 100%; }
  .footer-grid { padding-top: 45px; gap: 34px 20px; }
  .footer-brand img { width: 145px; }
  .footer-bottom { min-height: 90px; padding: 18px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .mobile-dock { position: fixed; z-index: 900; right: 9px; bottom: max(9px, env(safe-area-inset-bottom)); left: 9px; display: grid; height: 62px; padding: 5px; border: 1px solid rgba(255,255,255,.17); grid-template-columns: repeat(4,1fr); background: rgba(4,48,58,.96); border-radius: 17px; box-shadow: 0 15px 35px rgba(2,32,39,.36); opacity: 0; transform: translateY(calc(100% + 22px)); pointer-events: none; backdrop-filter: blur(14px); transition: opacity .25s ease, transform .25s ease; }
  body.dock-visible .mobile-dock { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-dock > * { display: flex; padding: 0; border: 0; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: #c8e1e1; background: transparent; border-radius: 11px; font-size: 7px; font-weight: 900; cursor: pointer; }
  .mobile-dock svg { color: var(--primary); font-size: 15px; }
  .toast { right: 12px; bottom: 82px; left: 12px; min-width: 0; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 40px; }
  .hero-logo { height: 235px; }
  .status-action span { display: none; }
  .realm-content h3 { font-size: 39px; }
}

@media (hover: none) {
  .realm-card:hover, .feature-card:hover, .news-card:hover, .button:hover { transform: none; }
}

@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; }
}

/* 404 */
.error-page { padding: 0; color: #fff; background: var(--navy-deep); }
.error-shell { position: relative; display: grid; min-height: 100dvh; overflow: hidden; place-items: center; isolation: isolate; }
.error-art { position: absolute; z-index: -2; inset: 0; background: var(--season-banner) center/cover no-repeat; filter: brightness(.58) saturate(.9); transform: scale(1.02); }
.error-shell::after { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(circle at center,rgba(4,45,54,.1),rgba(3,32,40,.82)); }
.error-content { width: min(650px,calc(100% - 32px)); padding: 45px; border: 1px solid rgba(255,255,255,.17); background: rgba(4,51,61,.78); border-radius: 27px; box-shadow: 0 25px 70px rgba(1,22,27,.35); text-align: center; backdrop-filter: blur(15px); }
.error-content img { width: min(330px,90%); height: 320px; margin: -65px auto -15px; object-fit: contain; }
.error-content > span { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.error-content h1 { margin: 14px 0 10px; font-size: clamp(42px,7vw,72px); text-transform: uppercase; }
.error-content p { margin-bottom: 25px; color: #bdd9da; }

/* Vote and leaderboard pages */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.inner-page .site-header { position: fixed; }
.inner-page .mobile-menu { position: fixed; }
.inner-page .site-footer { margin-top: 32px; }
.inner-hero { position: relative; display: flex; min-height: 525px; overflow: hidden; align-items: center; color: #fff; isolation: isolate; background: #087d70; }
.inner-hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: var(--season-banner) center 47%/cover no-repeat; animation: hero-arrive 1.2s ease-out both; }
.inner-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4, 30, 38, .92), rgba(4, 64, 59, .6) 49%, rgba(3, 62, 59, .1)), linear-gradient(0deg, rgba(3, 38, 42, .58), transparent 53%); }
.inner-hero-content { padding: 160px 0 115px; }
.inner-hero .eyebrow { color: #a8f6f3; }
.inner-hero h1 { max-width: 760px; margin-bottom: 16px; font-size: clamp(58px, 7.4vw, 108px); line-height: .9; text-transform: uppercase; text-shadow: 0 7px 24px rgba(1, 25, 31, .24); }
.inner-hero h1 span { color: var(--primary); }
.inner-hero-content > p { max-width: 585px; margin-bottom: 25px; color: #e2f3ef; font-size: 17px; line-height: 1.6; }
.inner-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inner-hero .hero-edge { background: var(--page); }
.leaderboards-hero { min-height: 450px; }
.leaderboards-hero .inner-hero-content { padding-bottom: 94px; }
.leaderboards-hero h1 { font-size: clamp(56px, 6.8vw, 94px); }
.page-loading { grid-column: 1 / -1; padding: 44px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 18px; text-align: center; }

.vote-main { padding-bottom: 90px; }
.vote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vote-card { position: relative; display: flex; min-height: 330px; padding: 29px; overflow: hidden; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); background: var(--surface-raised); border-radius: 24px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.vote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.vote-card::after { position: absolute; top: -60px; right: -70px; width: 210px; height: 210px; content: ""; border: 1px solid rgba(35,205,226,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(35,205,226,.055), 0 0 0 56px rgba(35,205,226,.035); pointer-events: none; }
.vote-card:nth-child(2)::after { border-color: rgba(138,220,50,.25); box-shadow: 0 0 0 28px rgba(138,220,50,.06), 0 0 0 56px rgba(138,220,50,.03); }
.vote-card:nth-child(3)::after { border-color: rgba(22,163,74,.28); box-shadow: 0 0 0 28px rgba(22,163,74,.07), 0 0 0 56px rgba(22,163,74,.035); }
.vote-card-icon { display: grid; width: 58px; height: 58px; margin-bottom: 27px; color: var(--navy-deep); background: var(--aqua); border-radius: 16px; box-shadow: 0 5px 0 rgba(5,96,105,.25); font-family: var(--display); font-size: 26px; place-items: center; transform: rotate(-5deg); }
.vote-card:nth-child(2) .vote-card-icon { background: var(--lime); }
.vote-card:nth-child(3) .vote-card-icon { background: var(--primary); }
.vote-card-label { color: var(--aqua-deep); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vote-card h3 { margin: 8px 0 7px; font-size: 34px; text-transform: uppercase; }
.vote-card p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.vote-card-action, .vote-card-pending { width: 100%; margin-top: auto; }
.vote-card-pending { color: var(--muted); border: 1px solid var(--line-strong); background: var(--page); cursor: default; }
.vote-note { display: grid; margin-top: 22px; padding: 22px 26px; align-items: center; grid-template-columns: 50px 1fr auto; gap: 18px; color: #fff; background: linear-gradient(110deg, #073c40, #087b6c); border-radius: 20px; }
.vote-note-icon { display: grid; width: 50px; height: 50px; color: var(--navy); background: var(--primary); border-radius: 13px; place-items: center; }
.vote-note strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 400; }
.vote-note p { margin: 2px 0 0; color: #bde4e4; font-size: 12px; }
.vote-note a { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 11px; font-weight: 900; white-space: nowrap; }
.vote-how { padding-top: 78px; background: var(--surface); border-top: 1px solid var(--line); }
.vote-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vote-steps article { position: relative; padding: 27px; border: 1px solid var(--line); background: var(--page); border-radius: 20px; }
.vote-steps article > span { color: var(--aqua-deep); font-family: var(--display); font-size: 45px; line-height: 1; }
.vote-steps h3 { margin: 21px 0 8px; font-size: 28px; }
.vote-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.rankings-section { padding-top: 82px; }
.rankings-intro { display: flex; margin-bottom: 27px; align-items: end; justify-content: space-between; gap: 20px; }
.rankings-intro h2 { margin: 0; }
.rankings-intro h2 span { color: var(--aqua-deep); }
.rankings-intro p { margin: 8px 0 0; color: var(--muted); }
.rankings-status { display: inline-flex; padding: 9px 14px; align-items: center; border: 1px solid var(--line-strong); color: var(--aqua-deep); background: var(--surface); border-radius: 100px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.rankings-status::before { width: 7px; height: 7px; margin-right: 8px; content: ""; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.realm-tabs { display: grid; margin-bottom: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.realm-tab { display: flex; min-width: 0; min-height: 92px; padding: 15px 17px; align-items: center; gap: 14px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface-raised); border-radius: 17px; box-shadow: 0 5px 0 rgba(5,76,83,.06); text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.realm-tab:not(:disabled):hover { transform: translateY(-3px); }
.realm-tab.active { border-color: var(--aqua-deep); box-shadow: 0 5px 0 rgba(5,142,158,.2), 0 12px 30px rgba(5,111,125,.12); }
.realm-tab:disabled { cursor: not-allowed; opacity: .65; box-shadow: none; }
.realm-tab.coming-soon .realm-tab-copy small { color: var(--coral); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.realm-tab-number { display: grid; width: 52px; height: 52px; flex: 0 0 52px; overflow: hidden; color: var(--navy-deep); background: var(--primary); border-radius: 14px; place-items: center; }
.realm-tab-number img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 0 rgba(7,37,46,.2)); }
.realm-tab-survival .realm-tab-number { background: var(--lime); }
.realm-tab-skyblock .realm-tab-number { background: var(--aqua); }
.realm-tab-copy { display: flex; min-width: 0; flex-direction: column; }
.realm-tab-copy strong { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.realm-tab-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.rankings-layout { display: grid; min-height: 650px; overflow: hidden; grid-template-columns: 235px minmax(0,1fr); border: 1px solid var(--line-strong); background: var(--surface-raised); border-radius: 24px; box-shadow: var(--shadow); }
.metric-panel { padding: 29px 17px; border-right: 1px solid var(--line); background: var(--surface); }
.metric-heading, .rankings-overline { display: block; color: var(--aqua-deep); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.metric-heading { padding: 0 13px 17px; }
.metric-panel [data-metric-list] { display: grid; gap: 5px; }
.metric-option { display: flex; width: 100%; min-height: 44px; padding: 0 9px; align-items: center; gap: 9px; border: 0; color: var(--muted); background: transparent; border-radius: 11px; font-size: 12px; font-weight: 900; text-align: left; cursor: pointer; }
.metric-symbol { display: grid; width: 28px; height: 28px; flex: 0 0 28px; color: var(--aqua-deep); background: var(--page); border: 1px solid var(--line); border-radius: 8px; font-size: 17px; line-height: 1; place-items: center; }
.metric-option.active .metric-symbol { color: var(--navy-deep); background: rgba(255,255,255,.5); border-color: rgba(5,125,138,.2); }
.metric-option:hover { color: var(--ink); background: var(--page); }
.metric-option.active { color: var(--navy-deep); background: linear-gradient(100deg, var(--aqua), #a3f5ed); box-shadow: 0 4px 0 rgba(5,125,138,.15); }
.metric-help { margin: 39px 7px 0; padding: 17px; border: 1px solid var(--line); background: var(--page); border-radius: 14px; }
.metric-help strong { font-family: var(--display); font-size: 18px; font-weight: 400; }
.metric-help p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.rankings-main { min-width: 0; padding: 31px; }
.rankings-toolbar { display: flex; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 16px; }
.rankings-toolbar h3 { margin: 4px 0 0; font-size: 35px; text-transform: uppercase; }
.rankings-search { position: relative; display: block; width: min(250px, 100%); }
.rankings-search input { width: 100%; height: 43px; padding: 0 37px 0 14px; border: 1px solid var(--line-strong); outline: none; color: var(--ink); background: var(--page); border-radius: 11px; font-size: 12px; }
.rankings-search input:focus { border-color: var(--aqua-deep); box-shadow: 0 0 0 3px rgba(35,205,226,.16); }
.rankings-search input:disabled { cursor: not-allowed; opacity: .65; }
.rankings-search > span:last-child { position: absolute; top: 6px; right: 13px; color: var(--aqua-deep); font-size: 25px; line-height: 1; pointer-events: none; }
.podium { display: grid; margin: 0 0 28px; align-items: end; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.podium[hidden] { display: none; }
.podium-card { position: relative; display: flex; min-height: 164px; padding: 19px 10px 15px; align-items: center; justify-content: flex-end; flex-direction: column; border: 1px solid var(--line-strong); background: var(--page); border-radius: 17px; text-align: center; }
.podium-1 { min-height: 189px; border-color: rgba(22,163,74,.58); background: linear-gradient(180deg, rgba(22,163,74,.18), var(--surface-raised)); box-shadow: 0 9px 26px rgba(15,128,61,.14); }
.podium-2 { border-color: rgba(35,205,226,.35); }
.podium-3 { border-color: rgba(255,112,75,.35); }
.podium-rank { position: absolute; top: 10px; left: 12px; color: var(--aqua-deep); font-family: var(--display); font-size: 19px; }
.podium-1 .podium-rank { color: var(--primary); }
.podium-3 .podium-rank { color: var(--coral); }
.podium-avatar, .rank-avatar { display: grid; color: #fff; background: linear-gradient(145deg, #0d7c8d, #083945); border: 3px solid rgba(255,255,255,.76); font-family: var(--display); place-items: center; }
.podium-avatar { width: 63px; height: 63px; margin-bottom: 10px; border-radius: 16px; box-shadow: 0 6px 0 rgba(5,71,78,.15); font-size: 24px; }
.podium-1 .podium-avatar { width: 72px; height: 72px; background: linear-gradient(145deg, var(--primary), var(--primary-deep)); }
.podium-3 .podium-avatar { background: linear-gradient(145deg, #fb9362, #b94b42); }
.podium-name { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.podium-score { color: var(--muted); font-size: 10px; font-weight: 900; }
.rankings-table { width: 100%; border-collapse: collapse; text-align: left; }
.rankings-table[hidden] { display: none; }
.rankings-table th { padding: 0 12px 12px; border-bottom: 1px solid var(--line-strong); color: var(--aqua-deep); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rankings-table th:last-child { text-align: right; }
.rankings-table td { height: 55px; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rankings-table tr:last-child td { border-bottom: 0; }
.rankings-table td:first-child { width: 68px; color: var(--muted); font-weight: 900; }
.top-rank td:first-child { color: var(--aqua-deep); }
.top-rank-1 td:first-child { color: var(--primary); }
.rank-player { display: flex; align-items: center; gap: 10px; }
.rank-avatar { width: 31px; height: 31px; flex: 0 0 31px; border-width: 2px; border-radius: 8px; font-size: 11px; }
.podium-avatar, .rank-avatar { overflow: hidden; position: relative; }
.podium-avatar img, .rank-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; position: absolute; inset: 0; }
.rank-player strong { font-size: 12px; font-weight: 900; }
.rank-score { font-variant-numeric: tabular-nums; font-weight: 900; text-align: right; white-space: nowrap; }
.rankings-empty { margin: 0; padding: 48px 24px; color: var(--muted); background: var(--page); border: 1px dashed var(--line-strong); border-radius: 16px; font-size: 13px; font-weight: 800; line-height: 1.6; text-align: center; }
.rankings-empty::before { display: block; margin-bottom: 9px; color: var(--aqua-deep); content: "✦"; font-size: 28px; line-height: 1; }
.rankings-disclaimer { margin-top: 18px; color: var(--muted); font-size: 11px; text-align: right; }

html[data-theme="dark"] .vote-card-label, html[data-theme="dark"] .rankings-status, html[data-theme="dark"] .metric-heading, html[data-theme="dark"] .rankings-overline, html[data-theme="dark"] .rankings-table th, html[data-theme="dark"] .rankings-intro h2 span, html[data-theme="dark"] .vote-steps article > span { color: var(--aqua); }
html[data-theme="dark"] .podium-1 { background: linear-gradient(180deg, rgba(22,163,74,.17), var(--surface-raised)); }

@media (max-width: 1080px) {
  .rankings-layout { grid-template-columns: 205px minmax(0,1fr); }
  .rankings-main { padding: 24px; }
}
@media (max-width: 780px) {
  .inner-hero { min-height: 490px; }
  .inner-hero-content { padding: 130px 0 95px; }
  .inner-hero h1 { font-size: clamp(48px, 10vw, 76px); }
  .inner-hero-content > p { font-size: 14px; }
  .vote-grid { grid-template-columns: 1fr 1fr; }
  .vote-card:last-child { grid-column: 1 / -1; }
  .vote-note { grid-template-columns: 50px 1fr; }
  .vote-note a { grid-column: 2; }
  .rankings-intro { align-items: start; flex-direction: column; }
  .rankings-layout { grid-template-columns: 1fr; }
  .metric-panel { padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-panel [data-metric-list] { display: flex; overflow-x: auto; }
  .metric-option { width: auto; min-width: max-content; padding: 0 14px; }
  .metric-heading { padding: 0 0 10px; }
  .metric-help { display: none; }
  .realm-tab { min-height: 80px; padding: 12px; gap: 8px; }
  .realm-tab-number { width: 42px; height: 42px; flex-basis: 42px; }
  .realm-tab-copy strong { font-size: 20px; }
  .realm-tab-copy small { display: none; }
  .realm-tab.coming-soon .realm-tab-copy small { display: block; font-size: 9px; }
}
@media (max-width: 560px) {
  .inner-hero { min-height: 450px; }
  .inner-hero::after { background: linear-gradient(90deg, rgba(3,30,38,.89), rgba(4,64,59,.5)), linear-gradient(0deg,rgba(3,38,42,.53),transparent); }
  .inner-hero-content { padding: 115px 0 80px; }
  .inner-hero h1, .leaderboards-hero h1 { font-size: clamp(43px, 12vw, 62px); }
  .inner-hero-content > p { font-size: 13px; }
  .inner-hero-actions .button { flex: 1 1 145px; padding: 0 12px; font-size: 11px; }
  .vote-grid, .vote-steps { grid-template-columns: 1fr; }
  .vote-card, .vote-card:last-child { min-height: 275px; grid-column: auto; }
  .vote-card-icon { margin-bottom: 17px; }
  .vote-note { padding: 19px; gap: 10px; }
  .vote-note p { font-size: 10px; }
  .vote-note a { font-size: 10px; }
  .vote-steps article { padding: 22px; }
  .rankings-section { padding-top: 62px; }
  .rankings-intro h2 { font-size: 52px; }
  .realm-tabs { gap: 6px; }
  .realm-tab { display: grid; padding: 11px 5px; justify-items: center; text-align: center; }
  .realm-tab-number { width: 36px; height: 36px; }
  .realm-tab-copy strong { font-size: 16px; }
  .rankings-layout { border-radius: 18px; }
  .rankings-main { padding: 18px 12px; }
  .rankings-toolbar { align-items: stretch; flex-direction: column; }
  .rankings-toolbar h3 { font-size: 29px; }
  .rankings-search { width: 100%; }
  .podium { gap: 5px; }
  .podium-card { min-height: 150px; padding: 12px 3px; }
  .podium-1 { min-height: 168px; }
  .podium-avatar { width: 49px; height: 49px; font-size: 18px; }
  .podium-1 .podium-avatar { width: 55px; height: 55px; }
  .podium-name { font-size: 10px; }
  .podium-score { font-size: 9px; }
  .rankings-table th, .rankings-table td { padding-right: 5px; padding-left: 5px; }
  .rankings-table td:first-child { width: 39px; font-size: 10px; }
  .rank-player { gap: 5px; }
  .rank-player strong { font-size: 10px; }
  .rank-avatar { width: 25px; height: 25px; flex-basis: 25px; font-size: 9px; }
  .rank-score { font-size: 10px; }
  .rankings-disclaimer { text-align: left; }
}

/* Discord account experience */
[hidden] { display: none !important; }
.auth-stage, .dashboard-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: #073d3d; }
.auth-stage::before, .dashboard-hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: var(--season-banner) center/cover no-repeat; }
.auth-stage::after, .dashboard-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,29,37,.9), rgba(4,62,59,.58) 55%, rgba(3,36,42,.46)), linear-gradient(0deg,rgba(3,31,37,.72),transparent 65%); }
.auth-stage .hero-edge, .dashboard-hero .hero-edge { background: var(--page); }
.auth-stage { display: flex; min-height: 100dvh; align-items: center; }
.auth-layout { display: grid; padding: 135px 0 100px; align-items: center; grid-template-columns: minmax(0,1fr) minmax(350px,450px); gap: clamp(30px,5vw,80px); }
.auth-intro .eyebrow, .dashboard-hero .eyebrow { color: #9cf1ed; }
.auth-intro h1, .dashboard-hero h1 { margin: 0 0 20px; font-size: clamp(58px,6.7vw,100px); line-height: .91; text-transform: uppercase; text-shadow: 0 10px 25px rgba(1,29,36,.26); }
.auth-intro h1 span, .dashboard-hero h1 span { color: var(--primary); }
.auth-intro > p, .dashboard-hero p { max-width: 560px; color: #d1eeeb; font-size: 17px; line-height: 1.65; }
.auth-benefits { display: grid; margin-top: 32px; gap: 12px; }
.auth-benefits span { display: flex; align-items: center; gap: 12px; color: #edfafa; font-size: 12px; font-weight: 900; }
.auth-benefits i { display: block; width: 10px; height: 10px; background: var(--lime); border: 2px solid #c5ff87; border-radius: 50%; box-shadow: 0 0 0 4px rgba(138,220,50,.15); }
.auth-card { position: relative; padding: 35px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); color: var(--ink); background: var(--surface-raised); border-radius: 26px; box-shadow: 0 28px 75px rgba(0,23,30,.35); }
.auth-card::after { position: absolute; top: -85px; right: -100px; width: 250px; height: 250px; content: ""; border: 1px solid rgba(35,205,226,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(35,205,226,.045), 0 0 0 80px rgba(35,205,226,.025); pointer-events: none; }
.auth-card > img { width: 78px; height: 78px; margin-bottom: 14px; object-fit: contain; }
.auth-card-kicker { display: block; color: var(--aqua-deep); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.auth-card h2 { margin: 6px 0 12px; font-size: 50px; }
.auth-card > p:not(.auth-message) { max-width: 370px; color: var(--muted); font-size: 13px; }
.auth-discord-button { width: 100%; margin-top: 23px; justify-content: space-between; color: #fff; background: linear-gradient(110deg, #5865f2, #7785fa); box-shadow: 0 5px 0 #434fbc, 0 12px 25px rgba(58,67,156,.23); }
.auth-discord-button:hover { color: #fff; filter: brightness(1.06); }
.auth-discord-button svg:first-child { width: 23px; height: 23px; }
.auth-discord-button[aria-disabled="true"] { opacity: .62; cursor: not-allowed; pointer-events: none; }
.auth-message { min-height: 21px; margin: 17px 0 0; color: var(--aqua-deep); font-size: 11px; font-weight: 800; }
.auth-card-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.auth-footer { color: #95bdbe; background: var(--navy-deep); }
.auth-footer .shell { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 18px; font-size: 10px; font-weight: 800; }
.auth-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); }

.dashboard-hero { min-height: 430px; }
.dashboard-hero-inner { display: flex; min-height: 430px; padding: 150px 0 95px; align-items: end; justify-content: space-between; gap: 28px; }
.dashboard-hero h1 { font-size: clamp(54px,6.2vw,91px); }
.dashboard-hero p { max-width: 625px; margin-bottom: 0; font-size: 15px; }
.dashboard-person { display: flex; min-width: 270px; padding: 15px; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.23); background: rgba(3,47,57,.79); border-radius: 19px; box-shadow: 0 15px 30px rgba(1,29,35,.2); backdrop-filter: blur(12px); }
.dashboard-avatar { display: grid; width: 61px; height: 61px; flex: 0 0 61px; color: #fff; background: linear-gradient(135deg,var(--primary),var(--primary-deep)); border: 3px solid rgba(255,255,255,.5); border-radius: 16px; font-family: var(--display); font-size: 25px; place-items: center; }
.dashboard-person div:last-child { display: flex; min-width: 0; flex-direction: column; }
.dashboard-person small { color: #9ce9ec; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.dashboard-person strong { overflow: hidden; font-family: var(--display); font-size: 22px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-person span { color: #c8e2df; font-size: 10px; }
.dashboard-main { padding-top: 80px; }
.dashboard-heading { display: flex; margin-bottom: 32px; align-items: end; justify-content: space-between; gap: 20px; }
.dashboard-heading h2 { margin: 0; }
.dashboard-heading h2 span { color: var(--aqua-deep); }
.dashboard-logout { display: inline-flex; padding: 9px 0; align-items: center; gap: 8px; border: 0; color: var(--aqua-deep); background: transparent; font-size: 12px; font-weight: 900; cursor: pointer; }
.dashboard-logout:hover { color: var(--ink); }
.dashboard-feedback { color: var(--coral); font-size: 12px; font-weight: 900; }
.dashboard-feedback:empty { display: none; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.dashboard-tile { position: relative; display: flex; min-height: 360px; padding: 29px; overflow: hidden; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); background: var(--surface-raised); border-radius: 23px; box-shadow: var(--shadow); }
.dashboard-tile::after { position: absolute; right: -40px; bottom: -50px; width: 170px; height: 170px; content: ""; border: 1px solid rgba(35,205,226,.13); border-radius: 50%; box-shadow: 0 0 0 28px rgba(35,205,226,.045); pointer-events: none; }
.dashboard-tile-label { color: var(--aqua-deep); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.dashboard-tile h3 { margin: 29px 0 10px; font-size: 33px; text-transform: uppercase; }
.dashboard-tile p { max-width: 430px; color: var(--muted); font-size: 12px; }
.profile-tile dl { display: grid; width: 100%; margin: auto 0 0; }
.profile-tile dl div { display: flex; padding: 10px 0; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 10px; }
.profile-tile dt { color: var(--muted); }
.profile-tile dd { max-width: 60%; margin: 0; overflow: hidden; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-tile-bottom { display: flex; width: 100%; margin-top: auto; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.dashboard-pill { padding: 7px 10px; color: var(--navy-deep); background: var(--primary); border-radius: 100px; font-size: 9px; font-weight: 900; }
.dashboard-tile-bottom button { display: inline-flex; padding: 8px 0; align-items: center; gap: 6px; border: 0; color: var(--aqua-deep); background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; }
.dashboard-links { display: grid; width: 100%; margin-top: auto; gap: 9px; }
.dashboard-links a { display: flex; padding: 12px 15px; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: var(--page); border-radius: 12px; font-size: 11px; font-weight: 900; transition: transform .2s ease; }
.dashboard-links a:hover { transform: translateX(3px); }
.dashboard-links svg { color: var(--aqua-deep); }
.dashboard-feed-tile { grid-column: span 2; }
.personal-feed,.notification-list { display: grid; width: 100%; gap: 8px; margin-top: auto; }
.personal-feed > a,.notification-row { display: flex; padding: 11px 13px; align-items: center; justify-content: space-between; gap: 8px; background: var(--page); border: 1px solid var(--line); border-radius: 11px; }
.personal-feed > a { display: grid; }
.personal-feed strong,.notification-row strong { display: block; color: var(--ink); font-size: 12px; }
.personal-feed small,.notification-row small { display: block; color: var(--muted); font-size: 9px; text-transform: capitalize; }
.notification-row.unread { border-color: var(--aqua-deep); box-shadow: inset 3px 0 var(--aqua-deep); }
.notification-row a { min-width: 0; flex: 1; }
.notification-row button { border: 0; color: var(--aqua-deep); background: transparent; cursor: pointer; font-size: 18px; }
.dashboard-inbox-tile h3 small { display: inline-grid; min-width: 23px; height: 23px; padding: 0 5px; place-items: center; color: var(--navy-deep); background: var(--primary); border-radius: 100px; font-family: var(--body); font-size: 10px; vertical-align: middle; }
.dashboard-inbox-tile h3 small:empty { display: none; }
.dashboard-inline-link { margin-top: 16px; padding: 0; border: 0; color: var(--aqua-deep); background: transparent; cursor: pointer; font: inherit; font-size: 11px; font-weight: 900; }
.realm-choice-list { display: grid; width: 100%; gap: 8px; margin-top: auto; }
.realm-choice-list button { display: flex; padding: 10px 13px; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--page); border-radius: 11px; cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.realm-choice-list button:hover { transform: translateX(3px); border-color: var(--aqua-deep); }
.realm-choice-list button[aria-pressed="true"] { border-color: var(--aqua-deep); background: rgba(35,205,226,.15); box-shadow: inset 3px 0 var(--aqua-deep); }
.realm-choice-list strong { font-family: var(--display); font-size: 17px; font-weight: 400; text-transform: uppercase; }
.realm-choice-list small { color: var(--muted); font-size: 9px; font-weight: 800; }
.realm-choice-current { margin-top: 11px; color: var(--aqua-deep); font-size: 10px; font-weight: 900; }
.staff-tile { min-height: 230px; grid-column: 1 / -1; color: #fff; background: linear-gradient(110deg,#073d3d,#087b6b); }
.staff-tile .dashboard-tile-label { color: var(--primary); }
.staff-tile h3 { margin-top: 17px; }
.staff-tile p { color: #cbe8e5; }
.staff-tile .button { margin-top: 12px; }
.dashboard-panel-pending { color: #b4dddf; font-size: 11px; font-weight: 800; }
html[data-theme="dark"] .auth-card-kicker, html[data-theme="dark"] .auth-message, html[data-theme="dark"] .dashboard-tile-label, html[data-theme="dark"] .dashboard-heading h2 span { color: var(--aqua); }

@media (max-width: 1080px) {
  .auth-layout { grid-template-columns: 1fr 400px; gap: 25px; }
  .dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .explore-tile { grid-column: 1 / -1; min-height: 250px; }
  .dashboard-inbox-tile { grid-column: span 2; }
}
@media (max-width: 780px) {
  .auth-layout { padding-top: 125px; grid-template-columns: 1fr; }
  .auth-intro h1 { font-size: clamp(54px,11vw,82px); }
  .auth-intro > p { font-size: 14px; }
  .auth-benefits { margin-top: 20px; }
  .auth-card { width: min(490px,100%); }
  .dashboard-hero-inner { align-items: flex-start; flex-direction: column; }
  .dashboard-hero h1 { font-size: clamp(52px,9vw,76px); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .explore-tile { grid-column: auto; }
  .dashboard-feed-tile,.dashboard-inbox-tile { grid-column: auto; }
  .dashboard-tile { min-height: 280px; }
  .staff-tile { grid-column: auto; }
}
@media (max-width: 560px) {
  .login-page, .dashboard-page { padding-bottom: 0; }
  .auth-layout { padding: 112px 0 65px; }
  .auth-intro h1 { font-size: clamp(47px,12vw,64px); }
  .auth-intro > p { font-size: 13px; }
  .auth-benefits span { font-size: 10px; }
  .auth-card { padding: 25px; }
  .auth-card h2 { font-size: 45px; }
  .dashboard-hero-inner { padding: 125px 0 75px; }
  .dashboard-hero h1 { font-size: clamp(45px,11vw,60px); }
  .dashboard-hero p { font-size: 12px; }
  .dashboard-person { width: 100%; }
  .dashboard-heading h2 { font-size: 51px; }
  .dashboard-tile { padding: 24px; }
  .auth-footer .shell { min-height: 70px; font-size: 9px; }
}

/* FableSeason visual identities. The light/dark preference remains independent. */
html[data-season="halloween"] {
  --season-banner: url('/assets/fablenetwork-halloween.png');
  --primary: #ffa33e; --primary-deep: #fa7429; --aqua: #c694fb; --aqua-deep: #8354ba;
  --lime: #a7d750; --coral: #f06a8b; --navy: #311c40; --navy-deep: #1b102a;
  --ink: #3c2745; --muted: #786b7e; --page: #f8f0e8; --surface: #fffaf5;
  --surface-raised: #fffdf9; --line: rgba(77,42,86,.13); --line-strong: rgba(77,42,86,.22);
  --shadow: 0 18px 44px rgba(61,28,68,.13); --shadow-hover: 0 25px 54px rgba(61,28,68,.23);
}
html[data-season="halloween"][data-theme="dark"] {
  --ink: #f4eaf5; --muted: #c2aaca; --page: #150e20; --surface: #21142e;
  --surface-raised: #2b1939; --line: rgba(230,199,246,.13); --line-strong: rgba(230,199,246,.25);
  --aqua-deep: #c694fb; --shadow: 0 18px 44px rgba(5,2,9,.34);
}
html[data-season="christmas"] {
  --season-banner: url('/assets/fablenetwork-christmas.png');
  --primary: #ffdb67; --primary-deep: #f2b83e; --aqua: #8fe2f0; --aqua-deep: #158eaa;
  --lime: #58cf8e; --coral: #e65761; --navy: #123d46; --navy-deep: #0b2935;
  --ink: #183e47; --muted: #647e82; --page: #f0f7f5; --surface: #fafffc;
  --surface-raised: #fff; --line: rgba(17,77,76,.12); --line-strong: rgba(17,77,76,.22);
  --shadow: 0 18px 44px rgba(16,68,65,.13); --shadow-hover: 0 25px 54px rgba(16,68,65,.21);
}
html[data-season="christmas"][data-theme="dark"] {
  --ink: #eaf8f6; --muted: #a6c5c3; --page: #0b202b; --surface: #102f38;
  --surface-raised: #163943; --line: rgba(198,235,227,.13); --line-strong: rgba(198,235,227,.23);
  --aqua-deep: #8fe2f0; --shadow: 0 18px 44px rgba(3,13,17,.32);
}
html[data-season="easter"] {
  --season-banner: url('/assets/fablenetwork-easter.png');
  --primary: #ffc5e1; --primary-deep: #f58cbd; --aqua: #7bdfea; --aqua-deep: #128fa9;
  --lime: #91d665; --coral: #f178ad; --navy: #214d5b; --navy-deep: #153946;
  --ink: #244c57; --muted: #6a8588; --page: #fff9f2; --surface: #fffefb;
  --surface-raised: #fff; --line: rgba(35,96,98,.12); --line-strong: rgba(35,96,98,.21);
  --shadow: 0 18px 44px rgba(44,101,100,.12); --shadow-hover: 0 25px 54px rgba(44,101,100,.2);
}
html[data-season="easter"][data-theme="dark"] {
  --ink: #ebf9f7; --muted: #acc9c9; --page: #122d35; --surface: #1a3941;
  --surface-raised: #21454d; --line: rgba(206,238,229,.13); --line-strong: rgba(206,238,229,.24);
  --aqua-deep: #87e4ef; --shadow: 0 18px 44px rgba(4,19,22,.34);
}
html[data-season="halloween"] body { background: radial-gradient(circle at 4% 17%,rgba(250,116,41,.12),transparent 25rem),radial-gradient(circle at 95% 43%,rgba(166,100,230,.12),transparent 29rem),var(--page); }
html[data-season="christmas"] body { background: radial-gradient(circle at 4% 17%,rgba(230,87,97,.09),transparent 25rem),radial-gradient(circle at 95% 43%,rgba(88,207,142,.11),transparent 29rem),var(--page); }
html[data-season="easter"] body { background: radial-gradient(circle at 4% 17%,rgba(241,120,173,.12),transparent 25rem),radial-gradient(circle at 95% 43%,rgba(145,214,101,.12),transparent 29rem),var(--page); }
html[data-season="halloween"] .nav-shell, html[data-season="halloween"] .scrolled .nav-shell, html[data-season="halloween"] .staff-header { background: rgba(29,16,43,.96); }
html[data-season="christmas"] .nav-shell, html[data-season="christmas"] .scrolled .nav-shell, html[data-season="christmas"] .staff-header { background: rgba(9,43,49,.96); }
html[data-season="easter"] .nav-shell, html[data-season="easter"] .scrolled .nav-shell, html[data-season="easter"] .staff-header { background: rgba(21,65,73,.94); }
html[data-season="halloween"] .hero, html[data-season="halloween"] .inner-hero { background-color: #44214d; }
html[data-season="christmas"] .hero, html[data-season="christmas"] .inner-hero { background-color: #177c91; }
html[data-season="easter"] .hero, html[data-season="easter"] .inner-hero { background-color: #39aaca; }
html[data-season="halloween"] .hero-wash, html[data-season="halloween"] .inner-hero::after, html[data-season="halloween"] .auth-stage::after, html[data-season="halloween"] .dashboard-hero::after { background: linear-gradient(90deg,rgba(25,9,40,.84),rgba(43,18,56,.62) 48%,rgba(31,12,45,.11)),linear-gradient(0deg,rgba(23,9,34,.58),transparent 60%); }
html[data-season="christmas"] .hero-wash, html[data-season="christmas"] .inner-hero::after, html[data-season="christmas"] .auth-stage::after, html[data-season="christmas"] .dashboard-hero::after { background: linear-gradient(90deg,rgba(8,46,55,.84),rgba(10,67,74,.56) 48%,rgba(7,53,64,.09)),linear-gradient(0deg,rgba(8,43,49,.56),transparent 60%); }
html[data-season="easter"] .hero-wash, html[data-season="easter"] .inner-hero::after, html[data-season="easter"] .auth-stage::after, html[data-season="easter"] .dashboard-hero::after { background: linear-gradient(90deg,rgba(13,58,69,.78),rgba(17,79,90,.5) 48%,rgba(23,75,84,.06)),linear-gradient(0deg,rgba(16,58,69,.54),transparent 60%); }
html[data-season="halloween"] :is(.announcement-inner,.bento-live,.journey-card,.feature-card.featured,.staff-hero) { background: radial-gradient(circle at 82% 18%,rgba(255,145,47,.28),transparent 35%),linear-gradient(120deg,#281436,#563071); }
html[data-season="christmas"] :is(.announcement-inner,.bento-live,.journey-card,.feature-card.featured,.staff-hero) { background: radial-gradient(circle at 82% 18%,rgba(231,75,84,.28),transparent 35%),linear-gradient(120deg,#0d4044,#177c73); }
html[data-season="easter"] :is(.announcement-inner,.bento-live,.journey-card,.feature-card.featured,.staff-hero) { background: radial-gradient(circle at 82% 18%,rgba(246,145,194,.35),transparent 35%),linear-gradient(120deg,#1a6372,#389a9c); }
html[data-season="halloween"] .server-card { background: rgba(33,17,47,.94); }
html[data-season="christmas"] .server-card { background: rgba(9,54,57,.94); }
html[data-season="easter"] .server-card { background: rgba(14,67,75,.94); }
html[data-season]:not([data-season="normal"]) .button-primary { color: var(--navy-deep); background: linear-gradient(135deg,var(--primary),var(--primary-deep)); box-shadow: 0 5px 0 rgba(47,24,37,.28),0 13px 24px rgba(47,24,37,.18); }
html[data-season]:not([data-season="normal"]) .button-primary:hover { color: var(--navy-deep); box-shadow: 0 6px 0 rgba(47,24,37,.28),0 16px 28px rgba(47,24,37,.22); }
html[data-season]:not([data-season="normal"]) .nav-store:hover { background: var(--primary-deep); }
html[data-season]:not([data-season="normal"]) :is(.nav-store,.status-icon,.dashboard-avatar) { color: var(--navy-deep); }
html[data-season]:not([data-season="normal"]) .status-icon { background: linear-gradient(145deg,var(--primary),var(--primary-deep)); }
html[data-season]:not([data-season="normal"]) .nav-brand small { color: var(--aqua); }
html[data-season="halloween"] .community-panel { background: linear-gradient(125deg,#51346f,#69458a); }
html[data-season="christmas"] .community-panel { background: linear-gradient(125deg,#15626c,#235988); }
html[data-season="easter"] .community-panel { background: linear-gradient(125deg,#4394a6,#7067b9); }
html[data-season]:not([data-season="normal"]) .bento-version { background: linear-gradient(145deg,var(--surface),var(--page)); }
html[data-season]:not([data-season="normal"]) .bento-community { background: linear-gradient(145deg,var(--surface-raised),var(--page)); }
.season-badge { display: inline-flex; margin: 0 0 18px; padding: 7px 12px; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(18,32,45,.58); border-radius: 100px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(10px); }
.season-badge::before { width: 7px; height: 7px; content: ""; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.13); }
.season-badge[hidden] { display: none; }
