/* =========================================================
   MeffyVerso — estilos propios sobre Bootstrap 5.3
   Colores sacados del logo: noche, violeta neón y naranja fuego
   ========================================================= */

/* ---------- Tipografías alojadas en la propia web (licencia SIL Open Font License) ---------- */
@font-face { font-family: 'Russo One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/russo-one-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/figtree-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/figtree-700.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/figtree-800.woff2') format('woff2'); }

:root,
[data-bs-theme="dark"] {
  /* Paleta de marca */
  --mv-bg: #0B0A14;
  --mv-surface: #15132A;
  --mv-surface-2: #1E1B3A;
  --mv-footer: #070610;
  --mv-border: #2C2850;
  --mv-border-strong: #3D3868;
  --mv-text: #F3F1FA;
  --mv-muted: #A9A3C2;
  --mv-accent: #7C3AED;
  --mv-accent-text: #A78BFA;
  --mv-accent-soft: #221A3F;
  --mv-accent-soft-text: #C4B5FD;
  --mv-fire: #FF6A1A;
  --mv-fire-soft: #2A1A12;
  --mv-fire-pill: #3A2214;
  --mv-fire-pill-text: #FFB48A;
  --mv-green-pill: #123326;
  --mv-green-pill-text: #86EFAC;
  --mv-font-display: 'Russo One', system-ui, sans-serif;
  --mv-font-body: 'Figtree', system-ui, sans-serif;

  /* Variables de Bootstrap adaptadas a la marca */
  --bs-body-bg: var(--mv-bg);
  --bs-body-color: var(--mv-text);
  --bs-body-font-family: var(--mv-font-body);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-border-color: var(--mv-border);
  --bs-secondary-color: var(--mv-muted);
  --bs-link-color: var(--mv-accent-text);
  --bs-link-color-rgb: 167, 139, 250;
  --bs-link-hover-color: var(--mv-accent-soft-text);
  --bs-link-hover-color-rgb: 196, 181, 253;
  --bs-primary: var(--mv-accent);
  --bs-primary-rgb: 124, 58, 237;
  --bs-focus-ring-color: rgba(255, 106, 26, .5);
}

body { -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

h1, h2, h3, .h1, .h2, .h3, .font-display {
  font-family: var(--mv-font-display);
  font-weight: 400;
  line-height: 1.1;
}

.muted { color: var(--mv-muted) !important; }
.text-fire { color: var(--mv-fire) !important; }
.text-accent { color: var(--mv-accent-text) !important; }

:focus-visible { outline: 3px solid var(--mv-fire); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--mv-fire); color: var(--mv-bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--mv-bg); }

/* ---------- Tipografía de secciones ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mv-accent-text); margin: 0; }
.eyebrow--fire { color: var(--mv-fire); }
.eyebrow--white { color: #fff; }
.title-xl { font-size: clamp(2.4rem, 5.5vw, 4.25rem); line-height: 1.04; }
.title-lg { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.title-md { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.lead-mv { font-size: 1.1875rem; color: var(--mv-muted); max-width: 600px; }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--mv-surface); border-top: 1px solid var(--mv-border); border-bottom: 1px solid var(--mv-border); }
.section--bordered { border-bottom: 1px solid var(--mv-border); }
@media (max-width: 575.98px) { .section { padding: 64px 0; } }

/* ---------- Botones ---------- */
.btn { --bs-btn-border-radius: 999px; --bs-btn-font-weight: 800; --bs-btn-padding-x: 1.6rem; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { --bs-btn-padding-x: 1.25rem; min-height: 44px; --bs-btn-font-size: .9375rem; }
.btn-fire {
  --bs-btn-bg: var(--mv-fire); --bs-btn-color: var(--mv-bg); --bs-btn-border-color: var(--mv-fire);
  --bs-btn-hover-bg: #FF7F3A; --bs-btn-hover-color: var(--mv-bg); --bs-btn-hover-border-color: #FF7F3A;
  --bs-btn-active-bg: #E85A0C; --bs-btn-active-color: var(--mv-bg); --bs-btn-active-border-color: #E85A0C;
}
.btn-accent {
  --bs-btn-bg: var(--mv-accent); --bs-btn-color: #fff; --bs-btn-border-color: var(--mv-accent);
  --bs-btn-hover-bg: #8B4DF5; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #8B4DF5;
  --bs-btn-active-bg: #6D28D9; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #6D28D9;
}
.btn-ink {
  --bs-btn-bg: var(--mv-bg); --bs-btn-color: #fff; --bs-btn-border-color: var(--mv-bg);
  --bs-btn-hover-bg: #000; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #fff;
}
.btn-outline-accent {
  --bs-btn-color: var(--mv-text); --bs-btn-border-color: var(--mv-accent-text); --bs-btn-border-width: 2px; --bs-btn-font-weight: 700;
  --bs-btn-hover-bg: var(--mv-accent-soft); --bs-btn-hover-color: var(--mv-text); --bs-btn-hover-border-color: var(--mv-accent-text);
  --bs-btn-active-bg: var(--mv-accent-soft); --bs-btn-active-color: var(--mv-text);
}

.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; color: var(--mv-accent-text); }
.link-arrow--fire { color: var(--mv-fire); }
.link-arrow:hover { text-decoration: underline; color: inherit; }

