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


:root {
    --zzz-bg: #121212;
    --zzz-bg-dark: #181818;
    --zzz-grey: #E0E0E0;
    --zzz-grey-light: #BDBDBD;
    --zzz-orange: #FF8C00;
    --zzz-orange-light: #FFB347;
    --zzz-card: #232323;
    --zzz-border: #FF8C00;
    --zzz-shadow: 0 4px 24px rgba(255,140,0,0.08);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--zzz-bg); 
    color: var(--zzz-grey); 
    line-height: 1.6; 
    margin: 0;
    overflow-x: hidden; 
}


a {
    text-decoration: none;
    color: inherit;
}

.header {
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(20, 20, 20, 0.92); 
    backdrop-filter: blur(10px); 
    border-bottom: 2px solid var(--zzz-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    width: 120px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    font-size: 1em; 
    color: var(--zzz-grey-light);
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s;
    position: relative;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--zzz-orange);
}

.nav-item.active {
  text-decoration: underline;
  text-decoration-color: #ff9900;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-shadow: 0 0 5px #ff9900, 0 0 10px #ff9900;
}

.hero {
    position: relative;
    height: 87vh;
    min-height: 600px; 
    max-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--zzz-grey);
    text-align: left;
    overflow: hidden;
    justify-content: flex-start;
    padding-left: 12vw;
    border-bottom: 2px solid var(--zzz-border);

}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/zzz-background-hero.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    z-index: -1;
}

.hero-text {
    color: var(--zzz-grey);
    text-shadow: 0 2px 8px #000a;
    font-weight: bolder;
}

.hero-text h1 {
    font-size: 7em;
    color: var(--zzz-orange);
    margin-bottom: 20px;
    text-shadow: 0px 0px 15px rgba(255, 140, 0, 0.6);
    letter-spacing: 2px;
    line-height: 1.05;
}

.hero-text h1 span {
    display: block;   
}

.hero-text p {
    font-size: 2em;
    color: var(--zzz-grey-light);
    font-weight: bold;
}

.factions {
  height: 80vh;
  min-height: 600px;
}

.factions h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2.1rem;
  color: #ffe066;
  font-weight: 700;
  text-shadow: 0 0 16px #ffe066, 0 0 32px #fffbe6;
  letter-spacing: 2px;
  filter: brightness(1.2);
  position: relative;
}

.slider-container {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 18px 0;
}

.swiper.faction-slider {
  width: 100%;
  max-width: 900px;
  min-height: 380px;
  overflow: visible;
}

.swiper-slide {
  width: 170px;
  height: 290px;
  background: #232042;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px #ffe06622;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  opacity: 0.6;
  filter: blur(1.5px) brightness(0.85);
  transform: scale(0.82);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(.4,2.2,.2,1);
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.5;
  filter: blur(2px) brightness(1);
  transform: scale(0.92);
  z-index: 2;
  pointer-events: auto;
}

.swiper-slide-active {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.15) !important;
  border: 3px solid #ffe066;
  box-shadow: 0 0 20px 4px #ffe06655, 0 4px 16px rgba(0,0,0,0.22);
  background: #2e2543;
  pointer-events: auto;
  z-index: 3;
}

.swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
  opacity: 0.15;
  filter: blur(4px) brightness(0.6);
  transform: scale(0.65);
  z-index: 0;
}

.faction-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: linear-gradient(to bottom, #eaf6ff 60%, #cbe6ff 100%);
  border-bottom: 2px solid #ffe066;
  margin-bottom: 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 15px;
  box-sizing: border-box;
}

.faction-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 10px;
  color: #e0e0e0;
  font-size: 0.82rem;
  text-shadow: 0 0 4px #232042;
  text-align: center;
  line-height: 1.4;
}

.faction-content strong {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #fffbe6;
  font-weight: 700;
  text-shadow: 0 0 8px #2e2543;
  letter-spacing: 1px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
  content: none !important;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(30, 30, 30, 0.25);
  border-radius: 50%;
  border: 2.5px solid #ffe066;
  box-shadow: 0 0 10px #ffe06666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.22s, box-shadow 0.22s, border-color 0.22s, transform 0.22s;
  padding: 0;
  user-select: none;
}
.swiper-button-prev { left: -70px !important; }
.swiper-button-next { right: -70px !important; }

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(30, 30, 30, 0.6);
  border-color: #fffbe6;
  box-shadow: 0 0 20px #ffe066bb, 0 0 6px #fffbe6;
  transform: translateY(-50%) scale(1.08);
}
.swiper-button-prev svg,
.swiper-button-next svg {
  width: 20px;
  height: 20px;
  stroke: #ffe066;
  stroke-width: 2.5;
  transition: stroke 0.22s;
  display: block;
}
.swiper-button-prev:hover svg,
.swiper-button-next:hover svg {
  stroke: #fffbe6;
}

@font-face {
  font-family: 'yinpin';
  src: url('font/yinpin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.faction-desc {
  display: block;
  padding: 8px;
  font-size: 1rem;
  line-height: 1.4;
  max-height: 400px;
  opacity: 1;
  transition: all 0.3s ease;
  font-family: 'yinpin', sans-serif;
}

.faction-desc.active {
  display: block;
  max-height: 400px;
  opacity: 1;
  margin-top: 2px;
  margin-bottom: 8px;
}


@media (max-width: 768px) {
  .slider-container,
  .swiper.faction-slider {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 45px;
    padding-bottom: 50px;
  }
  
  .swiper-slide {
  height: 100px;
  min-height: 140px;
  
}

.factions {
    height: 65vh;
}

  .faction-img {
    height: 60px;
    padding: 6px;
  }

  .faction-content {
    font-size: 0.85rem;
    padding: 6px 6px;
    word-break: break-word;
    hyphens: auto;
  }
  .faction-content strong {
    font-size: 1rem;
  }
  .faction-desc {
    font-size: 0.95rem;
    padding: 6px 6px;
    word-break: break-word;
    hyphens: auto;
  }

  .swiper-button-prev {
    left: 5px !important;
  }
  .swiper-button-next {
    right: 5px !important;
  }
}


