/* ============================================================
 * Mobileverso — style.css
 * Mobile-first, blue Mobileverso identity (#1E64F0).
 * Covers the new layout (mv-*) AND preserved tool markup
 * (freefire-tool, symbol-grid, names-list, sensitivity-*, etc.)
 * ============================================================ */
:root {
  --mv-blue: #1E64F0;
  --mv-blue-600: #0F4ACB;
  --mv-blue-700: #0D3FA8;
  --mv-blue-50: #EFF4FE;
  --mv-blue-100: #DCE6FD;
  --mv-cyan: #06B6D4;
  --mv-violet: #8B5CF6;
  --mv-amber: #F59E0B;
  --mv-success: #10B981;
  --mv-danger: #EF4444;
  --mv-pink: #EC4899;
  --mv-text: #0F172A;
  --mv-text-soft: #475569;
  --mv-text-muted: #94A3B8;
  --mv-bg: #FAFBFD;
  --mv-card: #FFFFFF;
  --mv-card-soft: #F6F9FF;
  --mv-border: #E5EAF2;
  --mv-border-strong: #CBD5E1;
  --mv-on-accent: #FFFFFF;
  --mv-input-bg: #FFFFFF;
  --mv-shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --mv-shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --mv-shadow-lg: 0 12px 32px rgba(15,23,42,.08), 0 4px 8px rgba(15,23,42,.04);
  --mv-shadow-blue: 0 8px 24px rgba(30,100,240,.22);
  --mv-radius-sm: 12px;
  --mv-radius: 16px;
  --mv-radius-lg: 20px;
  --mv-radius-pill: 999px;
  --mv-ease: cubic-bezier(.4,0,.2,1);
  --mv-ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --mv-font-head: "Rajdhani", system-ui, sans-serif;
  --mv-font-body: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --mv-blue-50: #16243F;
  --mv-blue-100: #1E335C;
  --mv-text: #E8EDF6;
  --mv-text-soft: #AAB6C8;
  --mv-text-muted: #7B879B;
  --mv-bg: #0C111B;
  --mv-card: #161D2B;
  --mv-card-soft: #1B2434;
  --mv-border: #273043;
  --mv-border-strong: #38445C;
  --mv-on-accent: #FFFFFF;
  --mv-input-bg: #101622;
  --mv-shadow-sm: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --mv-shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.3);
  --mv-shadow-lg: 0 12px 32px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.35);
  --mv-shadow-blue: 0 8px 24px rgba(30,100,240,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mv-font-body);
  color: var(--mv-text);
  background: var(--mv-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--mv-blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--mv-font-head); color: var(--mv-text); line-height: 1.2; font-weight: 700; }

.mv-shell { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 1rem; }
.mv-main { min-height: 60vh; }
.mv-content { padding-block: 2rem 3rem; }

/* ---------- Buttons ---------- */
.mv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--mv-font-head); font-weight: 600; font-size: 1rem;
  padding: .7rem 1.3rem; border-radius: var(--mv-radius-pill); border: none; cursor: pointer;
  background: var(--mv-blue); color: var(--mv-on-accent); box-shadow: var(--mv-shadow-blue);
  transition: transform .18s var(--mv-ease-bounce), box-shadow .18s var(--mv-ease), background .18s;
  text-decoration: none; line-height: 1.1;
}
.mv-btn:hover { transform: translateY(-2px); background: var(--mv-blue-600); text-decoration: none; }
.mv-btn:active { transform: translateY(0); }
.mv-btn--lg { padding: .95rem 1.8rem; font-size: 1.1rem; }
.mv-btn--ghost { background: var(--mv-card); color: var(--mv-blue-600); box-shadow: var(--mv-shadow-sm); border: 1.5px solid var(--mv-border-strong); }
.mv-btn--ghost:hover { background: var(--mv-blue-50); }
.btn, .btn-secondary, .btn-outline { /* legacy tool buttons */
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--mv-font-head); font-weight: 600; font-size: 1rem;
  padding: .7rem 1.3rem; border-radius: var(--mv-radius-pill); border: none; cursor: pointer;
  background: var(--mv-blue); color: var(--mv-on-accent); box-shadow: var(--mv-shadow-blue);
  transition: transform .18s var(--mv-ease-bounce), background .18s; text-decoration: none;
}
.btn:hover, .btn-secondary:hover { transform: translateY(-2px); background: var(--mv-blue-600); }
.btn-outline { background: var(--mv-card); color: var(--mv-blue-600); border: 1.5px solid var(--mv-border-strong); box-shadow: var(--mv-shadow-sm); }
.btn-secondary { background: var(--mv-violet); box-shadow: 0 8px 24px rgba(139,92,246,.22); }

