/* Roxy blog theme — magenta spine, PG-13 public corner (#C850FF) */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

body.theme-roxy {
  --r-bg: #09060e;
  --r-bg2: #120a18;
  --r-mag: #C850FF;
  --r-mag2: #e078ff;
  --r-mag-dim: rgba(200, 80, 255, 0.12);
  --r-mag-border: rgba(200, 80, 255, 0.32);
  --r-text: #f0e6f8;
  --r-text-soft: #cbb8d8;
  --r-muted: #8f759e;
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--r-bg);
  color: var(--r-text);
  line-height: 1.75;
  min-height: 100vh;
}

body.theme-roxy::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 45% at 70% 0%, rgba(200, 80, 255, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(120, 40, 180, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #09060e 0%, #0d0812 50%, #110a16 100%);
}

body.theme-roxy a { color: var(--r-mag2); text-decoration: none; }
body.theme-roxy a:hover { color: #f0c0ff; text-decoration: underline; }

.roxy-shell {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px 64px;
}

.roxy-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 36px;
  height: min(78vh, 720px);
  min-height: 420px;
  overflow: hidden;
  background: #050308;
}

.roxy-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.08) contrast(1.04);
}

.roxy-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,6,14,0.2) 0%, rgba(9,6,14,0.4) 42%, rgba(9,6,14,0.94) 88%, var(--r-bg) 100%),
    linear-gradient(90deg, rgba(9,6,14,0.6) 0%, transparent 48%);
  pointer-events: none;
}

.roxy-hero-card {
  position: absolute;
  left: max(18px, calc(50% - 460px));
  bottom: 48px;
  max-width: min(540px, calc(100% - 36px));
  padding: 22px 24px 24px;
  border-radius: 18px;
  border: 1px solid var(--r-mag-border);
  background: rgba(12, 6, 18, 0.58);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: roxyFadeUp 0.9s ease both;
}

@keyframes roxyFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.roxy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-mag2);
  font-weight: 700;
  margin-bottom: 10px;
}

.roxy-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--r-mag);
  box-shadow: 0 0 14px var(--r-mag);
  animation: roxyPulse 2.2s ease-in-out infinite;
}

@keyframes roxyPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.roxy-hero-card h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  color: #faf2ff;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.roxy-hero-deck {
  font-size: 1.02rem;
  color: var(--r-text-soft);
  margin: 0;
  line-height: 1.55;
}

.roxy-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.roxy-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--r-mag-border);
  color: var(--r-mag2);
  background: rgba(200, 80, 255, 0.1);
}

.roxy-badge.warn {
  border-color: rgba(255, 180, 80, 0.4);
  color: #ffc878;
  background: rgba(255, 180, 80, 0.08);
}

.roxy-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
  animation: roxyFadeUp 0.9s ease 0.1s both;
}

.roxy-nav-row a {
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--r-mag-border);
  color: var(--r-text-soft);
  background: rgba(200, 80, 255, 0.05);
}

.roxy-nav-row a:hover {
  color: var(--r-mag2);
  background: var(--r-mag-dim);
  text-decoration: none;
}

.roxy-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--r-mag-border);
  background: linear-gradient(135deg, rgba(200,80,255,0.1), rgba(80,20,120,0.05));
  animation: roxyFadeUp 0.9s ease 0.15s both;
}

.roxy-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--r-mag);
  box-shadow: 0 0 20px rgba(200, 80, 255, 0.3);
  flex-shrink: 0;
  background: #1a0c22;
}

.roxy-author-avatar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.roxy-author-meta strong {
  display: block;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--r-mag2);
  font-weight: 700;
}

.roxy-author-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--r-muted);
  margin-top: 2px;
}

.roxy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.roxy-tags span {
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 80, 255, 0.24);
  color: #b98ccc;
  background: rgba(200, 80, 255, 0.05);
}

.roxy-article {
  max-width: 680px;
  margin: 0 auto;
}

.roxy-article p {
  font-size: 1.08rem;
  color: var(--r-text);
  margin: 0 0 1.25em;
}

.roxy-article p.lead {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.12rem, 2.3vw, 1.28rem);
  font-weight: 600;
  line-height: 1.55;
  color: #f6e8ff;
}

.roxy-article p.lead::first-letter {
  float: left;
  font-size: 3.3rem;
  line-height: 0.85;
  padding: 0.06em 0.08em 0 0;
  color: var(--r-mag);
  font-weight: 800;
}

.roxy-pullquote {
  margin: 2.2em 0;
  padding: 1.1em 1.3em;
  border-left: 3px solid var(--r-mag);
  background: linear-gradient(90deg, rgba(200,80,255,0.12), transparent 85%);
  border-radius: 0 14px 14px 0;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0d8ff;
  line-height: 1.4;
}

.roxy-media-break {
  margin: 2.5em auto;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--r-mag-border);
  box-shadow:
    0 0 0 1px rgba(200, 80, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(180, 60, 255, 0.15);
  background: #14081c;
  position: relative;
}

.roxy-media-break video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}

.roxy-media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(9,6,14,0.92));
  font-size: 0.78rem;
  color: var(--r-text-soft);
  letter-spacing: 0.04em;
}

.roxy-gate {
  margin: 28px 0;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: linear-gradient(135deg, rgba(255,160,60,0.1), rgba(200,80,255,0.06));
}

.roxy-gate h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.05rem;
  color: #ffc878;
  margin: 0 0 10px;
  border: none;
  padding: 0;
}

.roxy-gate ul {
  margin: 0 0 0 18px;
  color: var(--r-text-soft);
  font-size: 0.92rem;
}

.roxy-gate li { margin-bottom: 6px; }

.roxy-notice {
  margin: 28px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(200, 80, 255, 0.22);
  background: rgba(18, 10, 24, 0.7);
  font-size: 0.88rem;
  color: var(--r-text-soft);
}

.roxy-cta-band {
  margin: 36px 0 28px;
  padding: 28px 22px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,80,255,0.2), transparent 65%),
    linear-gradient(180deg, rgba(140,40,200,0.12), rgba(10,6,14,0.4));
  border: 1px solid var(--r-mag-border);
}

.roxy-cta-band h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.4rem;
  color: #f8ecff;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}

.roxy-cta-band p {
  color: var(--r-text-soft);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.roxy-cta-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a0a22 !important;
  background: linear-gradient(135deg, #e078ff, #C850FF);
  border: none;
  box-shadow: 0 8px 28px rgba(200, 80, 255, 0.4);
  text-decoration: none !important;
}

.roxy-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(200, 80, 255, 0.5);
  color: #1a0a22 !important;
  text-decoration: none !important;
}

.roxy-cta-links {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--r-muted);
}

body.theme-roxy .seo-nav a {
  border-color: var(--r-mag-border);
  color: var(--r-text-soft);
}

body.theme-roxy .seo-nav a:hover {
  border-color: var(--r-mag);
  color: var(--r-mag2);
  background: var(--r-mag-dim);
  text-decoration: none;
}

body.theme-roxy .seo-site-map {
  background: rgba(200, 80, 255, 0.04);
  border-color: rgba(200, 80, 255, 0.16);
}

body.theme-roxy .seo-site-map h2 { color: var(--r-mag2); }
body.theme-roxy .seo-site-map a { color: var(--r-text-soft); }

@media (prefers-reduced-motion: reduce) {
  .roxy-hero-card, .roxy-nav-row, .roxy-author, .roxy-kicker::before { animation: none; }
}
