/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lime: #39ff14;
  --coral: #FF6A6A;
  --bg: #0b0f14;
  --card: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.18);
  --text: #e6fff0;
}

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: #04060a;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(57,255,20,.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(0,255,120,.18), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255,120,100,.08), transparent 60%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  background: radial-gradient(circle at 10% 0%, rgba(57,255,20,.25), transparent 25%),
              radial-gradient(circle at 90% 20%, rgba(0,255,128,.15), transparent 25%);
  filter: saturate(1.2);
  z-index: -1;
  animation: glow 6s ease-in-out infinite;
}
@keyframes glow {
  0%,100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.02); opacity: 1; }
}

.container {
  max-width: 1100px;
  padding: 1rem;
  margin: 0 auto;
}

/* Header */
header {
  margin: 1rem auto;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
header h1 {
  font-size: 1.4rem;
  text-align: center;
  color: var(--coral);
  letter-spacing: .5px;
  padding: .4rem;
  text-shadow: 0 0 6px rgba(255,106,106,.6);
}
@media (min-width: 600px){
  header h1 { font-size: 2rem; }
}

/* Main hero image frame */
main { display: block; }
.image-frame {
  width: 100%;
  max-width: 960px;
  margin: 1rem auto;
  padding: .75rem;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25), 0 8px 28px rgba(0,0,0,.4);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  max-height: 60vh;
  object-fit: cover;
  filter: saturate(1.05);
}
@media (min-width: 800px){
  .image-frame { padding: 1rem; }
  .image-frame img { border-radius: 14px; }
}
  
/* Footer and product ad */
footer {
  margin: 1rem auto 2rem;
  padding: 0.75rem;
  max-width: 1100px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.product-ad h3 { margin: 0 0 .25rem; color: var(--lime); text-shadow: 0 0 6px rgba(57,255,20,.8); }
.product-ad {
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,110,110,.95), rgba(255,76,76,.9));
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 0 18px rgba(255,60,60,.6);
  transition: transform .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}
footer p {
  text-align: center;
  opacity: .9;
  color: #d8fbe8;
  font-size: .95rem;
}

/* Responsive adjustments for footer layout */
@media (min-width: 720px) {
  footer {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  footer p { text-align: right; }
}

/* Readability tweaks for dark cyberpunk */
p, li, span, a { color: #eafff5; }
a { color: #c6fff0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}