/* ---------- Header ---------- */
.mv-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--mv-border);
}
.mv-header__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 1rem; }
.mv-logo { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mv-font-head); font-weight: 700; font-size: 1.25rem; color: var(--mv-text); }
.mv-logo:hover { text-decoration: none; }
.mv-logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mv-blue); color: var(--mv-on-accent); font-size: 1.1rem; box-shadow: var(--mv-shadow-blue); }
.mv-nav { display: flex; align-items: center; gap: .35rem; }
.mv-nav > a { font-family: var(--mv-font-head); font-weight: 600; color: var(--mv-text-soft); padding: .5rem .7rem; border-radius: 10px; }
.mv-nav > a:hover { color: var(--mv-blue-600); background: var(--mv-blue-50); text-decoration: none; }
.mv-burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: none; background: none; cursor: pointer; align-items: center; justify-content: center; }
.mv-burger span { width: 22px; height: 2px; background: var(--mv-text); border-radius: 2px; transition: .25s var(--mv-ease); }
.mv-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mv-burger.is-open span:nth-child(2) { opacity: 0; }
.mv-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* language switcher */
.mv-lang { position: relative; }
.mv-lang__toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border-radius: var(--mv-radius-pill); border: 1.5px solid var(--mv-border); background: var(--mv-card); cursor: pointer; font-family: var(--mv-font-head); font-weight: 600; color: var(--mv-text-soft); }
.mv-lang__toggle:hover { border-color: var(--mv-blue); }
.mv-lang__caret { font-size: .7rem; }
.mv-lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 220px; max-height: 340px; overflow-y: auto; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow-lg); padding: .4rem; display: none; }
.mv-lang.is-open .mv-lang__menu { display: block; }
.mv-lang__item { display: block; padding: .5rem .7rem; border-radius: 9px; color: var(--mv-text-soft); font-size: .92rem; }
.mv-lang__item:hover { background: var(--mv-blue-50); text-decoration: none; }
.mv-lang__item.is-active { background: var(--mv-blue); color: var(--mv-on-accent); }

/* ---------- Hero ---------- */
.mv-hero {
  position: relative; overflow: hidden; color: var(--mv-on-accent); padding: 3rem 0 3.2rem; text-align: center;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(135deg, var(--mv-blue) 0%, var(--mv-blue-700) 100%);
}
.mv-hero--tool { padding: 2.4rem 0 2.6rem; }
.mv-hero__badge { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem 1rem; border-radius: var(--mv-radius-pill); background: rgba(255,255,255,.18); font-family: var(--mv-font-head); font-weight: 700; letter-spacing: .04em; margin-bottom: 1rem; }
.mv-hero__title { font-size: clamp(1.7rem, 5vw, 2.7rem); margin: 0 0 .6rem; color: var(--mv-on-accent); }
.mv-hero__subtitle { max-width: 660px; margin: 0 auto; font-size: 1.05rem; color: rgba(255,255,255,.92); }
.mv-hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.mv-hero__actions .mv-btn { background: #fff; color: var(--mv-blue-700); }
.mv-hero__actions .mv-btn--ghost { background: rgba(255,255,255,.12); color: var(--mv-on-accent); border-color: rgba(255,255,255,.4); }

/* ---------- Tool cards / grid ---------- */
.mv-cat { margin-top: 2.4rem; }
.mv-cat__title { font-size: 1.35rem; margin: 0 0 1rem; }
.mv-tool-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mv-tool-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.1rem 1.2rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow-sm); transition: transform .2s var(--mv-ease), box-shadow .2s var(--mv-ease), border-color .2s; position: relative; overflow: hidden; }
.mv-tool-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 42px; height: 42px; background: radial-gradient(circle at 0 0, var(--mv-blue-100), transparent 70%); }
.mv-tool-card:hover { transform: translateY(-3px); box-shadow: var(--mv-shadow-lg); border-color: var(--mv-blue-100); text-decoration: none; }
.mv-tool-card__icon { font-size: 1.7rem; }
.mv-tool-card__title { font-family: var(--mv-font-head); font-weight: 700; font-size: 1.08rem; color: var(--mv-text); }
.mv-tool-card__desc { font-size: .9rem; color: var(--mv-text-soft); }
.mv-tool-card--feature { background: linear-gradient(135deg, var(--mv-blue), var(--mv-blue-700)); color: var(--mv-on-accent); }
.mv-tool-card--feature .mv-tool-card__title, .mv-tool-card--feature .mv-tool-card__desc { color: var(--mv-on-accent); }
.mv-tool-card--feature::before { background: radial-gradient(circle at 0 0, rgba(255,255,255,.25), transparent 70%); }

