/* Minimal reset and cyberpunk aesthetics with frosted glass and magenta diagonals */

:root{
  --magenta: #ff2ab3;
  --cyan: #00e5ff;
  --bg: #0b0b12;
  --card: rgba(255,255,255,.15);
  --card-border: rgba(255,255,255,.28);
  --text: #e9f6ff;
}

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

html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.6)),
    repeating-linear-gradient(-45deg, rgba(255,0,170,.25) 0 8px, rgba(0,0,0,0) 8px 16px),
    #0b0b12;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 980px);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer with CTA card (frosted glass) */
footer {
  margin-top: 2rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.product-ad {
  width: min(92vw, 760px);
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  color: #eaffff;
  font-weight: 700;
}

.product-ad a {
  text-decoration: none;
  display: block;
}

.product-ad a p {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan) 0%, #0abbbb 100%);
  color: #041826;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s ease, filter .15s ease;
  user-select: none;
}

.product-ad a:hover p {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.product-ad a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Small screens first: adjust typography/paddings */
@media (max-width: 699px) {
  .product-ad { padding: 0.9rem; }
  .product-ad h3 { font-size: 1.05rem; }
  .image-frame { border-radius: 12px; }
}

/* Larger screens: fine-tune spacing for a cyberpunk vibe */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 18px; }
  .product-ad { padding: 1.25rem; }
  .product-ad h3 { font-size: 1.25rem; }
}