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

:root {
  --bg: #070809;
  --panel: #0d0f11;
  --panel2: #121417;
  --line: #2a2d31;
  --red: #a90812;
  --red2: #e01924;
  --text: #f1f1f1;
  --muted: #969ba2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #070a15;
  color: var(--text);
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 18px;
  isolation: isolate;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 23px 37px, #dfeaff 0.6px, transparent 1.6px) 0 0 / 179px 157px,
    radial-gradient(circle at 67px 31px, #927dbb 0.5px, transparent 1.3px) 0 0 / 109px 131px,
    radial-gradient(circle at 112px 83px, #9ab4dd 0.4px, transparent 1.2px) 0 0 / 151px 193px,
    radial-gradient(ellipse at 70% 23%, rgba(81, 44, 121, .52), transparent 56%),
    radial-gradient(ellipse at 27% 65%, rgba(23, 64, 119, .46), transparent 62%),
    #070a15;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(9, 12, 25, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #303550;
  box-shadow: 0 4px 25px rgba(43, 65, 115, .22);
}

.brand {
  font: 900 23px Orbitron;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.brand span,
.hero h1 span,
footer span {
  color: var(--red2);
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  color: #bbb;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

nav a:hover {
  color: #fff;
}


/* Top Left EmpireZ Logo */

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 145px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 8px rgba(224,25,36,.18));
}


/* =====================================================
   HERO
===================================================== */

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border: 1px solid #6d76af;
  border-radius: 50%;
  opacity: .25;
  box-shadow: 0 0 100px #3e4083;
  z-index: -1;
}

.eyebrow,
.tag {
  color: #e54951;
  letter-spacing: 4px;
  font-weight: 700;
  font-size: 13px;
}

.hero h1 {
  font: 900 clamp(60px,12vw,150px) Orbitron;
  margin: 8px 0;
  letter-spacing: 10px;
  text-shadow: 0 0 35px rgba(183,11,22,.22);
}

.lead {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin: 0;
}

.sub {
  color: var(--muted);
  letter-spacing: 2px;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}


/* =====================================================
   BUTTONS
===================================================== */

.button {
  display: inline-block;
  border: 1px solid #555;
  color: white;
  padding: 13px 22px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1.5px;
  clip-path:
    polygon(
      8px 0,
      100% 0,
      100% calc(100% - 8px),
      calc(100% - 8px) 100%,
      0 100%,
      0 8px
    );
}

.button:hover,
.button.primary {
  background: var(--red);
  border-color: var(--red);
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
  border-top: 1px solid #1e2023;
}

.section-title {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.section-title span {
  font: 700 13px Orbitron;
  color: var(--red2);
  border: 1px solid #5a1419;
  padding: 7px;
}

.section-title h2 {
  font: 700 clamp(27px,4vw,44px) Orbitron;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
}


/* =====================================================
   GRIDS
===================================================== */

.grid {
  display: grid;
  gap: 18px;
}

.two {
  grid-template-columns: repeat(2,1fr);
}

.three {
  grid-template-columns: repeat(3,1fr);
}


/* =====================================================
   CARDS
===================================================== */

.card {
  background: linear-gradient(145deg,#121416,#090a0b);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}

.card:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 20px;
  width: 3px;
  height: 38px;
  background: var(--red2);
}

.card h3 {
  font: 700 22px Orbitron;
  margin: 10px 0;
}

.card p,
.muted {
  color: var(--muted);
  line-height: 1.6;
}

.ip {
  font: 600 20px Orbitron;
  border-top: 1px solid #272a2e;
  margin-top: 24px;
  padding-top: 18px;
  color: #fff;
}


/* =====================================================
   STAFF
===================================================== */

.person {
  text-align: center;
  min-height: 125px !important;
  padding: 20px 22px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.person h3 {
  margin: 0 0 8px !important;
}

.person p {
  margin: 0 !important;
}

.person:before {
  height: 42px !important;
  top: calc(50% - 21px) !important;
}

.person.berzerk {
  border-color: #6d3aa8 !important;
  background: linear-gradient(145deg,#160d22,#090a0b) !important;
  box-shadow: inset 0 0 28px rgba(126,70,190,.08);
}

.person.berzerk:before {
  background: #8d52d1 !important;
  box-shadow: 0 0 14px #8d52d1 !important;
}

.person.lyss {
  border-color: #e57f9a !important;
  background: linear-gradient(145deg,#261016,#090a0b) !important;
  box-shadow: inset 0 0 28px rgba(255,132,166,.11) !important;
}

.person.lyss:before {
  background: #ff8eaa !important;
  box-shadow: 0 0 15px #ff8eaa !important;
}

.person.freddy {
  border-color: #8f1720 !important;
  background: linear-gradient(145deg,#1d0b0e,#090a0b) !important;
  box-shadow: inset 0 0 28px rgba(224,25,36,.08);
}

.person.freddy:before {
  background: #e01924 !important;
  box-shadow: 0 0 14px #e01924 !important;
}

.person.bum {
  border-color: #63c174 !important;
  background: linear-gradient(145deg, #0a1b0e, #09110b) !important;
  box-shadow: inset 0 0 28px rgba(99,193,116,.08);
}

.person.bum::before {
  background: #63c174 !important;
  box-shadow: 0 0 14px #63c174 !important;
}

.person:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,255,255,.08);
}


/* =====================================================
   SPLIT / PLACEHOLDERS
===================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.placeholder {
  min-height: 270px;
  border: 1px solid #34373b;
  background:
    repeating-linear-gradient(
      135deg,
      #101214,
      #101214 12px,
      #0d0f10 12px,
      #0d0f10 24px
    );
  display: grid;
  place-items: center;
  text-align: center;
  font: 700 22px Orbitron;
  color: #777;
}

.placeholder small {
  font-family: Rajdhani;
  color: #555;
}


/* =====================================================
   EVENTS
===================================================== */

.event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.event-date {
  font: 700 28px Orbitron;
  text-align: right;
  color: #4e5155;
}


/* =====================================================
   SERVER TIPS
===================================================== */

.tips-intro {
  margin: -15px 0 28px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

.tip-card {
  appearance: none;
  text-align: left;
  min-height: 82px;
  padding: 22px 26px;
  background: linear-gradient(145deg,#130b0d,#090a0b);
  border: 1px solid #71131a;
  color: #fff;
  font: 700 18px Orbitron;
  letter-spacing: .5px;
  cursor: pointer;
  position: relative;
  transition: .2s;
}

.tip-card:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  width: 3px;
  height: 42px;
  background: var(--red2);
  box-shadow: 0 0 12px var(--red2);
}

.tip-card:hover,
.tip-card.active {
  border-color: var(--red2);
  background: #16090b;
  box-shadow:
    0 0 18px rgba(224,25,36,.42),
    inset 0 0 22px rgba(169,8,18,.12);
  transform: translateY(-2px);
}

.tip-panel {
  margin-top: 22px;
  padding: 30px 34px;
  background: linear-gradient(145deg,#120b0d,#08090a);
  border: 1px solid var(--red2);
  box-shadow: 0 0 24px rgba(224,25,36,.28);
  position: relative;
}

.tip-panel h3 {
  font: 700 25px Orbitron;
  text-transform: uppercase;
  margin: 0 45px 22px 0;
  color: #fff;
}

.tip-panel h4 {
  font: 700 17px Orbitron;
  color: #e54951;
  margin: 24px 0 8px;
}

.tip-panel p {
  color: #c1c4c8;
  line-height: 1.55;
  margin: 6px 0;
}

.tip-panel ul {
  color: #c1c4c8;
  line-height: 1.55;
  margin: 8px 0;
  padding-left: 22px;
}

.tip-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: none;
  color: #e54951;
  font-size: 30px;
  cursor: pointer;
}

.tip-note {
  color: #e54951 !important;
  font-weight: 700;
}


/* Force custom tip controls above browser defaults */

#tips .tips-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 18px !important;
}

#tips button.tip-card {
  all: unset;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 92px !important;
  padding: 24px 30px !important;
  background:
    linear-gradient(
      135deg,
      #16090b 0%,
      #0b0b0d 60%,
      #08090a 100%
    ) !important;
  border: 1px solid #8f1720 !important;
  color: #f4f4f4 !important;
  font-family: Orbitron,sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  position: relative !important;
  clip-path:
    polygon(
      10px 0,
      100% 0,
      100% calc(100% - 10px),
      calc(100% - 10px) 100%,
      0 100%,
      0 10px
    ) !important;
  box-shadow:
    inset 0 0 24px rgba(169,8,18,.08),
    0 0 8px rgba(224,25,36,.12) !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

#tips button.tip-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: 50px;
  background: #e01924;
  box-shadow: 0 0 14px #e01924;
}

#tips button.tip-card:hover,
#tips button.tip-card.active {
  transform: translateY(-3px) !important;
  border-color: #e01924 !important;
  background: linear-gradient(135deg,#250a0e,#0c0c0e) !important;
  box-shadow:
    0 0 22px rgba(224,25,36,.55),
    inset 0 0 30px rgba(169,8,18,.15) !important;
}

#tips .tip-panel[hidden] {
  display: none !important;
}

#tips .tip-panel {
  display: block !important;
}


/* =====================================================
   ARTIFACT GUIDE
===================================================== */

.artifact-guide {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  border: 1px solid #5a1419;
  box-shadow: 0 0 20px rgba(224,25,36,.18);
}


/* =====================================================
   HC OUTPOST
===================================================== */

#bases .hc-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 18px !important;
}

#bases button.hc-card {
  all: unset;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 92px !important;
  padding: 24px 30px !important;
  background:
    linear-gradient(
      135deg,
      #16090b 0%,
      #0b0b0d 60%,
      #08090a 100%
    ) !important;
  border: 1px solid #8f1720 !important;
  color: #f4f4f4 !important;
  font-family: Orbitron,sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  position: relative !important;
  clip-path:
    polygon(
      10px 0,
      100% 0,
      100% calc(100% - 10px),
      calc(100% - 10px) 100%,
      0 100%,
      0 10px
    ) !important;
  box-shadow:
    inset 0 0 24px rgba(169,8,18,.08),
    0 0 8px rgba(224,25,36,.12) !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

#bases button.hc-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: 50px;
  background: #e01924;
  box-shadow: 0 0 14px #e01924;
}

#bases button.hc-card:hover,
#bases button.hc-card.active {
  transform: translateY(-3px) !important;
  border-color: #e01924 !important;
  background: linear-gradient(135deg,#250a0e,#0c0c0e) !important;
  box-shadow:
    0 0 22px rgba(224,25,36,.55),
    inset 0 0 30px rgba(169,8,18,.15) !important;
}

#bases .hc-panel[hidden] {
  display: none !important;
}

