@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@700&display=swap');
html{
  scroll-behavior:smooth
}

body{
  background:
    radial-gradient(
      ellipse at 45% 20%,
      #052b3e,
      #020e17 75%
    )
}

.homepage-lower{
  position:relative;
  z-index:2;
  width:95.2%;
  margin:-12px auto 0;
  max-width:2400px
}

.surface{
  border:1px solid #16576b;
  border-radius:13px;
  background:
    linear-gradient(
      120deg,
      #052932ed,
      #01131bed
    );
  box-shadow:
    inset 0 1px #b8efff15,
    0 8px 25px #0004
}


/* =========================
   LIVE SERVER STATUS
   ========================= */

.server-bar{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  padding:15px;
  gap:0;
  scroll-margin-top:20px;
  overflow:hidden;
  background:
    linear-gradient(180deg,#031923d9,#010b12ef),
    repeating-linear-gradient(90deg,transparent 0 56px,#1e60731c 57px 58px),
    repeating-linear-gradient(0deg,transparent 0 28px,#1e60731a 29px 30px);
  backdrop-filter:blur(10px) saturate(115%);
  box-shadow:0 14px 34px #0008,inset 0 1px #8eeeff18;
}

.server-bar>*{position:relative;z-index:1}

.server-state{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right:18px
}

.server-state>i{
  display:grid;
  place-items:center;
  width:52px;
  height:56px;
  border-radius:10px;
  background:#064342;
  border:1px solid #168681;
  color:#49dfd4;
  font-size:27px
}

.server-state strong{
  font-size:14px;
  white-space:nowrap;
  color:#8fdfe2
}

.server-bar small{
  display:block;
  font-size:12px;
  letter-spacing:.01em;
  color:#c5d7df;
  margin-top:5px
}

.metric{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex:1;
  padding:0 13px;
  border-left:1px solid #185267;
  min-height:52px
}

.metric>i{
  font-size:25px;
  color:#00d6ff
}

.metric strong{
  font-size:20px;
  line-height:1.2;
  font-weight:750;
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 12px #00d6ff18
}

.metric small{
  white-space:nowrap;
  letter-spacing:.015em
}

.server-address{
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:14px;
  border:1px solid #00cbf1;
  border-radius:10px;
  background:
    linear-gradient(
      120deg,
      #073758,
      #022032
    );
  box-shadow:
    inset 0 1px #b6e9ff20;
  white-space:nowrap;
  transition:box-shadow .2s
}

.server-address:hover{
  box-shadow:
    0 0 22px #00d5ff42
}

.server-address>i:first-child{
  font-size:25px
}

.server-address strong{
  font-size:14px
}

.server-address>i:last-child{
  color:#9cd6e7
}


/* =========================
   SERVER PROFILE
   ========================= */

.server-profile{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  gap:38px;
  margin:14px 0;
  padding:30px 32px;
  position:relative;
  overflow:hidden
}

.server-profile:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  top:-190px;
  right:-120px;
  border-radius:50%;
  background:#00cfff0d;
  pointer-events:none
}

.server-profile-intro,
.server-profile-details{
  position:relative;
  z-index:1;
  min-width:0
}

.server-profile-eyebrow{
  margin:0 0 9px;
  color:#63ddf8;
  font-size:10px;
  font-weight:700;
  letter-spacing:.23em
}

.server-profile-intro h2{
  margin:0;
  color:#f5fbff;
  font-size:clamp(24px,2vw,34px);
  line-height:1.2;
  letter-spacing:.015em
}

.server-profile-summary{
  max-width:760px;
  margin:16px 0 0;
  color:#e5f1f5;
  font-size:15px;
  line-height:1.7
}

.server-profile-description{
  max-width:760px;
  margin:10px 0 0;
  color:#9ebbc7;
  font-size:13px;
  line-height:1.7
}


/* Profile tags */

.server-profile-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px
}

.server-profile-tags span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:7px 11px;
  border:1px solid #1e5b70;
  border-radius:999px;
  background:#032535b8;
  color:#d9edf4;
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}

.server-profile-tags i{
  color:#45d8f7;
  font-size:11px
}


/* Profile CTA */

.server-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:23px
}

.profile-action{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:10px 16px;
  border:1px solid #286178;
  border-radius:8px;
  background:#03283a;
  color:#e7f7fb;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  transition:
    border-color .2s,
    background .2s,
    box-shadow .2s,
    transform .2s
}