/* ---------- Prose & pages ---------- */
.mv-prose { color: var(--mv-text-soft); }
.mv-prose p { margin: 0 0 1rem; }
.mv-prose h2 { font-size: 1.3rem; margin: 1.6rem 0 .7rem; color: var(--mv-text); }
.mv-page { max-width: 760px; }
.mv-page h1 { font-size: 1.9rem; margin-bottom: 1rem; }
.mv-page__lead { font-size: 1.1rem; color: var(--mv-text-soft); }
.mv-contact-card { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.4rem; margin: 1.4rem 0; box-shadow: var(--mv-shadow-sm); }
.mv-contact-list { list-style: none; padding: 0; margin: .6rem 0 1.2rem; display: grid; gap: .5rem; }

/* ---------- FAQ ---------- */
.mv-faq { margin-top: 2.4rem; }
.mv-faq h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.mv-faq__item, .tool-faq-item { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); margin-bottom: .6rem; box-shadow: var(--mv-shadow-sm); overflow: hidden; }
.mv-faq__item summary, .tool-faq-item summary { cursor: pointer; padding: .9rem 1.1rem; font-family: var(--mv-font-head); font-weight: 600; color: var(--mv-text); list-style: none; }
.mv-faq__item summary::-webkit-details-marker, .tool-faq-item summary::-webkit-details-marker { display: none; }
.mv-faq__item summary::after, .tool-faq-item summary::after { content: "+"; float: inline-end; color: var(--mv-blue); font-size: 1.3rem; line-height: 1; }
.mv-faq__item[open] summary::after, .tool-faq-item[open] summary::after { content: "−"; }
.mv-faq__answer, .tool-faq-item > div { padding: 0 1.1rem 1rem; color: var(--mv-text-soft); }
.mv-faq__answer p, .tool-faq-item p { margin: 0; }

/* ---------- AI card ---------- */
.mv-ai-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: linear-gradient(135deg, var(--mv-blue-50), var(--mv-card)); border: 1.5px solid var(--mv-blue-100); border-radius: var(--mv-radius); margin: 1.5rem 0; box-shadow: var(--mv-shadow-sm); flex-wrap: wrap; }
.mv-ai-card__icon { font-size: 2rem; }
.mv-ai-card__body { flex: 1 1 200px; }
.mv-ai-card__body h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.mv-ai-card__body p { margin: 0; font-size: .92rem; color: var(--mv-text-soft); }

/* ---------- Related ---------- */
.mv-related { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--mv-border); }
.mv-related h2 { font-size: 1.2rem; margin-bottom: .9rem; }
.mv-related__grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.mv-related__item { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: var(--mv-radius-pill); background: var(--mv-card); border: 1px solid var(--mv-border); color: var(--mv-text-soft); font-weight: 600; font-size: .92rem; }
.mv-related__item:hover { border-color: var(--mv-blue); color: var(--mv-blue-600); text-decoration: none; }

