/* Minimal reset and a cyberpunk, hacker-themed landing style */

/* Reset and root variables */
:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,0.08);
  --panel-strong: rgba(255,255,255,0.14);
  --text: #e9e9e9;
  --red: #ff2a55;
  --red-dark: #e40034;
  --glow: 0 0 14px rgba(255, 42, 85, 0.75);
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* Silver zigzag background (mobile-first) */
  background-image:
    linear-gradient(135deg, #c8cbd1 25%, transparent 25%),
    linear-gradient(315deg, #c8cbd1 25%, transparent 25%);
  background-position: 0 0, 10px 0;
  background-size: 20px 20px;
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}

/* Layout container (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
  min-height: calc(100vh - 140px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  position: relative;
  isolation: isolate;
  /* subtle neon edge glow for hacker vibe */
  outline: 2px solid rgba(0, 255, 200, 0.15);
  outline-offset: -6px;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.image-frame:hover {
  outline-color: rgba(0, 255, 200, 0.5);
  box-shadow: 0 28px 60px rgba(0,0,0,.6);
}

/* Footer and product ad (neon, frosted glass) */
footer {
  padding: 1rem 1.25rem;
  text-align: center;
  color: #d7d7d7;
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: .6rem 1rem;
  border-radius: 12px;
  margin: 0.25rem auto 0;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff2a55 0%, #e40034 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(255,0,80,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,0,80,.7);
}
.product-ad p { margin: 0; padding: 0; }

/* Subtle neon tint for overall cyberpunk feel */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 200px); }
  .image-frame { border-radius: 28px; }
  footer { padding: 1.5rem 0; }
  .product-ad { padding: .65rem 1.25rem; }
}