/* Frosted glass hacker theme - single stylesheet */

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

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #e7eaf6;
  /* gray gradient background with indigo accents for cyberpunk vibe */
  background: linear-gradient(135deg, #2b2b2f 0%, #1f1f26 50%, #2b2b2f 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Theme variables (indigo hacker) */
:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #e9eaf6;
  --muted: #a3a9c8;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --focus: 0 0 0 3px rgba(99, 102, 241, 0.6);
}

/* Layout sections */
main {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 900px);
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,0.15);
}

/* Footer / Product Ad (CTA region) */
footer {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(9, 9, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .4rem .6rem;
  border-radius: 12px;
  background: rgba(16, 16, 32, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.5);
  text-align: center;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(99,102,241,0.6));
  color: #fff;
  border: 1px solid rgba(99,102,241,0.95);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99,102,241,0.6);
}
.product-ad a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(99,102,241, 1);
}
footer p {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Global link focus for accessibility (non-button links) */
a, a:visited { color: #dbe4ff; }
a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* Responsiveness (mobile-first) */
@media (min-width: 640px) {
  main { padding: 4rem 2rem; }
  .image-frame { padding: 2rem; }
  footer { padding: 2rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(720px, 60vw); }
  footer { padding: 2rem 0; }
}