/* ---------- Barra de navegación ---------- */
.site-header { background: var(--mv-bg); border-bottom: 1px solid var(--mv-border); padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--mv-text); text-decoration: none; }
.brand:hover { color: var(--mv-text); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: var(--mv-font-display); font-size: 22px; letter-spacing: .02em; }
.site-header .navbar-toggler { border-color: var(--mv-border-strong); padding: 10px 12px; }
.site-header .nav-link {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px !important; border-radius: 999px;
  color: var(--mv-text); font-weight: 600; font-size: .9375rem;
}
.site-header .nav-link:hover { background: var(--mv-surface-2); color: var(--mv-text); }
.site-header .nav-link.active { background: var(--mv-accent); color: #fff; font-weight: 700; }
@media (max-width: 1199.98px) {
  .site-header .navbar-nav { padding: 12px 0 4px; gap: 4px; }
  .site-header .nav-link { border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero-logo {
  width: 100%; max-width: 440px; height: auto; aspect-ratio: 1 / 1; border-radius: 50%;
  box-shadow: -28px 0 90px rgba(59, 130, 246, .35), 28px 0 90px rgba(255, 106, 26, .35);
}
.hero-banner { width: 100%; height: auto; aspect-ratio: 1168 / 784; object-fit: cover; border-radius: 24px; border: 1px solid var(--mv-border); }

/* ---------- Tarjetas ---------- */
.card {
  --bs-card-bg: var(--mv-surface); --bs-card-border-color: var(--mv-border); --bs-card-border-radius: 20px;
  --bs-card-color: var(--mv-text); --bs-card-spacer-y: 1.375rem; --bs-card-spacer-x: 1.375rem;
  overflow: hidden; transition: border-color .15s ease, transform .15s ease;
}
a.card { text-decoration: none; }
a.card:hover { border-color: var(--mv-accent-text); transform: translateY(-2px); }
.card-body { display: flex; flex-direction: column; gap: 10px; }
.card-title-mv { font-family: var(--mv-font-display); font-size: 1.25rem; line-height: 1.25; margin: 0; }
.card-media { aspect-ratio: 16 / 10; background: var(--mv-surface-2); display: flex; align-items: flex-end; padding: 14px; color: var(--mv-muted); font-size: 14px; }
.card-media--fire { background: var(--mv-fire-soft); }
.card-media--square { aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card--door .card-body { padding: 28px; gap: 14px; min-height: 250px; }
.card--door .card-cta { margin-top: auto; font-weight: 800; color: var(--mv-accent-text); }
.card--door .card-cta--fire { color: var(--mv-fire); }
.card--dark { --bs-card-bg: var(--mv-bg); }

.icon-box { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mv-accent-soft); color: var(--mv-accent-text); flex-shrink: 0; }
.icon-box--fire { background: var(--mv-fire-soft); color: var(--mv-fire); }
.icon-box--num { width: 48px; height: 48px; border-radius: 14px; font-family: var(--mv-font-display); font-size: 20px; color: var(--mv-accent-soft-text); }
.icon-box--num.icon-box--fire { background: var(--mv-fire-pill); color: var(--mv-fire-pill-text); }

.pill { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--mv-accent-soft); color: var(--mv-accent-soft-text); }
.pill--fire { background: var(--mv-fire-pill); color: var(--mv-fire-pill-text); }
.pill--green { background: var(--mv-green-pill); color: var(--mv-green-pill-text); }

.meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--mv-border); }
.price { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--mv-border); font-weight: 800; }
.price span { font-weight: 400; color: var(--mv-muted); }

