
:root {
  --mv-bg: #020617;
  --mv-bg-alt: #020617;
  --mv-surface: #020617;
  --mv-primary: #7c3aed;
  --mv-primary-soft: rgba(124,58,237,.18);
  --mv-accent: #f97316;
  --mv-text: #e5e7eb;
  --mv-text-soft: #9ca3af;
  --mv-border-subtle: rgba(148,163,184,.35);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
  color: var(--mv-text);
}

a {
  color: inherit;
}

.mv-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mv-section {
  padding: 3.5rem 0;
}

.mv-section-alt {
  padding: 3.5rem 0;
  background: radial-gradient(circle at top right, rgba(124,58,237,.18) 0, transparent 55%);
}

/* HEADER */

.mv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(2,6,23,.96), rgba(2,6,23,.82), transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,163,184,.25);
}

.mv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1.25rem;
}

.mv-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.mv-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.mv-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f9fafb;
}

.mv-nav {
  display: none;
  gap: 1rem;
  align-items: center;
}

.mv-nav-link {
  font-size: .85rem;
  color: var(--mv-text-soft);
  text-decoration: none;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.mv-nav-link:hover {
  color: #f9fafb;
  border-color: rgba(148,163,184,.5);
}

.mv-nav-link-donate {
  border-color: rgba(236,72,153,.7);
  color: #f9a8d4;
}

.mv-nav-link-active {
  color: #f9fafb;
  border-color: rgba(148,163,184,.65);
}

.mv-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: .22rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.7);
  background: radial-gradient(circle at top left, rgba(148,163,184,.25), rgba(15,23,42,.98));
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.mv-nav-toggle span {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

@media (min-width: 768px) {
  .mv-header-inner {
    padding-inline: 0;
  }
  .mv-nav {
    display: inline-flex;
  }
  .mv-nav-toggle {
    display: none;
  }
}

/* HERO */

.mv-hero {
  padding: 4.2rem 0 3rem;
}

.mv-hero-grid {
  display: grid;
  gap: 2rem;
}

.mv-hero-content h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.mv-gradient {
  background: linear-gradient(120deg, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mv-hero-subtitle {
  color: var(--mv-text-soft);
  max-width: 34rem;
  font-size: 1rem;
  margin: 0;
}

.mv-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.mv-hero-badges {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--mv-text-soft);
  font-size: .8rem;
}

.mv-hero-card {
  background: radial-gradient(circle at top right, rgba(124,58,237,.2), rgba(15,23,42,.98));
  border-radius: 1.4rem;
  border: 1px solid rgba(148,163,184,.35);
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15,23,42,.85);
}

.mv-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.5);
  font-size: .75rem;
}

.mv-hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  margin-bottom: .6rem;
  gap: .5rem;
}

.mv-hero-card-title {
  color: var(--mv-text-soft);
}

.mv-hero-card-body {
  background: #020617;
  border-radius: 1rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(55,65,81,.9);
  font-family: ui-monospace, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: .8rem;
  white-space: pre-wrap;
  color: #e5e7eb;
}

.mv-hero-card-footer {
  margin-top: .55rem;
  font-size: .8rem;
  color: var(--mv-text-soft);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.mv-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  display: inline-block;
}

.mv-dot-green {
  background: #22c55e;
}

@media (min-width: 768px) {
  .mv-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
  }
  .mv-hero-content h1 {
    font-size: 2.7rem;
  }
}

/* BUTTONS */

.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.mv-btn-primary {
  background: radial-gradient(circle at top left, #8b5cf6, #7c3aed);
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(124,58,237,.6);
}

.mv-btn-ghost {
  background: rgba(15,23,42,.96);
  border-color: rgba(148,163,184,.6);
  color: var(--mv-text-soft);
}

/* SECTION HEADERS */

.mv-section-header h2 {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
}

.mv-section-header p {
  margin: 0;
  color: var(--mv-text-soft);
}

/* LIBRARY / LISTS */

.mv-library-toolbar {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--mv-border-subtle);
  background: rgba(15,23,42,.98);
}

