/* Tokens */
:root{
  --bg: #0a0a0a;
  --bg-2: #141414;
  --text: #eef5ff;
  --muted: #cbd5e1;
  --accent: #ff7a00;       /* orange */
  --accent-2: #ffd3e8;     /* pastel pink */
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --gloss: rgba(255,255,255,.18);
}

/* Base */
*,
*:before,
*:after{ box-sizing:border-box; }
html, body{ height:100%; }
html{ color-scheme: dark; }
body{
  margin:0;
  min-height:100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,122,0,.25), transparent 40%),
    radial-gradient(circle at 85% -10%, rgba(255,93,180,.22), transparent 28%),
    linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.15)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 3px);
  background-blend-mode: overlay, overlay, normal, overlay, overlay;
  font-size: clamp(14px, 1.4vw, 18px);
}

/* Layout helpers */
.container{ max-width: clamp(320px, 92vw, 1100px); margin-inline: auto; padding: 0 1rem; }

/* Section wrappers as glass panels (fallbacks included) */
header, main, footer, aside, article{
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem;
  margin: .75rem 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@supports not (backdrop-filter: blur(8px)){
  header, main, footer, aside, article{
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 6px 12px rgba(0,0,0,.15);
  }
}

/* Header */
header{ text-align:center; padding: 1.25rem 0; }
header h1{
  margin:0;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing:.2px;
  color: var(--text);
}

/* Main content */
main{ display:block; padding: .5rem 0 1rem; }
article{ display:block; }

/* Image frame (frame + image) */
.image-frame{
  width: min(92%, 840px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  background: #0b0b0b;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.image-frame img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* subtle glow on edges for depth */
  filter: saturate(1.05);
}
@media (min-width: 700px){
  .image-frame{ width: min(72%, 900px); }
}

/* Content utility (for potential content blocks) */
.content{ padding: .75rem; color: var(--muted); }

/* Product ad / sponsor sections in footer */
.product-ad, .sponsored-page{ display: inline-block; margin: .25rem; }
.product-ad a, .sponsored-page a{ display:inline-block; padding:.6em 0.8em; border-radius:8px; text-decoration:none; color:var(--text); border:1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

/* Links and typography helpers */
ul{ list-style:none; padding:0; margin:0; }
li{ display:inline-block; margin-right:.5rem; }
a{ color: var(--accent-2); text-decoration: none; }
a:hover{ text-decoration: underline; }
a:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Buttons / CTAs (solid + outline) */
.btn,
.cta,
a.btn{ font: inherit; padding: .65em 0.9em; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none; display:inline-block; transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.btn{ background: var(--accent); color: #111; }
.btn:hover{ background: #ff9a2f; }
.btn:active{ transform: translateY(1px) scale(0.98); }
.btn:focus-visible{ outline: 2px solid var(--accent-2); outline-offset: 2px; }

.btn.outline,
a.btn.outline,
.cta.outline{ background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.6); }
.btn.outline:hover, a.btn.outline:hover, .cta.outline:hover{ background: rgba(255,255,255,.08); }

/* Utilities / responsive grid */
.grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:1rem; }

.card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .85rem;
}
.tag{
  display:inline-block; padding:.15em .5em; border-radius:999px; font-size:12px;
  background: rgba(255,140,180,.25); color: var(--text);
}

/* Navigation placeholder styling (exists in selector set) */
nav{ display:block; }

/* Print styles */
@media print{
  body{ background: white; color: black; }
  a{ color: black; text-decoration: none; }
  header, main, footer{ background: transparent; border: none; box-shadow: none; }
}

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