:root {
  --bg: #080808;
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.4);
  --dim: rgba(255, 255, 255, 0.60);
  --bracket: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.022) 0px,
      rgba(255,255,255,0.022) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.022) 0px,
      rgba(255,255,255,0.022) 1px,
      transparent 1px,
      transparent 12px
    );
  color: #fff;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── corner brackets ── */
.bracket {
  position: fixed;
  width: 20px;
  height: 20px;
  z-index: 10;
}
.bracket-tl { top: 20px; left: 20px;  border-top: 1px solid var(--dim); border-left: 1px solid var(--dim); }
.bracket-tr { top: 20px; right: 20px; border-top: 1px solid var(--dim); border-right: 1px solid var(--dim); }
.bracket-bl { bottom: 20px; left: 20px;  border-bottom: 1px solid var(--dim); border-left: 1px solid var(--dim); }
.bracket-br { bottom: 20px; right: 20px; border-bottom: 1px solid var(--dim); border-right: 1px solid var(--dim); }

/* ── mono label ── */
.mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── thin accent line ── */
.accent-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

/* ── meteor sweep on accent line ── */
.accent-line::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -40%;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 15%,
    rgba(255,255,255,0.55) 55%,
    rgba(255,255,255,1) 75%,
    rgba(255,255,255,0.6) 88%,
    transparent 100%
  );
  opacity: 0;
  filter: blur(0.5px);
}
main:hover .accent-line::after {
  animation: meteor-sweep 1.8s cubic-bezier(0.25, 0, 0.35, 1) 0.2s forwards;
}
@keyframes meteor-sweep {
  0%   { left: -40%; opacity: 0; }
  3%   { opacity: 1; }
  97%  { opacity: 1; }
  100% { left: 115%; opacity: 0; }
}

/* ── icon with brackets ── */
.icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 36px;
}
.icon-wrap svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.7);
}
.icon-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.5);
}
.icon-bracket-tl { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.icon-bracket-tr { top: -8px; right: -8px; border-left: none; border-bottom: none; }
.icon-bracket-bl { bottom: -8px; left: -8px; border-right: none; border-top: none; }
.icon-bracket-br { bottom: -8px; right: -8px; border-left: none; border-top: none; }

/* ── main layout ── */
main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  position: relative;
}

/* ── mouse spotlight ── */
main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255,255,255,0.04),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
main:hover::before {
  opacity: 1;
}

/* ── container ── */
.container {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

/* ── main heading ── */
h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

/* ── description ── */
.description {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px 0;
}

/* ── status indicator ── */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

/* ── pulsing dot ── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}
.status-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: ripple 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── footer label ── */
.footer-label {
  display: block;
  margin-top: 48px;
  opacity: 0.5;
}

/* ── mobile adjustments ── */
@media (max-width: 640px) {
  .bracket { display: none; }

  main {
    padding: 40px 24px;
  }

  h1 {
    font-size: 36px;
  }

  .description {
    font-size: 14px;
  }

  .icon-wrap svg {
    width: 64px;
    height: 64px;
  }
}