.profile-action:hover{
  transform:translateY(-2px);
  border-color:#45d9fa;
  background:#06354a;
  box-shadow:
    0 0 17px #00cfff1d
}

.primary-profile-action{
  border-color:#00bfe8;
  background:
    linear-gradient(
      145deg,
      #058bb6,
      #0669a8
    );
  box-shadow:
    inset 0 1px #ffffff26
}

.primary-profile-action:hover{
  background:
    linear-gradient(
      145deg,
      #0ba5d1,
      #087aba
    )
}


/* Right side */

.server-profile-details{
  display:flex;
  flex-direction:column;
  gap:11px
}

.profile-block{
  padding:17px;
  border:1px solid #18566b;
  border-radius:11px;
  background:#032231b8
}

.profile-block-heading{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:15px
}

.profile-block-heading>i{
  width:37px;
  height:37px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#074158;
  color:#4bddfb;
  font-size:16px
}

.profile-block-heading small{
  display:block;
  margin-bottom:3px;
  color:#6f99a9;
  font-size:9px;
  font-weight:700;
  letter-spacing:.13em
}

.profile-block-heading strong{
  display:block;
  font-size:14px
}


/* Core rates */

.core-rates{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px
}

.core-rates>div{
  min-width:0;
  padding:12px 8px;
  text-align:center;
  border:1px solid #154b5e;
  border-radius:8px;
  background:#021c29
}

.core-rates strong{
  display:block;
  color:#50defb;
  font-size:18px;
  line-height:1.2
}

.core-rates span{
  display:block;
  margin-top:5px;
  color:#a9c5cf;
  font-size:9px;
  line-height:1.3
}


/* Region / Operations */

.profile-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px
}

.profile-info-card{
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:14px;
  border:1px solid #154f63;
  border-radius:10px;
  background:#032130a8
}

.profile-info-card>i{
  width:33px;
  height:33px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#06394c;
  color:#47dbf8;
  font-size:14px
}

.profile-info-card small{
  display:block;
  margin-bottom:4px;
  color:#719baa;
  font-size:8px;
  font-weight:700;
  letter-spacing:.14em
}

.profile-info-card strong{
  display:block;
  color:#edf9fc;
  font-size:12px
}

.profile-info-card p{
  margin:6px 0 0;
  color:#94b2bd;
  font-size:10px;
  line-height:1.55
}


/* =========================
   WEEKLY MAINTENANCE NOTICE
   ========================= */

.maintenance-notice{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:15px 16px;
  border:1px solid #a77b246e;
  border-radius:10px;
  background:
    linear-gradient(
      120deg,
      #3a3015aa,
      #211d12aa
    );
  box-shadow:
    inset 0 1px #ffe18a0d
}

.maintenance-notice-icon{
  width:39px;
  height:39px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border:1px solid #bf922f66;
  border-radius:9px;
  background:#4a3a12;
  color:#ffd84d;
  font-size:16px
}

.maintenance-notice-copy{
  min-width:0
}

.maintenance-notice-copy small{
  display:block;
  margin-bottom:5px;
  color:#e0b954;
  font-size:8px;
  font-weight:700;
  letter-spacing:.14em
}

.maintenance-notice-copy strong{
  display:block;
  color:#ffe185;
  font-size:12px;
  line-height:1.35
}

.maintenance-notice-copy p{
  margin:6px 0 0;
  color:#b9ad8d;
  font-size:10px;
  line-height:1.55
}


/* =========================
   ADVENTURE CARDS
   ========================= */

.adventures{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) 2.1fr;
  gap:12px;
  margin:14px 0;
  scroll-margin-top:20px
}

.adventure,
.scenic-card{
  height:clamp(220px,16vw,350px);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #13556f;
  border-radius:12px;
  background:#032032;
  transition:
    transform .25s,
    box-shadow .25s,
    border-color .25s
}

.card-art{
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url('assets/adventure-panels.png');
  background-size:400% 100%;
  background-repeat:no-repeat;
  transition:transform .5s
}

.capture .card-art{
  background-position:0% center
}

.build .card-art{
  background-position:33.333% center
}

.battle .card-art{
  background-position:66.667% center
}

.explore .card-art{
  background-position:100% center
}

.adventure:after,
.scenic-card:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(
      transparent 25%,
      #00131a55 48%,
      #000c15f7
    )
}

