/* index.css - cyberpunk, frosted glass, mobile-first */

:root {
  --bg: #0a0a0a;
  --text: #eafff0;
  --muted: #cbd5e1;
  --accent: #6fff3f;
  --accent-soft: rgba(111, 255, 63, 0.6);
  --glass: rgba(255, 255, 255, 0.08);
  --card: rgba(0, 0, 0, 0.55);
  --ring: rgba(102, 255, 153, 0.9);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: #0a0a0a;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Lime metallic sheen background (futuristic glow) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 255, 128, 0.15), rgba(0,0,0,0) 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 120, 0.12), rgba(0,0,0,0) 50%),
    linear-gradient(135deg, rgba(0, 255, 128, 0.08), rgba(0,0,0,0) 60%);
  mix-blend-mode: overlay;
  animation: sheen 12s linear infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { transform: translateZ(0) rotate(0deg); }
  100% { transform: translateZ(0) rotate(0.4deg); }
}

/* Layout */
header {
  display: flex;
  justify-content: center;
  padding: 1rem 1rem;
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: saturate(1.2);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  font-weight: 800;
  color: #eafff0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 8px rgba(0, 255, 120, 0.6);
  letter-spacing: .2px;
}

/* Main content */
main {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  width: min(100%, 900px);
  padding: 2rem 1rem;
  border-radius: var(--radius);
}

/* Headline and subhead (only one h1 allowed by spec) */
h1 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  margin: 0.25rem 0;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(0, 255, 140, 0.6);
  letter-spacing: .4px;
}

/* Subhead encourages action, accessible color */
.subhead {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #d8f7e1;
  opacity: 0.95;
  margin: 0;
}

/* Prominent content URL CTA (visual centerpiece) */
.hero-cta {
  display: block;
  width: min(92%, 720px);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75);
  outline: none;
}

.hero-cta img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.hero-cta .cta-text {
  display: block;
  padding: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  user-select: none;
}

/* Footer with small advertisement */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.footer-ad {
  display: inline-block;
  margin: 0.25rem auto 0.75rem;
}

.footer-ad a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: #b8ffd6;
  text-decoration: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Focus visibility for accessibility on links */
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Small screens: ensure readability and compact spacing */
@media (min-width: 720px) {
  .hero {
    padding: 3rem 2rem;
  }
}