/* Global reset and palette */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --navy: #0b1020;
  --glass: rgba(12, 18, 40, 0.65);
  --gold: #ffd27d;
  --gold2: #f6b23a;
  --fg: #eaf3ff;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI";
  color: #eaf3ff;
  /* Gold sunset gradient over a deep navy base for hacker vibe */
  background: linear-gradient(135deg,
    #0b1020 0%,
    #1a2a60 40%,
    #0b1020 60%,
    #ffd27d 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset for layout */
main,
footer { width: 100%; }

* { box-sizing: border-box; }

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

/* Frosted glass image frame as hero container */
.image-frame {
  width: min(92vw, 900px);
  background: rgba(12, 18, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* subtle neon glow for hacker vibe on the image itself */
  filter: saturate(1.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Footer with frosted glass / glassy feel */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #dbeaff;
  background: rgba(7, 9, 28, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Product ad area in footer as prominent CTA */
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(12, 18, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto 0.5rem;
}
.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 210, 120, 0.8);
}
.product-ad a { color: inherit; text-decoration: none; }
.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #0b1020;
  background: linear-gradient(135deg, #ffd27d, #f6b23a);
  border: 1px solid rgba(0, 0, 0, 0.15);
  letter-spacing: .2px;
}

/* Focus styles for accessibility on interactive elements */
a:focus,
button:focus {
  outline: 3px solid #2aff80;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 120px); }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
  .product-ad { margin-top: 0.25rem; }
}

@media (min-width: 1024px) {
  .image-frame { width: min(860px, 60vw); }
}