/* Cyberpunk frosted-glass landing page (mobile-first) */

/* Reset and root colors (accessible, coral accents) */
:root{
  --bg: #2a170d;           /* deep brown ambiance */
  --bg-soft: #1e0f07;
  --panel: rgba(255, 140, 100, 0.15); /* frosted glass tint */
  --panel-border: rgba(255, 255, 255, 0.25);
  --text: #e9d8cd;          /* warm light text */
  --muted: #c9b8a8;         /* secondary text */
  --coral: #ff7f50;          /* coral neon accent */
  --coral-glow: rgba(255,127,80,.6);
  --shadow: 0 8px 40px rgba(0,0,0,.45);
}

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* brown-noise texture (stylized with subtle grain) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 3px 3px, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page layout (mobile-first) */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem 0.5rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  position: relative;
  width: min(92vw, 760px);
  padding: 1rem;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.image-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 0 40px rgba(255,140,100,.25);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Footer and product ad area */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
}

/* Featured product card with CTA (prominent) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .75rem;
  border-radius: 14px;
  width: min(92vw, 720px);
  margin: 0 auto 1rem;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffd9c0;
  letter-spacing: .2px;
}

/* CTA button ( coral) */
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 14px rgba(255,127,80,.5);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  display: inline-block;
}
.product-ad a p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,127,80,.65);
}
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid #fff7bf;
  outline-offset: 2px;
}

/* Text helpers for a cyberpunk vibe (subtle glow) */
h3, .product-ad h3 {
  text-shadow: 0 0 6px rgba(255,127,80,.45);
}

/* Small screens: tighter spacing for compact look */
@media (min-width: 640px) {
  main { padding-top: 3rem; }
  .image-frame { width: min(720px, 60vw); padding: 1.25rem; }
  .product-ad { flex-direction: row; align-items: center; justify-content: center; gap: 1.25rem; }
  .product-ad h3 { font-size: 1.02rem; }
  .product-ad a p { padding: .75rem 1.25rem; }
}

/* Focus visibility for accessibility on links/buttons outside the keyboard context too */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