/* ---------- Footer ---------- */
.mv-footer { background: #0B1220; color: #cbd5e1; margin-top: 3rem; padding: 2.5rem 0 1.4rem; }
.mv-footer__grid { display: grid; gap: 1.6rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.mv-footer h4 { color: var(--mv-on-accent); font-size: 1rem; margin: 0 0 .7rem; }
.mv-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.mv-footer a { color: #cbd5e1; font-size: .92rem; }
.mv-footer a:hover { color: var(--mv-on-accent); }
.mv-footer__brand strong { color: var(--mv-on-accent); font-family: var(--mv-font-head); font-size: 1.2rem; display: inline-block; margin-inline-start: .4rem; }
.mv-footer__brand p { font-size: .9rem; margin: .6rem 0 0; color: #94a3b8; }
.mv-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #94a3b8; }

/* ---------- Cookie banner ---------- */
.mv-cookies { position: fixed; inset-inline: 1rem; inset-block-end: 1rem; z-index: 80; max-width: 560px; margin-inline: auto; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow-lg); padding: 1rem 1.2rem; }
.mv-cookies p { margin: 0 0 .8rem; font-size: .9rem; color: var(--mv-text-soft); }
.mv-cookies__actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.mv-cookies .mv-btn { padding: .55rem 1.1rem; font-size: .92rem; }

/* ---------- Toast ---------- */
.mv-toast { position: fixed; inset-block-start: 1rem; inset-inline-end: 1rem; z-index: 100; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.mv-toast__item { background: var(--mv-text); color: var(--mv-on-accent); padding: .7rem 1.1rem; border-radius: var(--mv-radius-pill); box-shadow: var(--mv-shadow-lg); font-weight: 600; font-size: .9rem; opacity: 0; transform: translateY(-10px); transition: .3s var(--mv-ease-bounce); }
.mv-toast__item.is-visible { opacity: 1; transform: translateY(0); }
.mv-toast__item--error { background: var(--mv-danger); }
.mv-toast__item--success { background: var(--mv-success); }

/* ---------- Modal ---------- */
.mv-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity .22s var(--mv-ease); }
.mv-modal-overlay.is-open { opacity: 1; }
.mv-modal { width: 100%; max-width: 480px; background: var(--mv-card); border-radius: var(--mv-radius-lg); box-shadow: var(--mv-shadow-lg); transform: scale(.94); transition: transform .25s var(--mv-ease-bounce); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.mv-modal--lg { max-width: 620px; }
.mv-modal-overlay.is-open .mv-modal { transform: scale(1); }
.mv-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--mv-border); }
.mv-modal__head h2 { margin: 0; font-size: 1.2rem; }
.mv-modal__close { width: 36px; height: 36px; border: none; background: var(--mv-blue-50); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--mv-text-soft); }
.mv-modal__close:hover { background: var(--mv-blue-100); }
.mv-modal__body { padding: 1.3rem; overflow-y: auto; }
.mv-modal__footer { padding: 1rem 1.3rem; border-top: 1px solid var(--mv-border); display: flex; gap: .7rem; justify-content: flex-end; flex-wrap: wrap; }

/* AI modal internals */
.mv-ai-modal__intro { background: var(--mv-blue-50); border-radius: var(--mv-radius-sm); padding: .8rem 1rem; font-size: .9rem; color: var(--mv-text-soft); margin: 0 0 1rem; }
.mv-ai-modal__label { display: block; font-weight: 700; font-family: var(--mv-font-head); margin-bottom: .45rem; }
.mv-ai-modal textarea { width: 100%; min-height: 96px; resize: vertical; padding: .8rem 1rem; border: 1.5px solid var(--mv-border-strong); border-radius: var(--mv-radius-sm); font-family: var(--mv-font-body); font-size: 1rem; }
.mv-ai-modal textarea:focus { outline: none; border-color: var(--mv-blue); box-shadow: 0 0 0 3px var(--mv-blue-100); }
.mv-ai-modal__counter { text-align: end; font-size: .8rem; color: var(--mv-text-muted); margin-top: .35rem; }
.mv-ai-modal__response { margin-top: 1rem; }
.mv-ai-modal__response.is-visible { display: block; }
.mv-ai-modal__loading { text-align: center; color: var(--mv-blue-600); font-weight: 600; padding: 1rem; }
.mv-ai-modal__error { background: #FEF2F2; color: var(--mv-danger); border-radius: var(--mv-radius-sm); padding: .8rem 1rem; }
.mv-ai-modal__reply { white-space: pre-wrap; background: var(--mv-card-soft); border-radius: var(--mv-radius-sm); padding: 1rem; border: 1px solid var(--mv-border); }
.mv-ai-modal__copyreply { margin-top: .8rem; }
.mv-ai-modal__count-line { display: block; margin-bottom: .65rem; }
.mv-ai-nicks { display: grid; gap: .55rem; }
.mv-ai-nick { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 1rem; background: var(--mv-card-soft); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); cursor: pointer; transition: .15s var(--mv-ease); }
.mv-ai-nick:hover { border-color: var(--mv-blue); background: var(--mv-blue-50); }
.mv-ai-nick__value { font-size: 1.1rem; }
.mv-ai-nick__action { font-size: .78rem; color: var(--mv-text-muted); white-space: nowrap; }

/* ============================================================
 * NICK GENERATOR
 * ============================================================ */
.mv-ng__field { display: block; margin-bottom: .4rem; }
.mv-ng__field-label { display: block; font-family: var(--mv-font-head); font-weight: 600; margin-bottom: .4rem; color: var(--mv-text); }
.mv-ng__field input { width: 100%; padding: .9rem 1.1rem; font-size: 1.15rem; border: 1.5px solid var(--mv-border-strong); border-radius: var(--mv-radius); font-family: var(--mv-font-body); }
.mv-ng__field input:focus { outline: none; border-color: var(--mv-blue); box-shadow: 0 0 0 3px var(--mv-blue-100); }
.mv-ng__helper { display: block; color: var(--mv-text-muted); font-size: .85rem; margin-bottom: 1.2rem; }
.mv-ng__section { margin-top: 1.8rem; }
.mv-ng__section-head { margin-bottom: .8rem; }
.mv-ng__section-title { font-size: 1.2rem; margin: 0 0 .2rem; }
.mv-ng__section-desc { margin: 0; color: var(--mv-text-soft); font-size: .9rem; }
.mv-ng__items { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.mv-ng__item { }
.mv-ng__copy { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .8rem 1rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); cursor: pointer; text-align: start; transition: .15s var(--mv-ease); box-shadow: var(--mv-shadow-sm); }
.mv-ng__copy:hover { border-color: var(--mv-blue); transform: translateY(-2px); box-shadow: var(--mv-shadow-md); }
.mv-ng__copy.is-copied { border-color: var(--mv-success); background: #ECFDF5; }
.mv-ng__value { font-size: 1.15rem; word-break: break-word; }
.mv-ng__meta { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: .76rem; color: var(--mv-text-muted); }
.mv-ng__sentinel { height: 1px; }
.mv-ng__loading { text-align: center; color: var(--mv-blue-600); font-weight: 600; padding: 1.4rem; }

/* ============================================================
 * PRESERVED TOOL MARKUP (freefire-tool & friends)
 * ============================================================ */
.freefire-tool .tool-header { text-align: center; margin-bottom: 1.6rem; }
.freefire-tool .tool-header h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin: 0 0 .6rem; }
.freefire-tool .tool-header p { color: var(--mv-text-soft); max-width: 680px; margin: 0 auto; }
.freefire-tool .tool-content > h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.freefire-tool .tool-content > h4 { font-size: 1.05rem; margin: 1.2rem 0 .5rem; color: var(--mv-text-soft); }
.freefire-tool .tool-content > p { color: var(--mv-text-soft); }

.input-group { margin: 1rem 0; }
.input-group label { display: block; font-family: var(--mv-font-head); font-weight: 600; margin-bottom: .4rem; }
.input-group input, .input-group select, .freefire-tool textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--mv-border-strong); border-radius: var(--mv-radius-sm);
  font-family: var(--mv-font-body); font-size: 1rem; background: var(--mv-input-bg); color: var(--mv-text);
}
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--mv-blue); box-shadow: 0 0 0 3px var(--mv-blue-100); }