#bases .hc-panel {
  display: block !important;
}


/* =====================================================
   MEDIA GALLERY
===================================================== */

.media-intro {
  margin: -15px 0 28px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.media-item {
  all: unset;
  box-sizing: border-box;
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 270px;
  background: #090a0b;
  border: 1px solid #4f151a;
  cursor: pointer;

  clip-path:
    polygon(
      10px 0,
      100% 0,
      100% calc(100% - 10px),
      calc(100% - 10px) 100%,
      0 100%,
      0 10px
    );

  box-shadow:
    inset 0 0 24px rgba(169,8,18,.08),
    0 0 8px rgba(224,25,36,.08);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.media-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition:
    transform .35s ease,
    filter .35s ease;
}

.media-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 48%,
      rgba(4,4,5,.30) 100%
    );
  pointer-events: none;
}


/* Titles hidden */

.media-item span {
  display: none !important;
}


.media-item:hover {
  transform: translateY(-3px);
  border-color: #e01924;
  box-shadow: 0 0 22px rgba(224,25,36,.35);
}

.media-item:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.media-featured {
  grid-row: span 2;
  min-height: 556px;
}

.media-featured img {
  min-height: 556px;
}

.media-wide {
  grid-column: 1 / -1;
  min-height: 330px;
}

.media-wide img {
  min-height: 330px;
}