.mv-library-row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.mv-field {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
  min-width: 0;
}

.mv-field label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mv-text-soft);
}

.mv-field input,
.mv-field select {
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.7);
  background: rgba(15,23,42,.98);
  color: #f9fafb;
  font-size: .9rem;
}

.mv-library-helper {
  margin-top: .4rem;
  font-size: .8rem;
  color: var(--mv-text-soft);
}

.mv-library-empty {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(148,163,184,.7);
  background: rgba(15,23,42,.96);
  color: var(--mv-text-soft);
  font-size: .9rem;
}

.mv-prompt-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.mv-prompt-card {
  background: rgba(15,23,42,.98);
  border-radius: 1.1rem;
  border: 1px solid var(--mv-border-subtle);
  padding: .9rem 1rem;
  box-shadow: 0 16px 34px rgba(15,23,42,.85);
}

.mv-prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}

.mv-prompt-title {
  font-size: 1rem;
  font-weight: 600;
}

.mv-prompt-body {
  font-size: .9rem;
  color: var(--mv-text-soft);
}

.mv-prompt-body p {
  margin: .15rem 0;
}

/* LATEST SECTION */

.mv-latest-note {
  font-size: .85rem;
  color: var(--mv-text-soft);
  margin-top: .4rem;
}

/* STEPS */

.mv-steps {
  display: grid;
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.mv-step {
  background: rgba(15,23,42,.98);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--mv-border-subtle);
}

.mv-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(124,58,237,.25);
  color: #f9fafb;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

/* PAGES GENERIC */

.mv-main-page {
  padding-top: 4.2rem;
}

.mv-page-header h1 {
  margin: 0 0 .35rem;
  font-size: 1.7rem;
}

.mv-page-header p {
  margin: 0;
  color: var(--mv-text-soft);
}

.mv-faq-list {
  display: grid;
  gap: 1.4rem;
  font-size: .95rem;
  color: var(--mv-text-soft);
}

.mv-faq-item h2 {
  font-size: 1.05rem;
  margin: 0 0 .25rem;
}

.mv-faq-item p {
  margin: 0;
}

.mv-page-404 {
  text-align: center;
}

/* FOOTER */

.mv-footer {
  border-top: 1px solid rgba(148,163,184,.3);
  padding: 2.4rem 0 1.4rem;
  background: radial-gradient(circle at top, rgba(15,23,42,.95), #020617);
}

.mv-footer-grid {
  display: grid;
  gap: 1.8rem;
}

.mv-footer-title {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .4rem;
}

.mv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .85rem;
}

.mv-footer-links li + li {
  margin-top: .25rem;
}

.mv-footer-links a {
  color: var(--mv-text-soft);
  text-decoration: none;
}

.mv-footer-links a:hover {
  color: #f9fafb;
}

.mv-footer-text {
  font-size: .9rem;
  color: var(--mv-text-soft);
  max-width: 22rem;
}

.mv-footer-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(148,163,184,.25);
  padding-top: .9rem;
  font-size: .8rem;
  color: var(--mv-text-soft);
}

@media (min-width: 768px) {
  .mv-library-row {
    flex-direction: row;
  }
  .mv-prompt-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mv-footer-grid {
    grid-template-columns: 2fr 1.3fr 1.3fr;
  }
  .mv-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mv-hero {
    padding-top: 4.7rem;
  }
  .mv-hero-content h1 {
    font-size: 3rem;
  }
  .mv-prompt-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Patch tags / hashtags qui débordent */

.mv-prompt-body {
  word-wrap: break-word;
}

.mv-prompt-tags {
  margin-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.mv-tag {
  display: inline-flex;
  align-items: center;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: rgba(8,47,73,.8);
  border: 1px solid rgba(56,189,248,.7);
  font-size: .72rem;
  color: #e0f2fe;
  white-space: nowrap;
}
