/* Netherite SMP — blueprint paper vibe (Fortnite-ish), clean + restrained */

:root{
  --bg0:#061b38;          /* deep blueprint */
  --bg1:#0b2d5b;          /* blueprint paper */
  --ink:#d7ecff;          /* main text */
  --muted:rgba(215,236,255,.75);
  --card:rgba(8, 20, 40, .45);
  --card2:rgba(10, 26, 52, .55);
  --line:rgba(160,210,255,.16);
  --line2:rgba(160,210,255,.10);
  --glow:rgba(42, 166, 255, .35);
  --accent:#2aa6ff;       /* blueprint cyan */
  --accent2:#46ffe0;      /* soft teal for “alive” */
  --bad:#ff5d5d;
  --ok:#4dff9a;
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:
    radial-gradient(1200px 900px at 20% -10%, rgba(70,255,224,.14), transparent 55%),
    radial-gradient(900px 700px at 85% 10%, rgba(42,166,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 70%);
  overflow-x:hidden;
}

/* Blueprint grid overlay WITHOUT seams */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    /* fine grid */
    linear-gradient(var(--line2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line2) 1px, transparent 1px),
    /* thick grid */
    linear-gradient(rgba(160,210,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,210,255,.14) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
  opacity:.62;
  mix-blend-mode:screen;
}

/* Soft paper noise (subtle, no harsh banding) */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.06), transparent 28%),
    radial-gradient(circle at 78% 35%, rgba(255,255,255,.04), transparent 30%),
    radial-gradient(circle at 42% 80%, rgba(255,255,255,.035), transparent 32%);
  opacity:.25;
}

a{color:inherit}
.link{color:var(--accent); text-decoration:none}
.link:hover{text-decoration:underline}

.wrap{
  width:min(1100px, calc(100% - 28px));
  margin:0 auto;
  padding:96px 0 40px;
}

.topbar{
  position:fixed;
  top:0; left:0; right:0;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  z-index:50;
  background:linear-gradient(180deg, rgba(6,17,34,.86), rgba(6,17,34,.55));
  border-bottom:1px solid rgba(160,210,255,.10);
  backdrop-filter: blur(10px);
}

.icon-btn{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(160,210,255,.14);
  background:rgba(10, 26, 52, .55);
  color:var(--ink);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  border-color:rgba(42,166,255,.35);
  box-shadow: 0 0 0 4px rgba(42,166,255,.10), 0 18px 40px rgba(0,0,0,.35);
}

.hamburger{
  width:18px;height:12px; position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px;
  background:rgba(215,236,255,.9);
  border-radius:99px;
}
.hamburger::before{ top:1px }
.hamburger::after{ bottom:1px }
.hamburger{
  border-top:2px solid rgba(215,236,255,.9);
  border-radius:99px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
  min-width:0;
}

.brand-icon{
  width:34px; height:34px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  transition: filter .25s ease, transform .25s ease;
}

/* Subtle glow on hover (restrained) */
.brand:hover .brand-icon{
  transform: translateY(-1px);
  filter:
    drop-shadow(0 0 10px rgba(42,166,255,.22))
    drop-shadow(0 0 24px rgba(42,166,255,.10));
}

.brand-text{min-width:0}
.brand-title{
  font-weight:800;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-sub{
  font-size:12px;
  color:var(--muted);
}

.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(160,210,255,.18);
  background:rgba(10,26,52,.50);
  color:rgba(215,236,255,.92);
}

/* Bedrock badge: restrained animated “alive” shimmer */
.badge-bedrock{
  position:relative;
  overflow:hidden;
  border-color: rgba(70,255,224,.22);
  box-shadow: 0 0 0 3px rgba(70,255,224,.07);
  animation: badgePulse 9s ease-in-out infinite;
}
.badge-bedrock::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: linear-gradient(90deg, transparent, rgba(70,255,224,.18), transparent);
  transform: translateX(-60%);
  animation: badgeSweep 8.5s ease-in-out infinite;
}

@keyframes badgePulse{
  0%, 60%, 100% { box-shadow: 0 0 0 3px rgba(70,255,224,.07); }
  30% { box-shadow: 0 0 0 3px rgba(70,255,224,.10), 0 0 18px rgba(70,255,224,.10); }
}
@keyframes badgeSweep{
  0%, 55% { transform: translateX(-65%) rotate(10deg); opacity:.0; }
  70% { opacity:.7; }
  100% { transform: translateX(65%) rotate(10deg); opacity:.0; }
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(160,210,255,.16);
  background:rgba(10,26,52,.50);
  color:rgba(215,236,255,.95);
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(42,166,255,.35);
  box-shadow: 0 0 0 4px rgba(42,166,255,.10);
}
.btn:active{transform: translateY(0px)}

.btn-cta{
  padding:10px 16px;
  border-color: rgba(42,166,255,.28);
  box-shadow: 0 0 0 3px rgba(42,166,255,.08);
}

.btn-wide{width:100%}

.grid{
  display:grid;
  grid-template-columns: 1.35fr .95fr;
  gap:16px;
}

@media (max-width: 920px){
  .grid{grid-template-columns:1fr}
  .wrap{padding-top:88px}
}

