/* Page base */
:root {
  --brand-yellow: #ffcc00;
  --text: #ffffff;
  --text-dim: #d7d7d7;
  --overlay: rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  color: var(--text);
  background-image: url('artificial-life-cyborgs-wallpaper.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
}

@supports (background-image: image-set(url('x') type('image/webp') 1x)) {
  body {
    background-image: image-set(
      url('borglife-bg-1792.webp') type('image/webp') 2x,
      url('borglife-bg-1280.webp') type('image/webp') 1.5x,
      url('borglife-bg-960.webp') type('image/webp') 1x
    );
  }
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--brand-yellow);
  letter-spacing: 0.5px;
}

.tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  margin: 8px 0 24px;
  color: var(--text);
}

.status {
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  margin: 0 0 20px;
  color: var(--text-dim);
}

.cta-button {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  font-weight: bold;
  color: #0b0b0c;
  background-color: var(--brand-yellow);
  border: 2px solid var(--brand-yellow);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: transparent;
  color: var(--brand-yellow);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 20px 24px 28px;
  text-align: center;
  color: var(--text-dim);
}

.site-footer p { margin: 0 0 6px; }

.site-footer a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    max-width: 320px;
  }
}