:root {
  --bg: #0b0f14;
  --bg-2: #11161c;
  --text: #e6fffe;
  --muted: #a6bac7;
  --accent: #19f0e4;
  --accent-2: #3af0e0;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.25);
  --focus: rgba(25, 240, 228, 0.95);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --glow: 0 0 8px rgba(25, 240, 228, 0.5);
}

html, body { height: 100%; }

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

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
  background: 
    radial-gradient(circle at 75% -10%, rgba(0, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #0b0f14 0%, #0a1117 40%, #0b0f14 100%),
    repeating-linear-gradient( 45deg, rgba(255,255,255,0.04) 0 2px, rgba(0,0,0,0.0) 2px 4px);
  background-attachment: fixed;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fb;
    --bg-2: #eef2f6;
    --text: #0b1a1f;
    --muted: #425261;
    --card: rgba(255, 255, 255, 0.95);
    --border: rgba(0, 0, 0, 0.1);
    --accent: #0b6f77;
    --accent-2: #0d9ea7;
  }
  body {
    background: linear-gradient(#fefefe, #f5f7fb);
  }
  .image-frame { border-color: rgba(0,0,0,0.08); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .image-frame img { transform: none !important; }
}

html, body, header, nav, main, article, aside, footer {
  /* explicit for readability in some resets; layout driven by classes below */
}

header {
  width: min(1120px, 92vw);
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-align: center;
}

header h1 {
  font-size: clamp(1.6rem, 1.2rem + 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

nav { /* available for potential expansion */ }

main {
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

article {
  width: 100%;
  padding: 0 1rem;
}

.image-frame {
  width: min(900px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #0a0f14;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  transition: transform 0.5s ease;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}
.image-frame:hover img { transform: scale(1.03); }

footer {
  padding: 1.25rem 1rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}

.product-ad,
.sponsored-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.product-ad a,
.sponsored-page a { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: .5rem; padding: .25rem 0; }
.product-ad:hover, .sponsored-page:hover { outline: none; }

p { margin: 0 0 .5rem; color: var(--muted); }

ul { padding: 0; margin: 0; list-style: none; }
li { margin: 0; padding: 0; }

.content {
  padding: 1rem;
  color: var(--text);
}

.container {
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 0.75rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tag {
  display: inline-block;
  padding: .15rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.25);
  border: 1px solid rgba(0, 255, 255, 0.6);
  color: var(--text);
}

a,
button,
 .btn,
 .cta {
  font-family: inherit;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

a:hover { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.6);
  background: rgba(0, 255, 255, 0.25);
  color: #001010;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(0, 255, 255, 0.32); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--accent);
  color: #001018;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 255, 255, 0.6);
}

.cta { display: inline-flex; align-items: center; gap: .5rem; }

@media (prefers-color-scheme: light) {
  header {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .card { background: rgba(255, 255, 255, 0.9); }
  a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
}
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
