* { box-sizing: border-box; }

:root {
  --bg: #071015;
  --bg2: #0b161d;
  --panel: rgba(15, 29, 37, 0.88);
  --panel-solid: #0f1d25;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(85,242,223,.22);
  --text: #f4f7f8;
  --muted: #9db0b9;
  --cyan: #55f2df;
  --purple: #b77cff;
  --gold: #ffd166;
  --green: #69e08b;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(85,242,223,.10), transparent 28rem),
    radial-gradient(circle at 85% 25%, rgba(183,124,255,.08), transparent 26rem),
    linear-gradient(180deg, #061016 0%, #08141a 45%, #071015 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 999;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0 1px, transparent 1px 3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 74px);
  background: rgba(7,16,21,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
}

.brand-name {
  font-size: 14px;
  letter-spacing: .22em;
}

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

.nav a:hover { color: var(--cyan); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  border-radius: 12px;
  width: 46px;
  height: 42px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 34px;
  padding: 64px clamp(22px, 7vw, 110px) 54px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -160px;
  top: 60px;
  border: 1px solid rgba(85,242,223,.09);
  transform: rotate(45deg);
  box-shadow:
    0 0 0 60px rgba(85,242,223,.018),
    0 0 0 120px rgba(183,124,255,.014);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.8), transparent 82%);
}

.hero-copy,
.hero-card { position: relative; z-index: 2; }

.hero-logo {
  width: min(100%, 490px);
  display: block;
  margin: 0 0 16px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 { margin: 0; line-height: .98; }

h1 {
  margin-top: 16px;
  font-size: clamp(46px, 7.2vw, 106px);
  letter-spacing: -.055em;
  max-width: 900px;
}
h1 span { color: var(--cyan); }

.hero-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.65;
  max-width: 640px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 20px;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #00110f;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(85,242,223,.18);
}
.btn.ghost { background: rgba(255,255,255,.035); }

.hero-card {
  justify-self: end;
  width: min(100%, 500px);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17,32,41,.92), rgba(10,22,29,.96));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 16px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(105,224,139,.65);
}

.join-box {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.join-box:first-of-type { border-top: 0; }

.join-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.join-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.join-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: #062a12;
  background: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.join-chip.alt {
  color: #2a2104;
  background: var(--gold);
}

.join-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
}

.address-display {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  word-break: break-word;
}

.copy-btn {
  border: 1px solid var(--line-strong);
  color: var(--bg);
  background: var(--cyan);
  border-radius: 12px;
  padding: 12px 15px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.port-note,
.helper,
.micro-note {
  color: var(--muted);
  font-size: 13px;
}

.port-note { margin-top: 6px; }
.helper { margin-top: 10px; }

.section { padding: 84px clamp(22px, 7vw, 110px); }

.section-heading { margin-bottom: 34px; }
.section-heading h2,
.panel h2,
.cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -.045em;
  margin-top: 12px;
}
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  margin: 12px 0 0;
}

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

.world-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.world-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--cyan);
}
.world-card.creative::before { background: var(--purple); }
.world-card.minigames::before { background: var(--gold); }

