/* CSS: Gold carbon-fiber + frosted glass landing (mobile-first) */

/* Minimal reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --gold-1: #ffd84d;
  --gold-2: #e6b800;
  --bg-dark: #0a0a0a;
  --glass: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.38);
  --text: #f7f5e2;
  --muted: #e8d16a;
  --shadow: 0 12px 28px rgba(0,0,0,.28);
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  min-height: 100vh;
  background-color: var(--bg-dark);
  /* Gold carbon-fiber look: diagonal dark weave with gold tint */
  background-image:
    /* carbon-fiber diagonal weave */
    repeating-linear-gradient(45deg,
      rgba(0,0,0,.28) 0px, rgba(0,0,0,.28) 6px,
      rgba(0,0,0,.12) 6px, rgba(0,0,0,.12) 12px),
    /* gold sheen overlay */
    linear-gradient(135deg, rgba(212,174,54,.25), rgba(212,174,54,.05) 60%, rgba(212,174,54,.0) 60%);
  background-size: 40px 40px, 100% 100%;
  background-blend-mode: overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout containers */
.site-header {
  height: 64px;
}
main { display: block; }

/* Hero section with frosted glass effect */
.hero {
  width: min(100%, 940px);
  margin: 2rem auto;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 1rem;
  text-align: center;
}
.hero h1 {
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0;
  letter-spacing: .2px;
}
.subhead {
  font-size: 1rem;
  color: #fffbe6;
  opacity: .95;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.65);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.cta {
  display: inline-block;
  padding: 1.05rem 1.8rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b0b0b;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 60%, #d4a000 100%);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Footer with small advertisement */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #e9e0b8;
}
.site-footer .ad a {
  color: #ffd84d;
  text-decoration: underline;
}
.site-footer .gratitude {
  margin-top: .5rem;
  color: #f8f3d2;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta, .hero { transition: none; }
  .hero-media img { transition: none; }
}

/* Desktop refinements */
@media (min-width: 768px) {
  .hero {
    padding: 2.25rem;
    gap: 1.75rem;
  }
  .hero h1 { font-size: 2rem; }
  .subhead { font-size: 1.05rem; }
  .cta { font-size: 1.3rem; padding: 1.15rem 2rem; }
}