:root {
  --bg: #05060c;
  --bg-soft: #0a0d18;
  --panel: rgba(16, 20, 35, 0.72);
  --panel-2: rgba(10, 13, 24, 0.86);
  --text: #f7f8ff;
  --muted: #969bb4;
  --blue: #2d8cff;
  --purple: #8c4dff;
  --purple-2: #b066ff;
  --border: rgba(255,255,255,0.08);
  --green: #42f59e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 0%, rgba(63, 59, 255, 0.10), transparent 35%),
    radial-gradient(circle at 20% 35%, rgba(141, 77, 255, 0.09), transparent 27%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  opacity: .17;
}

.orb-one {
  width: 340px;
  height: 340px;
  background: var(--purple);
  top: 18%;
  right: -160px;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: var(--blue);
  bottom: 7%;
  left: -160px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,6,12,.88), rgba(5,6,12,.55));
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.nav {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 34px rgba(98, 83, 255, .35);
  letter-spacing: 0;
  font-size: 19px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b7bbce;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(126, 91, 255, .45);
  border-radius: 11px;
  color: white !important;
  background: rgba(117, 69, 255, .12);
}

.menu-btn {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 70px;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #c2c6d9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.status-dot, .green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7b8097;
  box-shadow: 0 0 0 5px rgba(123,128,151,.08);
}

.status-dot.online,
.green-dot {
  background: var(--green);
  box-shadow: 0 0 18px rgba(66,245,158,.72);
}

.status-dot.offline {
  background: #ff5470;
  box-shadow: 0 0 18px rgba(255,84,112,.55);
}

h1 {
  max-width: 720px;
  margin: 24px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 7.7vw, 7rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 800;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(100deg, #5bb4ff 0%, #7754ff 45%, #b76bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(116, 76, 255, .24));
}

.hero-sub {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  min-height: 58px;
  border-radius: 14px;
  padding: 0 20px;
  border: 1px solid var(--border);
  cursor: pointer;
  color: white;
  font-weight: 800;
}

.primary-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: linear-gradient(110deg, #257dff, #754bff 62%, #9d4eff);
  box-shadow: 0 14px 40px rgba(73,75,255,.23);
}

.primary-btn small {
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 600;
}

.secondary-btn {
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.035);
  color: #ccd0df;
}

.primary-btn:hover,
.secondary-btn:hover,
.big-ip:hover {
  transform: translateY(-2px);
}

.primary-btn,
.secondary-btn,
.big-ip {
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  color: var(--muted);
}

.hero-stats div {
  display: grid;
  gap: 3px;
}

.hero-stats strong {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.hero-stats span {
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.portal-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132,85,255,.35), rgba(49,133,255,.12) 42%, transparent 70%);
  filter: blur(10px);
  animation: breathe 4s ease-in-out infinite;
}

.cube {
  position: relative;
  width: 185px;
  height: 185px;
  transform-style: preserve-3d;
  animation: cubeFloat 9s ease-in-out infinite;
}

.cube-face {
  position: absolute;
  width: 185px;
  height: 185px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(135deg, rgba(43,128,255,.3), rgba(126,72,255,.17)),
    rgba(12,14,28,.95);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 36px rgba(114,70,255,.08);
  font: 800 88px/1 "Space Grotesk", sans-serif;
  color: rgba(255,255,255,.91);
  text-shadow: 0 0 40px rgba(126,89,255,.75);
}

.front { transform: translateZ(92.5px); }
.back { transform: rotateY(180deg) translateZ(92.5px); }
.right { transform: rotateY(90deg) translateZ(92.5px); }
.left { transform: rotateY(-90deg) translateZ(92.5px); }
.top { transform: rotateX(90deg) translateZ(92.5px); }
.bottom { transform: rotateX(-90deg) translateZ(92.5px); }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(10,12,24,.72);
  box-shadow: 0 16px 55px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}

.floating-card small {
  display: block;
  color: #777f9e;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 800;
}

.floating-card strong {
  font-size: 12px;
}

.card-online {
  top: 100px;
  right: 3px;
  animation: floatCard 4s ease-in-out infinite;
}

