:root {
  --bg: #090711;
  --bg-soft: #100d1b;
  --panel: #151121;
  --panel-hover: #1c162b;
  --purple: #a78bfa;
  --purple-bright: #c4b5fd;
  --pink: #e879f9;
  --text: #f6f3ff;
  --muted: #aaa3bd;
  --border: rgba(196, 181, 253, 0.14);
  --radius: 18px;
  --container: 1120px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.gradient-text {
  background: linear-gradient(110deg, var(--purple-bright), var(--pink));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

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

.section-heading h2,
.about-layout h2,
.join-panel h2 {
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.section-heading > p,
.section-description {
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
}

/* NAVIGATION */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 7, 17, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.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: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  object-fit: cover;
  border: 1px solid rgba(196, 181, 253, 0.45);
  border-radius: 11px;
  background: linear-gradient(135deg, #8b5cf6, #4c1d95);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.2);
  color: white;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--purple-bright);
}

/* BUTTONS */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(110deg, #8b5cf6, #a855f7);
  color: white;
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.2);
}

.button-primary:hover {
  background: linear-gradient(110deg, #9d72ff, #c05cf7);
}

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

.button-outline:hover {
  border-color: rgba(196, 181, 253, 0.5);
  background: rgba(167, 139, 250, 0.08);
}

.button-small {
  min-height: 39px;
  padding: 8px 15px;
  font-size: 12px;
}

.button-full {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: 610px;
  padding: 95px 0 25px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 35%, rgba(109, 40, 217, 0.12), transparent 45%),
    linear-gradient(180deg, #0c0916, var(--bg));
}

.hero-glow {
  position: absolute;
  top: 50px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  filter: blur(100px);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 45px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(167, 139, 250, 0.055);
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.eyebrow-dot,
.status-light {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.7);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(48px, 6.4vw, 78px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1.03;
}

.hero-description {
  max-width: 510px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-tags span {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #bdb5d1;
  font-size: 11px;
}

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

.visual-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(196, 181, 253, 0.17);
  border-radius: 50%;
}

.ring-two {
  width: 370px;
  height: 370px;
  border-style: dashed;
  border-color: rgba(196, 181, 253, 0.11);
}

.visual-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: 280px;
  height: 280px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 24px;
  background: linear-gradient(145deg, #211735, #100c1b 75%);
  box-shadow:
    0 25px 90px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(139, 92, 246, 0.13);
  transform: rotate(-4deg);
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-symbol {
  display: grid;
  width: 120px;
  height: 140px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 22px;
  background: linear-gradient(145deg, #8b5cf6, #4c1d95);
  color: white;
  font-size: 90px;
  font-weight: 900;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.visual-caption {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.visual-subcaption {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}

.floating-label {
  position: absolute;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #171124;
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.label-top {
  top: 45px;
  right: 5px;
}

.label-bottom {
  bottom: 50px;
  left: 5px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 70px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.4px;
}

.hero-bottom a {
  color: var(--purple-bright);
  letter-spacing: 0;
}

/* ABOUT */

.about-section {
  padding-top: 65px;
  padding-bottom: 65px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

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

.about-layout h2 {
  max-width: 500px;
}

.about-layout .section-description {
  margin-top: 0;
}

/* FEATURE CARDS */

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

.feature-card,
.guide-card,
.rank-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #151121, #0e0b17);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.feature-card {
  min-height: 250px;
  padding: 25px;
}

.feature-card:hover,
.guide-card:hover,
.rank-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 181, 253, 0.38);
  background: linear-gradient(145deg, #1b1530, #100d1a);
}

.featured-card,
.rank-card-featured {
  border-color: rgba(167, 139, 250, 0.4);
  background: linear-gradient(145deg, #211536, #110d1d);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-bright);
  font-size: 24px;
}

.card-number {
  color: var(--purple-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.feature-card h3,
.guide-card h3,
.rank-card h3 {
  margin-top: 10px;
  font-size: 19px;
  letter-spacing: -0.4px;
}

.feature-card p,
.guide-card p,
.rank-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* GUIDE */

.guide-section {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(109, 40, 217, 0.08), transparent 55%),
    var(--bg-soft);
}

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

.guide-card {
  position: relative;
  min-height: 215px;
  padding: 27px;
  overflow: hidden;
}

.guide-step {
  display: inline-block;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.text-link {
  display: inline-block;
  margin-top: 17px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--pink);
}

.guide-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(167, 139, 250, 0.045);
}

.note-icon {
  color: var(--purple-bright);
  font-size: 19px;
}

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

/* STATUS */

.status-section {
  border-top: 1px solid var(--border);
}

.status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(110deg, #191329, #100d19);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-light {
  width: 11px;
  height: 11px;
}

.status-light.is-online {
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.status-light.is-offline {
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
}

.status-indicator strong {
  font-size: 13px;
  letter-spacing: 1px;
}

.status-indicator p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.status-disclaimer,
.rank-disclaimer {
  margin-top: 15px;
  color: #837b98;
  font-size: 11px;
  text-align: center;
}

/* RANKS */

.ranks-section {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.rank-grid .rank-card {
  grid-column: span 2;
}

.rank-grid .rank-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.rank-grid .rank-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.rank-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.rank-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-bright);
  font-size: 26px;
}

.rank-label {
  margin-top: 24px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.rank-card h3 {
  margin-top: 8px;
  font-size: 24px;
}

.rank-card .button {
  margin-top: auto;
}

.rank-price {
  margin-top: 6px;
  color: var(--purple-bright);
  font-size: 22px;
  font-weight: 900;
}

.rank-perks {
  display: grid;
  width: 100%;
  gap: 9px;
  margin: 18px 0 26px;
  list-style: none;
}

.rank-perks li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rank-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple-bright);
  font-weight: 900;
}

/* JOIN */

.join-section {
  padding-top: 75px;
  padding-bottom: 100px;
}

.join-panel {
  padding: 55px;
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.15), transparent 50%),
    linear-gradient(135deg, #191329, #0e0b17);
  text-align: center;
}

.join-panel > p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
}

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

.server-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 5, 13, 0.55);
}

.address-label {
  display: block;
  margin-bottom: 5px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.server-address strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.port-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.copy-button {
  flex-shrink: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #211735;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-button:hover {
  background: #302049;
}

.join-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  background: #07060d;
}

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

.footer-inner > p,
.copyright {
  color: var(--muted);
  font-size: 11px;
}

/* TOAST */

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  padding: 13px 19px;
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 12px;
  background: #211735;
  color: white;
  font-size: 13px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* RESPONSIVE */

@media (max-width: 850px) {
  .nav-links {
    gap: 13px;
  }

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

  .hero-layout {
    gap: 15px;
  }

  .hero h1 {
    font-size: clamp(45px, 7vw, 64px);
  }

  .visual-ring {
    width: 250px;
    height: 250px;
  }

  .ring-two {
    width: 310px;
    height: 310px;
  }

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

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

  .rank-grid .rank-card,
  .rank-grid .rank-card:nth-child(4),
  .rank-grid .rank-card:nth-child(5) {
    grid-column: auto;
  }

  .rank-grid .rank-card:last-child {
    grid-column: 1 / -1;
  }
}

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

  .section {
    padding: 70px 0;
  }

  .nav-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-inner > .button {
    min-height: 34px;
    padding: 7px 10px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 3px 0;
  }

  .nav-links a {
    flex-shrink: 0;
    font-size: 11px;
  }

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

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

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

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

  .hero-visual {
    min-height: 320px;
    margin-top: 10px;
  }

  .visual-card {
    width: 220px;
    height: 220px;
  }

  .visual-symbol {
    width: 100px;
    height: 120px;
    font-size: 75px;
  }

  .visual-ring {
    width: 240px;
    height: 240px;
  }

  .ring-two {
    width: 290px;
    height: 290px;
  }

  .label-top {
    right: 0;
  }

  .label-bottom {
    left: 0;
  }

  .hero-bottom {
    margin-top: 35px;
    font-size: 9px;
  }

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

  .feature-grid,
  .guide-grid,
  .rank-grid,
  .server-addresses {
    grid-template-columns: 1fr;
  }

  .rank-grid .rank-card:last-child {
    grid-column: auto;
  }

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

  .status-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

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

  .server-address {
    padding: 15px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* PIXEL ICONS */

.pixel {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.pixel .a {
  fill: var(--pink);
}

.feature-icon {
  color: var(--purple-bright);
}

.rank-icon .pixel {
  width: 32px;
  height: 32px;
}

.rank-icon .pixel .a {
  fill: #fff;
  fill-opacity: 0.6;
}

/* WARNA PER RANK */

.rank-card {
  --rc: var(--purple-bright);
}

.rank-card[data-rank="explorer"] { --rc: #cbd5e1; }
.rank-card[data-rank="alverix"]  { --rc: #fbbf24; }
.rank-card[data-rank="privado"]  { --rc: #a78bfa; }
.rank-card[data-rank="moonvel"]  { --rc: #f9a8d4; }
.rank-card[data-rank="solarix"]  { --rc: #fb923c; }

.rank-grid .rank-card .rank-icon {
  color: var(--rc);
  border-color: color-mix(in srgb, var(--rc) 40%, transparent);
  background: color-mix(in srgb, var(--rc) 14%, transparent);
}

.rank-grid .rank-card .rank-label,
.rank-grid .rank-card .rank-price,
.rank-grid .rank-card .rank-perks li::before {
  color: var(--rc);
}

.rank-grid .rank-card:hover,
.rank-grid .rank-card-featured {
  border-color: color-mix(in srgb, var(--rc) 55%, transparent);
}

/* BADGE RANK */

.rank-badge {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.rank-grid .rank-card .rank-label {
  margin-top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* HERO BANNER: logo blur sebagai latar hero */

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

/* Logo diperbesar dan di-blur, jadi suasana warna di belakang kartu logo */
.hero::before {
  inset: -80px;
  background: url("logo.jpg") 76% 42% / 680px auto no-repeat;
  filter: blur(38px) saturate(1.25);
  opacity: 0.4;
}

/* Gelap di kiri (area teks), memudar ke warna halaman di bawah */
.hero::after {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--bg) 100%),
    linear-gradient(90deg,
      rgba(9, 7, 17, 0.9) 0%,
      rgba(9, 7, 17, 0.65) 45%,
      rgba(9, 7, 17, 0.2) 100%);
}

/* Konten hero harus di atas latar */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-glow {
  z-index: 0;
}

@media (max-width: 850px) {
  .hero::before {
    background-position: 50% 78%;
    background-size: 460px auto;
    filter: blur(32px) saturate(1.2);
    opacity: 0.32;
  }

  .hero::after {
    background:
      linear-gradient(180deg, transparent 60%, var(--bg) 100%),
      linear-gradient(180deg,
        rgba(9, 7, 17, 0.75) 0%,
        rgba(9, 7, 17, 0.55) 100%);
  }
}

/* TUTORIAL */

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

.tutorial-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.tutorial-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}

.tutorial-name strong {
  font-size: 16px;
}

.tutorial-name span {
  color: var(--muted);
  font-size: 13px;
}

.tutorial-link {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

a.tutorial-link:hover,
a.tutorial-link:focus-visible {
  background: var(--purple);
  color: var(--bg);
}

.tutorial-link.is-soon {
  border-style: dashed;
  border-color: var(--border);
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 850px) {
  .tutorial-grid {
    grid-template-columns: 1fr;
  }
}

/* IP SERVER: navbar dan hero */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-ip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-ip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(21, 17, 33, 0.72);
  backdrop-filter: blur(6px);
}

.hero-ip-label {
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-ip-item strong {
  font-size: 14px;
}

.hero-ip-port {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 850px) {
  .nav-copy {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-ip-item {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-ip-item .copy-button {
    margin-left: auto;
  }
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(196, 181, 253, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--purple-bright);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-answer p + p,
.faq-answer ul {
  margin-top: 10px;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer strong {
  color: var(--text);
}

.faq-answer a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* TOMBOL KEMBALI KE ATAS */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #211735;
  color: var(--purple-bright);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: #302049;
}

/* GALERI */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 5;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
  transform: scale(1.04);
}

.gallery-open:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

.gallery-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(9, 7, 17, 0.72);
  backdrop-filter: blur(6px);
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  pointer-events: none;
}

.lightbox {
  width: min(96vw, 1400px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(5, 4, 10, 0.9);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #211735;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #302049;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* RANK KREATOR */

.creator-block {
  margin-top: 64px;
}

.creator-title {
  font-size: 24px;
  text-align: center;
}

.creator-sub {
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.rank-card[data-rank="youtuber"] { --rc: #ef4444; }
.rank-card[data-rank="tiktoker"] { --rc: #22d3ee; }

.rank-subhead {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.creator-grid .rank-perks {
  margin-top: 10px;
}

@media (min-width: 851px) {
  .rank-grid.creator-grid .rank-card:nth-child(1) {
    grid-column: 2 / span 2;
  }

  .rank-grid.creator-grid .rank-card:nth-child(2) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 850px) {
  .rank-grid.creator-grid .rank-card:last-child {
    grid-column: auto;
  }
}

/* TUTORIAL: satu atau dua tombol per fitur */

.tutorial-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 600px) {
  .tutorial-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tutorial-links {
    justify-content: flex-start;
  }
}

/* STAFF */

.staff-grid {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

/* Avatar kecil dan tenang: bingkai tipis, tanpa glow */
.staff-avatar {
  position: relative;
  display: grid;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #211735;
  color: var(--purple-bright);
  font-size: 20px;
  font-weight: 800;
}

.staff-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.staff-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.staff-badge {
  width: 112px;
  height: auto;
}

.staff-name {
  margin-top: 4px;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.staff-role {
  color: var(--muted);
  font-size: 12px;
}

.staff-card .button {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .staff-card {
    flex-wrap: wrap;
  }

  .staff-info {
    flex-basis: calc(100% - 70px);
  }

  .staff-card .button {
    width: 100%;
  }
}

/* MENU GARIS TIGA */

.nav-inner {
  position: relative;
}

.menu-toggle {
  display: grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(196, 181, 253, 0.5);
  background: rgba(167, 139, 250, 0.08);
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-bright);
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before { top: -6px; }
.menu-bars::after  { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: 240px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.site-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu a {
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(167, 139, 250, 0.12);
  color: var(--purple-bright);
}

@media (max-width: 600px) {
  .site-menu {
    left: 0;
    width: auto;
  }
}

/* ATURAN SERVER */

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

.rules-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.rules-card-wide {
  grid-column: 1 / -1;
  border-color: rgba(196, 181, 253, 0.28);
}

.rules-number {
  display: block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.rules-card h3 {
  margin-top: 6px;
  font-size: 18px;
}

.rules-card ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}

.rules-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.rules-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--purple);
}

.rules-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.rules-card a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   NEON GLOW THEME
   Semua gaya neon ada di blok ini. Hapus dari baris ini sampai akhir file
   kalau mau kembali ke tampilan sebelumnya.
   ===================================================================== */

:root {
  --bg: #07040f;
  --bg-soft: rgba(12, 6, 24, 0.74);
  --panel: #0e0818;
  --panel-hover: #160c28;
  --purple: #ff4fd8;
  --purple-bright: #ff9be9;
  --pink: #ff4fd8;
  --violet: #8b5cf6;
  --text: #fff7ff;
  --muted: #b9a9d6;
  --border: rgba(255, 79, 216, 0.24);
  --neon: rgba(255, 79, 216, 0.5);
  --grid-line: rgba(139, 92, 246, 0.09);
}

::selection {
  background: rgba(255, 79, 216, 0.45);
  color: #fff;
}

/* Latar: gelap dengan grid ungu tipis dan cahaya pink di atas */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 100% at 12% 0%, rgba(255, 79, 216, 0.14), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 720px, 56px 56px, 56px 56px;
  background-repeat: no-repeat, repeat, repeat;
}

/* Teks neon */
.gradient-text {
  background: linear-gradient(100deg, #ff6ee0, #a66bff);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255, 79, 216, 0.4));
}

.section-label {
  color: #ff7ee6;
  text-shadow: 0 0 12px rgba(255, 79, 216, 0.55);
}

/* Navbar */
.navbar {
  background: rgba(7, 4, 15, 0.82);
  border-bottom: 1px solid rgba(255, 79, 216, 0.45);
  box-shadow: 0 0 26px rgba(255, 79, 216, 0.18);
}

.brand-mark {
  border-color: rgba(255, 79, 216, 0.6);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.35);
}

.menu-toggle {
  border-color: rgba(255, 79, 216, 0.45);
  background: rgba(255, 79, 216, 0.06);
}

.menu-toggle:hover {
  border-color: rgba(255, 79, 216, 0.9);
  background: rgba(255, 79, 216, 0.14);
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.35);
}

.site-menu {
  border-color: rgba(255, 79, 216, 0.5);
  background: #0b0615;
  box-shadow: 0 0 26px rgba(255, 79, 216, 0.22), 0 18px 45px rgba(0, 0, 0, 0.5);
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(255, 79, 216, 0.12);
  color: #ffb3f0;
}

/* Tombol */
.button-primary {
  background: linear-gradient(110deg, #ff4fd8, #8b5cf6);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.45);
}

.button-primary:hover {
  background: linear-gradient(110deg, #ff6fe0, #a66bff);
  box-shadow: 0 0 32px rgba(255, 79, 216, 0.7);
}

.button-outline {
  border-color: rgba(255, 79, 216, 0.55);
  background: rgba(255, 79, 216, 0.04);
  box-shadow: 0 0 14px rgba(255, 79, 216, 0.14);
}

.button-outline:hover {
  border-color: #ff4fd8;
  background: rgba(255, 79, 216, 0.12);
  box-shadow: 0 0 24px rgba(255, 79, 216, 0.4);
}

.copy-button {
  border-color: rgba(255, 79, 216, 0.5);
  background: rgba(255, 79, 216, 0.12);
  color: #ffc0f2;
}

.copy-button:hover {
  background: rgba(255, 79, 216, 0.28);
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 12% 35%, rgba(255, 79, 216, 0.15), transparent 50%),
    radial-gradient(ellipse at 88% 40%, rgba(139, 92, 246, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(10, 6, 20, 0.6), transparent);
  border-bottom: 1px solid rgba(255, 79, 216, 0.55);
  box-shadow: 0 12px 40px -18px rgba(255, 79, 216, 0.7);
}

.hero-glow {
  background: rgba(255, 79, 216, 0.12);
}

.hero h1 {
  text-shadow: 0 0 40px rgba(255, 79, 216, 0.25);
}

.eyebrow {
  border-color: rgba(255, 79, 216, 0.5);
  background: rgba(255, 79, 216, 0.08);
  color: #ffb3f0;
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.2);
}

.eyebrow-dot,
.status-light {
  background: #ff4fd8;
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.9);
}

.hero-tags span {
  border-color: rgba(255, 79, 216, 0.3);
  color: #d9c9f5;
}

.hero-bottom {
  border-top-color: rgba(255, 79, 216, 0.3);
}

.visual-ring {
  border-color: rgba(255, 79, 216, 0.3);
}

.ring-two {
  border-color: rgba(139, 92, 246, 0.35);
}

.visual-card {
  border: 2px solid #ff4fd8;
  background: linear-gradient(145deg, #1a0c30, #0a0614 75%);
  box-shadow:
    0 0 28px rgba(255, 79, 216, 0.55),
    0 0 90px rgba(139, 92, 246, 0.35),
    0 25px 90px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(255, 79, 216, 0.4);
  outline-offset: 9px;
}

.floating-label {
  border-color: rgba(255, 79, 216, 0.55);
  background: #12081f;
  color: #ffb3f0;
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.3);
}

.hero-ip-item {
  border-color: rgba(255, 79, 216, 0.4);
  background: rgba(14, 8, 24, 0.75);
}

/* Kartu */
.feature-card,
.guide-card,
.rank-card,
.tutorial-item,
.faq-item,
.staff-card,
.rules-card,
.gallery-item,
.server-address {
  border-color: rgba(255, 79, 216, 0.32);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.07);
}

.feature-card,
.guide-card {
  background: linear-gradient(145deg, rgba(22, 11, 42, 0.92), rgba(9, 5, 18, 0.95));
}

.feature-card:hover,
.guide-card:hover {
  border-color: rgba(255, 79, 216, 0.85);
  background: linear-gradient(145deg, #1c0d34, #0e0719);
  box-shadow: 0 0 28px rgba(255, 79, 216, 0.3);
}

.tutorial-item:hover,
.rules-card:hover,
.staff-card:hover {
  border-color: rgba(255, 79, 216, 0.6);
  box-shadow: 0 0 24px rgba(255, 79, 216, 0.2);
}

.faq-item[open] {
  border-color: rgba(255, 79, 216, 0.65);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.16);
}

.feature-icon,
.rank-icon {
  border-color: rgba(255, 79, 216, 0.35);
  background: rgba(255, 79, 216, 0.1);
}

/* Rank: tetap pakai warna masing-masing rank */
.rank-grid .rank-card {
  border-color: color-mix(in srgb, var(--rc) 30%, transparent);
}

.rank-grid .rank-card:hover,
.rank-grid .rank-card-featured {
  border-color: color-mix(in srgb, var(--rc) 75%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--rc) 32%, transparent);
}

/* Panel besar: bingkai ganda ala banner neon */
.status-panel,
.join-panel {
  border: 1px solid rgba(255, 79, 216, 0.6);
  background: linear-gradient(135deg, rgba(26, 12, 48, 0.95), rgba(9, 5, 18, 0.96));
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.2);
  outline: 1px solid rgba(255, 79, 216, 0.25);
  outline-offset: -8px;
}

.join-panel {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 79, 216, 0.18), transparent 50%),
    linear-gradient(135deg, rgba(26, 12, 48, 0.95), rgba(9, 5, 18, 0.96));
}

.guide-note {
  border-color: rgba(255, 79, 216, 0.28);
  background: rgba(255, 79, 216, 0.05);
}

.tutorial-link.is-soon {
  border-color: rgba(255, 79, 216, 0.25);
}

.gallery-tag {
  border-color: rgba(255, 79, 216, 0.5);
  color: #ffb3f0;
}

/* Avatar staff tetap tenang */
.staff-avatar {
  border-color: rgba(255, 79, 216, 0.3);
  background: #1a0c2e;
}

/* Elemen lain */
.to-top,
.lightbox-close {
  border-color: rgba(255, 79, 216, 0.5);
  background: #12081f;
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.25);
}

.to-top:hover,
.lightbox-close:hover {
  background: #1d0e33;
}

.footer {
  border-top: 1px solid rgba(255, 79, 216, 0.4);
  background: rgba(5, 3, 10, 0.92);
}

@media (max-width: 600px) {
  body {
    background-size: 100% 520px, 40px 40px, 40px 40px;
  }

  .visual-card {
    outline-offset: 7px;
  }
}

/* HERO BERBINGKAI NEON: foto lobby, grid di sisi kanan, bingkai ganda */

.hero {
  margin: 18px 18px 0;
  border: 2px solid #ff4fd8;
  border-radius: 22px;
  background: #07040f;
  box-shadow:
    0 0 26px rgba(255, 79, 216, 0.55),
    0 0 90px rgba(139, 92, 246, 0.25),
    inset 0 0 40px rgba(255, 79, 216, 0.12);
  outline: 1px solid rgba(255, 79, 216, 0.45);
  outline-offset: -12px;
}

/* Foto lobby sebagai latar */
.hero::before {
  inset: 0;
  background: url("screenshots/lobby-3.jpg") 8% 60% / cover no-repeat;
  filter: saturate(1.15);
  opacity: 1;
}

/* Lapisan neon: gelap di kiri untuk teks, ungu-pink di kanan */
.hero::after {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(7, 4, 15, 0.85) 100%),
    radial-gradient(ellipse at 15% 40%, rgba(255, 79, 216, 0.18), transparent 55%),
    linear-gradient(90deg,
      rgba(7, 4, 15, 0.93) 0%,
      rgba(14, 6, 30, 0.78) 40%,
      rgba(70, 12, 100, 0.38) 100%);
}

/* Grid neon di sisi kanan, memudar ke kiri */
.hero-glow {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 62%;
  height: auto;
  border-radius: 0;
  filter: none;
  background-image:
    linear-gradient(rgba(255, 79, 216, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.3) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

@media (max-width: 850px) {
  .hero {
    margin: 12px 12px 0;
    border-radius: 18px;
    outline-offset: -9px;
  }

  .hero::before {
    background-position: 62% 50%;
    filter: saturate(1.15);
    opacity: 1;
  }

  .hero::after {
    background:
      linear-gradient(180deg, transparent 65%, rgba(7, 4, 15, 0.85) 100%),
      linear-gradient(180deg, rgba(7, 4, 15, 0.82), rgba(14, 6, 30, 0.62));
  }

  .hero-glow {
    width: 100%;
    opacity: 0.55;
  }
}

/* FITUR UNGGULAN */

.feature-card {
  position: relative;
}

.feature-card code,
.guide-card code {
  padding: 2px 7px;
  border: 1px solid rgba(255, 79, 216, 0.35);
  border-radius: 6px;
  background: rgba(255, 79, 216, 0.1);
  color: #ffc0f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  white-space: nowrap;
}

.signature-card {
  border-color: rgba(255, 79, 216, 0.7);
  background: linear-gradient(145deg, rgba(40, 14, 68, 0.95), rgba(10, 5, 20, 0.97));
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.22), inset 0 0 40px rgba(255, 79, 216, 0.06);
}

.signature-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 79, 216, 0.6);
  border-radius: 999px;
  background: rgba(255, 79, 216, 0.12);
  color: #ffb3f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(255, 79, 216, 0.6);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-pills span {
  padding: 5px 11px;
  border: 1px solid rgba(255, 79, 216, 0.4);
  border-radius: 999px;
  color: #ffc0f2;
  font-size: 11px;
  font-weight: 700;
}

/* Warna tingkat ikan */
.tier-pills span {
  border-color: var(--tc);
  color: var(--tc);
  background: color-mix(in srgb, var(--tc) 12%, transparent);
}

.tier-common    { --tc: #b0b7c3; }
.tier-uncommon  { --tc: #4ade80; }
.tier-epic      { --tc: #b66bff; }
.tier-legendary { --tc: #fbbf24; }
.tier-mythical  { --tc: #ff4fd8; box-shadow: 0 0 14px rgba(255, 79, 216, 0.45); }

/* Dua kartu unggulan di baris pertama, empat kartu lain di bawahnya */
@media (min-width: 1001px) {
  .feature-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 3;
  }

  .feature-card.signature-card {
    grid-column: span 6;
    padding: 32px;
  }
}

@media (min-width: 601px) and (max-width: 1000px) {
  .feature-card.signature-card {
    grid-column: 1 / -1;
  }
}
/* ===== ANIMASI HALUS =====
   Semua gerakan dimatikan otomatis untuk pengguna yang memilih "kurangi gerakan". */

:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes fade-scale { from { opacity: 0; scale: 0.92; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { 50% { opacity: 0.55; scale: 1.12; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--pulse, rgba(167, 139, 250, 0.5)); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

/* Hero: muncul berurutan saat halaman dibuka */
.hero-content > * { animation: rise 0.8s var(--ease) backwards; }
.hero-content > :nth-child(2) { animation-delay: 0.1s; }
.hero-content > :nth-child(3) { animation-delay: 0.2s; }
.hero-content > :nth-child(4) { animation-delay: 0.3s; }
.hero-content > :nth-child(5) { animation-delay: 0.4s; }
.hero-content > :nth-child(6) { animation-delay: 0.5s; }

.hero-visual { animation: fade-scale 1.1s var(--ease) 0.2s backwards; }
.visual-card { animation: float 7s ease-in-out infinite; }
.ring-two { animation: spin 70s linear infinite; }
.label-top { animation: float 5s ease-in-out infinite; }
.label-bottom { animation: float 5s ease-in-out -2.5s infinite; }
.hero-glow { animation: breathe 9s ease-in-out infinite; }

.eyebrow-dot,
.status-light.is-online { animation: pulse 2.2s ease-out infinite; }
.status-light.is-online { --pulse: rgba(74, 222, 128, 0.55); }

/* Muncul saat digulir (kelas ditambahkan oleh script.js) */
.reveal { opacity: 0; }
.reveal.is-visible {
  opacity: 1;
  animation: rise 0.8s var(--ease) var(--d, 0s) backwards;
}

/* Navbar */
.navbar { transition: background 0.3s ease, box-shadow 0.3s ease; }
.navbar.scrolled {
  background: rgba(9, 7, 17, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Kartu dan tombol: gerak lebih lembut */
.feature-card,
.guide-card,
.rank-card,
.rules-card,
.tutorial-item,
.staff-card {
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.45s var(--ease);
}

.feature-card:hover,
.guide-card:hover,
.rank-card:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.button,
.copy-button {
  transition:
    transform 0.3s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}

.button-primary:hover { box-shadow: 0 12px 34px rgba(139, 92, 246, 0.38); }

.button:active,
.copy-button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

/* Galeri */
.gallery-open img { transition: transform 0.8s var(--ease); }

/* FAQ: tinggi dianimasikan lewat script.js */
.faq-item { overflow: hidden; }

/* Lightbox: fade dan zoom saat dibuka atau ditutup */
.lightbox {
  opacity: 0;
  scale: 0.94;
  transition:
    opacity 0.3s ease,
    scale 0.4s var(--ease),
    overlay 0.4s allow-discrete,
    display 0.4s allow-discrete;
}
.lightbox[open] { opacity: 1; scale: 1; }
.lightbox::backdrop {
  opacity: 0;
  transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.lightbox[open]::backdrop { opacity: 1; }
@starting-style {
  .lightbox[open] { opacity: 0; scale: 0.94; }
  .lightbox[open]::backdrop { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; }
}

/* ===== TAMBAHAN: Salin, badge online, banner, counter Discord ===== */

.button.copied,
.copy-button.copied {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.14);
  color: #86efac;
  box-shadow: none;
}

.hero-content > :nth-child(7) { animation-delay: 0.6s; }

.hero-online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

.hero-online[hidden],
.announce[hidden],
.discord-count[hidden] { display: none; }

.discord-count {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
}

@keyframes slide-down { from { opacity: 0; translate: 0 -100%; } }

.announce {
  position: relative;
  display: flex;
  max-height: 120px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 52px 10px 20px;
  background: linear-gradient(110deg, #4c1d95, #86198f);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  transition: max-height 0.3s var(--ease), opacity 0.3s ease, padding 0.3s var(--ease);
  animation: slide-down 0.6s var(--ease);
}

.announce.closing {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
}

.announce a {
  margin-left: 8px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announce-close {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 30px;
  height: 30px;
  translate: 0 -50%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.announce-close:hover { background: rgba(255, 255, 255, 0.16); }

.guide-card ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.guide-card li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guide-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff4fd8;
}
