/*  a clean, neon lime + violet hacker themed CSS for Etsy Products page with frosted glass */

// Design tokens
:root{
  --bg: #2a0f4b;                 /* violet base */
  --lime: #9cff63;               /* lime accent */
  --lime-dark: #6bd14a;
  --card: rgba(255,255,255,.92);
  --card-border: rgba(0,0,0,.15);
  --text: #0a0a0a;
  --muted: #2a2a2a;
  --shadow: 0 8px 28px rgba(0,0,0,.28);
  --radius: 14px;
  --cta: linear-gradient(135deg, #9aff60 0%, #39e66a 60%, #2bbd6b 100%);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(120,0,180,.95), rgba(60,0,120,.95) 60%), var(--bg);
  /* lime metallic grid overlay on violet background */
  background-image:
    linear-gradient(to right, rgba(156, 255, 107, .25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156, 255, 107, .25) 1px, transparent 1px);
  background-size: 22px 22px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 25% 15%, rgba(0,255,160,.15), transparent 40%),
              radial-gradient(circle at 75% 60%, rgba(255,0,170,.15), transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.05);
}

header, main, footer { position: relative; z-index: 1; }

/* Header */
header { text-align: center; padding: 1rem; }
header h2 { margin: 0; font-size: .95rem; color: #e8f3ff; opacity: .95; }

/* Main layout */
main { padding: 0 1rem; }

/* Hero section - mobile-first, two-column on wide screens */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
  padding: 1.25rem;
}

/* Frosted glass content panel */
.hero-copy {
  text-align: center;
  padding: 1.75rem;
  border-radius: var(--radius);
  max-width: 760px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 .5rem;
  color: #1a0a3a;
}
.subhead {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}
.cta {
  display: inline-block;
  padding: 1rem 1.8rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 999px;
  background: var(--cta);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(0,0,0,.25); }
.cta:focus-visible { outline: 3px solid #e8f0ff; outline-offset: 3px; }

/* Centerpiece image */
.hero-media {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-media img {
  width: min(680px, 92%);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  image-rendering: crisp-edges;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.92rem;
}
footer .advertisements a {
  color: #9af;
  text-decoration: none;
  border-bottom: 1px dotted rgba(159, 231, 255, .5);
}
footer .advertisements a:hover { text-decoration: underline; }
footer .gratitude { margin-top: .5rem; color: #e8f6ff; }

/* Desktop two-column layout: text left, image right */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    padding: 2rem;
  }
  .hero-copy { text-align: left; padding: 2rem; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-media { align-self: center; }
  .hero-media img { width: 100%; max-width: 740px; }
}