:root {
  --bg: #0b001a;
  --bg-2: #1a0a2b;
  --text: #e9e1f0;
  --muted: #c6a9d5;
  --accent: #ff2a9a;
  --accent-2: #ff1744;
  --panel: rgba(12, 0, 25, 0.22);
  --panel-opaque: rgba(12, 0, 25, 0.40);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(255, 0, 128, 0.5);
  --ring: 0 0 0 2px rgba(255, 0, 128, 0.8);
  --glass-text: #fff;
}

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

html, body { height: 100%; }

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    linear-gradient(135deg, rgba(255, 0, 120, 0.25) 0%, rgba(255, 0, 60, 0.25) 60%, rgba(128, 0, 64, 0.25) 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px),
    linear-gradient(180deg, #0b001a 0%, #0b001a 60%, #0b001a 100%);
  min-height: 100%;
  background-attachment: fixed;
  background-blend-mode: overlay;
}

@media (prefers-color-scheme: light) {
  body {
    color: #1b1b1b;
    background:
      linear-gradient(135deg, rgba(255, 100, 180, 0.12) 0%, rgba(255, 0, 60, 0.12) 60%, rgba(140, 0, 70, 0.12) 100%),
      radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.20), transparent 40%),
      #f7f5fb;
    background-attachment: scroll;
  }
  :root {
    --bg: #f7f5fb;
    --bg-2: #e8e0f4;
    --text: #1b1b1b;
    --muted: #5a4b6a;
    --panel: rgba(255, 255, 255, 0.72);
    --border: rgba(0,0,0,0.15);
  }
}

* { margin: 0; padding: 0; }

header, nav, main, article, section, aside, footer { display: block; }

header {
  text-align: center;
  padding: 2rem 1rem 1.25rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  line-height: 1.08;
  margin-bottom: .35rem;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #ff5bd5 0%, #ff2a9a 40%, #ff1744 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header .meta {
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1rem);
  color: var(--muted);
  margin-top: .25rem;
}

main {
  padding: 1rem;
  display: block;
}

.container { /* utility container (wrapper) */
  width: min(1100px, 92vw);
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  background: #000;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.image-frame:hover img {
  transform: scale(1.02);
}

.featured-image { margin: 1rem 0 0.75rem; }

.content { color: var(--text); font-size: clamp(16px, 2vw, 18px); line-height: 1.6; }

article { display: block; }

section { padding: 0.75rem 0; }

blockquote {
  margin: .75rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid rgba(255, 0, 120, 0.8);
  color: #fff;
  background: rgba(255, 0, 120, 0.15);
  border-radius: 8px;
}

h2, h3 { margin: .6rem 0 0.5rem; }

h2 { font-size: clamp(1.4rem, 3vw + 0.5rem, 2.4rem); }

h3 { font-size: clamp(1.1rem, 2.5vw + 0.5rem, 1.3rem); }

ul { padding-left: 1.25rem; margin: .5rem 0 1rem; }

li { margin: 0.25rem 0; }

.product-ad, .sponsored-page {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(12, 0, 25, 0.28);
  margin: .5rem 0;
  box-shadow: var(--shadow);
  min-height: 52px;
  text-align: center;
}

.product-ad a, .sponsored-page a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 0, 120, 0.95), rgba(255, 0, 60, 0.95));
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
}

.product-ad a:hover, .sponsored-page a:hover,
.product-ad a:focus, .sponsored-page a:focus {
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer {
  padding: 2rem 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(9, 0, 20, 0.5);
}

footer > section {
  display: grid;
  place-items: center;
  padding: .5rem;
}

footer p {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin-top: .25rem;
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  width: 100%;
}

a { color: #ffd6ec; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: #fff; outline: none; }

.btn, .cta, .tag, button, a {
  -webkit-tap-highlight-color: transparent;
}

.btn {
  display: inline-block;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: linear-gradient(135deg, rgba(255,0,128,0.95), rgba(255,0,60,0.95));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 0, 120, 0.9);
}
.btn--outline:hover { background: rgba(255,0,120,0.15); }

.tag {
  display: inline-block;
  font-size: 12px;
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255, 0, 120, 0.25);
  color: #fff;
}

.card {
  background: rgba(10, 0, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .card {
    background: rgba(12, 0, 25, 0.28);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(6px); } }

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

@media (min-width: 720px) {
  main { padding: 2rem 0 2.5rem; }
  .container { padding-inline: 0.75rem; }
  .grid, footer .grid { gap: 1rem; }
}

@media (prefers-color-scheme: light) {
  header, footer { background: rgba(255,255,255,0.92); color: #1b1b1b; }
  a { color: #2a2a9a; }
  .card { background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.15); color: #1b1b1b; }
  .image-frame { border-color: rgba(0,0,0,0.15); }
}