* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08090a;
  --fg: #eaffea;
  --accent: #39ff88;
  --muted: #6b7a70;
  --mono: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  overflow-x: hidden;
}

#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.forsale {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: block;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.forsale:hover {
  filter: brightness(1.1);
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem 2rem;
  gap: 1.25rem;
}

.mark {
  font-size: clamp(4rem, 18vw, 10rem);
  font-weight: 700;
  line-height: 1;
  perspective: 600px;
  will-change: transform;
}

.glyph {
  display: inline-block;
  color: var(--muted);
  animation: flip 1.4s ease-in-out 1 forwards;
  transform-origin: 50% 50%;
}

@keyframes flip {
  0%, 12% { transform: rotate(0deg); color: var(--muted); text-shadow: none; }
  100% { transform: rotate(180deg); color: var(--accent); text-shadow: 0 0 40px var(--accent); }
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(57, 255, 136, 0.35);
}

h1 .dot {
  display: inline-block;
  color: #fff;
  font-size: 0.42em;
}

h1 .dot::first-letter {
  color: #ff3b3b;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--fg);
  opacity: 0.85;
}

.subline {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: var(--muted);
  margin-top: -0.5rem;
}

.cta {
  margin-top: 1.5rem;
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.3);
}

footer {
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.seven {
  color: var(--accent);
  font-weight: 700;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 10, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: #0d0f0e;
  border: 1px solid #1e2621;
  border-radius: 12px;
  padding: 2.5rem 3rem;
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal .find-me {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--accent);
  text-shadow: 0 0 30px rgba(57, 255, 136, 0.35);
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--accent);
}