.card-copy{
  position:absolute;
  left:15px;
  right:12px;
  bottom:14px
}

.card-copy h2{
  font-size:23px;
  margin:0 0 7px
}

.card-copy p{
  font-size:14px;
  line-height:1.5;
  margin:0;
  color:#edf6fa
}

.adventure:hover,
.scenic-card:hover{
  transform:translateY(-3px);
  border-color:#45ddff;
  box-shadow:0 0 20px #00b8f039
}

.adventure:hover .card-art{
  transform:scale(1.035)
}

.scenic-card>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2
}

.scenic-card>span{
  position:absolute;
  bottom:20px;
  left:22px;
  right:20px;
  font-size:13px;
  letter-spacing:.16em
}

.scenic-card strong{
  display:block;
  font-size:clamp(19px,1.6vw,32px);
  margin:7px 0 15px;
  letter-spacing:.04em
}

.scenic-card small{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  letter-spacing:0
}

.scenic-card b{
  color:#30dcff
}


/* =========================
   COMMUNITY
   ========================= */

.community-row{
  display:grid;
  grid-template-columns:1.7fr 1fr;
  gap:12px
}

.community-row section{
  padding:19px 20px
}

.community-row h2{
  font-size:12px;
  letter-spacing:.18em;
  font-weight:500;
  margin:0 0 15px
}

.country-flags{
  display:flex;
  justify-content:space-between;
  gap:12px
}

.country-flags>div{
  text-align:center
}

.country-flags img{
  display:block;
  object-fit:cover;
  margin:0 auto 7px;
  border-radius:2px
}

.country-flags span{
  font-size:11px;
  white-space:nowrap
}

.community-links{
  display:flex;
  gap:13px
}

.community-links a{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:1;
  border:1px solid #12465b;
  border-radius:10px;
  background:#022638;
  padding:8px;
  font-size:13px;
  transition:box-shadow .2s
}

.community-links a:hover{
  box-shadow:0 0 18px #1dcaff35
}

.community-links i{
  width:45px;
  height:44px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  background:
    linear-gradient(
      #6d77ff,
      #414ded
    );
  border-radius:9px;
  font-size:27px
}

.community-links a:nth-child(2) i{
  background:
    linear-gradient(
      #159aff,
      #0866ed
    )
}

.community-links small,
.community-links strong{
  display:block
}

.community-links b{
  margin-left:auto;
  color:#10d9fd;
  font-size:22px
}


/* =========================
   FOOTER
   ========================= */

.site-footer{
  display:flex;
  align-items:center;
  gap:24px;
  padding:28px 0
}

.site-footer .brand-word{
  font-size:28px
}

.site-footer>p{
  border-left:1px solid #145064;
  padding-left:20px;
  font-size:11px;
  line-height:1.9;
  letter-spacing:.15em
}

.site-footer>div{
  margin-left:auto;
  text-align:right
}

.site-footer>div>a{
  font-size:13px
}

.site-footer>div p{
  font-size:10px;
  letter-spacing:.17em
}

.site-footer>div small{
  font-size:10px;
  color:#809dad
}

.community-panel{
  scroll-margin-top:20px
}


/* =========================
   RESPONSIVE
   ========================= */

@media(max-width:1500px){

  .server-bar{
    flex-wrap:wrap;
    gap:15px
  }

  .server-state{
    min-width:220px
  }

  .metric{
    min-width:100px
  }

  .server-address{
    margin-left:auto
  }

  .server-profile{
    grid-template-columns:1fr 1fr;
    gap:25px
  }

  .community-row{
    grid-template-columns:1fr
  }

  .community-links{
    max-width:820px
  }

  .adventures{
    grid-template-columns:
      repeat(4,minmax(0,1fr))
  }

  .scenic-card{
    grid-column:1/-1;
    height:170px
  }

  .scenic-card>img{
    object-position:center 55%
  }

  .scenic-card>span{
    left:25px;
    bottom:24px
  }

  .scenic-card small{
    max-width:350px
  }
}


@media(max-width:1000px){

  .server-profile{
    grid-template-columns:1fr;
    gap:24px
  }

  .server-profile-intro{
    max-width:760px
  }

  .server-profile-details{
    max-width:none
  }
}