.card{
  background: linear-gradient(180deg, rgba(10,26,52,.60), rgba(8,20,40,.45));
  border:1px solid rgba(160,210,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-left{
  padding:18px;
}
.hero-head h1{
  margin:0;
  font-size:40px;
  letter-spacing:.2px;
}
.lead{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.5;
}
.mono{font-family:var(--mono)}

.card-inner{
  margin-top:14px;
  background: rgba(6, 17, 34, .35);
  border:1px solid rgba(160,210,255,.12);
  border-radius: var(--radius2);
  padding:14px;
}

.row{display:flex; align-items:center; gap:10px}
.between{justify-content:space-between}
.label{color:var(--muted); font-size:13px}
.online{
  color: rgba(70,255,224,.95);
  font-weight:800;
}

.joinbox{margin-top:10px; display:flex; flex-direction:column; gap:10px}

.joinline{
  display:grid;
  grid-template-columns: 74px 1fr;
  gap:10px;
  align-items:center;
}
.joinlabel{
  font-weight:800;
  color:rgba(215,236,255,.82);
  letter-spacing:.6px;
  font-size:12px;
}

.copybox{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(160,210,255,.14);
  background:rgba(10,26,52,.55);
  padding:12px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  transition: transform .15s ease, border-color .2s ease, box-shadow .25s ease;
}
.copybox:hover{
  transform: translateY(-1px);
  border-color: rgba(42,166,255,.35);
  box-shadow: 0 0 0 4px rgba(42,166,255,.10);
}
.hint{
  font-size:12px;
  color:rgba(215,236,255,.55);
  white-space:nowrap;
}

.bedrock-row{
  display:grid;
  grid-template-columns: 1fr 110px;
  gap:10px;
  width:100%;
}
.bedrock-ip, .bedrock-port{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(160,210,255,.14);
  background:rgba(10,26,52,.45);
}
.tiny{font-size:11px}

.cta-row{display:flex; gap:10px; flex-wrap:wrap}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:2px;
}
.chip{
  font-size:12px;
  color:rgba(215,236,255,.80);
  border:1px solid rgba(160,210,255,.12);
  background:rgba(10,26,52,.35);
  padding:7px 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background: rgba(70,255,224,.85);
  box-shadow: 0 0 0 3px rgba(70,255,224,.10);
}

/* Right stack */
.stack{display:flex; flex-direction:column; gap:16px}
.stack .card{padding:18px}

.title{
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:8px;
}
.quote{
  font-family:var(--mono);
  font-size:18px;
  color: rgba(70,255,224,.95);
  margin-bottom:8px;
}
.muted{color:var(--muted)}
.small{font-size:13px}
.section{padding:18px; margin-top:16px}
.section-head h2{margin:0 0 6px; font-size:28px}
.section-head p{margin:0; line-height:1.6}

.triple{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
@media (max-width: 920px){
  .triple{grid-template-columns:1fr}
}

.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
@media (max-width: 920px){
  .two{grid-template-columns:1fr}
}

.mini-card{
  padding:14px;
  border-radius: var(--radius2);
  border:1px solid rgba(160,210,255,.12);
  background: rgba(6, 17, 34, .28);
}

.mini-title{
  font-weight:800;
  margin-bottom:6px;
}
.ok{color:rgba(77,255,154,.95)}
.bad{color:rgba(255,93,93,.95)}

.bullets{margin:0; padding-left:18px}
.bullets li{margin:6px 0; color:rgba(215,236,255,.86)}

.steps{margin:0; padding-left:18px}
.steps li{margin:7px 0; color:rgba(215,236,255,.86)}

.note{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(160,210,255,.16);
  background: rgba(10, 26, 52, .35);
  color:rgba(215,236,255,.82);
}

.cmds{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.cmd{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(160,210,255,.12);
  background:rgba(10,26,52,.30);
}

.footer{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(160,210,255,.10);
}
.tiny{font-size:12px}

/* Drawer */
.drawer{
  position:fixed;
  top:0; left:0;
  width:min(340px, 88vw);
  height:100vh;
  z-index:80;
  transform: translateX(-110%);
  transition: transform .22s ease;
  background: linear-gradient(180deg, rgba(6,17,34,.92), rgba(6,17,34,.78));
  border-right:1px solid rgba(160,210,255,.12);
  backdrop-filter: blur(12px);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.drawer.open{ transform: translateX(0%) }

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.drawer-title{font-weight:900; letter-spacing:.2px}

.drawer-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:6px;
}
.drawer-link{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(160,210,255,.10);
  background:rgba(10,26,52,.35);
  text-decoration:none;
  transition: border-color .2s ease, box-shadow .25s ease, transform .15s ease;
}
.drawer-link:hover{
  border-color: rgba(42,166,255,.35);
  box-shadow: 0 0 0 4px rgba(42,166,255,.08);
  transform: translateY(-1px);
}

.drawer-footer{
  margin-top:auto;
  border-top:1px solid rgba(160,210,255,.10);
  padding-top:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.backdrop{
  position:fixed;
  inset:0;
  z-index:70;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

/* Toast */
.toast{
  position:fixed;
  bottom:20px;
  left:50%;
  transform: translateX(-50%);
  z-index:120;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(160,210,255,.16);
  background: rgba(6,17,34,.85);
  box-shadow: 0 0 0 4px rgba(42,166,255,.10);
  color:rgba(215,236,255,.92);
}