.result-area { margin-top: 1.4rem; padding: 1.2rem; background: var(--mv-card-soft); border: 1px solid var(--mv-blue-100); border-radius: var(--mv-radius); }
.result-area h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.result-text { font-size: 1.4rem; word-break: break-word; padding: .6rem 0; }

.symbol-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); margin: .6rem 0 1.2rem; }
.symbol-item { display: grid; place-items: center; aspect-ratio: 1; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); font-size: 1.5rem; cursor: pointer; transition: .15s var(--mv-ease); box-shadow: var(--mv-shadow-sm); }
.symbol-item:hover { transform: translateY(-2px); border-color: var(--mv-blue); box-shadow: var(--mv-shadow-md); }
.symbol-item.large-symbol { font-size: 1.25rem; }

.names-list { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: .6rem 0 1.2rem; }
.name-item { display: flex; flex-direction: column; gap: .25rem; padding: .8rem 1rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); cursor: pointer; transition: .15s var(--mv-ease); box-shadow: var(--mv-shadow-sm); }
.name-item:hover { transform: translateY(-2px); border-color: var(--mv-blue); box-shadow: var(--mv-shadow-md); }
.name-text { font-size: 1.1rem; word-break: break-word; }
.name-category { font-size: .72rem; color: var(--mv-text-muted); text-transform: uppercase; letter-spacing: .04em; }