/* =====================================================
   MEDIA LIGHTBOX
===================================================== */

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 55px 24px 28px;
  background: rgba(2,3,4,.94);
  backdrop-filter: blur(8px);
}

.media-lightbox img {
  display: block;
  max-width: min(1200px,94vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #75171e;
  box-shadow: 0 0 35px rgba(224,25,36,.28);
}

.media-lightbox-title {
  margin-top: 16px;
  color: #fff;
  font: 700 17px Orbitron,sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.media-lightbox-close {
  position: absolute;
  right: 28px;
  top: 18px;
  border: 0;
  background: none;
  color: #e54951;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.media-lightbox-close:hover {
  color: #fff;
}


/* =====================================================
   MAP
===================================================== */

.mapbox {
  min-height: 420px;
  border: 1px solid #34373b;
  background:
    radial-gradient(circle at 25% 50%,#241014,transparent 28%),
    #0b0d0e;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 50px;
  gap: 50px;
}

.radar {
  aspect-ratio: 1;
  border: 1px solid #5b151b;
  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle,
      transparent 0 44px,
      #461116 45px 46px
    ),
    linear-gradient(
      90deg,
      transparent 49.8%,
      #461116 50%,
      transparent 50.2%
    ),
    linear-gradient(
      transparent 49.8%,
      #461116 50%,
      transparent 50.2%
    );

  box-shadow: inset 0 0 60px #24080b;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
  text-align: center;
  padding: 70px 20px;
  border-top: 1px solid #242629;
  color: #777;
}

footer strong {
  font: 900 26px Orbitron;
  color: white;
}

.fine {
  font-size: 13px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 850px) {

  .nav {
    height: auto;
    padding: 18px 20px;
  }

  .nav nav {
    display: none;
  }

  .brand-logo img {
    width: 120px;
    height: 50px;
  }

  .two,
  .three,
  .split,
  .mapbox {
    grid-template-columns: 1fr;
  }

  .reverse > div:first-child {
    order: 2;
  }

  .event {
    align-items: flex-start;
    flex-direction: column;
  }

  .mapbox {
    padding: 25px;
  }

  .hero {
    min-height: 70vh;
  }

  .lead {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .tips-grid,
  #tips .tips-grid {
    grid-template-columns: 1fr !important;
  }

  #bases .hc-grid {
    grid-template-columns: 1fr !important;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .media-featured,
  .media-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 230px;
  }

  .media-featured img,
  .media-wide img,
  .media-item img {
    min-height: 230px;
  }

  .media-item {
    min-height: 230px;
  }
}
/* =====================================================
   LARGE CENTER EMPIREZ LOGO
===================================================== */

.hero-logo {
  display: block;
  width: min(820px, 80vw);
  height: auto;
  max-height: 300px;
  object-fit: contain;
  margin: 18px auto 28px;
  filter: drop-shadow(0 0 28px rgba(224, 25, 36, 0.22));
}

@media (max-width: 850px) {
  .hero-logo {
    width: 90vw;
    max-height: 220px;
    margin: 16px auto 22px;
  }
}
/* Tighten Hero Logo Spacing */

.hero-logo {
  width: min(820px, 80vw);
  max-height: none;
  margin: -40px auto -85px;
}

.hero .lead {
  margin-top: 0;
}

.hero .sub {
  margin-top: 16px;
}

.hero .actions {
  margin-top: 24px;
}


/* =====================================================
   GEAR + COLLECTIBLES CLICKABLE GUIDES
===================================================== */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.guide-card {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 24px 30px;
  background: linear-gradient(135deg,#16090b 0%,#0b0b0d 60%,#08090a 100%);
  border: 1px solid #8f1720;
  color: #f4f4f4;
  font-family: Orbitron,sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  box-shadow: inset 0 0 24px rgba(169,8,18,.08),0 0 8px rgba(224,25,36,.12);
  transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.guide-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: 50px;
  background: #e01924;
  box-shadow: 0 0 14px #e01924;
}

.guide-card:hover,
.guide-card.active {
  transform: translateY(-3px);
  border-color: #e01924;
  background: linear-gradient(135deg,#250a0e,#0c0c0e);
  box-shadow: 0 0 22px rgba(224,25,36,.55),inset 0 0 30px rgba(169,8,18,.15);
}

.guide-panel[hidden] { display: none !important; }
.guide-panel { display: block !important; }

@media (max-width: 850px) {
  .guide-grid { grid-template-columns: 1fr; }
}
/* =========================================
   GEAR GUIDE IMAGES
   ========================================= */

.gear-image-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.gear-image-list img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #5a1419;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(224, 25, 36, 0.15);
}

/* One-image categories */
.gear-image-list img:only-child {
  grid-column: 1 / -1;
}

/* Hide empty popup heading */
#gear-title:empty {
  display: none;
}

@media (max-width: 700px) {
  .gear-image-list {
    grid-template-columns: 1fr;
  }
}
/* Center hero background circle around EmpireZ logo */
.hero::before {
  top: 43% !important;
  transform: translate(-50%, -50%) !important;
}
/* =========================================
   GALAXY MAP
   ========================================= */

.animal-spawn-map {
  padding: 0 !important;
  display: block !important;
  overflow: hidden;
}

.animal-spawn-map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* =========================================
   GEAR GUIDE - CLEAN IMAGE LAYOUT
   ========================================= */

.gear-image-list {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.gear-image-list img {
  display: block;
  width: auto;
  max-width: 850px;
  max-height: 650px;
  height: auto;
  object-fit: contain;
  border: 1px solid #5a1419;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(224, 25, 36, 0.15);
}

/* Smaller screens */
@media (max-width: 900px) {
  .gear-image-list img {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }
}
/* LEGO COLLECTION LIST */

.collectible-list ul {
  columns: 3;
  column-gap: 40px;
  margin: 0;
  padding-left: 22px;
}

.collectible-list li {
  margin-bottom: 10px;
  break-inside: avoid;
}

@media (max-width: 850px) {
  .collectible-list ul {
    columns: 2;
  }
}

@media (max-width: 550px) {
  .collectible-list ul {
    columns: 1;
  }
}
/* =========================================
   SABER COLLECTION
   ========================================= */

.saber-collection h4 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.saber-collection h4:first-child {
  margin-top: 0;
}

.saber-note {
  margin-bottom: 20px;
  opacity: 0.8;
}

.saber-list {
  columns: 3;
  column-gap: 40px;
  padding-left: 22px;
}

.saber-list li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.saber-list li span {
  opacity: 0.65;
  font-size: 0.9em;
}

.saber-challenge {
  margin-top: 35px;
  padding: 22px;
  border: 1px solid #5a1419;
  background: rgba(224, 25, 36, 0.05);
  box-shadow: 0 0 20px rgba(224, 25, 36, 0.1);
}

.saber-challenge h4 {
  margin-top: 0;
}

.saber-challenge p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .saber-list {
    columns: 2;
  }
}

@media (max-width: 550px) {
  .saber-list {
    columns: 1;
  }
}
/* Enlarge hero background circle */
.hero::before {
  width: 820px !important;
  height: 820px !important;
}
/* =====================================================
   RULES SECTION
===================================================== */

.rules-general {
  margin-top: 30px;
  padding: 30px;
  background: rgba(10, 12, 16, 0.88);
  border: 1px solid #3b1115;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(224, 25, 36, 0.08);
}

.rules-general h3,
.warning-system h3 {
  margin: 0 0 22px;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}


/* GENERAL RULE LIST */

.general-rules-list {
  margin: 0;
  padding-left: 28px;
}

.general-rules-list li {
  padding: 10px 0 10px 8px;
  line-height: 1.65;
  color: #b9bec8;
}

.general-rules-list li::marker {
  color: #e01924;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
}

.general-rules-list b {
  color: #ffffff;
}


/* =====================================================
   WARNING SYSTEM
===================================================== */

.warning-system {
  margin-top: 28px;
  padding: 28px 30px;
  background: rgba(224, 25, 36, 0.035);
  border: 1px solid #5a1419;
  border-radius: 6px;
}

.warning-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.warning-row:last-child {
  border-bottom: none;
}

.warning-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid #7a171e;
  border-radius: 4px;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #e01924;
  background: rgba(224, 25, 36, 0.06);
}

