/* Base */
:root {
  --bg: #0b0f14;
  --bg-2: #11161c;
  --text: #e8f3fb;
  --muted: #a8b8c8;
  --accent: #6ee7ff;
  --accent-2: #a58bff;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(0,0,0,0.28);
  --border: rgba(255,255,255,0.28);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(0,0,0,.38);
  --focus: 2px solid #6ee7ff;
  --gap: 1rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: var(--font); font-size: 16px; }
@media (min-width: 640px) {
  html { font-size: 17px; }
}
body {
  margin: 0;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(20,24,30,.95) 0%, rgba(10,14,20,.95) 60%, rgba(20,24,30,.95) 100%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 100% 100%, 4px 4px, 4px 4px;
  background-blend-mode: overlay, overlay, normal;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: clamp(300px, 90vw, 1120px);
  margin-inline: auto;
  padding: 1rem;
}
.grid { display: grid; gap: var(--gap); }

/* Glass panels (fallback included) */
header, main, footer, aside, article {
  background: rgba(15, 18, 24, 0.58);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 1rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
@supports not (backdrop-filter: blur(12px)) {
  header, main, footer, aside, article {
    background: rgba(15,18,24,0.75);
    border: 1px solid rgba(255,255,255,0.28);
  }
}
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 1rem; }

/* Typography & hero structure */
h1 { font-size: clamp(1.4rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: .2px; }
p { color: var(--muted); margin: 0 0 0.75rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(109, 231, 255, 0.25); outline-offset: 2px; }

/* Navigation & controls */
nav { display: flex; gap: 0.5rem; }
a.btn, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(110, 231, 255, 0.25);
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
a.btn:hover, .btn:hover { transform: translateY(-1px); background: rgba(110,231,255,.38); }
a.btn:active, .btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(110,231,255,.75);
  color: var(--text);
}
.btn-outline:hover { background: rgba(110,231,255,.15); }

/* Hero area scaffolding */
.main-hero { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .main-hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.content { display: block; }

/* Image frame styling */
.image-frame {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  padding: 3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 6px 16px rgba(0,0,0,.35);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: calc(var(--radius) - 6px);
  filter: saturate(1.05);
  box-shadow: 0 0 16px rgba(110,231,255,.25);
}

/* Content blocks (cards, tags, etc.) */
.card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 0.75rem; }
.tag { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: 0.75rem; color: #00131a; background: linear-gradient(#9ff0ff, #6bd8ff); }

/* Product ad / footer panels */
.product-ad, .sponsored-page {
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem 0; gap: .5rem;
}
.product-ad a, .sponsored-page a { text-decoration: none; color: var(--text); border-radius: 8px; }

/* Lists & grids */
ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
li { margin: 0; }

/* Utility grid helpers */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }

/* Print styles */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: #fff; border: none; box-shadow: none; }
  a { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
} 

/* Section headers (for readability in code) */
/* Base sections: header, main, footer styling applied above */