/* =========================================================
   BubbleCraft — Landing Page Stylesheet
   Inspired by xcraftsurvival.com & store.loverfella.com
   ========================================================= */

/* ── Tokens ── */
:root {
  --bg:        #080d16;
  --bg-1:      #0c1525;
  --bg-2:      #0f1c30;
  --panel:     rgba(12, 21, 37, 0.82);
  --panel-hov: rgba(14, 25, 44, 0.92);
  --line:      rgba(255, 255, 255, 0.08);
  --line-med:  rgba(255, 255, 255, 0.13);
  --text:      #e6f0fb;
  --muted:     #7a9bbf;
  --muted-2:   #4f6c8a;
  --cyan:      #38d1f8;
  --cyan-dim:  rgba(56, 209, 248, 0.14);
  --orange:    #ff7c3e;
  --orange-dim:rgba(255, 124, 62, 0.14);
  --green:     #3de89a;
  --green-dim: rgba(61, 232, 154, 0.14);
  --purple:    #a78bfa;
  --purple-dim:rgba(167, 139, 250, 0.14);
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max:  1180px;
  --ff:   'Manrope', system-ui, sans-serif;
  --ff-m: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; }

/* ── Layout helpers ── */
.sec-wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 1.25rem;
  background: rgba(8, 13, 22, 0.75);
  border: 1px solid var(--line-med);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-med);
}
.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-sm);
  transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: .65rem .9rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.05); color: var(--text); }