/* ---------- Tarjetas de servicios ---------- */
.service-art { height: 160px; display: flex; align-items: center; justify-content: center; background: var(--mv-accent-soft); border-bottom: 1px solid var(--mv-border); }
.service-art--fire { background: var(--mv-fire-soft); }
.service-art svg, .service-art img { height: 118px; width: auto; max-width: 85%; transition: transform .25s ease; }
.service-card:hover .service-art svg, .service-card:hover .service-art img,
.card--door:hover .service-art img { transform: scale(1.06) rotate(-2deg); }
.door-art { height: 150px; }
.door-art + .card-body { min-height: 0; }

/* ---------- Tarjetas de juegos (Nuestros diseños) ---------- */
.game-card .card-body { gap: 10px; }
.game-cover { aspect-ratio: 4 / 3; background: var(--mv-surface-2); border-bottom: 1px solid var(--mv-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.game-cover img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .25s ease; }
a.game-card:hover .game-cover img { transform: scale(1.04); }
.game-cover--gen { position: relative; padding: 18px; text-align: center; }
.game-cover--gen::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255,255,255,.22); border-radius: 14px; }
.game-cover--gen span { position: relative; font-family: var(--mv-font-display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); overflow-wrap: anywhere; }
.game-card--small .game-cover--gen span { font-size: 1.2rem; }
.gen-violeta { background: radial-gradient(circle at 25% 20%, #8B5CF6 0, #3B2A8F 55%, #1E1B3A 100%); }
.gen-fuego   { background: radial-gradient(circle at 25% 20%, #FF8A3D 0, #B23A0A 55%, #2A1A12 100%); }
.gen-azul    { background: radial-gradient(circle at 25% 20%, #38BDF8 0, #1D4ED8 55%, #111A3A 100%); }
.gen-magenta { background: radial-gradient(circle at 25% 20%, #F472B6 0, #9D174D 55%, #2A1224 100%); }
.game-card--small .card-title-mv { font-size: 1.125rem; }
.game-card .link-arrow { min-height: 0; padding-top: 6px; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--mv-fire-pill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB48A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.info-box--link { text-decoration: none; color: var(--mv-text); transition: border-color .15s ease, transform .15s ease; }
.info-box--link:hover { color: var(--mv-text); border-color: var(--mv-fire); transform: translateY(-2px); }

/* ---------- Colaboraciones (Canales) ---------- */
.collab-card { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--mv-surface); border: 1px solid var(--mv-border); }
.collab-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.collab-option { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--mv-bg); border: 1px solid var(--mv-border); }
.collab-price { font-weight: 800; font-size: 14px; color: var(--mv-accent-text); }
.collab-option--fire .collab-price { color: var(--mv-fire); }
.collab-form { background: var(--mv-bg); }

/* ---------- Vídeo ---------- */
.video-frame {
  position: relative; border-radius: 20px; background: var(--mv-bg);
  border: 1px solid var(--mv-border); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.video-frame iframe { border: 0; }
.video-frame__label { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 13px; line-height: 1.45; color: var(--mv-muted); }
.play-btn {
  width: 84px; height: 84px; border-radius: 50%; border: none; background: var(--mv-fire); color: var(--mv-bg);
  display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 1;
}

.video-mini { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--mv-text); }
.video-mini:hover { color: var(--mv-accent-text); }
.video-mini__thumb { flex: 0 0 140px; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--mv-accent-soft); border: 1px solid var(--mv-border); }
.video-mini__thumb--fire { background: var(--mv-fire-soft); }
.video-mini__thumb { position: relative; overflow: hidden; }
.video-mini__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-mini strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-frame__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame__poster ~ .video-frame__label { z-index: 1; color: #fff; left: 12px; right: auto; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: 8px; background: rgba(11, 10, 20, .82); }
.video-frame__poster ~ .video-frame__label a { color: #fff; }
.video-mini strong { display: block; line-height: 1.35; }

.video-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--mv-text); height: 100%; }
.video-card:hover { color: var(--mv-text); }
.video-card__thumb {
  position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9;
  border-radius: 14px; background: var(--mv-accent-soft); border: 1px solid var(--mv-border); transition: border-color .15s ease;
}
.video-card:hover .video-card__thumb { border-color: var(--mv-fire); }
.video-card__thumb--fire { background: var(--mv-fire-soft); }
.video-card__thumb { overflow: hidden; }
.video-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: relative; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.video-card__duration { z-index: 1; }
.video-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card__duration { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: var(--mv-bg); font-size: 13px; font-weight: 700; }
.video-card strong { font-size: 1.0625rem; line-height: 1.35; }

.channel-avatar { width: 128px; height: 128px; border-radius: 50%; box-shadow: -12px 0 40px rgba(59, 130, 246, .35), 12px 0 40px rgba(255, 106, 26, .35); }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--mv-border);
  background: var(--mv-surface); color: var(--mv-text); font: inherit; font-weight: 700; font-size: .9375rem; cursor: pointer;
}
.filter-btn:hover { border-color: var(--mv-accent-text); }
.filter-btn[aria-pressed="true"] { background: var(--mv-accent); border-color: var(--mv-accent); color: #fff; }

/* ---------- Bandas de color ---------- */
.band-accent { background: var(--mv-accent); border-radius: 28px; padding: clamp(32px, 5vw, 64px); color: #fff; }
.band-accent p { color: #fff; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 24px; font-weight: 700; }
.checklist li { display: flex; gap: 10px; align-items: center; }

/* ---------- Pasos ---------- */
.steps { padding: 0; list-style: none; }
.form-control.flex-fill { min-width: 200px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps__num { font-family: var(--mv-font-display); font-size: 44px; color: var(--mv-fire); line-height: 1; }
.steps strong { font-size: 1.1875rem; }

/* ---------- Blog ---------- */
.cat-link { display: flex; justify-content: space-between; align-items: center; min-height: 40px; color: var(--mv-text); text-decoration: none; }
.cat-link:hover { color: var(--mv-accent-text); }
.cat-link span { color: var(--mv-muted); }
.sidebar-avatar { width: 72px; height: 72px; border-radius: 50%; }
.featured-post .card-media { min-height: 260px; height: 100%; aspect-ratio: auto; }
.featured-post .card-body { padding: 28px; gap: 12px; }
.featured-post .card-title-mv { font-size: 1.75rem; }

.pagination { --bs-pagination-bg: transparent; --bs-pagination-color: var(--mv-text); --bs-pagination-border-color: var(--mv-border);
  --bs-pagination-hover-bg: var(--mv-surface-2); --bs-pagination-hover-color: var(--mv-text); --bs-pagination-hover-border-color: var(--mv-accent-text);
  --bs-pagination-active-bg: var(--mv-accent); --bs-pagination-active-border-color: var(--mv-accent);
  --bs-pagination-padding-x: 1rem; --bs-pagination-padding-y: .6rem; gap: 8px; }
.pagination .page-link { border-radius: 12px !important; font-weight: 700; min-width: 44px; text-align: center; }

/* ---------- Formularios ---------- */
.form-card { padding: 32px; border-radius: 24px; background: var(--mv-surface); border: 1px solid var(--mv-border); }
.form-label { font-weight: 700; font-size: .9375rem; }
.form-control, .form-select {
  min-height: 48px; border-radius: 12px; background-color: var(--mv-bg); border-color: var(--mv-border-strong); color: var(--mv-text);
}
.form-control:focus, .form-select:focus { background-color: var(--mv-bg); color: var(--mv-text); border-color: var(--mv-accent-text); box-shadow: 0 0 0 .2rem rgba(167, 139, 250, .25); }
.form-control::placeholder { color: #7E7899; }
.form-control--pill { border-radius: 999px; padding-left: 18px; }
.form-control--light, .form-control--light:focus { background-color: #fff; color: var(--mv-bg); border: none; }
.form-control--light::placeholder { color: #6B6680; }

.form-success__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mv-fire); color: var(--mv-bg); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #3B1220; color: #FECDD3; font-weight: 600; font-size: 15px; }
.form-note { padding: 16px 20px; border-radius: 16px; background: var(--mv-bg); color: #fff; font-weight: 700; margin: 0; }

.faq details { border-top: 1px solid var(--mv-border); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--mv-border); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--mv-muted); }

.info-box { padding: 24px; border-radius: 20px; background: var(--mv-surface); border: 1px solid var(--mv-border); }

.tile { aspect-ratio: 1 / 1; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: var(--mv-accent-soft); border: 1px solid var(--mv-border-strong); color: var(--mv-accent-text); }
.tile--fire { background: var(--mv-fire-soft); border-color: #5A3018; color: var(--mv-fire); }

/* ---------- Pie ---------- */
.site-footer { background: var(--mv-footer); border-top: 1px solid var(--mv-border); }
.footer-logo { width: 88px; height: 88px; border-radius: 50%; }
.footer-title { font-family: var(--mv-font-body); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mv-muted); margin-bottom: 8px; }
.footer-nav a { display: flex; align-items: center; min-height: 40px; color: var(--mv-text); text-decoration: none; }
.footer-nav a:hover { color: var(--mv-accent-text); }
.footer-bottom { font-size: 14px; color: var(--mv-muted); }
.footer-bottom a { color: var(--mv-muted); }
.site-footer .form-control { background-color: var(--mv-surface); }

/* ---------- Información legal junto a formularios ---------- */
.legal-note { font-size: 13px; line-height: 1.5; color: var(--mv-muted); }
.band-accent .legal-note, .band-accent .legal-note a { color: #fff; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.legal h3 { font-family: var(--mv-font-body); font-weight: 800; font-size: 1.0625rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: #D9D5EA; }
.legal p { margin-bottom: 1rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--mv-muted); font-size: 14px; }
.legal dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: .5rem 1.5rem; padding: 24px; border-radius: 20px; background: var(--mv-surface); border: 1px solid var(--mv-border); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: #D9D5EA; }
@media (max-width: 575.98px) { .legal dl { grid-template-columns: 1fr; gap: .15rem; } .legal dd { margin-bottom: .6rem; } }
.legal .table { --bs-table-bg: var(--mv-surface); --bs-table-color: #D9D5EA; --bs-table-border-color: var(--mv-border); font-size: .9375rem; }
.legal .table th { color: var(--mv-text); font-weight: 700; }
.legal .note { padding: 16px 20px; border-radius: 16px; background: var(--mv-accent-soft); color: var(--mv-accent-soft-text); }
.legal .note p { color: var(--mv-accent-soft-text); margin: 0; }

/* ---------- Fichas de los canales ---------- */
.channel-card { display: block; border-radius: 18px; transition: transform .15s ease, box-shadow .15s ease; }
.channel-card img { width: 100%; height: auto; border-radius: 18px; }
.channel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124, 58, 237, .35); }
.channel-card:focus-visible { outline-offset: 4px; }

/* ---------- Entrada del blog ---------- */
.article { max-width: 800px; }
.article .article-body p, .article .article-body li { color: #D9D5EA; font-size: 1.125rem; line-height: 1.75; }
.article .article-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.article .article-body blockquote { margin: 2rem 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--mv-fire); font-size: 1.25rem; color: var(--mv-text); }
.breadcrumb { --bs-breadcrumb-divider-color: var(--mv-muted); --bs-breadcrumb-item-active-color: var(--mv-muted); font-size: 14px; }
.breadcrumb a { color: var(--mv-accent-text); }

/* ---------- Tienda ---------- */
.store-logo { display: block; max-width: 380px; width: 100%; transition: transform .2s ease; }
.store-logo:hover { transform: scale(1.03) rotate(-1deg); }
.store-logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 32px rgba(255, 106, 26, .25)); }
.store-hero { border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: var(--mv-surface); border: 1px solid var(--mv-border); }

/* ---------- Vídeo de YouTube que se carga al pulsar ---------- */
.video-frame__label a { color: var(--mv-accent-text); }

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

/* ---------- Entradas del blog ---------- */
.entrada-imagen { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--mv-border); }
.featured-post .card-media.p-0 img, .card-media.p-0 img { display: block; }
#lista-entradas:not([data-filtro]) .es-destacada, #lista-entradas[data-filtro="todos"] .es-destacada { display: none !important; }
.hero-juegos { display: block; width: 100%; height: auto; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .5)); }

/* ---------- Enlaces de las tarjetas de juegos (varios, con icono) ---------- */
.enlaces-tarjeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.enlace-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mv-border-strong, var(--mv-border)); background: var(--mv-surface-2); color: var(--mv-text); font-weight: 700; font-size: .875rem; line-height: 1.15; text-decoration: none; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.enlace-chip svg { width: 18px; height: 18px; flex: none; color: var(--mv-fire); }
.enlace-chip:hover, .enlace-chip:focus-visible { border-color: var(--mv-fire); color: var(--mv-text); background: var(--mv-fire-soft, var(--mv-surface-2)); }
.game-card--small .enlace-chip { padding: 6px 10px; font-size: .8125rem; }
.game-cover-link { display: block; text-decoration: none; color: inherit; }
.game-cover-link:hover .game-cover img { transform: scale(1.04); }

/* ---------- Directos de Twitch (página Canales) ---------- */
.pill--live { display: inline-flex; align-items: center; gap: 8px; background: #E11D48; color: #fff; }
.punto-directo { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: latido 1.4s ease-in-out infinite; }
@keyframes latido { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .punto-directo { animation: none; } }
.twitch-frame iframe { border: 0; width: 100%; height: 100%; }
@media (max-width: 575.98px) {
  .video-frame .play-btn { width: 64px; height: 64px; }
  .video-frame__label { font-size: 11.5px; }
}

/* ---------- Blog: todas las entradas con el mismo tamaño ---------- */
@media (min-width: 768px) {
  #lista-entradas .featured-post { height: 340px; overflow: hidden; }   /* todas las tarjetas, mismo tamaño */
  #lista-entradas .featured-post .card-media { height: 340px; min-height: 0; }
  #lista-entradas .featured-post .card-body { height: 340px; }
}
#lista-entradas .featured-post .card-title-mv { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#lista-entradas .entrada-extracto { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767.98px) {
  #lista-entradas .featured-post .card-media { height: auto; aspect-ratio: 16 / 9; }
}
.pill--twitch { background: rgba(145, 70, 255, .18); color: #C9A8FF; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mv-border); color: var(--mv-muted) !important; transition: color .15s, border-color .15s, background-color .15s; }
.footer-social:hover, .footer-social:focus-visible { color: var(--mv-text) !important; border-color: var(--mv-accent-text); background-color: var(--mv-surface); }
.aviso-directo { background: #E11D48; color: #fff; font-size: 15px; }
.aviso-directo a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.aviso-directo a:hover { text-decoration-thickness: 2px; }
.aviso-directo__titulo { opacity: .92; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#directos { scroll-margin-top: 16px; }
