/* Global Reset & Theme */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg-start: #1a0000;
  --bg-mid:   #520000;
  --bg-end:   #b30000;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.22);
  --accent: #ff8a00;
  --accent-2: #ffa500;
  --text: #f7efe6;
  --muted: #ffd9bf;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  min-height: 100dvh;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}
.image-frame {
  width: min(92vw, 720px);
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
  overflow: hidden;
}
.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,90,0,.6), rgba(255,0,128,.15));
  z-index: -1;
  opacity: .75;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.image-frame:hover { transform: translateY(-2px); transition: transform .25s ease; }
.image-frame:hover img { filter: saturate(1.1) brightness(1.05); }

/* Footer & Ad */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #f9e9d9;
  background: rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.08);
}
.product-ad {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(255, 121, 0, .25);
  border: 1px solid rgba(255, 170, 0, .6);
  margin-bottom: .5rem;
}
.product-ad h3 {
  font-size: .9rem;
  margin: 0 0 .25rem;
  color: #ffd8b3;
  text-shadow: 0 0 6px rgba(255,140,0,.8);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  display: inline-block;
  background: linear-gradient(135deg, #ff7a00, #ffa500);
  color: #1b1b1b;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.product-ad a:focus-visible, a:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
  border-radius: 14px;
}
a:focus-visible { box-shadow: 0 0 0 3px rgba(255, 200, 50, .4); }

/* Typography tweaks for cyberpunk aesthetic */
h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas;
  letter-spacing: .6px;
  color: #ffd9a6;
  text-shadow: 0 0 6px rgba(255,140,0,.6);
  margin: 0 0 .25rem;
}
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 20px; border-radius: 28px; }
  .image-frame img { border-radius: 20px; }
}
@media (min-width: 1024px) {
  footer { padding: 2rem 0; }
}