.world-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.world-card h3 { font-size: 34px; margin-top: 10px; }
.world-card p { color: var(--muted); line-height: 1.6; }
.world-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.world-card li {
  color: #d9e3e7;
  padding-left: 18px;
  position: relative;
}
.world-card li::before {
  content: "■";
  color: var(--cyan);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 8px;
}
.creative li::before { color: var(--purple); }
.minigames li::before { color: var(--gold); }

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.tag.live { color: #062a12; background: var(--green); }
.tag.soon { color: #2a2104; background: var(--gold); }

.split-section {
  padding: 0 clamp(22px, 7vw, 110px) 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel {
  padding: 34px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,30,38,.94), rgba(9,21,28,.96));
}
.panel p { color: var(--muted); line-height: 1.7; font-size: 17px; }

.command-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
code, .copy-line, .port-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.command-list code {
  color: var(--cyan);
  background: rgba(85,242,223,.08);
  border: 1px solid rgba(85,242,223,.18);
  padding: 9px 11px;
  border-radius: 9px;
}

.command-table { margin-top: 24px; border-top: 1px solid var(--line); }
.command-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.command-table code { color: var(--cyan); }
.command-table span { color: var(--muted); }

.rules-section { padding-top: 58px; }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rule {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 16px;
}
.rule span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
}
.rule p { margin: 0; color: #d5e0e4; line-height: 1.55; }

.join-section { padding-top: 58px; }
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  min-height: 280px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.step-card.muted { opacity: .78; }
.step-num { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.step-card h3 { font-size: 34px; margin: 24px 0 10px; }
.step-card p { color: var(--muted); line-height: 1.6; }
.copy-line {
  margin-top: 14px;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
  border: 0;
  text-align: left;
  background: none;
  border-bottom: 1px dashed rgba(85,242,223,.35);
  padding: 0 0 6px;
  cursor: pointer;
}
.port-line { margin-top: 12px; color: var(--muted); }

.cta {
  margin: 20px clamp(22px, 7vw, 110px) 84px;
  padding: 38px;
  border-radius: 24px;
  border: 1px solid rgba(85,242,223,.20);
  background:
    linear-gradient(135deg, rgba(85,242,223,.08), rgba(183,124,255,.05)),
    var(--panel-solid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px clamp(22px, 7vw, 110px) 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-brand { color: var(--text); margin-right: auto; }
footer p { margin: 0; }
footer .small { font-size: 12px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: #eefdfb;
  color: #071015;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  z-index: 200;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-card { justify-self: stretch; width: 100%; }
  .world-grid, .join-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .site-header {
    height: 70px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-logo, .footer-logo { width: 48px; height: 48px; }
  .brand-name { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    padding: 10px;
    background: #0b171e;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav a:hover { background: rgba(255,255,255,.04); }
  .hero {
    padding: 28px 20px 34px;
    gap: 20px;
  }
  .hero-logo {
    width: min(100%, 320px);
    margin-bottom: 8px;
  }
  h1 {
    font-size: clamp(36px, 13vw, 56px);
    margin-top: 12px;
  }
  .hero-copy p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .btn { text-align: center; }
  .hero-card { padding: 18px; border-radius: 20px; }
  .join-box { padding: 14px 0; }
  .join-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .join-row,
  .bedrock-row {
    grid-template-columns: 1fr;
  }
  .address-display {
    font-size: 28px;
  }
  .copy-btn {
    width: 100%;
  }
  .section { padding: 58px 20px; }
  .section-heading { margin-bottom: 24px; }
  .split-section { padding: 0 20px 58px; }
  .panel { padding: 24px 20px; }
  .command-table > div { grid-template-columns: 110px 1fr; }
  .join-grid { gap: 12px; }
  .step-card {
    min-height: auto;
    padding: 24px 20px;
  }
  .cta {
    margin: 8px 20px 58px;
    padding: 24px 20px;
  }
  .cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  footer {
    padding: 24px 20px 36px;
  }
}
\n\n/* Wildelo Store / Ranks */\n.store-btn { color:#071015; background:linear-gradient(135deg,#69e08b,#55f2df); border-color:rgba(105,224,139,.65); }\n.ranks-section { padding-top:72px; }\n.rank-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }\n.rank-card { position:relative; display:flex; flex-direction:column; min-height:560px; padding:26px; overflow:hidden; border-radius:22px; background:linear-gradient(180deg,rgba(17,32,41,.96),rgba(9,21,28,.98)); border:1px solid var(--line); box-shadow:var(--shadow); }\n.rank-card::before { content:\"\"; position:absolute; inset:0 0 auto 0; height:4px; background:var(--green); }\n.elite-rank::before { background:linear-gradient(90deg,#ffd166,#69e08b); }\n.legend-rank::before { background:linear-gradient(90deg,#b77cff,#ffd166); }\n.rank-art { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:16px; margin-bottom:20px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.08); }\n.rank-badge { display:inline-flex; width:fit-content; margin-bottom:10px; padding:6px 9px; border-radius:999px; background:rgba(105,224,139,.12); border:1px solid rgba(105,224,139,.22); color:var(--green); font-size:10px; font-weight:900; letter-spacing:.13em; }\n.elite-rank .rank-badge { color:var(--gold); background:rgba(255,209,102,.10); border-color:rgba(255,209,102,.22); }\n.legend-rank .rank-badge { color:var(--purple); background:rgba(183,124,255,.10); border-color:rgba(183,124,255,.24); }\n.rank-card h3 { font-size:38px; margin:0 0 8px; }\n.rank-price { font-size:30px; font-weight:900; color:var(--text); margin-bottom:18px; }\n.rank-price small { color:var(--muted); font-size:12px; font-weight:700; letter-spacing:.05em; }\n.rank-card ul { list-style:none; padding:0; margin:0 0 24px; display:grid; gap:10px; }\n.rank-card li { position:relative; padding-left:18px; color:#d7e3e7; line-height:1.5; }\n.rank-card li::before { content:\"■\"; position:absolute; left:0; top:4px; color:var(--green); font-size:8px; }\n.elite-rank li::before { color:var(--gold); }\n.legend-rank li::before { color:var(--purple); }\n.rank-buy { margin-top:auto; width:100%; color:#061016; background:var(--green); border-color:var(--green); }\n.elite-rank .rank-buy { background:var(--gold); border-color:var(--gold); }\n.legend-rank .rank-buy { background:var(--purple); border-color:var(--purple); color:#0a0710; }\n.store-note { margin-top:18px; padding:14px 16px; border-radius:14px; color:var(--muted); background:rgba(255,255,255,.025); border:1px solid var(--line); text-align:center; }\n@media (max-width:1000px){ .rank-grid{grid-template-columns:1fr;} .rank-card{min-height:auto;} .rank-art{max-height:360px;object-fit:contain;} }\n@media (max-width:700px){ .rank-art{max-height:280px;} }\n

/* V5 rank-card sizing polish */
.rank-grid {
  align-items: stretch;
}

.rank-card {
  min-height: 0;
  padding: 24px;
}

.rank-art {
  width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  align-self: center;
  margin: 2px auto 22px;
  border-radius: 18px;
}

.rank-card h3 {
  font-size: 46px;
  letter-spacing: -.035em;
  margin: 2px 0 8px;
}

.rank-price {
  font-size: 34px;
  margin-bottom: 20px;
}

.rank-price small {
  font-size: 13px;
}

.rank-card ul {
  gap: 13px;
  margin-bottom: 28px;
}

.rank-card li {
  font-size: 16px;
  line-height: 1.55;
}

.rank-badge {
  font-size: 11px;
  padding: 7px 10px;
}

.rank-buy {
  font-size: 15px;
  padding-top: 16px;
  padding-bottom: 16px;
}

@media (min-width: 1001px) {
  .rank-card {
    text-align: left;
  }

  .rank-art {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 1000px) {
  .rank-art {
    width: 140px;
    height: 140px;
    max-height: none;
    object-fit: cover;
  }

  .rank-card h3 {
    font-size: 42px;
  }
}

@media (max-width: 700px) {
  .rank-card {
    padding: 22px 20px;
  }

  .rank-art {
    width: 112px;
    height: 112px;
    max-height: none;
    margin-bottom: 18px;
  }

  .rank-card h3 {
    font-size: 38px;
  }

  .rank-price {
    font-size: 30px;
  }

  .rank-card li {
    font-size: 16px;
  }
}

/* V5.1 connected ecosystem + horizontal ranks */
.discord-btn {
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7c86ff);
  border-color: rgba(124,134,255,.65);
}

@media (min-width: 1001px) {
  .rank-grid { grid-template-columns: 1fr; gap: 22px; }
  .rank-card {
    display: grid;
    grid-template-columns: 210px minmax(180px,.72fr) minmax(280px,1.1fr) 190px;
    grid-template-areas:
      "art badge perks buy"
      "art title perks buy"
      "art price perks buy";
    align-items: center;
    column-gap: 28px;
    min-height: 220px;
    padding: 26px 30px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .rank-card:hover {
    transform: translateY(-5px) scale(1.012);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
    z-index: 2;
  }
  .rank-art {
    grid-area: art;
    width: 190px;
    height: 190px;
    margin: 0;
    transition: transform .28s ease, filter .28s ease;
  }
  .rank-card:hover .rank-art {
    transform: scale(1.08);
    filter: brightness(1.08);
  }
  .rank-badge { grid-area: badge; margin: 0 0 5px; align-self:end; }
  .rank-card h3 { grid-area: title; margin: 0; align-self:center; }
  .rank-price { grid-area: price; margin: 4px 0 0; align-self:start; }
  .rank-card ul { grid-area: perks; margin: 0; align-self:center; }
  .rank-buy { grid-area: buy; margin: 0; align-self:center; }
}

.staff-section { padding-top: 72px; }
.staff-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: start;
}
.staff-copy, .staff-form {
  border: 1px solid var(--line);
  background: linear-gradient(180deg,rgba(17,32,41,.94),rgba(9,21,28,.98));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.staff-kicker { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.staff-copy h3 { font-size: 38px; margin: 12px 0; }
.staff-copy p { color: var(--muted); line-height: 1.65; }
.staff-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.staff-points span { padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.staff-note { font-size: 13px; }
.staff-form { display: grid; gap: 16px; }
.staff-form label { display: grid; gap: 7px; color: #dce7ea; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.staff-form input, .staff-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3,12,17,.72);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
.staff-form input:focus, .staff-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(105,224,139,.09); }
.staff-form textarea { resize: vertical; }
.staff-submit { width: 100%; margin-top: 4px; }
.hidden-field { display: none; }

@media (max-width: 1000px) {
  .staff-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .staff-copy, .staff-form { padding: 20px; }
  .staff-points { grid-template-columns: 1fr; }
  .staff-copy h3 { font-size: 32px; }
}
