/* Magis TV — custom styles shared by landing page, blog and admin */

.glow-text {
  background: linear-gradient(135deg, #e879f9 0%, #a855f7 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass-card {
  background: rgba(20, 15, 30, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.mesh-bg {
  background-color: #05050A;
  background-image:
    radial-gradient(at 80% 0%, hsla(285,78%,35%,0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(320,80%,40%,0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(40,90%,50%,0.1) 0px, transparent 50%);
}

/* Article body — safe defaults so user-pasted HTML still looks polished */
.prose-magis { color: #cbd5e1; line-height: 1.75; font-size: 1.05rem; }
.prose-magis h1, .prose-magis h2, .prose-magis h3, .prose-magis h4 {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}
.prose-magis h1 { font-size: 2.25rem; }
.prose-magis h2 { font-size: 1.75rem; }
.prose-magis h3 { font-size: 1.4rem; }
.prose-magis p { margin: 1em 0; }
.prose-magis a { color: #e879f9; text-decoration: underline; text-underline-offset: 3px; }
.prose-magis a:hover { color: #f0abfc; }
.prose-magis ul, .prose-magis ol { margin: 1em 0; padding-left: 1.5em; }
.prose-magis ul { list-style: disc; }
.prose-magis ol { list-style: decimal; }
.prose-magis li { margin: 0.4em 0; }
.prose-magis blockquote {
  border-left: 3px solid #a855f7;
  padding: 0.5em 1.2em;
  margin: 1.4em 0;
  color: #94a3b8;
  font-style: italic;
  background: rgba(168, 85, 247, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
}
.prose-magis img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 1.5em 0; }
.prose-magis code {
  background: rgba(255,255,255,0.06);
  padding: 0.15em 0.4em;
  border-radius: 0.25em;
  font-size: 0.92em;
  color: #fde68a;
}
.prose-magis pre {
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1em 1.2em;
  border-radius: 0.75em;
  overflow-x: auto;
  margin: 1.4em 0;
}
.prose-magis pre code { background: transparent; padding: 0; color: #e2e8f0; }

/* Admin form helpers */
.input-magis {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f1f5f9;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color .15s ease, background .15s ease;
}
.input-magis:focus {
  outline: none;
  border-color: rgba(217, 70, 239, 0.6);
  background: rgba(255,255,255,0.06);
}
.btn-magis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(90deg, #c026d3, #7c3aed);
  color: white;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 0 20px rgba(192, 38, 211, 0.35);
}
.btn-magis:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(192, 38, 211, 0.55); }
.btn-magis-ghost {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
  color: #e2e8f0;
}
.btn-magis-ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; transform: none; }
.btn-magis-danger {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.35);
}