.category-filter { display: inline-flex; padding: .45rem .9rem; border-radius: var(--mv-radius-pill); border: 1.5px solid var(--mv-border); background: var(--mv-card); cursor: pointer; font-family: var(--mv-font-head); font-weight: 600; font-size: .88rem; color: var(--mv-text-soft); margin: 0 .35rem .5rem 0; transition: .15s var(--mv-ease); }
.category-filter:hover { border-color: var(--mv-blue); }
.category-filter.active { background: var(--mv-blue); color: var(--mv-on-accent); border-color: var(--mv-blue); }

.copy-collection { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1.2rem; }
.copy-pill { display: inline-flex; padding: .55rem 1rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-pill); cursor: pointer; font-size: 1rem; transition: .15s var(--mv-ease); box-shadow: var(--mv-shadow-sm); }
.copy-pill:hover { border-color: var(--mv-blue); transform: translateY(-1px); }

.number-collections { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: .8rem 0 1.4rem; }
.number-card { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.1rem; box-shadow: var(--mv-shadow-sm); }
.number-card h4 { margin: 0 0 .4rem; }
.number-card p { font-size: .85rem; color: var(--mv-text-soft); margin: 0 0 .7rem; }
.number-examples { display: flex; flex-wrap: wrap; gap: .45rem; }
.number-examples span { display: inline-flex; padding: .45rem .7rem; background: var(--mv-card-soft); border: 1px solid var(--mv-border); border-radius: 10px; cursor: pointer; font-size: 1.05rem; }
.number-examples span:hover { border-color: var(--mv-blue); }

.font-examples, .font-preview { display: grid; gap: .5rem; margin: .6rem 0 1.2rem; }
.font-example, .font-example-item, .font-result { padding: .7rem 1rem; background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius-sm); }
.font-example-item, .font-result { cursor: pointer; transition: .15s var(--mv-ease); }
.font-example-item:hover, .font-result:hover { border-color: var(--mv-blue); transform: translateY(-1px); }

.gaara-symbol-panel { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: .8rem 0 1.4rem; }
.gaara-panel { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.2rem; box-shadow: var(--mv-shadow-sm); }
.gaara-panel h4 { margin: 0 0 .7rem; }
.gaara-kanji { font-size: 3.5rem; text-align: center; cursor: pointer; padding: 1rem; border-radius: var(--mv-radius); background: var(--mv-card-soft); border: 1px dashed var(--mv-border-strong); transition: .15s var(--mv-ease); }
.gaara-kanji:hover { border-color: var(--mv-blue); background: var(--mv-blue-50); }

