:root {
  color-scheme: dark;
  --bg: #040814;
  --panel: rgba(8, 20, 35, 0.74);
  --panel-strong: rgba(7, 18, 32, 0.92);
  --line: rgba(144, 220, 255, 0.2);
  --line-strong: rgba(55, 216, 255, 0.36);
  --text: #f4f9ff;
  --muted: #a5b8ca;
  --cyan: #37d8ff;
  --emerald: #43f0a3;
  --gold: #f6c65b;
  --radius: 8px;
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(4, 8, 20, 0.7), rgba(4, 8, 20, 0.94)),
    url("/assets/minecraft-bg.png") center / cover fixed no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(55, 216, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 6%, rgba(67, 240, 163, 0.12), transparent 28%);
}

a {
  color: inherit;
}

.map-shell {
  width: min(1480px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(55, 216, 255, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(55, 216, 255, 0.94), rgba(67, 240, 163, 0.94));
  color: #03111d;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.map-head nav {
  display: flex;
  gap: 8px;
}

.map-head nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.map-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 4px 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.map-status {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 13, 25, 0.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.map-status[data-state="online"] {
  border-color: rgba(67, 240, 163, 0.34);
  color: var(--emerald);
}

.map-status[data-state="offline"] {
  border-color: rgba(246, 198, 91, 0.38);
  color: var(--gold);
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42), 0 0 46px rgba(55, 216, 255, 0.08);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 680px;
  border: 0;
  background: #02060c;
}

@media (max-width: 760px) {
  .map-head,
  .map-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .map-head nav {
    width: 100%;
  }

  .map-head nav a {
    flex: 1;
    text-align: center;
  }

  .map-card iframe {
    height: 72vh;
    min-height: 520px;
  }
}
