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

:root {
  --bg: #0b0611;
  --surface: #130b1c;
  --surface-light: #1b1028;
  --purple: #bc42ff;
  --pink: #ff35db;
  --lavender: #d7a5ff;
  --text: #fbf6ff;
  --muted: #b0a1bd;
  --border: rgba(203, 125, 255, .18);
  --glow: rgba(187, 42, 255, .22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #21102e 0%, transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(224, 53, 255, .15) 0 1px, transparent 3px),
    radial-gradient(circle at 82% 32%, rgba(160, 75, 255, .2) 0 1px, transparent 3px),
    radial-gradient(circle at 72% 76%, rgba(255, 53, 219, .13) 0 2px, transparent 4px),
    radial-gradient(circle at 25% 85%, rgba(180, 66, 255, .17) 0 1px, transparent 3px);
  background-size: 180px 180px, 240px 240px, 200px 200px, 270px 270px;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
  pointer-events: none;
}

.ambient-one {
  top: 400px;
  left: -200px;
  background: var(--purple);
}

.ambient-two {
  top: 1300px;
  right: -200px;
  background: var(--pink);
}

.ambient-three {
  top: 2300px;
  left: 20%;
  background: #763bff;
}

/* NAVIGATION */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 6, 17, .88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .8px;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 53, 219, .4);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(188, 66, 255, .15);
}

.brand-accent {
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links a,
.back-top {
  transition: color .2s ease;
}

.nav-links a:hover,
.back-top:hover {
  color: var(--pink);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.button-primary {
  color: white;
  background: linear-gradient(110deg, #862cff, #d52cff 65%, #ff35b9);
  box-shadow: 0 5px 24px rgba(183, 44, 255, .2);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(208, 44, 255, .35);
}

.button-outline {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, .025);
}

.button-outline:hover {
  border-color: rgba(255, 53, 219, .55);
  background: rgba(190, 55, 255, .08);
}

.nav-discord {
  min-height: 39px;
  padding: 8px 14px;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 85px 0 80px;
  background:
    radial-gradient(ellipse at 77% 42%, rgba(164, 30, 255, .18), transparent 36%),
    radial-gradient(ellipse at 8% 8%, rgba(255, 35, 204, .1), transparent 32%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background-image:
    linear-gradient(rgba(205, 131, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 131, 255, .13) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 30px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.status-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lavender);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.status-label {
  margin-bottom: 25px;
  padding: 8px 12px;
  border: 1px solid rgba(204, 113, 255, .25);
  border-radius: 30px;
  background: rgba(180, 64, 255, .07);
}

.status-dot,
.visual-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e74cff;
  box-shadow: 0 0 12px #d02cff;
}

.hero-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero h1 {
  margin: 8px 0 3px;
  font-size: clamp(48px, 6vw, 77px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1.15;
  text-shadow: 0 0 40px rgba(204, 51, 255, .16);
}

.hero h1 span {
  color: var(--pink);
}

.hero h2 {
  margin-bottom: 17px;
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1.3;
  letter-spacing: -.8px;
}

.hero-description {
  max-width: 490px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

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

.edition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 27px;
  color: #c1b0d1;
  font-size: 10px;
}

.edition-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* HERO ART */

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.art-glow {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #a500ff;
  opacity: .2;
  filter: blur(75px);
}

.art-ring {
  position: absolute;
  border: 1px solid rgba(213, 93, 255, .24);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.ring-one {
  width: 92%;
  height: 55%;
}

.ring-two {
  width: 76%;
  height: 90%;
  transform: rotate(55deg);
  border-color: rgba(255, 53, 219, .17);
}

.logo-frame {
  position: relative;
  width: min(100%, 420px);
  padding: 10px;
  border: 1px solid rgba(255, 74, 255, .45);
  border-radius: 22px;
  background: rgba(14, 5, 22, .55);
  box-shadow:
    0 0 25px rgba(208, 42, 255, .24),
    0 0 80px rgba(162, 35, 255, .12);
  transform: rotate(-2deg);
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(183, 74, 255, .2);
  border-radius: 26px;
}

.logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.floating-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(205, 123, 255, .25);
  border-radius: 12px;
  background: rgba(20, 10, 31, .9);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
}

.tag-top {
  top: 30px;
  right: 0;
}

.tag-bottom {
  bottom: 28px;
  left: 0;
}

.tag-icon {
  color: var(--pink);
  font-size: 23px;
}

.floating-tag strong,
.floating-tag small {
  display: block;
}

.floating-tag strong {
  font-size: 9px;
  letter-spacing: .8px;
}

.floating-tag small {
  color: var(--muted);
  font-size: 9px;
}

.hero-bottom-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b32bff, #ff35db, transparent);
  opacity: .65;
}

/* SHARED SECTIONS */

.section {
  padding: 85px 0;
}

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

.section-heading .section-label {
  margin-bottom: 13px;
}

.section-heading h2,
.about-content h2,
.guide-content h2,
.community-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 41px);
  line-height: 1.25;
  letter-spacing: -1.5px;
}

.section-heading h2 span,
.about-content h2 span,
.guide-content h2 span,
.community-panel h2 span {
  color: var(--pink);
}

.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* SERVER CARDS */

.join-section {
  background: linear-gradient(180deg, rgba(27, 13, 42, .6), transparent);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 850px;
  margin: 0 auto;
}

.server-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #1b1028, #100918);
  transition: border-color .2s, transform .2s;
}