@media(max-width:760px){

  .homepage-lower{
    width:92%;
    margin:-10px auto 0
  }

  .server-bar{
    padding:17px;
    gap:18px
  }

  .server-state{
    width:100%
  }

  .metric{
    min-width:26%;
    border:0;
    justify-content:flex-start;
    padding:0
  }

  .metric>i{
    font-size:21px
  }

  .metric small{
    font-size:11px
  }

  .server-address{
    width:100%;
    justify-content:space-between;
    white-space:normal
  }

  .server-address strong{
    font-size:13px
  }


  /* Server profile mobile */

  .server-profile{
    margin:10px 0;
    padding:23px 18px;
    gap:22px
  }

  .server-profile-intro h2{
    font-size:25px
  }

  .server-profile-summary{
    font-size:14px;
    line-height:1.65
  }

  .server-profile-description{
    font-size:12px;
    line-height:1.65
  }

  .server-profile-tags{
    gap:7px
  }

  .server-profile-tags span{
    font-size:10px
  }

  .server-profile-actions{
    display:grid;
    grid-template-columns:1fr 1fr
  }

  .profile-action{
    width:100%;
    padding-inline:10px
  }

  .core-rates{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .core-rates strong{
    font-size:17px
  }

  .core-rates span{
    font-size:9px
  }

  .profile-info-grid{
    grid-template-columns:1fr
  }


  /* Maintenance mobile */

  .maintenance-notice{
    padding:14px
  }

  .maintenance-notice-icon{
    width:36px;
    height:36px;
    font-size:15px
  }

  .maintenance-notice-copy strong{
    font-size:11px
  }

  .maintenance-notice-copy p{
    font-size:10px
  }


  .adventures{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
    gap:10px
  }

  .adventure{
    height:260px
  }

  .card-copy{
    left:12px;
    right:10px
  }

  .card-copy h2{
    font-size:21px
  }

  .card-copy p{
    font-size:14px
  }

  .scenic-card{
    height:190px
  }

  .community-row section{
    padding:18px 13px
  }

  .country-flags{
    flex-wrap:wrap;
    justify-content:center;
    gap:17px
  }

  .country-flags>div{
    width:55px
  }

  .community-links{
    flex-direction:column
  }

  .community-links a{
    font-size:15px
  }

  .site-footer{
    flex-wrap:wrap;
    gap:16px
  }

  .site-footer .brand-word{
    font-size:24px
  }

  .site-footer>p{
    font-size:9px;
    padding-left:12px
  }

  .site-footer>div{
    width:100%;
    text-align:left;
    margin:0
  }

  .site-footer>div p{
    line-height:1.7
  }

  .site-footer>div small{
    line-height:1.6
  }
}


@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto
  }
}


/* Existing compatibility rules */

.community-links{
  flex-wrap:wrap
}

.community-links a:first-child{
  flex:1.4
}

.community-links strong{
  overflow-wrap:anywhere
}

.community-links a>strong,
.community-links a>span{
  min-width:0
}

.country-flags{
  flex-wrap:wrap
}

.server-bar{
  flex-wrap:wrap;
  row-gap:15px
}

.server-address{
  margin-left:auto
}


/* Keep approved 1536px desktop composition */

html{
  background:#020e17
}

body{
  max-width:1536px;
  margin-inline:auto
}


@media(min-width:1536px){

  .hero{
    height:706.56px
  }

  .header{
    height:94px
  }

  .brand-word{
    font-size:36px
  }

  nav{
    gap:29.184px
  }

  nav a,
  nav button{
    font-size:14px
  }

  .eyebrow{
    font-size:15.36px
  }

  h1{
    font-size:113.664px
  }

  .subheading{
    font-size:18.432px
  }

  .credit{
    font-size:13.824px
  }

  .hero-copy h2{
    font-size:24.576px
  }

  .action{
    min-width:210px;
    min-height:56px;
    font-size:15px
  }

  .platforms b{
    font-size:16px
  }

  .platforms i{
    font-size:27px
  }

  .adventure,
  .scenic-card{
    height:245.76px
  }

  .scenic-card strong{
    font-size:24.576px
  }
}


/* Exact screenshot crops */

.adventures{
  grid-template-columns:
    repeat(4,minmax(0,234px))
    minmax(0,491px);
  gap:10px
}

.adventure{
  width:100%;
  max-width:234px;
  height:auto;
  aspect-ratio:234/206
}

.scenic-card{
  width:100%;
  max-width:491px;
  height:auto;
  aspect-ratio:491/206;
  align-self:start
}

