/* Purple circuit-board + silver hacker theme with frosted glass for Etsy page
   Mobile-first, single stylesheet (d8589790.css style)
*/

/* Root tokens for a cyberpunk look */
:root{
  --bg-purple: #2a0a4a;
  --bg-purple-soft: #3b1a6b;
  --panel: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.25);
  --glass: rgba(12, 18, 22, 0.68);
  --text: #e9f0f7;
  --muted: #cbd5e1;
  --silver: #d8dee8;
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --cta: #e6f2ff;
  --cta-text: #041018;
  --gold: #ffd166;
}

/* Reset */
*, *::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, Arial;
  color: var(--text);
  background-color: #140a2a;
  /* Purple circuit-board background + subtle glow */
  background-image:
    /* purple checker/grid lines to imply circuit */
    linear-gradient(45deg, rgba(138, 0, 255, .25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(138, 0, 255, .25) 25%, transparent 25%),
    linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  background-size: 22px 22px;
  background-position: 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.04), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0,0,0,.25), transparent 40%);
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Layout containers */
.site-header {
  padding: 1rem;
  text-align: center;
  color: var(--silver);
  z-index: 1;
  position: relative;
}

/* Main content */
main { padding: 0; }

/* Hero section: prominent centerpiece with frosted glass */
.hero {
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.25rem, 6vw, 3rem) 1rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 1000px;
  border-radius: 14px;
  background: rgba(15, 15, 24, 0.66); /* frosted glass feel on dark backdrop */
  border: 1px solid var(--border);
  backdrop-filter: saturate(1.25) blur(8px);
  -webkit-backdrop-filter: saturate(1.25) blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero > h1 {
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  font-weight: 900;
  margin: 0.25rem 0;
  color: #f6fbff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-image {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0.4rem auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  background: rgba(0,0,0,.25);
}
.subhead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #e6f0ff;
  opacity: .95;
  margin: 0.25rem 0;
}
.hero-cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: clamp(1.15rem, 3vw, 1.25rem);
  font-weight: 800;
  color: var(--cta-text);
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #b0c8ff 0%, #8bd7ff 60%, #60e5a0 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.hero-cta:focus-visible {
  outline: 3px solid #9bd9ff;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #dbe6f4;
  font-family: inherit;
}
.footer-ad a {
  color: #a4d4ff;
  text-decoration: none;
  font-weight: 700;
}
.footer-ad a:hover { text-decoration: underline; }

/* Accessibility focus for links (keyboard users) */
a:focus-visible {
  outline: 3px solid #9bd9ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive refinements */
@media (min-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cta { padding: 1.15rem 2rem; font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 4rem 2rem; }
  .hero-image { width: min(70%, 820px); }
  .hero > h1 { font-size: 3rem; }
}