.server-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 94, 255, .4);
}

.featured-card {
  border-color: rgba(255, 53, 219, .28);
  background:
    radial-gradient(ellipse at top right, rgba(255, 53, 219, .09), transparent 60%),
    linear-gradient(145deg, #1b1028, #100918);
}

.server-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.server-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(192, 113, 255, .3);
  border-radius: 12px;
  background: rgba(176, 66, 255, .12);
  color: #d5a5ff;
  font-size: 21px;
  font-weight: 900;
}

.bedrock-icon {
  color: #ff80e6;
  background: rgba(255, 53, 219, .1);
  border-color: rgba(255, 53, 219, .25);
}

.edition-badge {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--lavender);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}

.server-card h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.server-card > p {
  color: var(--muted);
  font-size: 12px;
}

.address-box {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(205, 123, 255, .14);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}

.address-box small,
.address-box strong {
  display: block;
}

.address-box small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
}

.address-box strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.port-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 11px;
}

.port-row strong {
  color: var(--text);
}

.copy-button {
  width: 100%;
  margin-top: 15px;
}

.server-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.about-visual {
  padding: 25px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(199, 100, 255, .25);
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 45%, rgba(219, 41, 255, .22), transparent 40%),
    linear-gradient(145deg, #21102f, #0f0818);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border: 1px solid rgba(255, 53, 219, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255, 53, 219, .03);
}

.visual-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.visual-symbol {
  margin-top: 32px;
  color: var(--pink);
  font-size: 62px;
  line-height: 1.1;
  text-shadow: 0 0 35px rgba(255, 53, 219, .4);
}

.visual-card h3 {
  margin-top: 13px;
  font-size: 23px;
}

.visual-card p {
  color: var(--muted);
  font-size: 12px;
}

.visual-bars {
  display: flex;
  gap: 5px;
  margin-top: 25px;
}

.visual-bars span {
  width: 10px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(#ff35db, #792cff);
  opacity: .8;
}

.visual-bars span:nth-child(3n) {
  height: 32px;
  margin-top: -12px;
}

.visual-bars span:nth-child(4n) {
  opacity: .35;
}

.about-content > p,
.guide-content > p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--lavender);
  font-size: 12px;
  font-weight: 800;
}

.text-link span {
  transition: transform .2s;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* FEATURE GRID */

.features-section {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(105, 36, 158, .1), transparent 65%);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 17, 44, .95), rgba(16, 9, 24, .95));
  transition: transform .22s, border-color .22s;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 65px;
  background: radial-gradient(circle at top right, rgba(255, 53, 219, .12), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 103, 255, .4);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(201, 111, 255, .22);
  border-radius: 12px;
  background: rgba(175, 65, 255, .1);
  color: #e4b8ff;
  font-size: 22px;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 15px;
}

.feature-card p {
  min-height: 68px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.feature-number {
  display: block;
  margin-top: 22px;
  color: rgba(207, 156, 255, .65);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

/* GUIDE */

.guide-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  overflow: hidden;
  padding: 45px;
  border: 1px solid rgba(202, 117, 255, .24);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 90% 40%, rgba(183, 47, 255, .16), transparent 40%),
    #160c22;
}

