/* Minimal reset and CSS for a gold-carbon-fiber, purple-hacker themed landing page */

:root{
  --bg: #0a041a;
  --bg-soft: rgba(10, 4, 26, 0.6);
  --text: #f1eaff;
  --muted: #d3c6ff;
  --purple: #7a5cff;
  --purple-dark: #5b3cff;
  --gold: #ffd700;
  --glass: rgba(255,255,255,0.08);
  --glass-strong: rgba(255,255,255,0.18);
  --shadow: 0 8px 26px rgba(0,0,0,.5);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg);
  /* gold carbon fiber texture (diagonal + subtle glow) */
  background-image:
    /* gold fibers */
    repeating-linear-gradient(45deg, rgba(212, 168, 60, .55) 0 2px, rgba(212,168,60,0) 2px 4px),
    repeating-linear-gradient(-45deg, rgba(212, 168, 60, .55) 0 2px, rgba(212,168,60,0) 2px 4px),
    /* purple nebula hints */
    radial-gradient(circle at 20% 0%, rgba(123, 57, 255, .22), transparent 25%),
    radial-gradient(circle at 70% 40%, rgba(255,0,170,.14), transparent 25%);
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Top hero area (mobile-first) */
main {
  width: 100%;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.image-frame {
  width: min(92vw, 740px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  filter: saturate(1.05);
}

/* Frosted glass feel for the frame edge */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(255,255,255,.02));
  mix-blend-mode: screen;
  /* ensure frosted look on supported browsers */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Footer / Product ad area with hacker-style CTA */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(8,0,20,.6);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(122,0,255,.75), rgba(60,0,80,.75));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
  margin-bottom: .6rem;
}

.product-ad h3 {
  margin: 0 0 .4rem 0;
  font-size: .95rem;
  font-weight: 800;
  color: #fff7;
  letter-spacing: .4px;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}

/* CTA as a prominent pill button */
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a00ff, #5c2bff);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 16px rgba(90,0,255,.6);
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(90,0,255,.75);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.product-ad a p {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: .9rem;
  display: block;
}
footer p {
  margin: .25rem 0 0;
  color: #d8caff;
  font-size: .9rem;
  opacity: .95;
}

/* Accessibility: ensure focus visibility for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 6rem 2rem; }
  .image-frame { width: min(70vw, 860px); }
}
@media (min-width: 1024px) {
  :root { --purple: #9a7dff; }
  .image-frame { border-radius: 28px; }
  .product-ad { padding: .8rem 1.25rem; }
  footer { padding: 2rem 0.5rem; }
}