@import url("https://fonts.cdnfonts.com/css/minecraft-4");

:root {
  --bg: #11100d;
  --bg-2: #181612;
  --panel: #24211b;
  --panel-2: #2d2a22;
  --text: #f1e8d2;
  --muted: #c8bda6;
  --gold: #d0a85b;
  --gold-2: #f3c979;
  --border: #55472f;
  --ok: #66b16a;
  --bad: #c56565;
  --shadow: 0 0 0 2px #000, 0 10px 24px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Minecraft", monospace;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.75;
  background:
    linear-gradient(rgba(17, 16, 13, 0.88), rgba(17, 16, 13, 0.95)),
    url("photos/cinematic3.png") center / cover fixed;
}

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

img {
  max-width: 100%;
  display: block;
}

code {
  color: #f9e4bd;
  background: #1a1915;
  border: 1px solid #4c4130;
  padding: 0.06rem 0.4rem;
  border-radius: 4px;
}

.container {
  width: min(var(--max), calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 16, 13, 0.94);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 3px 0 #000;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  font-family: "Minecraft", "Minecraft Five", monospace;
  font-size: 1.24rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  color: var(--gold-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.45rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  border: 2px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-family: "Minecraft", "Minecraft Five", monospace;
  text-transform: uppercase;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0.52rem 0.66rem;
  box-shadow: var(--shadow);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.btn {
  border: 2px solid #000;
  outline: 2px solid var(--border);
  background: #2a261f;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: "Minecraft", "Minecraft Five", monospace;
  font-size: 0.84rem;
  padding: 0.58rem 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #1e150a;
  background: linear-gradient(#f3c979, #d7ab5e);
  outline-color: #7f602b;
}

.btn-secondary {
  color: #f7dca4;
  background: linear-gradient(#3b3428, #2a241b);
  outline-color: #82673a;
}

.btn-muted {
  color: #e8dcc2;
  background: linear-gradient(#312c24, #27231d);
  outline-color: #655640;
}

.hero {
  padding: 4.3rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold-2);
  border: 2px solid #785d32;
  background: #252017;
  padding: 0.26rem 0.55rem;
  box-shadow: 0 0 0 2px #000;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  font-family: "Minecraft", monospace;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: none;
  font-weight: 400;
  color: var(--gold-2);
}

h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  margin-top: 0.95rem;
}

h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h3 {
  font-size: 1.03rem;
}

p,
li,
small {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.lead {
  margin-top: 0.7rem;
  max-width: 68ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.title-logo {
  width: min(450px, 100%);
  object-fit: contain;
  margin: 0 0 1rem;
  transform: translateX(0px);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.image-frame {
  background: var(--panel);
  border: 2px solid #000;
  outline: 2px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.fit-contain {
  background: #1a1712;
}

.image-frame.fit-contain img {
  object-fit: contain;
}

.ip-stack {
  display: grid;
  gap: 0.7rem;
}

.ip-card {
  background: linear-gradient(#2c271f, #242018);
  border: 2px solid #000;
  outline: 2px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.ip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.server-title-img {
  width: min(210px, 72%);
  height: auto;
  object-fit: contain;
}

.page-title-img {
  width: min(230px, 74%);
  height: auto;
  object-fit: contain;
  margin-bottom: 0.7rem;
}

.pill {
  display: inline-flex;
  border: 2px solid #000;
  outline: 2px solid #5a4a30;
  background: #201b14;
  color: #eac98b;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.14rem 0.4rem;
}

.online-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #7fe186;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #55d462;
  border: 2px solid #0d3312;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(85, 212, 98, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(85, 212, 98, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(85, 212, 98, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(85, 212, 98, 0);
  }
}

.meta {
  color: #dfc087;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.ip-text {
  margin-top: 0.2rem;
  color: #f7edd8;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.port-line {
  margin-top: 0.32rem;
  color: #d6c5a4;
  font-size: 0.9rem;
}

.key-term {
  color: #ffc45c;
  text-shadow: 0 0 8px rgba(255, 196, 92, 0.25);
}

.key-route {
  color: #ffd79b;
  border-left: 2px solid #8a6a33;
  padding-left: 0.55rem;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.section {
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1rem;
}

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

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

.card {
  background: linear-gradient(#2b261f, #252118);
  border: 2px solid #000;
  outline: 2px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.card p {
  margin-top: 0.52rem;
}

.mode-card {
  display: grid;
  gap: 0.75rem;
}

.mode-preview {
  border: 2px solid #000;
  outline: 2px solid #5e5038;
  height: 180px;
  overflow: hidden;
}

.mode-badge {
  color: var(--gold-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mode-title-img {
  width: min(165px, 70%);
  height: auto;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 1rem;
}

.steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.65rem;
}

.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border: 2px solid #000;
  outline: 2px solid #6a5734;
  background: #2a2419;
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-size: 0.86rem;
}

.step p {
  margin-top: 0.18rem;
}

.note {
  margin-top: 0.8rem;
  border: 2px solid #000;
  outline: 2px solid #7c6130;
  background: #2d2719;
  color: #ebd2a0;
  padding: 0.65rem 0.75rem;
}

.note-compact {
  display: inline-block;
  padding: 0.46rem 0.62rem;
  font-size: 0.84rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

details {
  background: linear-gradient(#2b261f, #252118);
  border: 2px solid #000;
  outline: 2px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.7rem 0.8rem;
}

summary {
  cursor: pointer;
  font-family: "Minecraft", "Minecraft Five", monospace;
  color: #f2dfb9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
}

details p {
  margin-top: 0.55rem;
}

.final-cta {
  border: 2px solid #000;
  outline: 2px solid #836634;
  background:
    linear-gradient(rgba(45, 37, 22, 0.9), rgba(45, 37, 22, 0.85)),
    url("photos/skyblock1.png") center / cover;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  gap: 0.72rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000;
  outline: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 0.54rem 0.62rem;
  border-bottom: 2px solid #1a1814;
  font-size: 0.88rem;
}

.table th {
  background: #372f22;
  color: #f0d49e;
  font-family: "Minecraft", monospace;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.readable-copy h1,
.readable-copy h2,
.readable-copy h3 {
  letter-spacing: 0.01em;
  font-size-adjust: 0.52;
}

.readable-copy p,
.readable-copy li,
.readable-copy td,
.readable-copy th,
.readable-copy summary {
  font-size: 1rem;
}

.brand,
.site-nav a,
.btn,
.eyebrow,
summary,
.table td,
.mode-badge,
.meta,
.online-indicator,
.pill,
.status-pill,
.step-num,
strong,
b {
  font-weight: 400;
}

.table td {
  background: #272119;
  color: var(--muted);
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #f2dec0;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.dot {
  width: 10px;
  height: 10px;
  border: 2px solid #000;
  background: #6a6357;
}

.dot.online {
  background: var(--ok);
}

.dot.offline {
  background: var(--bad);
}

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

.gallery .image-frame {
  aspect-ratio: 16 / 9;
}

.muted {
  color: var(--muted);
}

.site-footer {
  margin-top: 2.4rem;
  border-top: 2px solid var(--border);
  background: rgba(12, 11, 9, 0.86);
}

.footer-row {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--gold-2);
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 0.95rem;
  right: 0.95rem;
  z-index: 90;
  border: 2px solid #000;
  outline: 2px solid #6a5838;
  background: #2b251c;
  color: #f2dfbc;
  font-size: 0.84rem;
  padding: 0.52rem 0.65rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

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

@media (max-width: 1080px) {
  .title-logo {
    margin: 0 auto 1rem;
  }

  .hero-grid,
  .split,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.8rem 1.1rem 1rem;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    background: #17140f;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.38);
  }

  .site-nav.open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .grid-2,
  .status-row,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.4rem;
  }
}