.warning-row b {
  display: block;
  margin-bottom: 3px;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.warning-row p {
  margin: 0;
  color: #aeb4bf;
}


/* =====================================================
   PVE / PVP RULE BUTTONS
===================================================== */

.rules-server-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

#rules .rule-server-card {
  position: relative;
  min-height: 90px;
  padding: 20px;
  cursor: pointer;

  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      rgba(224, 25, 36, 0.07),
      rgba(7, 9, 13, 0.96)
    );

  border: 1px solid #4d1418;
  border-radius: 5px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

#rules .rule-server-card:hover {
  transform: translateY(-2px);
  border-color: #e01924;
  box-shadow:
    0 0 20px rgba(224, 25, 36, 0.18),
    inset 0 0 20px rgba(224, 25, 36, 0.03);
}

#rules .rule-server-card.active {
  border-color: #e01924;
  background:
    linear-gradient(
      135deg,
      rgba(224, 25, 36, 0.16),
      rgba(7, 9, 13, 0.98)
    );

  box-shadow:
    0 0 24px rgba(224, 25, 36, 0.22),
    inset 0 0 20px rgba(224, 25, 36, 0.05);
}


/* =====================================================
   OPEN SERVER RULES PANEL
===================================================== */

#rules-panel {
  margin-top: 22px;
}

