/* CSS: Cyberpunk, frosted-glass landing with gold zigzag background */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

/* Core colors for hacker/future cyberpunk vibe */
:root {
  --maroon: #2b0f14;
  --glow: #ffd166;
  --gold: #D4AF37;
  --glass: rgba(255,255,255,.08);
  --text: #f5f0f0;
  --muted: #e9e0e0;
}

/* Gold zigzag background (mobile-first) */
body {
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  background-color: #270a10;
  /* zigzag pattern */
  background-image:
    linear-gradient(135deg, rgba(212,175,55,.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(212,175,55,.25) 25%, transparent 25%),
    linear-gradient(315deg, rgba(212,175,55,.25) 25%, transparent 25%),
    linear-gradient(45deg, rgba(212,175,55,.25) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout container (centered hero) */
main {
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

/* Frosted-glass image frame (hero) */
.image-frame {
  width: min(92vw, 720px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  position: relative;
  isolation: isolate;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,.12), rgba(255,255,255,0) 60%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.95;
}

/* Footer with frosted glass and CTA */
footer {
  margin-top: 28px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #f5f0f0;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* CTA block (product-ad) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(12, 6, 8, .55);
  border: 1px solid rgba(255,255,255,.15);
}
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 0 6px rgba(212,175,55,.8);
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b0f18 0%, #8a1b2b 60%, #d4af37 100%);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 3px solid #ffd;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
}
.product-ad a p:active {
  transform: scale(0.98);
}

/* Footer copyright line styling */
footer p {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
  opacity: .95;
}

/* Responsive tweaks */
@media (min-width: 700px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .product-ad {
    flex-direction: row;
    align-items: center;
  }
  .product-ad h3 {
    margin-right: 8px;
  }
}
@media (min-width: 1000px) {
  main { padding: 60px 0; }
  .image-frame { border-radius: 28px; }
}