.nav-cta { flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--r);
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-nav {
  background: linear-gradient(135deg, #ff9157, #e85e1a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 94, 26, .3);
}
.btn-nav:hover { box-shadow: 0 12px 30px rgba(232, 94, 26, .45); }

.btn-primary {
  background: linear-gradient(135deg, #ff9157, #e85e1a);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 94, 26, .28);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(232, 94, 26, .42); }

.btn-secondary {
  background: rgba(255,255,255,.04);
  border-color: var(--line-med);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

.btn-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 10px 28px rgba(88, 101, 242, .3);
}
.btn-discord:hover { box-shadow: 0 14px 36px rgba(88, 101, 242, .44); }

.btn-lg { padding: 1rem 1.65rem; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
}

/* Decorative background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-a {
  width: 600px; height: 600px;
  top: -10%;  left: -5%;
  background: radial-gradient(circle, rgba(56, 209, 248, .18) 0%, transparent 70%);
}
.orb-b {
  width: 500px; height: 500px;
  top: -5%; right: -8%;
  background: radial-gradient(circle, rgba(255, 124, 62, .2) 0%, transparent 70%);
}
.orb-c {
  width: 700px; height: 700px;
  bottom: -20%; left: 30%;
  background: radial-gradient(circle, rgba(56, 209, 248, .08) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  opacity: .3;
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-med);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 2rem;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(61,232,154,.2);
  animation: blink 2s ease-in-out infinite;
}
.eyebrow-sep { color: var(--muted-2); }
.eyebrow-count { color: var(--text); font-weight: 800; }

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* Logo ring */
.hero-logo-ring {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: rgba(56, 209, 248, .08);
  border: 2px solid rgba(56, 209, 248, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  box-shadow:
    0 0 0 12px rgba(56, 209, 248, .04),
    0 24px 60px rgba(0,0,0,.4);
}
.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
}

/* Title */
.hero-title {
  margin: 0 0 .9rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .95;
  background: linear-gradient(160deg, #ffffff 30%, #38d1f8 70%, #6ee5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin: 0 auto 2rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* CTA strip */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #ff9157, #e85e1a);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1.1rem 2rem;
  border-radius: var(--r-lg);
  box-shadow: 0 14px 40px rgba(232, 94, 26, .36);
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(232, 94, 26, .5);
}

.btn-hero-discord {
  background: #5865f2;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1.1rem 2rem;
  border-radius: var(--r-lg);
  box-shadow: 0 14px 40px rgba(88, 101, 242, .3);
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-hero-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(88, 101, 242, .46);
}

/* IP strip */
.hero-ip-strip {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-med);
  border-radius: var(--r-lg);
  color: var(--text);
  transition: background .22s, border-color .22s, transform .22s var(--ease);
  margin-bottom: 3rem;
}
.hero-ip-strip:hover {
  background: rgba(56, 209, 248, .07);
  border-color: rgba(56, 209, 248, .25);
  transform: translateY(-2px);
}
.hip-icon { color: var(--cyan); font-size: .95rem; }
.hip-addr {
  font-family: var(--ff-m);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
}
.hip-divider {
  width: 1px; height: 22px;
  background: var(--line-med);
}
.hip-copy {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

/* Scroll hint */
.hero-scroll {
  color: var(--muted-2);
  font-size: 1.1rem;
  animation: bounce 2.2s ease-in-out infinite;
  transition: color .2s;
}
.hero-scroll:hover { color: var(--text); }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.band-stat {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--muted);
}
.band-stat i { font-size: 1.1rem; color: var(--cyan); }
.band-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.band-lbl {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted-2);
}
.band-divider {
  width: 1px; height: 34px;
  background: var(--line-med);
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 5rem 0; }

.sec-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.sec-tag {
  display: inline-block;
  padding: .4rem .85rem;
  background: var(--cyan-dim);
  border: 1px solid rgba(56, 209, 248, .22);
  border-radius: 999px;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .85rem;
}
.sec-title {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.sec-desc {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================================
   GAME MODES
   ============================================================ */
.modes-sec { background: var(--bg); }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.mode-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-med);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.mode-card:hover { transform: translateY(-4px); }

.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.mode-survival::before { background: linear-gradient(90deg, var(--cyan), #6ee5ff); }
.mode-skyblock::before { background: linear-gradient(90deg, var(--orange), #ffba6a); }

.mode-survival { box-shadow: 0 0 0 0 transparent, 0 32px 70px rgba(0,0,0,.25); }
.mode-survival:hover { box-shadow: 0 0 60px rgba(56, 209, 248, .1), 0 32px 70px rgba(0,0,0,.3); }
.mode-skyblock { box-shadow: 0 0 0 0 transparent, 0 32px 70px rgba(0,0,0,.25); }
.mode-skyblock:hover { box-shadow: 0 0 60px rgba(255, 124, 62, .1), 0 32px 70px rgba(0,0,0,.3); }

/* Mode header row */
.mc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mc-header > div:nth-child(2) { flex: 1; }

.mc-icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.mc-icon-cyan  { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(56, 209, 248, .22); }
.mc-icon-orange{ background: var(--orange-dim);  color: var(--orange); border: 1px solid rgba(255, 124, 62, .22); }

.mc-live-badge, .mc-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.mc-live-badge {
  background: rgba(61, 232, 154, .12);
  border: 1px solid rgba(61, 232, 154, .22);
  color: var(--green);
}
.mc-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s infinite;
}
.mc-dev-badge {
  background: var(--orange-dim);
  border: 1px solid rgba(255, 124, 62, .22);
  color: var(--orange);
}

.mc-title {
  margin: .3rem 0 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.mc-online, .mc-eta {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
}
.mc-online i { color: var(--green); }
.mc-eta i { color: var(--orange); }

.mc-desc {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
  flex: 1;
}

/* Tags */
.mc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.mc-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}
.mc-tag i { font-size: .75rem; }

/* Progress bar */
.mc-progress-area { }
.mc-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.mc-pct { color: var(--orange); font-weight: 800; }
.mc-progress-track {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow: hidden;
}
.mc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffba6a);
  border-radius: 999px;
  transition: width 1.2s var(--ease);
  width: 0;
}

/* CTA button inside card */
.mc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.25rem;
  border-radius: var(--r);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), background .22s;
  color: #fff;
  text-align: center;
}
.mode-survival .mc-cta:not(.mc-cta-muted) {
  background: linear-gradient(135deg, #38d1f8, #0ab5e4);
  box-shadow: 0 10px 26px rgba(56, 209, 248, .25);
}
.mode-survival .mc-cta:not(.mc-cta-muted):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(56, 209, 248, .38);
}
.mc-cta-muted {
  background: rgba(255,255,255,.04);
  border-color: var(--line-med);
  color: var(--muted);
  cursor: not-allowed;
  opacity: .75;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-sec { background: var(--bg-1); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feat-card {
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .25s, transform .3s var(--ease);
}
.feat-card:hover {
  border-color: var(--line-med);
  transform: translateY(-3px);
}

.feat-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.feat-icon-cyan   { background: var(--cyan-dim);   color: var(--cyan);   }
.feat-icon-orange { background: var(--orange-dim);  color: var(--orange); }
.feat-icon-green  { background: var(--green-dim);   color: var(--green);  }
.feat-icon-purple { background: var(--purple-dim);  color: var(--purple); }

.feat-card h3 {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.feat-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community-sec { background: var(--bg); }

.comm-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--panel);
  border: 1px solid var(--line-med);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
}
.comm-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

.comm-text .sec-tag { text-align: left; }
.comm-text .sec-title { text-align: left; margin-bottom: .85rem; }
.comm-text p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
  margin: 0 0 1.75rem;
  max-width: 48ch;
}
.comm-btn { align-self: flex-start; }

.comm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 1.25rem;
}
.cstat {
  padding: 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
}
.cstat-val {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1.1;
}
.cstat-lbl {
  display: block;
  margin-top: .35rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
}

/* ============================================================
   JOIN
   ============================================================ */
.join-sec { background: var(--bg-1); }

/* Edition tabs */
.edition-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.edition-tab {
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--txt-2);
  font: 600 .85rem/1 var(--font-sans);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.edition-tab:hover { background: var(--panel); color: var(--txt-1); }
.edition-tab.active { background: var(--accent); border-color: var(--accent); color: #000; }
.tab-pill {
  font-size: .68rem;
  font-weight: 700;
  padding: .15em .45em;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.edition-tab.active .tab-pill { background: rgba(0,0,0,.18); }
.bedrock-note-card { border-color: var(--accent); }

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 3rem;
}
.step-card {
  flex: 1;
  padding: 1.75rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}
.step-arrow {
  flex-shrink: 0;
  align-self: center;
  padding: 0 .75rem;
  color: var(--muted-2);
  font-size: 1.1rem;
}
.step-num {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: .85rem;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  font-weight: 800;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.join-cta-row {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}
.join-ip-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: 1.75rem 2rem;
  background: var(--panel);
  border: 1px solid var(--line-med);
  border-radius: var(--r-xl);
  color: var(--text);
  text-align: left;
  transition: background .22s, border-color .22s, transform .22s var(--ease);
}
.join-ip-box:hover {
  background: rgba(56, 209, 248, .05);
  border-color: rgba(56, 209, 248, .22);
  transform: translateY(-2px);
}
.jip-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.jip-addr {
  font-family: var(--ff-m);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .03em;
}
.jip-hint {
  font-size: .8rem;
  font-weight: 700;
  color: var(--cyan);
  display: flex; align-items: center; gap: .4rem;
}

.join-links-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: .75rem;
  min-width: 260px;
}

/* ============================================================
   RANKS & STORE
   ============================================================ */
.ranks-sec { background: var(--bg-2); }

.sec-tag-orange {
  background: var(--orange-dim);
  border-color: rgba(255, 124, 62, .22);
  color: var(--orange);
}

.ranks-ftp-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: rgba(61, 232, 154, .08);
  border: 1px solid rgba(61, 232, 154, .2);
  border-radius: 999px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  margin-top: .75rem;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.rank-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-med);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: center;
}
.rank-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.rank-card:hover { transform: translateY(-5px); }

