/* Minimal reset */
*,
*::before,
*::after { box-sizing: border-box; }

/* Theme variables */
:root {
  --bg-veil: rgba(12, 0, 26, 0.55);
  --bg-darker: #0b0220;
  --bg-violet: #2b0054;
  --fg: #d6feff;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0,229,255,.25);
  --glass: rgba(255,255,255,.08);
  --shadow: rgba(0,0,0,.4);
}

/* Violet carbon fiber background, cyan accents, hacker/future vibe */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background: var(--bg-darker);
  /* lightweight carbon-fiber weave (violet + cyan) */
  background-image:
    linear-gradient(135deg, rgba(0, 229, 255, .04) 0.5px, transparent 0.5px),
    linear-gradient(45deg, rgba(0, 229, 255, .04) 0.5px, transparent 0.5px),
    linear-gradient(180deg, #170226 0, #170226 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Layout */
header {
  padding: 1.6rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(10, 0, 40, 0.6);
  border-bottom: 1px solid rgba(0, 229, 255, 0.25);
  backdrop-filter: blur(6px);
}
header h1 {
  margin: 0.25rem 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #aaf7ff;
  letter-spacing: .5px;
}
header .meta {
  font-size: .85rem;
  color: #baf0ff;
  opacity: .95;
}

/* Main content container */
main {
  padding: 1rem;
  display: grid;
  place-items: center;
}
article {
  width: min(900px, 100%);
  background: rgba(8, 0, 22, 0.55);
  border-radius: 12px;
  padding: 1.6rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.featured-image { border-radius: 12px; overflow: hidden; margin: 0.75rem 0; }
.featured-image img { width: 100%; height: auto; display: block; }

/* Text content */
p { color: #dffcff; line-height: 1.75; margin: 0.95rem 0; }

/* Footer and ad block */
footer { padding: 0.75rem 1rem 1.25rem; text-align: center; }
.product-ad {
  display: inline-block;
  width: max-content;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0, 230, 255, .4);
  backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}
.product-ad h3 { margin: 0 0 .5rem; color: #aefcff; font-size: 1rem; }
.product-ad p {
  display: inline-block;
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: rgba(0, 230, 255, .15);
  color: #eaffff;
  border: 1px solid rgba(0, 230, 255, .4);
  text-decoration: none;
}

/* CTA styling (works if the Shopify link is styled as a button) */
a.btn, .btn {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: 8px;
  color: #00131a;
  background: #00e5ff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #00d7ff;
  box-shadow: 0 6px 14px rgba(0, 229, 255, .4);
}
a.btn:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
a.btn:hover, .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,255,255,.6);
}

/* Accessibility and responsiveness */
@media (max-width: 700px) {
  header { padding: 1.25rem 0; }
  article { padding: 1rem; border-radius: 10px; }
  .product-ad { width: 100%; }
}
