:root {
  --mm-accent: #2e86c7;
  --mm-warn: #f5a623;
  --mm-bg: #0a0f1f;
  --mm-surface: rgba(255,255,255,0.04);
  --mm-text: #f1f5f9;
  --mm-muted: #94a3b8;
  --mm-dim: #64748b;
  --mm-line: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mm-text);
  background: radial-gradient(circle at 30% 20%, #173263 0%, var(--mm-bg) 55%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: url("/resources/img/cursor/default.png") 0 0, auto;
}
body * {
  cursor: url("/resources/img/cursor/default.png") 0 0, auto;
}
a, button, [role="button"], input[type="button"], input[type="submit"] {
  cursor: url("/resources/img/cursor/pointer.png") 0 0, pointer;
}
a:hover, button:hover, [role="button"]:hover,
input[type="button"]:hover, input[type="submit"]:hover {
  cursor: url("/resources/img/cursor/hover.png") 0 0, pointer;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/resources/img/bg.jpg") center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 15, 31, 0.85) 100%);
  z-index: 0;
  pointer-events: none;
}

.mm-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.mm {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mm-logo-fallback {
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 28px;
}
.mm-logo {
  margin-bottom: 28px;
}
.mm-logo img {
  width: auto;
  height: auto;
  max-height: clamp(160px, 22vw, 240px);
  max-width: min(480px, 80vw);
  filter: drop-shadow(0 10px 32px rgba(0,0,0,0.55));
}

.mm-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-warn);
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 999px;
}
.mm-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mm-warn);
  animation: mm-pulse 1.8s ease-out infinite;
}
@keyframes mm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.mm-title {
  margin: 0 0 22px;
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.mm-msg {
  margin: 0 0 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mm-muted);
  max-width: 460px;
}

.mm-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 12px 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(46, 134, 199, 0.65);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(46, 134, 199, 0.3), rgba(17, 94, 143, 0.42));
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(10, 15, 31, 0.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.mm-enter:hover {
  border-color: rgba(46, 134, 199, 0.95);
  background: linear-gradient(180deg, rgba(46, 134, 199, 0.48), rgba(17, 94, 143, 0.58));
  box-shadow: 0 18px 40px rgba(10, 15, 31, 0.42);
  transform: translateY(-2px);
}

.mm-enter:focus-visible {
  outline: 2px solid rgba(245, 166, 35, 0.85);
  outline-offset: 3px;
}

.mm-connect-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-dim);
  margin-bottom: 14px;
}
.mm-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mm-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--mm-muted);
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.mm-social a:hover {
  color: #fff;
  border-color: var(--mm-warn);
  background: rgba(245, 166, 35, 0.18);
  transform: translateY(-2px);
}

.mm-foot {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--mm-dim);
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .mm { padding: 32px 20px; }
  .mm-logo-fallback { font-size: 38px; }
  .mm-social a { width: 44px; height: 44px; }
}