.card-ip {
  left: 6px;
  bottom: 105px;
  display: block;
  animation: floatCard 4.6s ease-in-out infinite reverse;
}

.card-ip strong {
  display: block;
  margin-top: 4px;
}

@keyframes cubeFloat {
  0%, 100% { transform: rotateX(-18deg) rotateY(34deg) translateY(0); }
  50% { transform: rotateX(-12deg) rotateY(82deg) translateY(-18px); }
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes breathe {
  0%,100% { transform: scale(.95); opacity: .74; }
  50% { transform: scale(1.08); opacity: 1; }
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading > span,
.join-label {
  color: #7d8cff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}

.section-heading h2,
.join-inner h2 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -.045em;
}

.section-heading p,
.join-inner > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 230px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.feature-card:hover {
  border-color: rgba(113,90,255,.34);
}

.feature-card.featured {
  background:
    radial-gradient(circle at 10% 5%, rgba(69,134,255,.13), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(151,76,255,.11), transparent 35%),
    linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 12px;
  background: rgba(99,81,255,.10);
  border: 1px solid rgba(113,90,255,.16);
  color: #9e8dff;
  font-size: 20px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.rules-section {
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.012);
}

.two-col {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.rules-list {
  display: grid;
}

.rule {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--border);
}

.rule:first-child {
  border-top: 1px solid var(--border);
}

.rule b {
  color: #6f78a0;
  font-size: 12px;
}

.rule span {
  font-weight: 700;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: auto;
}

.staff-card {
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.02);
}

.avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 17px;
  background: linear-gradient(135deg, #2458c9, #824cff);
  box-shadow: 0 12px 35px rgba(81,75,255,.18);
  font: 800 28px/1 "Space Grotesk", sans-serif;
}

.avatar.admin {
  background: linear-gradient(135deg, #393f52, #6658c9);
}

.avatar.mod {
  background: linear-gradient(135deg, #1a7ba7, #5a48bf);
}

.staff-card h3 {
  margin: 0 0 7px;
}

.staff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.join-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(to bottom, rgba(70,42,145,.025), rgba(5,6,12,0));
}

.join-glow {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 620px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,66,255,.18), transparent 68%);
  filter: blur(30px);
}

.join-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.big-ip {
  width: min(590px, 100%);
  margin: 35px auto 18px;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 14px 0 24px;
  border: 1px solid rgba(120,95,255,.32);
  border-radius: 18px;
  background: rgba(16,17,32,.88);
  color: white;
  cursor: pointer;
}

.big-ip span {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  white-space: nowrap;
}

.big-ip b {
  flex: 0 0 auto;
  padding: 13px 15px;
  border-radius: 11px;
  background: linear-gradient(115deg, var(--blue), var(--purple));
  font-size: 11px;
}

.status-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: #6f748a;
  font-size: 11px;
}

.footer-inner > div p {
  margin: 9px 0 0 50px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(14,17,29,.94);
  color: white;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  box-shadow: 0 12px 44px rgba(0,0,0,.35);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-heading.left {
    text-align: center;
    margin: auto;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    padding: 18px;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(8,10,19,.96);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5.1rem);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-visual {
    min-height: 360px;
  }

  .cube,
  .cube-face {
    width: 145px;
    height: 145px;
  }

  .front { transform: translateZ(72.5px); }
  .back { transform: rotateY(180deg) translateZ(72.5px); }
  .right { transform: rotateY(90deg) translateZ(72.5px); }
  .left { transform: rotateY(-90deg) translateZ(72.5px); }
  .top { transform: rotateX(90deg) translateZ(72.5px); }
  .bottom { transform: rotateX(-90deg) translateZ(72.5px); }

  .cube-face {
    font-size: 67px;
  }

  .portal-glow {
    width: 260px;
    height: 260px;
  }

  .card-online {
    top: 48px;
  }

  .card-ip {
    bottom: 57px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .feature-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner > div p {
    margin-left: 0;
  }
}


.skin-avatar {
  padding: 0;
  overflow: hidden;
  image-rendering: pixelated;
}

.skin-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
}
