@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&display=swap');

:root {
  --z-bg: #080d17;
  --z-panel: #101827;
  --z-panel-blue: #142b46;
  --z-line: #2c3c51;
  --z-white: #f3f6ff;
  --z-muted: #a6b1c0;
  --z-gold: #e6c563;
  --z-blue: #2d8bd3;
}

html { scroll-behavior: smooth; }
body.zeus-home, body.zeus-staff, body.zeus-updates {
  background: var(--z-bg) !important;
  color: var(--z-white);
  font-family: Barlow, 'Segoe UI', sans-serif !important;
}
body .background, body .particles { display: none !important; }
body #loader { display: none !important; }
body .zeus-network { display: none !important; }
body a:focus-visible, body button:focus-visible, body input:focus-visible {
  outline: 2px solid var(--z-gold) !important; outline-offset: 3px;
}

/* The store's quiet, ruled navigation replaces the old floating glass bar. */
body nav.navbar {
  height: 78px !important;
  background: #080d17 !important;
  border: 0 !important;
  border-bottom: 2px solid var(--z-gold) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body nav.navbar > div { height: 76px !important; max-width: 1440px !important; padding-inline: clamp(20px, 4vw, 58px) !important; }
body nav.navbar .brand { gap: 7px; }
body nav.navbar .brand-logo, body nav.navbar .navbar-logo {
  width: 53px !important; height: 53px !important; max-height: 53px !important;
  object-fit: contain; filter: none !important;
}
body nav.navbar .brand-name {
  font: 900 24px/1 Barlow, sans-serif !important; letter-spacing: -.045em !important;
  color: var(--z-white) !important; text-shadow: none !important;
}
body nav.navbar .brand-name span { color: var(--z-gold); }
body nav.navbar .nav-link {
  font: 700 12px/1 Barlow, sans-serif !important; letter-spacing: .13em !important;
  color: #b5c0cf !important; text-shadow: none !important;
  border: 0 !important; padding-block: 26px !important;
}
body nav.navbar .nav-link:hover, body nav.navbar .nav-link.text-white { color: var(--z-white) !important; }
body nav.navbar .social-icon { color: #aeb8c6 !important; font-size: 16px !important; }
body nav.navbar .social-icon:hover { color: var(--z-gold) !important; transform: none !important; }
body nav.navbar .login-nav-button {
  border: 1px solid var(--z-line) !important; border-radius: 0 !important;
  background: transparent !important; color: var(--z-white) !important;
  box-shadow: none !important; font: 700 12px Barlow, sans-serif !important;
  letter-spacing: .08em !important; min-height: 40px;
}
body nav.navbar .login-nav-button:hover { border-color: var(--z-gold) !important; }
body nav.navbar .player-search-live-input { font: 500 12px Barlow, sans-serif !important; }

.zeus-hero, .modes-section, .numbers-section, .social-section {
  position: relative; z-index: 2; width: min(1360px, calc(100% - 80px)); margin-inline: auto;
}
.zeus-hero { padding-top: 130px; }
.hero-frame { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr); min-height: 570px; }
.hero-copy {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(36px, 5.2vw, 80px) clamp(30px, 5.2vw, 72px);
  background: #101b2c; border: 1px solid #2b3d56; border-left: 4px solid var(--z-blue);
}
.eyebrow, .section-topline, .mode-number, .art-index, .art-caption {
  font: 800 11px/1.2 Barlow, sans-serif; letter-spacing: .19em;
  color: #b7c4d4;
}
.eyebrow { display: flex; justify-content: space-between; align-self: stretch; gap: 12px; }
.eyebrow span:last-child { color: var(--z-gold); }
.hero-wordmark {
  margin: 64px 0 0; font: italic 900 clamp(82px, 10vw, 158px)/.9 Barlow, sans-serif;
  letter-spacing: -.06em; color: var(--z-white); white-space: nowrap; transform: skew(-4deg);
}
.hero-wordmark span { color: var(--z-gold); }
.hero-rule { width: 64px; height: 4px; background: var(--z-gold); margin-top: 46px; }
.hero-lead { margin: 30px 0 0; font: 800 clamp(27px, 3vw, 42px)/1 Barlow, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.hero-description { color: #b8c5d4; max-width: 455px; font-size: 17px; line-height: 1.5; margin: 16px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: auto; padding-top: 38px; }
.hero-actions button { border-radius: 0 !important; box-shadow: none !important; transform: none !important; transition: background .18s ease, border-color .18s ease !important; }
.hero-actions .ip-button {
  min-width: 244px; min-height: 69px; display: grid !important; grid-template-columns: 1fr auto;
  column-gap: 24px; text-align: left; padding: 10px 19px !important;
  background: var(--z-gold) !important; border: 1px solid var(--z-gold) !important; color: #101827 !important;
}
.hero-actions .ip-button:hover { background: #f4d47a !important; }
.hero-actions .ip-button .button-overline { grid-column: 1; font: 800 10px/1 Barlow, sans-serif; letter-spacing: .15em; }
.hero-actions .ip-button strong { grid-column: 1; font: 900 26px/1 Barlow, sans-serif; letter-spacing: -.03em; }
.hero-actions .ip-button i { grid-column: 2; grid-row: 1 / 3; place-self: center; font-size: 18px; }
.hero-actions .join-button {
  min-height: 69px; display: flex; gap: 28px; align-items: center; justify-content: space-between;
  padding: 18px 23px !important; border: 1px solid #526278 !important;
  background: transparent !important; color: var(--z-white) !important;
  font: 800 12px Barlow, sans-serif !important; letter-spacing: .12em;
}
.hero-actions .join-button:hover { border-color: var(--z-gold) !important; }
.copy-message { margin: 10px 0 0; height: 18px; font-size: 12px; color: var(--z-gold); opacity: 0; }
.hero-art {
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid #2b3d56; border-left: 0;
  background: linear-gradient(142deg, #102036 0%, #0b1525 52%, #101b2e 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(118deg, transparent 0 54%, rgba(45,139,211,.10) 54% 72%, transparent 72%); }
.hero-art::after { content: ''; position: absolute; width: 80%; height: 1px; bottom: 70px; background: #2f465f; }
.hero-crest { width: min(86%, 550px); height: auto; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.3)); }
.art-index { position: absolute; top: 32px; left: 36px; color: var(--z-gold); }
.art-caption { position: absolute; bottom: 34px; right: 34px; }
.hero-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 30px; min-height: 67px;
  padding: 12px 24px; background: #0d1522; border: 1px solid #2b3d56; border-top: 0;
  font: 800 11px/1.2 Barlow, sans-serif; letter-spacing: .13em;
}
.hero-status > div { display: flex; align-items: center; gap: 9px; }
.hero-status #serverStatus { text-transform: uppercase; }
.hero-status #playerCount { color: var(--z-white); font-size: 19px; letter-spacing: 0; }
.hero-status .status-light { width: 8px; height: 8px; border-radius: 50%; background: #7f8d9e; }
.hero-status .status-light.online-dot { background: #79cfa7; box-shadow: none; }
.hero-status a { color: var(--z-gold); text-decoration: none; margin-left: auto; }
.hero-status a:hover { color: #fff; }

.modes-section { padding-top: 100px; }
.section-topline { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--z-gold); }
.section-topline span:first-child { color: var(--z-gold); }
.mode-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); grid-template-rows: repeat(2, minmax(235px, auto)); gap: 18px; margin-top: 18px; }
.mode-card { position: relative; overflow: hidden; border: 1px solid #2b3b50; background: #101827; }
.mode-card h2 { margin: 0; color: var(--z-white); font: 900 clamp(27px, 3vw, 40px)/.95 Barlow, sans-serif; letter-spacing: -.035em; }
.mode-card p { margin: 12px 0 0; max-width: 290px; color: #b5c0ce; font-size: 14px; line-height: 1.4; }
.mode-card a { color: var(--z-gold); text-decoration: none; font-size: 14px; font-weight: 700; }
.mode-card a:hover { color: #fff; }
.mode-practice { grid-row: 1 / 3; display: grid; grid-template-columns: 1fr minmax(210px, .95fr); min-height: 490px; background: linear-gradient(125deg, #142f4e, #14253b); border-left: 4px solid var(--z-blue); }
.mode-practice .mode-text { padding: 54px 0 48px 50px; display: flex; flex-direction: column; align-items: flex-start; }
.mode-practice h2 { margin-top: 58px; font: italic 900 clamp(45px, 5.2vw, 76px)/.96 Barlow, sans-serif; }
.mode-practice h2 em { color: var(--z-gold); font-style: inherit; }
.mode-practice p { font-size: 16px; }
.mode-practice a { margin-top: auto; padding-top: 26px; }
.mode-practice img { width: min(90%, 310px); height: auto; align-self: center; justify-self: center; filter: drop-shadow(0 20px 17px rgba(0,0,0,.32)); }
.mode-smp, .mode-minigames { display: grid; grid-template-columns: 150px 1fr; align-items: center; padding: 24px; gap: 14px; }
.mode-smp .mode-number, .mode-minigames .mode-number { position: absolute; top: 22px; left: 28px; }
.mode-smp img, .mode-minigames img { width: 145px; height: 145px; object-fit: contain; margin-top: 18px; }
.mode-smp a, .mode-minigames a { display: inline-block; margin-top: 24px; }

.numbers-section { padding-top: 100px; }
.number-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.number-card { min-height: 245px; padding: 27px 31px 30px; border: 1px solid var(--z-line); background: #101827; display: flex; flex-direction: column; align-items: flex-start; }
.number-card:nth-child(2) { background: #142b46; border-top: 3px solid var(--z-blue); }
.number-index { color: var(--z-gold); font: 800 11px Barlow, sans-serif; letter-spacing: .19em; }
.number-card strong { display: block; margin-top: 28px; color: var(--z-white); font: italic 900 clamp(45px, 5.3vw, 81px)/.85 Barlow, sans-serif; letter-spacing: -.06em; }
.number-card strong span { color: var(--z-gold); font-size: .55em; margin-left: 3px; }
.number-card h2 { margin: 15px 0 0; color: var(--z-gold); font: 800 12px Barlow, sans-serif; letter-spacing: .15em; }
.number-card p { margin: 13px 0 0; color: #a9b6c6; font-size: 14px; line-height: 1.35; }
.number-note { margin: 15px 0 0; color: #7f8da1; font: 500 12px/1.4 Barlow, sans-serif; }

.social-section { margin-block: 90px 105px; border: 1px solid #34445d; background: #0b1422; overflow: hidden; }
.social-topline, .social-bottomline { display: flex; justify-content: space-between; gap: 20px; padding: 16px 26px; color: #b5c4d7; font: 800 11px/1.2 Barlow,sans-serif; letter-spacing: .18em; }
.social-topline { border-bottom: 1px solid #34445d; }
.social-topline span:last-child { color: var(--z-gold); }
.social-bottomline { border-top: 1px solid #34445d; color: #7f91a8; }
.social-bottomline span:nth-child(2) { color: var(--z-gold); }
.social-body { display: grid; grid-template-columns: 1fr .86fr; min-height: 470px; }
.social-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(38px, 5vw, 75px); }
.social-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--z-gold); font: 800 11px Barlow,sans-serif; letter-spacing: .18em; }
.social-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--z-gold); box-shadow: 0 0 12px var(--z-gold); }
.social-copy h2 { margin: 23px 0 0; color: #fff; font: italic 900 clamp(62px, 6.4vw, 105px)/.9 Barlow,sans-serif; letter-spacing: -.045em; }
.social-copy h2 em { color: var(--z-gold); font-style: inherit; }
.social-copy p { max-width: 520px; margin: 28px 0 0; color: #b9c8d9; font: 500 17px/1.55 Barlow,sans-serif; }
.social-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; min-width: 252px; min-height: 58px; margin-top: 34px; padding: 14px 19px; background: var(--z-gold); color: #0c1420; text-decoration: none; font: 900 13px Barlow,sans-serif; letter-spacing: .1em; transition: background .18s ease, transform .18s ease; }
.social-cta:hover { color: #0c1420; background: #fff; transform: translateY(-2px); }
.social-cta span:last-child { font-size: 21px; line-height: .8; }
.social-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 470px; padding: 20px 24px; border-left: 1px solid #34445d; background: linear-gradient(90deg,rgba(4,10,18,.34),rgba(4,10,18,.12)),linear-gradient(0deg,rgba(4,10,18,.78),transparent 35%,rgba(4,10,18,.55)),url('images/bg.png') center/cover; }
.social-visual-top, .social-visual-bottom { display: flex; justify-content: space-between; gap: 15px; color: #fff; font: 900 11px Barlow,sans-serif; letter-spacing: .18em; text-shadow: 0 2px 8px #07101c; }
.social-play { display: grid; place-items: center; align-self: center; width: 86px; height: 86px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: rgba(7,17,30,.35); font: italic 900 44px Barlow,sans-serif; box-shadow: 0 12px 40px rgba(0,0,0,.4); }

.zeus-footer { position: relative; z-index: 20; background: #0d1420; border-top: 2px solid var(--z-gold); padding: 44px max(40px, calc((100vw - 1360px)/2)) 20px; color: var(--z-white); }
.footer-inner { display: flex; justify-content: space-between; gap: 35px; align-items: start; }
.footer-brand { display: grid; grid-template-columns: 50px auto; column-gap: 7px; align-items: center; }
.footer-brand img { width: 50px; height: 50px; object-fit: contain; }
.footer-brand strong { font: 900 27px Barlow, sans-serif; letter-spacing: -.06em; }
.footer-brand strong span { color: var(--z-gold); }
.footer-brand p { grid-column: 1 / -1; color: var(--z-muted); margin: 11px 0 0; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 15px 25px; max-width: 600px; padding-top: 17px; }
.footer-nav a { color: #b3becc; text-decoration: none; font: 800 11px Barlow, sans-serif; letter-spacing: .12em; }
.footer-nav a:hover { color: var(--z-gold); }
.footer-bottom-new { border-top: 1px solid var(--z-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 42px; padding-top: 18px; color: #8290a2; font-size: 12px; }

/* Secondary pages keep their database-driven content but share the storefront's type and surfaces. */
body.zeus-staff main, body.zeus-updates main { padding-top: 160px !important; min-height: 65vh; }
body.zeus-staff main > div, body.zeus-updates main > div { max-width: 1360px !important; }
body .page-header { border-bottom: 2px solid var(--z-gold); padding-bottom: 35px; margin-bottom: 40px !important; }
body .page-header::before { content: 'ZEUSPVP NETWORK / COMMUNITY'; display: block; margin-bottom: 22px; color: var(--z-gold); font: 800 11px Barlow, sans-serif; letter-spacing: .2em; }
body .page-title { color: var(--z-white) !important; font: italic 900 clamp(64px, 7vw, 110px)/.94 Barlow, sans-serif !important; letter-spacing: -.035em !important; text-shadow: none !important; }
body .page-description { color: #b2bfcd !important; font: 500 19px/1.4 Barlow, sans-serif !important; max-width: 600px; margin-top: 20px !important; }
body .staff-card, body .update-card { border: 1px solid var(--z-line) !important; border-radius: 0 !important; background: #101827 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
body.zeus-staff #databaseStaffSections { display: block; }
.roster-heading { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0 20px; border-top: 2px solid var(--z-gold); color: var(--z-gold); font: 800 11px Barlow, sans-serif; letter-spacing: .18em; }
.roster-heading span:last-child { color: #9aa9bc; }
.roster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.roster-card { min-width: 0; display: flex; align-items: stretch; background: #101827; border: 1px solid var(--z-line); border-left: 3px solid #2d8bd3; transition: border-color .18s ease, background .18s ease; }
.roster-card:hover { border-color: var(--z-gold); background: #15243a; }
.roster-person { min-width: 0; flex: 1; display: flex; align-items: center; text-align: left; gap: 14px; padding: 13px 14px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: var(--z-white) !important; box-shadow: none !important; transform: none !important; }
.roster-unlinked { cursor: default; }
.roster-avatar { flex: 0 0 55px; width: 55px; height: 55px; object-fit: contain; image-rendering: pixelated; background: #0a1423; border: 1px solid #2d4057; }
.roster-identity { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.roster-identity strong { overflow-wrap: anywhere; font: 800 18px/1 Barlow, sans-serif; letter-spacing: -.015em; }
.roster-identity small { color: var(--z-gold); font: 800 10px/1.2 Barlow, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.roster-discord { align-self: center; display: grid; place-items: center; width: 32px; height: 32px; margin-right: 12px; color: #aebfd3; border: 1px solid #34475d; text-decoration: none; }
.roster-discord:hover { color: var(--z-gold); border-color: var(--z-gold); }
body .staff-card:hover, body .update-card:hover { transform: translateY(-3px) !important; border-color: var(--z-gold) !important; box-shadow: none !important; }
body .staff-card::before, body .update-card::before { left: 0 !important; right: auto !important; top: 0 !important; width: 52px !important; height: 3px !important; transform: none !important; background: var(--z-gold) !important; box-shadow: none !important; opacity: 1 !important; }
body .update-card::after { display: none !important; }
body .update-card.featured { background: #142b46 !important; }

@media (max-width: 1100px) {
  body nav.navbar .player-search-wrap { display: none !important; }
  body nav.navbar > div > .hidden.md\:flex { gap: 18px !important; }
  .hero-wordmark { font-size: clamp(70px, 9vw, 115px); }
  .mode-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .mode-practice { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .mode-smp, .mode-minigames { grid-template-columns: 120px 1fr; }
  .mode-smp img, .mode-minigames img { width: 115px; height: 115px; }
  .number-card { padding-inline: 22px; }
  .number-card strong { font-size: clamp(40px, 4.7vw, 62px); }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body nav.navbar { height: 66px !important; }
  body nav.navbar > div { height: 64px !important; padding-inline: 18px !important; }
  body nav.navbar .brand-logo, body nav.navbar .navbar-logo { width: 43px !important; height: 43px !important; }
  body nav.navbar .brand-name { font-size: 20px !important; }
  body nav.navbar .social-icon { display: none !important; }
  body nav.navbar .login-nav-button { min-height: 37px; padding: 7px 10px !important; }
  body nav.navbar::after { display: none !important; }
  body nav.navbar > div > .hidden.md\:flex { display: flex !important; position: absolute; z-index: 2; top: 66px; left: 0; right: 0; height: 42px; overflow-x: auto; align-items: center; gap: 22px !important; padding: 0 18px; white-space: nowrap; scrollbar-width: none; background: #0d1522; border-bottom: 1px solid var(--z-line); }
  body nav.navbar > div > .hidden.md\:flex::-webkit-scrollbar { display: none; }
  body nav.navbar .nav-link { display: block !important; padding: 0 !important; font-size: 11px !important; }
  .zeus-hero, .modes-section, .numbers-section, .social-section { width: calc(100% - 32px); }
  .zeus-hero { padding-top: 136px; }
  .hero-frame { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 500px; padding: 30px 25px 34px; }
  .hero-wordmark { margin-top: 44px; font-size: clamp(66px, 16vw, 105px); }
  .hero-rule { margin-top: 30px; }
  .hero-lead { margin-top: 23px; }
  .hero-description { font-size: 16px; }
  .hero-actions { margin-top: 24px; padding-top: 0; }
  .hero-actions .ip-button { min-width: 200px; }
  .hero-art { min-height: 330px; border-left: 1px solid #2b3d56; border-top: 0; }
  .hero-crest { width: min(83%, 390px); }
  .hero-status { gap: 14px 24px; }
  .hero-status a { margin-left: 0; width: 100%; }
  .modes-section { padding-top: 65px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-practice { grid-column: auto; grid-template-columns: 1fr 135px; min-height: 350px; }
  .mode-practice .mode-text { padding: 29px 0 29px 23px; }
  .mode-practice h2 { margin-top: 40px; font-size: clamp(40px, 10vw, 61px); }
  .mode-practice img { width: 160px; margin-left: -25px; }
  .mode-smp, .mode-minigames { min-height: 185px; }
  .numbers-section { padding-top: 65px; }
  .number-grid { grid-template-columns: 1fr; }
  .number-card { min-height: 210px; }
  .number-card strong { font-size: clamp(58px, 14vw, 78px); }
  .social-section { margin-block: 68px 78px; }
  .social-topline, .social-bottomline { padding-inline: 18px; font-size: 9px; }
  .social-bottomline span:nth-child(2) { display: none; }
  .social-body { grid-template-columns: 1fr; }
  .social-copy { padding: 45px 25px 54px; }
  .social-copy h2 { font-size: clamp(56px, 12vw, 82px); }
  .social-copy p { font-size: 16px; }
  .social-visual { min-height: 320px; border-left: 0; border-top: 1px solid #34445d; }
  .zeus-footer { padding: 36px 20px 22px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { justify-content: start; padding-top: 0; }
  body.zeus-staff main, body.zeus-updates main { padding-top: 160px !important; }
  .roster-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .hero-wordmark { font-size: 15.1vw; }
  .hero-copy { min-height: 540px; }
  .hero-actions { width: 100%; }
  .hero-actions button { width: 100%; justify-content: space-between; }
  .mode-practice { grid-template-columns: 1fr 100px; }
  .mode-practice img { width: 132px; }
  .mode-smp, .mode-minigames { grid-template-columns: 90px 1fr; padding: 21px 16px; }
  .mode-smp img, .mode-minigames img { width: 90px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