.guide-content {
  position: relative;
  z-index: 1;
  max-width: 590px;
}

.guide-content .button {
  margin-top: 10px;
}

.guide-decoration {
  position: relative;
  flex: 0 0 200px;
  height: 200px;
  display: grid;
  place-items: center;
}

.guide-orbit {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(222, 122, 255, .4);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(171, 55, 255, .1);
}

.guide-glyph {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 53, 219, .5);
  border-radius: 28px;
  background: linear-gradient(145deg, #9c32f0, #321044);
  color: white;
  font-size: 55px;
  font-weight: 900;
  box-shadow: 0 0 40px rgba(203, 44, 255, .22);
  transform: rotate(-8deg);
}

.guide-spark {
  position: absolute;
  color: var(--pink);
}

.spark-one {
  top: 5px;
  right: 25px;
}

.spark-two {
  left: 12px;
  bottom: 30px;
  font-size: 25px;
}

.spark-three {
  top: 48px;
  left: 5px;
}

/* COMMUNITY */

.community-section {
  padding-top: 20px;
}

.community-panel {
  padding: 40px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at top, rgba(184, 43, 255, .12), transparent 70%),
    rgba(18, 10, 27, .7);
  text-align: center;
}

.community-panel .section-label {
  margin-bottom: 15px;
}

.community-panel > p {
  max-width: 520px;
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 12px;
}

.community-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 0 auto;
  text-align: left;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  transition: border-color .2s, background .2s;
}

.social-link:hover {
  border-color: rgba(255, 53, 219, .4);
  background: rgba(173, 55, 255, .07);
}

.social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(188, 66, 255, .12);
  color: var(--pink);
  font-size: 22px;
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  font-size: 12px;
}

.social-link small {
  color: var(--muted);
  font-size: 10px;
}

.social-arrow {
  margin-left: auto;
  color: var(--lavender);
}

/* FOOTER */

.footer {
  margin-top: 35px;
  border-top: 1px solid var(--border);
  background: rgba(5, 3, 8, .45);
}

.footer-inner {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-inner p,
.back-top {
  color: var(--muted);
  font-size: 10px;
}

.back-top {
  font-weight: 700;
}

/* TOAST */

#toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 12px 17px;
  border: 1px solid rgba(255, 53, 219, .35);
  border-radius: 10px;
  background: #21102f;
  color: #ffd2fa;
  font-size: 12px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr .85fr;
    gap: 15px;
  }

  .hero-art {
    min-height: 350px;
  }

  .floating-tag {
    padding: 9px;
  }

  .about-layout {
    gap: 35px;
  }

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

  .guide-decoration {
    flex-basis: 150px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    gap: 7px;
    font-size: 12px;
    letter-spacing: .2px;
  }

  .brand img {
    width: 33px;
    height: 33px;
  }

  .nav-links {
    gap: 11px;
    font-size: 10px;
  }

  .nav-discord {
    display: none;
  }

  .hero {
    padding: 65px 0 55px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 67px);
    letter-spacing: -2.5px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .edition-tags {
    gap: 10px;
    font-size: 9px;
  }

  .hero-art {
    min-height: 300px;
    margin-top: 15px;
  }

  .logo-frame {
    width: min(80%, 330px);
  }

  .tag-top {
    top: 8px;
    right: 0;
  }

  .tag-bottom {
    bottom: 5px;
    left: 0;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-content h2,
  .guide-content h2,
  .community-panel h2 {
    font-size: 29px;
    letter-spacing: -.8px;
  }

  .server-grid,
  .features-grid,
  .community-links {
    grid-template-columns: 1fr;
  }

  .server-card {
    padding: 22px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-visual {
    padding: 5px;
  }

  .visual-card {
    min-height: 260px;
  }

  .feature-card {
    padding: 22px;
  }

  .feature-card p {
    min-height: 0;
  }

  .guide-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 23px;
  }

  .guide-decoration {
    align-self: center;
  }

  .community-panel {
    padding: 32px 18px;
  }

  .footer-inner {
    justify-content: center;
    flex-direction: column;
    padding: 25px 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
