/* Minimal reset and mobile-first base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b0620;
  --card: rgba(26, 0, 60, 0.72);
  --border: rgba(168, 140, 255, 0.32);
  --text: #e8e0ff;
  --muted: #c9baff;
  --accent: #ff6f61; /* coral */
  --accent-2: #ffb3a7;
}
html { scroll-behavior: smooth; }

/* Coral paper texture background (soft, lightweight) */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: #0b0713;
  /* layered coral texture look without external assets */
  background-image:
    radial-gradient(circle at 0 0, rgba(255,111,97,.15) 0 2px, transparent 2px),
    radial-gradient(circle at 6px 48px, rgba(255,167,130,.10) 0 2px, transparent 2px),
    radial-gradient(circle at 40px 40px, rgba(255,111,97,.12) 0 2px, transparent 2px),
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.0) 50%);
  background-size: 40px 40px, 40px 40px, 40px 40px, auto;
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass panels */
.header-glass, header {
  background: rgba(18, 7, 40, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 140, 255, 0.32);
  border-radius: 16px;
  padding: 1.75rem 1rem;
  width: min(92%, 980px);
  margin: 1rem auto;
  text-align: center;
  position: relative;
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #f7eaff;
  letter-spacing: .4px;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
header::after {
  content: "";
  display: block;
  height: 1px;
  width: 60%;
  margin: 0.75rem auto 0;
  background: rgba(255,255,255,.18);
  border-radius: 1px;
  opacity: .9;
}

/* Main content layout */
main {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
article { display: grid; place-items: center; }

/* Image frame with frosted look */
.image-frame {
  display: grid;
  justify-items: center;
  align-items: center;
  width: min(92%, 700px);
  padding: 1rem;
  border-radius: 18px;
  background: rgba(12, 0, 40, 0.65);
  border: 1px solid rgba(168, 140, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: #130a1a;
}

/* Footer / product ad */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #e9dfff;
}
.product-ad {
  display: inline-block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 14px;
  width: min(92%, 720px);
  background: rgba(22, 0, 60, 0.65);
  border: 1px solid rgba(168, 140, 255, 0.32);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #f6edff;
}
.product-ad a { text-decoration: none; display: inline-block; width: 100%; }
.product-ad a p {
  margin: 0;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,111,97,0.95), rgba(170,60,120,0.95));
  border: 0;
  display: inline-block;
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15);
}
pcopyright:before { content: ""; }

/* Focus and accessibility for all interactive elements (keyboard users) */
a:focus-visible, button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15);
}

/* Typography tweaks for larger screens */
@media (min-width: 640px) {
  header { padding: 2.5rem 1rem; }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  header { padding: 2.75rem 1rem; }
  header h1 { font-size: 2.75rem; }
  .image-frame { width: min(80%, 760px); padding: 1.75rem; }
}
