/* index.css - Mobile-first, cyberpunk frosted glass theme with turquoise sheen */

:root {
  --teal: #1ee8d7;
  --teal-dark: #0fb4a2;
  --turquoise: #2af0e0;
  --bg: #02131a;
  --card: rgba(255, 255, 255, 0.08);
  --text: #eaffff;
  --muted: #b9f0f0;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: #04131a;
  /*Turquoise metallic sheen backdrop with subtle gradients*/
  background-image:
    linear-gradient(135deg, rgba(0, 255, 240, 0.08) 0%, rgba(0,0,0,0) 40%),
    linear-gradient(135deg, rgba(0, 160, 160, 0.25) 0%, rgba(0,0,0,0) 60%);
  background-size: 200% 200%, 100% 100%;
  animation: gradientShift 14s ease-in-out infinite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  word-break: break-word;
}

@keyframes gradientShift {
  0% { background-position: 0% 0%, 0% 0%; }
  50% { background-position: 100% 0%, 0% 0%; }
  100% { background-position: 0% 0%, 0% 0%; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(3, 16, 22, 0.6);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.branding {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #eaffff;
  letter-spacing: 0.4px;
}

/* Main layout places content in the center with frosted panel styling */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  width: min(100%, 1100px);
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Hierarchy: single H1 as required */
.hero h1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem);
  margin: 0;
  text-align: center;
  color: #eaffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.subhead {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.25rem);
  color: var(--muted);
  text-align: center;
  margin: 0.25rem 0 0;
}

/* Centerpiece content block that houses the image and CTA */
.hero-media {
  display: grid;
  gap: 1rem;
  justify-items: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-media img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}

.cta {
  display: inline-block;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #041b1a;
  background: linear-gradient(135deg, #14e6d0, #0db0b6);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.cta:focus-visible {
  outline: 3px solid #9af6ff;
  outline-offset: 2px;
}

/* Footer advertisement and closing note */
footer {
  padding: 1rem;
  text-align: center;
  color: #d9fbfb;
  background: rgba(2, 8, 12, 0.55);
  border-top: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer-ad a {
  color: #a5fffb;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.25);
}
.closing-note {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-top: 0.25rem;
}

/* Accessibility: ensure focus styles for all keyboard navigable elements */
a:focus-visible {
  outline: 3px solid #9af6ff;
  outline-offset: 2px;
}

/* Responsive tweaks for larger screens */
@media (min-width: 768px) {
  .hero {
    padding: 2.5rem;
    border-radius: 24px;
  }
  .hero-media {
    /* keep the image as the principal centerpiece; scale with viewport */
    grid-auto-flow: row;
  }
  .hero-media img {
    width: 70%;
    max-width: 800px;
  }
}