#rules-title {
  padding-right: 45px;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}


/* RULE CATEGORY HEADINGS */

.server-rules h4 {
  margin: 34px 0 14px;
  padding-bottom: 9px;

  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #ffffff;
  border-bottom: 1px solid #5a1419;
}

.server-rules h4:first-child {
  margin-top: 5px;
}


/* RULE TEXT */

.server-rules ul {
  margin: 0;
  padding-left: 24px;
}

.server-rules li {
  margin-bottom: 11px;
  padding-left: 5px;
  line-height: 1.6;
  color: #b9bec8;
}

.server-rules li::marker {
  color: #e01924;
}

.server-rules p {
  line-height: 1.65;
  color: #b9bec8;
}


/* IMPORTANT RULE NOTES */

.rule-note {
  margin: 22px 0;
  padding: 18px 20px;

  background: rgba(224, 25, 36, 0.055);
  border-left: 3px solid #e01924;
  border-top: 1px solid rgba(224, 25, 36, 0.18);
  border-right: 1px solid rgba(224, 25, 36, 0.18);
  border-bottom: 1px solid rgba(224, 25, 36, 0.18);
}

.rule-note b {
  display: block;
  margin-bottom: 7px;

  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #ffffff;
}

.rule-note p {
  margin: 0;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  .rules-general {
    padding: 22px 18px;
  }

  .warning-system {
    padding: 22px 18px;
  }

  .rules-server-select {
    grid-template-columns: 1fr;
  }

  #rules .rule-server-card {
    min-height: 75px;
  }

  .general-rules-list {
    padding-left: 22px;
  }

}
/* =====================================================
   LEGO COLLECTION IMAGE
===================================================== */

.lego-collection-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 30px;
  border: 1px solid #5a1419;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(224, 25, 36, 0.15);
}

/* Mobile navigation and homepage */
.mobile-menu {
  display: none;
}

@media (max-width: 850px) {
  .nav {
    padding: 8px 16px;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    cursor: pointer;
    color: white;
    padding: 10px 16px;
    border: 1px solid #606885;
    border-radius: 6px;
    font-weight: 700;
  }

  .nav .mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 12px 16px;
    background: #111527;
    max-height: 65vh;
    overflow-y: auto;
    border-bottom: 1px solid #606885;
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px;
  }

  .hero {
    min-height: 0;
    padding: 54px 16px;
  }

  .hero .hero-logo {
    width: min(100%, 540px);
    margin: 12px auto 16px;
  }

  .hero .lead {
    font-size: clamp(19px, 5vw, 26px);
    letter-spacing: 4px;
  }
}
