/* CSS Reset and base setup */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f8f1e0;
  background: #0b0b0f;
  /* yellow metallic sheen + subtle hacker vibe */
  background-image:
    radial-gradient(circle at 20% -10%, rgba(255,215,0,.25) 0%, rgba(255,215,0,0) 40%),
    linear-gradient(135deg, rgba(122,0,15,.25) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(135deg, #1a0a0a 0%, #0b0b0f 100%);
  background-size: 180% 180%, 100% 100%, 100% 100%;
  animation: sheen 14s linear infinite;
}
@keyframes sheen {
  0% { background-position: 0% 0%, 0% 0%, 0% 0%; }
  50% { background-position: 60% 40%, 0% 0%, 0% 0%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%; }
}

/* Header */
.site-header {
  padding: 0.8rem 1rem;
  text-align: center;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.brand {
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd166;
  letter-spacing: .14em;
  text-shadow: 0 0 8px rgba(255,209,102,.8);
}

/* Hero block (glass / frosted) */
.hero {
  width: min(92vw, 1100px);
  margin: 2rem auto;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: 0 0 .5rem;
  color: #fff;
}
.subhead {
  margin: 0 0 1rem;
  color: #ffd9b0;
  font-weight: 500;
  opacity: .95;
  letter-spacing: .01em;
}
.hero-media {
  width: 100%;
  margin: 0 auto;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
}

/* Call-to-action button (visual centerpiece) */
.cta {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7e1023 0%, #8a1a2b 60%, #a14a1d 100%);
  border: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.6); }
.cta:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }

/* Footer with small advertisement and gratitude */
.site-footer {
  padding: 1rem;
  text-align: center;
  color: #d9c3a1;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
}
.footer-ad a {
  color: #ffd166;
  font-weight: 700;
  text-decoration: none;
}
.gratitude { margin: .25rem 0 0; font-size: .95rem; }

/* Large screen layout: center the image as the centerpiece using a grid */
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "title media"
                         "subtitle media"
                         "cta media";
    gap: 1.75rem;
    text-align: left;
    align-items: center;
    padding: 2rem;
  }
  .hero h1 { grid-area: title; justify-self: start; }
  .subhead { grid-area:subtitle; justify-self: start; color: #ffd9b0; }
  .hero-media { grid-area: media; justify-self: center; align-self: center; width: 100%; max-width: 720px; }
  .cta { grid-area: cta; justify-self: start; }
}

/* Focus outline for accessibility */
a:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}