/* Palette & tokens */
:root{
  --bg: #0b0b12;
  --bg-2: rgba(7, 9, 16, 0.6);
  --text: #f7fbff;
  --muted: #cbd7f4;
  --rose-1: #b76e77;
  --rose-2: #e0a29f;
  --rose-3: rgba(183,110,119,0.25);
  --sky-1: #4ec9ff;
  --sky-2: #8bd8ff;
  --accent: #4ec9ff;        /* sky blue accent */
  --accent-2: #8bdfff;      /* lighter sky blue */
  --card: rgba(255,255,255,0.08);
  --card-strong: rgba(255,255,255,0.18);
  --border: rgba(255,255,255,0.25);
  --shadow: 0 6px 20px rgba(0,0,0,0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(78, 201, 255, 0.6);
}

/* Global */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  background:
    /* subtle noise/scanlines */
    repeating-linear-gradient(to bottom,
      rgba(0,0,0,0.04) 0 1px,
      transparent 1px 2px),
    /* rose-gold + sky-blue layered hues */
    radial-gradient(circle at 20% -10%, rgba(109,183,255,0.18) 0%, transparent 40%),
    linear-gradient(135deg, rgba(183,110,119,0.25), rgba(109,183,255,0.20) 60%, rgba(183,110,119,0.25)),
    #0b0b12;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  /* Layout helpers */
  display: flex;
  flex-direction: column;
}

/* Section headers (organizational) */
 /* Layout primitives */
html, body, header, nav, main, article, aside, footer { max-width: 100%; }

/* Container & utilities */
.container { width: 100%; max-width: clamp(320px, 84vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }

/* Hero & typography */
header { padding: 1.25rem; text-align: center; margin: 0 auto; }
header h1 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.04; margin: 0; font-weight: 800; color: #fff; letter-spacing: .2px; }
main { padding: 1rem 0; display: grid; place-items: center; }
article { width: 100%; display: grid; gap: 1rem; padding: 0; }

/* Glass panels (fallback) */
header, main, footer, aside, .glass { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; padding: 1rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); color: var(--text); }

/* Fallback for environments without backdrop-filter */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  header, main, footer, aside { background: rgba(255,255,255,0.14); }
}

/* Image frame */
.image-frame { width: min(100%, 900px); margin: 1rem auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content region */
.content { padding: 0.75rem 0 1rem; color: var(--muted); font-size: clamp(14px, 0.25vw + 14px, 16px); }

/* Links & buttons (interactive) */
a, button, .btn, .cta { font-family: inherit; font-weight: 600; border-radius: 999px; padding: 0.65em 1em; cursor: pointer; text-decoration: none; display: inline-block; border: 0; outline: none; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s; color: #fff; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--sky-2); }

/* Button variants */
.btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #041019; box-shadow: inset 0 0 0 rgba(0,0,0,0.0); }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .cta:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #7dd3f0; outline-offset: 4px; border-radius: 8px; }

/* Glassy CTAs (secondary) */
.cta { background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.58); color: #fff; }

/* Product/ad sections in footer */
.product-ad, .sponsored-page { display: block; text-align: center; padding: 0.75rem; border-radius: var(--radius); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); }
.product-ad a, .sponsored-page a { color: #fff; text-decoration: none; display: block; }
.product-ad:hover, .sponsored-page:hover { transform: translateY(-1px); }

/* Footer layout */
footer { padding: 1rem; display: grid; gap: 1rem; justify-items: center; }
@media (min-width: 640px) {
  footer { grid-template-columns: repeat(2, 1fr); align-items: center; justify-items: stretch; padding: 1rem 1.5rem; }
  .product-ad, .sponsored-page { text-align: center; }
}
footer p { margin: 0; padding: 0.25rem 0; color: var(--muted); }

/* Utility elements */
ul { padding: 0; margin: 0; }
li { list-style: none; }

/* Image caption helper (optional) */
.image-caption { font-size: 12px; color: var(--muted); text-align: center; padding-top: 0.25rem; }

/* Print */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: transparent; border: none; }
}
 
/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}