/* CSS Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --navy: #0a1020;
  --navy-dark: #0b1223;
  --gold: #ffd166;
  --gold-deep: #e6b53a;
  --text: #e9f0ff;
  --muted: #c9c3a7;
  --glass: rgba(255, 255, 255, 0.08);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto;
  color: var(--text);
  background-color: var(--navy);
  /* Gold grid paper background */
  background-image:
    linear-gradient(rgba(255, 209, 102, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 209, 102, 0.25) 1px, transparent 1px),
    linear-gradient(#0b1020, #0b1020);
  background-size: 40px 40px, 40px 40px, cover;
  /* Subtle vignette for cyberpunk vibe */
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  padding: 0.75rem 1rem;
  text-align: center;
  background: rgba(9, 14, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky; top: 0; z-index: 10;
}
.brand {
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 209, 102, 0.9);
  font-size: 1.05rem;
}

/* Hero (glass card) */
.hero {
  width: min(92vw, 1100px);
  margin: 2rem auto;
  padding: 1.75rem;
  border-radius: 16px;
  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 60px rgba(0,0,0,.45);
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin: 0 0 .5rem;
  color: #f6f9ff;
  text-shadow: 0 0 12px rgba(255, 208, 128, 0.6);
}
.subhead {
  margin: 0 0 1rem;
  color: #ffdba1;
  font-weight: 600;
  opacity: .95;
}
.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);
  filter: saturate(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.cta {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  font-weight: 900;
  color: #0b0e18;
  background: linear-gradient(135deg, #ffd166 0%, #ffb233 60%, #e59a00 100%);
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(0,0,0,.6); }
.cta:focus-visible { outline: 2px solid #6bd6ff; outline-offset: 2px; }

/* Footer with small advertisement */
.site-footer {
  padding: 1rem;
  text-align: center;
  color: #d4cbb0;
  background: rgba(9, 14, 40, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-ad a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.gratitude { margin-top: .5rem; font-size: .95rem; }

/* Layout: grid on wider screens to emphasize the hero image as centerpiece */
@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; }
  .hero-media { grid-area: media; justify-self: center; align-self: center; width: 100%; max-width: 720px; }
  .cta { grid-area: cta; justify-self: start; }
}

/* Focus and accessibility */
a:focus-visible { outline: 2px solid #6bd6ff; outline-offset: 2px; }

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