.bio-codes-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: .8rem 0 1.4rem; }
.bio-code-item { background: #0B1220; color: #e2e8f0; border-radius: var(--mv-radius); padding: 1rem 1.1rem; cursor: pointer; border: 1px solid #1e293b; transition: .15s var(--mv-ease); }
.bio-code-item:hover { transform: translateY(-2px); box-shadow: var(--mv-shadow-md); border-color: var(--mv-blue); }
.bio-preview { font-size: .95rem; line-height: 1.7; }
.bio-category { margin-top: .6rem; font-size: .72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }

.sensitivity-presets, .sensitivity-result { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: .8rem 0 1.4rem; }
.sensitivity-item { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.1rem; box-shadow: var(--mv-shadow-sm); }
.sensitivity-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; gap: .5rem; flex-wrap: wrap; }
.sensitivity-name { font-family: var(--mv-font-head); font-weight: 700; }
.sensitivity-rating { font-size: .8rem; color: var(--mv-text-muted); }
.sensitivity-details { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; font-size: .9rem; margin-bottom: .9rem; }
.emoticon-groups, .group-card { }
.emoticon-groups { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: .8rem 0 1.4rem; }
.group-card { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.1rem; box-shadow: var(--mv-shadow-sm); }
.group-card h4 { margin: 0 0 .7rem; }

.tips-section { margin-top: 1.8rem; padding: 1.3rem; background: var(--mv-card-soft); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); }
.tips-section h3 { margin: 0 0 .6rem; }
.tips-section h4 { margin: 1rem 0 .5rem; }
.tips-section ul, .tips-section ol { margin: 0 0 .5rem; padding-inline-start: 1.3rem; color: var(--mv-text-soft); }
.tips-section li { margin-bottom: .35rem; }
.tips-section code, .freefire-tool code { background: var(--mv-blue-50); color: var(--mv-blue-700); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }

.tool-extra-content { margin-top: 2rem; }
.tool-extra-header h2 { font-size: 1.4rem; }
.tool-extra-intro { font-size: 1.05rem; color: var(--mv-text-soft); }
.tool-extra-lists { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 1rem 0; }
.tool-extra-section, .tool-extra-callout { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: var(--mv-radius); padding: 1.1rem; box-shadow: var(--mv-shadow-sm); }
.tool-extra-section ul { padding-inline-start: 1.2rem; color: var(--mv-text-soft); }
.tool-extra-callouts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1rem 0; }
.tool-extra-callout h4 { margin: 0 0 .4rem; color: var(--mv-blue-600); }
.tool-extra-faq { margin-top: 1.4rem; }
.tool-extra-footer { margin-top: 1.2rem; font-style: italic; color: var(--mv-text-soft); }

