:root {
  --bg: #020711;
  --panel: rgba(5, 15, 30, 0.78);
  --panel-2: rgba(7, 20, 38, 0.88);
  --line: rgba(43, 157, 255, 0.45);
  --line-strong: rgba(0, 210, 255, 0.9);
  --text: #f5fbff;
  --muted: #c7d4e8;
  --cyan: #20e3ff;
  --blue: #267dff;
  --purple: #8d5bff;
  --green: #5bf24f;
  --orange: #ffb21c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Be Vietnam Pro", sans-serif;
  background:
    radial-gradient(circle at 20% 5%, rgba(0, 174, 255, 0.12), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(121, 62, 255, 0.13), transparent 26%),
    linear-gradient(180deg, #020711 0%, #03101e 48%, #020711 100%);
  color: var(--text);
}

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

.site-header {
  height: 82px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 7, 17, 0.94);
  border-bottom: 1px solid rgba(62, 157, 255, 0.16);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand span span {
  color: var(--cyan);
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 2px solid rgba(32, 227, 255, 0.85);
  border-radius: 11px;
  box-shadow: 0 0 22px rgba(32, 227, 255, 0.36);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 800;
}

.nav a {
  padding: 28px 0;
  color: #fff;
  opacity: 0.9;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #37cfff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 9px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(32, 227, 255, 0.9);
}

.hero {
  min-height: 560px;
  position: relative;
  border-bottom: 1px solid rgba(62, 157, 255, 0.18);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 17, 0.98) 0%,
      rgba(2, 7, 17, 0.86) 28%,
      rgba(2, 7, 17, 0.42) 58%,
      rgba(2, 7, 17, 0.12) 100%
    ),
    radial-gradient(circle at 45% 58%, rgba(0, 210, 255, 0.18), transparent 30%);
  z-index: 2;
  pointer-events: none;
}

.hero-left {
  width: min(650px, 56%);
  padding: 52px 0 38px 42px;
  position: relative;
  z-index: 3;
}

.pill {
  width: fit-content;
  padding: 9px 15px;
  border-radius: 999px;
  color: #55dcff;
  background: rgba(3, 22, 43, 0.82);
  border: 1px solid rgba(0, 210, 255, 0.38);
  font-weight: 900;
  font-size: 13px;
  box-shadow: inset 0 0 18px rgba(0, 210, 255, 0.08);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.8);
}

.hero h1 span,
.gallery-section h2 span {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 550px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.75;
  color: #edf5ff;
}

.ip-box {
  margin-top: 28px;
  width: min(600px, calc(100vw - 84px));
  min-height: 116px;
  display: grid;
  grid-template-columns: 78px 1fr 1px 140px;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(4, 13, 28, 0.95), rgba(6, 22, 42, 0.86));
  border: 1.5px solid var(--line-strong);
  border-radius: 22px;
  box-shadow:
    0 0 28px rgba(0, 153, 255, 0.28),
    inset 0 0 36px rgba(0, 153, 255, 0.08);
}

.grass-block {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 36px;
  border-radius: 16px;
  background: rgba(18, 57, 81, 0.85);
  border: 1px solid rgba(57, 184, 255, 0.35);
}

.grass-block img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ip-info small {
  display: block;
  color: #d9e9ff;
  font-weight: 900;
  margin-bottom: 8px;
}

.ip-info strong {
  display: block;
  font-size: clamp(25px, 3.2vw, 33px);
  color: var(--cyan);
  letter-spacing: -1px;
}

.divider {
  width: 1px;
  height: 64px;
  background: rgba(148, 206, 255, 0.25);
}

.copy-btn {
  height: 56px;
  border: 1px solid rgba(86, 161, 255, 0.78);
  border-radius: 15px;
  background: rgba(23, 49, 91, 0.74);
  color: white;
  font-family: inherit;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: inset 0 0 18px rgba(100, 160, 255, 0.15);
}

.copy-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.action-row {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.action {
  min-width: 185px;
  padding: 19px 26px;
  border-radius: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.26);
}