.card-art{
  background-size:100% 100%;
  background-position:center!important
}

.capture .card-art{
  background-image:
    url('assets/reference-capture.png')
}

.build .card-art{
  background-image:
    url('assets/reference-build.png')
}

.battle .card-art{
  background-image:
    url('assets/reference-battle.png')
}

.explore .card-art{
  background-image:
    url('assets/reference-explore.png')
}

.adventure:after,
.scenic-card:after{
  display:none
}

.adventure:hover .card-art{
  transform:none
}

.card-copy{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.scenic-card>img{
  object-fit:contain;
  object-position:center
}


@media(max-width:1500px){

  .adventures{
    grid-template-columns:
      repeat(4,minmax(0,234px));
    justify-content:center
  }

  .scenic-card{
    grid-column:1/-1;
    justify-self:center
  }
}


@media(max-width:760px){

  .adventures{
    grid-template-columns:
      repeat(2,minmax(0,234px))
  }
}

/* Append at the END of homepage.css. Six equally sized status columns. */
.server-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:0;padding:18px 10px}
.server-bar .server-state,.server-bar .metric{grid-column:auto;grid-row:auto;display:flex;align-items:center;justify-content:center;min-width:0;width:auto;min-height:58px;margin:0;padding:4px 12px;gap:10px;border:0;border-left:1px solid #185267}
.server-bar .server-state{border-left:0}
.server-bar .server-state>i{flex:0 0 46px;width:46px;height:50px;font-size:24px}
.server-bar .metric>i{flex:0 0 24px;width:24px;text-align:center;font-size:23px}
.server-bar .server-state>div,.server-bar .metric>div{min-width:0}
.server-bar .server-state strong{font-size:14px;white-space:normal}
.server-bar .metric strong{font-size:20px!important;line-height:1.25!important;white-space:normal!important;font-variant-numeric:tabular-nums}
.server-bar small,.server-bar .metric small{font-size:11px;line-height:1.4;white-space:normal;margin-top:5px}
@media(max-width:1100px){
 .server-bar{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px}
 .server-bar .server-state,.server-bar .metric{padding:15px 10px;min-height:82px}
 .server-bar .metric:nth-child(4){border-left:0}
 .server-bar .metric:nth-child(n+4){border-top:1px solid #185267}
}
@media(max-width:600px){
 .server-bar{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}
 .server-bar .server-state,.server-bar .metric{justify-content:flex-start;padding:14px 9px;gap:8px;min-height:86px;border-left:0;border-top:1px solid #185267}
 .server-bar .server-state,.server-bar .metric:nth-child(2){border-top:0}
 .server-bar .server-state>i{flex-basis:32px;width:32px;height:40px;font-size:20px}
 .server-bar .metric>i{flex-basis:20px;width:20px;font-size:19px}
 .server-bar .metric strong{font-size:17px!important}
 .server-bar small,.server-bar .metric small{font-size:10px}
}

/* Uniform metric typography and icon boxes; overrides inline API sizing. */
.server-bar .metric{gap:10px;align-items:center}
.server-bar .metric>i{display:flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;font-size:22px;line-height:1}
.server-bar .metric strong{display:block;font-family:inherit!important;font-size:18px!important;font-weight:700!important;line-height:24px!important;letter-spacing:0!important;font-variant-numeric:tabular-nums;white-space:normal!important}
.server-bar .metric small{display:block;font-family:inherit;font-size:11px;font-weight:400;line-height:16px;letter-spacing:0;margin-top:3px}
@media(max-width:600px){
.server-bar .metric{gap:8px}
.server-bar .metric>i{flex-basis:22px;width:22px;height:22px;font-size:20px}
.server-bar .metric strong{font-size:16px!important;line-height:22px!important}
.server-bar .metric small{font-size:10px;line-height:14px;margin-top:3px}
}
/* Selected typography: Rajdhani Bold. Preserve body text and metric sizes. */
.brand .brand-word,
.hero-copy #hero-title,
#hero-title,
.hero-copy h2,
.homepage-lower h2,
.homepage-lower h3,
dialog h2,
dialog h3 {
  font-family:'Rajdhani',Arial,Helvetica,sans-serif;
  font-weight:700;
}
.brand .brand-word,
.hero-copy #hero-title,
#hero-title {
  text-transform:uppercase;
  font-variant:normal;
  letter-spacing:.01em;
  text-shadow:0 3px 8px #00172566;
}