.ff-ai-helper { margin: 1.6rem 0; }
.large-symbol { font-size: 1.2rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pulse { animation: mv-pulse .6s var(--mv-ease); }
.fade-in { animation: mv-fade .4s var(--mv-ease); }
@keyframes mv-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes mv-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .mv-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mv-burger { display: flex; }
  .mv-nav { position: fixed; inset-block-start: 60px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--mv-card); border-bottom: 1px solid var(--mv-border); padding: .5rem 1rem 1rem; box-shadow: var(--mv-shadow-lg); transform: translateY(-130%); transition: transform .28s var(--mv-ease); }
  .mv-nav.is-open { transform: translateY(0); }
  .mv-nav > a { padding: .8rem .5rem; border-bottom: 1px solid var(--mv-border); }
  .mv-lang { margin-top: .5rem; }
  .mv-lang__menu { position: static; width: 100%; box-shadow: none; border: 1px solid var(--mv-border); max-height: 240px; }
}
@media (max-width: 560px) {
  .mv-footer__grid { grid-template-columns: 1fr; }
  .mv-ng__items, .names-list, .mv-tool-grid { grid-template-columns: 1fr 1fr; }
  .sensitivity-details { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .mv-ng__items, .names-list, .mv-tool-grid { grid-template-columns: 1fr; }
}

/* RTL */
[dir="rtl"] .mv-tool-card::before { inset-inline-start: 0; }
[dir="rtl"] .mv-faq__item summary::after { float: left; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
 * SVG ICON SYSTEM
 * ============================================================ */
.mv-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  flex-shrink: 0;
  line-height: 0;
}
.mv-icon--glyph {
  display: inline-grid;
  place-items: center;
  font-family: var(--mv-font-head);
  font-weight: 700;
}

/* Logo mark — SVG infinity inside the rounded square */
.mv-logo__mark { display: grid; place-items: center; width: 32px; height: 32px; }
.mv-logo__mark .mv-icon { width: 20px; height: 20px; color: var(--mv-on-accent); }

/* Language switcher icons */
.mv-lang__globe { width: 16px; height: 16px; }
.mv-lang__caret { width: 14px; height: 14px; transition: transform .2s var(--mv-ease); }
.mv-lang.is-open .mv-lang__caret { transform: rotate(180deg); }

/* Burger: show menu icon by default, close icon when open */
.mv-burger .mv-icon { width: 22px; height: 22px; color: var(--mv-text); }
.mv-burger__close { display: none; }
.mv-burger.is-open .mv-burger__open { display: none; }
.mv-burger.is-open .mv-burger__close { display: inline-block; }

/* Hero badge with inline icon */
.mv-hero__badge {
  display: inline-flex; align-items: center; gap: .45rem;
}
.mv-hero__badge-icon { width: 18px; height: 18px; }

/* Tool card SVG icon — boxed, branded */
.mv-tool-card__icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mv-blue-50);
  color: var(--mv-blue-600);
  margin-bottom: .55rem;
  transition: transform .2s var(--mv-ease-bounce), background .2s;
}
.mv-tool-card:hover .mv-tool-card__icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--mv-blue);
  color: var(--mv-on-accent);
}
.mv-tool-card__svg { width: 24px; height: 24px; }
.mv-tool-card__icon .mv-icon--glyph {
  width: 28px; height: 28px; font-size: 1.5rem; font-weight: 700;
}
/* Featured card variant */
.mv-tool-card--feature .mv-tool-card__icon {
  background: rgba(255,255,255,0.18);
  color: var(--mv-on-accent);
}
.mv-tool-card--feature:hover .mv-tool-card__icon {
  background: rgba(255,255,255,0.28);
}

/* FAQ heading with icon */
.mv-faq h2, .tool-extra-faq h3 {
  display: inline-flex; align-items: center; gap: .55rem;
}
.mv-faq__head-icon { width: 22px; height: 22px; color: var(--mv-blue); }

/* Related-tool pills with inline icon */
.mv-related__item { gap: .5rem; }
.mv-related__item .mv-icon { width: 16px; height: 16px; color: var(--mv-blue-600); }
.mv-related__item:hover .mv-icon { color: var(--mv-blue-700); }

/* Buttons with leading icons */
.mv-btn .mv-icon { width: 18px; height: 18px; }

/* ============================================================
   Alternador de tema (claro / escuro)
   ============================================================ */
.mv-theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border-radius: var(--mv-radius-pill);
  border: 1.5px solid var(--mv-border);
  background: var(--mv-card); color: var(--mv-text-soft);
  cursor: pointer; transition: color .2s var(--mv-ease), border-color .2s var(--mv-ease), background .2s var(--mv-ease);
}
.mv-theme:hover { color: var(--mv-blue-600); border-color: var(--mv-blue); }
.mv-theme .mv-icon { width: 20px; height: 20px; }
.mv-theme__sun { display: none; }
.mv-theme__moon { display: block; }
[data-theme="dark"] .mv-theme__sun { display: block; }
[data-theme="dark"] .mv-theme__moon { display: none; }

@media (max-width: 880px) {
  .mv-theme { width: 100%; height: auto; justify-content: flex-start; gap: .6rem; padding: .7rem .8rem; border-radius: 10px; font-family: var(--mv-font-head); font-weight: 600; }
  .mv-theme::after { content: attr(data-label); }
}
