:root {
  --bg: #0B0E14;
  --amber: #E5A93C;
  --slate: #243346;
  --ice: #E6EDF3;
  --pixel: 'Press Start 2P', ui-monospace, 'Courier New', monospace;
  --body: 'VT323', ui-monospace, 'Courier New', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow-x: hidden;
  color: var(--ice);
  font-family: var(--body);
  font-size: 1.5rem;
  line-height: 1.25;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(36, 51, 70, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 51, 70, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(11, 14, 20, 0) 35%, rgba(11, 14, 20, 0.92) 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.12) 2px, transparent 2px, transparent 4px);
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin: 10px;
  padding: clamp(28px, 6vw, 56px) clamp(18px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4.5vw, 34px);
  text-align: center;
  background: rgba(11, 14, 20, 0.88);
  border: 4px solid var(--slate);
  border-radius: 16px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--slate);
}

.logo {
  display: block;
  width: clamp(150px, 46vw, 220px);
  height: auto;
  filter: drop-shadow(4px 4px 0 var(--amber));
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: var(--pixel);
  font-weight: 400;
}

.name {
  display: block;
  font-size: clamp(0.8rem, 4vw, 1.25rem);
  letter-spacing: 0.1em;
  color: var(--ice);
}

.status {
  display: block;
  font-size: clamp(1.15rem, 6vw, 2.2rem);
  line-height: 1.3;
  color: var(--amber);
  text-shadow: 3px 3px 0 var(--slate);
}

@media (max-width: 380px) {
  body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .panel {
    margin: 8px;
  }
}

html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--amber);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 2px solid var(--amber);
  transition: opacity 0.2s, width 0.2s, height 0.2s, margin 0.2s, background-color 0.2s;
}

.cursor-visible .cursor-dot,
.cursor-visible .cursor-ring {
  opacity: 1;
}

.cursor-grow .cursor-ring {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background-color: rgba(229, 169, 60, 0.14);
}

.cursor-down .cursor-ring {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
}