/* Coal */
.rank-coal { }
.rank-coal::before { background: linear-gradient(90deg, #636363, #9a9a9a); }
.rank-coal:hover { box-shadow: 0 0 40px rgba(150,150,150,.1), 0 24px 50px rgba(0,0,0,.25); }
.rank-coal .rank-gem { color: #9a9a9a; background: rgba(150,150,150,.1); border-color: rgba(150,150,150,.18); }
.rank-coal .rank-cta { color: #9a9a9a; border-color: rgba(150,150,150,.25); }
.rank-coal .rank-cta:hover { background: rgba(150,150,150,.08); }
.rank-coal .rank-name { color: #cacaca; }

/* Iron */
.rank-iron::before { background: linear-gradient(90deg, #a8bcc8, #c8dae8); }
.rank-iron:hover { box-shadow: 0 0 40px rgba(168,188,200,.1), 0 24px 50px rgba(0,0,0,.25); }
.rank-iron .rank-gem { color: #a8bcc8; background: rgba(168,188,200,.1); border-color: rgba(168,188,200,.18); }
.rank-iron .rank-cta { color: #a8bcc8; border-color: rgba(168,188,200,.25); }
.rank-iron .rank-cta:hover { background: rgba(168,188,200,.08); }
.rank-iron .rank-name { color: #c8dae8; }

/* Gold */
.rank-gold::before { background: linear-gradient(90deg, #f5a623, #ffd060); }
.rank-gold:hover { box-shadow: 0 0 40px rgba(245,166,35,.12), 0 24px 50px rgba(0,0,0,.25); }
.rank-gold .rank-gem { color: #f5a623; background: rgba(245,166,35,.1); border-color: rgba(245,166,35,.2); }
.rank-gold .rank-cta { color: #f5a623; border-color: rgba(245,166,35,.25); }
.rank-gold .rank-cta:hover { background: rgba(245,166,35,.08); }
.rank-gold .rank-name { color: #ffd060; }

/* Diamond */
.rank-diamond::before { background: linear-gradient(90deg, var(--cyan), #6ee5ff); }
.rank-diamond:hover { box-shadow: 0 0 40px rgba(56,209,248,.12), 0 24px 50px rgba(0,0,0,.25); }
.rank-diamond .rank-gem { color: var(--cyan); background: var(--cyan-dim); border-color: rgba(56,209,248,.2); }
.rank-diamond .rank-cta { color: var(--cyan); border-color: rgba(56,209,248,.25); }
.rank-diamond .rank-cta:hover { background: var(--cyan-dim); }
.rank-diamond .rank-name { color: var(--cyan); }

.rank-gem {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
  border: 1px solid transparent;
}

.rank-name {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 0;
}

.rank-desc {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.rank-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-radius: var(--r);
  font-size: .85rem;
  font-weight: 800;
  border: 1px solid;
  transition: background .2s, transform .2s var(--ease);
}
.rank-cta:hover { transform: translateY(-1px); }

.ranks-store-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-align: center;
}
.ranks-store-note {
  margin: 0;
  color: var(--muted-2);
  font-size: .85rem;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   VOTE
   ============================================================ */
.vote-sec { background: var(--bg); }

.vote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vote-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color .18s, background .18s, transform .15s;
}
.vote-card:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  transform: translateY(-2px);
}
.vote-site {
  font-weight: 700;
  font-size: .95rem;
  color: var(--txt-1);
}
.vote-arrow {
  color: var(--accent);
  font-size: .85rem;
  flex-shrink: 0;
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .foot-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}
.footer-brand .foot-logo img {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-med);
}
.footer-brand .foot-logo span {
  font-size: 1.1rem;
  font-weight: 800;
}
.footer-brand p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 30ch;
}

.socials {
  display: flex;
  gap: .6rem;
}
.soc {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s;
}
.soc:hover {
  background: rgba(255,255,255,.09);
  color: var(--text);
  border-color: var(--line-med);
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col li a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.footer-col li a:hover { color: var(--text); }
.foot-pill {
  padding: .18rem .5rem;
  background: var(--orange-dim);
  border: 1px solid rgba(255,124,62,.22);
  border-radius: 999px;
  color: var(--orange);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
  font-size: .84rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: var(--muted-2);
  font-size: .84rem;
  font-weight: 600;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--muted); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.35rem;
  background: rgba(12, 21, 37, 0.96);
  border: 1px solid rgba(56,209,248,.25);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: transform .3s var(--ease), opacity .3s;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .modes-grid { grid-template-columns: 1fr; }
  .feat-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .comm-card { grid-template-columns: 1fr; gap: 2rem; }
  .comm-card::after { display: none; }
  .ranks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vote-grid { grid-template-columns: repeat(2, 1fr); }
} }
}

@media (max-width: 840px) {
  .feat-grid { grid-template-columns: 1fr; }
  .ranks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-row {
    flex-direction: column;
    gap: 1rem;
  }
  .step-arrow { display: none; }
  .join-cta-row { flex-direction: column; }
  .join-links-col { min-width: 0; flex-direction: column; }
  .band-inner { gap: .75rem 1.5rem; }
  .band-divider { display: none; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .75rem);
    left: 0; right: 0;
    background: rgba(8, 13, 22, 0.97);
    border: 1px solid var(--line-med);
    border-radius: var(--r-lg);
    padding: 1rem;
    flex-direction: column;
    gap: .2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: .75rem 1rem; border-radius: var(--r-sm); }
  .nav-cta { display: none; }

  .hero { padding: 5rem 1.25rem 4rem; }
  .hero-title { font-size: clamp(3rem, 11vw, 5rem); }
  .hero-sub { font-size: .96rem; }
  .btn-hero-primary, .btn-hero-discord { padding: .9rem 1.4rem; font-size: .95rem; }

  .section { padding: 3.5rem 0; }
  .sec-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .mode-card { padding: 1.5rem; }
  .mc-header { flex-wrap: wrap; gap: .75rem; }
  .mc-online, .mc-eta { align-items: flex-start; }

  .comm-card { padding: 2rem 1.5rem; }
  .comm-stats { grid-template-columns: 1fr 1fr; }

  .ranks-grid { grid-template-columns: 1fr; }
  .rank-card { text-align: left; }
  .rank-gem { margin: 0; }
  .vote-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