.discord {
  background: linear-gradient(135deg, #7b5cff, #6838f4);
}

.messenger {
  background: linear-gradient(135deg, #28a8ff, #2169ff);
}

.register {
  background: #fff;
  color: #08101d;
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 17, 0.92) 0%,
      rgba(2, 7, 17, 0.55) 38%,
      rgba(2, 7, 17, 0.12) 72%,
      rgba(2, 7, 17, 0.04) 100%
    ),
    url("../assets/images/home.png") center center / cover no-repeat;
}

.section {
  padding: 28px 40px 0;
}

.section-kicker {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  gap: 14px;
  align-items: center;
  color: #b9c8df;
  font-weight: 900;
  font-size: 14px;
}

.section-kicker span {
  color: var(--blue);
  text-shadow: 0 0 12px var(--cyan);
}

.section h2 {
  margin-top: 10px;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.features-grid {
  margin: 24px auto 10px;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  min-height: 178px;
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(7, 20, 38, 0.92), rgba(4, 13, 28, 0.92));
  border: 1px solid rgba(54, 152, 255, 0.45);
  box-shadow: inset 0 0 26px rgba(0, 153, 255, 0.06);
}

.feature-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: grid;
  place-items: center;
  font-size: 46px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.04);
}

.feature-icon.purple {
  background: rgba(137, 78, 255, 0.18);
}

.feature-icon.orange {
  background: rgba(255, 170, 0, 0.15);
}

.feature-icon.green {
  background: rgba(70, 255, 84, 0.16);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.purple-text {
  color: #b162ff;
}

.orange-text {
  color: var(--orange);
}

.green-text {
  color: var(--green);
}

.feature-card p {
  color: #e1eaf8;
  line-height: 1.65;
  font-size: 15.5px;
}

.gallery-section {
  padding-bottom: 38px;
}

.gallery-grid {
  margin: 24px auto 24px;
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid rgba(55, 148, 255, 0.55);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.25);
}

.view-all {
  margin: 0 auto;
  width: fit-content;
  display: block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(65, 149, 255, 0.85);
  background: rgba(3, 12, 25, 0.8);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(34, 125, 255, 0.18);
}

@media (max-width: 1050px) {
  .site-header {
    height: auto;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero {
    min-height: 620px;
    display: block;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 17, 0.96), rgba(2, 7, 17, 0.72), rgba(2, 7, 17, 0.96)),
      radial-gradient(circle at 45% 45%, rgba(0, 210, 255, 0.16), transparent 30%);
  }

  .hero-left {
    width: 100%;
    padding: 42px 22px;
  }

  .hero-right {
    position: absolute;
    inset: 0;
    min-height: 100%;
    background-position: center;
  }

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

  .ip-box {
    grid-template-columns: 64px 1fr;
  }

  .divider {
    display: none;
  }

  .copy-btn {
    grid-column: 1 / -1;
  }

  .action {
    width: 100%;
  }
}

/* IMAGE POPUP */

.image-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.popup-image {
  position: relative;
  z-index: 2;

  width: min(92vw, 1200px);
  max-height: 88vh;

  object-fit: contain;

  border-radius: 18px;
  border: 2px solid rgba(0, 210, 255, 0.55);

  box-shadow:
    0 0 50px rgba(0, 153, 255, 0.28),
    0 20px 60px rgba(0, 0, 0, 0.5);

  animation: popupShow 0.22s ease;
}

.popup-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;

  width: 52px;
  height: 52px;

  border: 0;
  border-radius: 14px;

  background: rgba(10, 20, 35, 0.82);
  border: 1px solid rgba(0, 210, 255, 0.32);

  color: white;
  font-size: 24px;
  cursor: pointer;
}

.popup-close:hover {
  color: #20e3ff;
  border-color: #20e3ff;
}

.gallery-grid img {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 0 30px rgba(0, 153, 255, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.35);
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.action svg {
  flex-shrink: 0;
}