/* XL Office: landing. Paleta del producto, tipografia del sistema, el producto como protagonista. */

:root {
  --night: #070c18;
  --ink: #0b1222;
  --navy: #14213d;
  --blue: #2f6db5;
  --sky: #8ec5ff;
  --gold: #e5b85c;
  --gold-hi: #f1cc7f;
  --paper: #f7f5f0;
  --white: #ffffff;
  --text: #1b2333;
  --soft: #5d6677;
  --soft-dark: #a5b0c4;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, "SF Mono", Menlo, monospace;
  --nav-h: 56px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1.0625rem;
       line-height: 1.55; letter-spacing: -.003em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--ink); }
code, kbd { font-family: var(--mono); font-size: .88em; }
code { color: inherit; background: rgba(47, 109, 181, .1); padding: .12em .42em; border-radius: 6px; }
kbd { background: var(--ink); color: var(--paper); border-radius: 6px; padding: .1em .45em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--gold); color: var(--ink);
             padding: .5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* botones */
.btn { font-weight: 600; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-pill { border-radius: 999px; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.06rem; }
.btn-sm { padding: .4rem 1rem; font-size: .88rem; }
.btn-gold { background: var(--gold); color: var(--ink); border: 0; }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-hi); color: var(--ink); transform: scale(1.02); }
.btn-light-ghost { color: var(--paper); background: rgba(255, 255, 255, .08); border: 0; }
.btn-light-ghost:hover, .btn-light-ghost:focus-visible { background: rgba(255, 255, 255, .16); color: var(--white); }

/* navegacion */
.site-nav { min-height: var(--nav-h); padding: 0; background: rgba(7, 12, 24, .72); backdrop-filter: saturate(1.6) blur(18px);
            -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--paper); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.brand:hover { color: var(--white); }
.site-nav .nav-link { color: rgba(247, 245, 240, .78); font-size: .88rem; padding: .5rem .8rem !important; background: none; border: 0; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible { color: var(--white); }
.navbar-toggler { border: 0; padding: .7rem .4rem; display: flex; flex-direction: column; gap: 7px; box-shadow: none !important; }
.navbar-toggler span { display: block; width: 20px; height: 1.6px; background: var(--paper); border-radius: 2px; }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: .5rem 0 1.4rem; }
  .site-nav .navbar-nav { align-items: flex-start !important; }
  .site-nav .nav-link { font-size: 1.1rem; }
}

/* portada */
.hero { background: radial-gradient(ellipse 70% 55% at 50% 78%, rgba(47, 109, 181, .45), transparent 70%), var(--night);
        color: var(--paper); padding: calc(var(--nav-h) + 6.5rem) 0 0; overflow: hidden; }
.hero-product { color: var(--gold); font-weight: 600; font-size: 1.15rem; margin-bottom: .8rem; }
.hero-title { font-weight: 700; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.03; letter-spacing: -.035em; margin: 0 auto 1.4rem; }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--soft-dark); max-width: 40rem; margin: 0 auto; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2.4rem 0 4.5rem; }

.monitor { width: min(940px, 100%); margin: 0 auto -1px; padding: 22px 22px 0; border-radius: 30px 30px 0 0;
           background: linear-gradient(180deg, #2b3243 0%, #1a1f2c 60%, #161a25 100%);
           box-shadow: 0 -30px 120px rgba(47, 109, 181, .28), inset 0 1px 0 rgba(255, 255, 255, .1); }
.monitor-screen { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.monitor-screen img { display: block; width: 100%; image-rendering: pixelated; }
.monitor-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .08), transparent 50%),
              repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 3px); }
.monitor-chin { height: 54px; display: flex; align-items: center; padding-left: 8px; }
.led { width: 7px; height: 7px; border-radius: 50%; background: #e0544b; box-shadow: 0 0 10px #e0544b; }

/* declaracion */
.statement { padding: 8.5rem 0; background: var(--white); }
.statement-text { max-width: 58rem; margin: 0 auto; text-align: center; font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3.4rem);
                  line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.statement-text span { color: #9aa3b3; }

/* secciones de programa */
.app { padding: 8rem 0 7rem; }
.app-light { background: var(--paper); }
.app-dark { background: var(--ink); color: var(--paper); }
.app-blue { background: linear-gradient(180deg, #0a1631 0%, #183a72 100%); color: var(--paper); }
.app-head { text-align: center; max-width: 46rem; margin: 0 auto 4rem; }
.app-name { font-weight: 600; font-size: 1.3rem; margin-bottom: .5rem; }
.app-name-blue { color: var(--blue); }
.app-name-gold { color: var(--gold); }
.app-name-sky { color: var(--sky); }
.app-title { font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.3rem; }
.app-lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--soft); margin: 0; }
.app-dark .app-lead, .app-blue .app-lead { color: var(--soft-dark); }
.app-shot { width: min(980px, 100%); margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000;
            box-shadow: 0 50px 90px -40px rgba(7, 12, 24, .55); }
.app-dark .app-shot, .app-blue .app-shot { box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .8); }
.app-shot img { display: block; width: 100%; image-rendering: pixelated; }
.app-facts { max-width: 980px; margin: 4rem auto 0; row-gap: 1.6rem; }
.app-facts p { margin: 0; color: var(--soft); font-size: 1.02rem; padding-right: 1rem; }
.app-facts b { display: block; color: var(--text); font-size: 1.12rem; margin-bottom: .25rem; }
.app-dark .app-facts p, .app-blue .app-facts p { color: var(--soft-dark); }
.app-dark .app-facts b, .app-blue .app-facts b { color: var(--white); }

/* titulos de seccion */
.section-title { font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 1rem; }
.section-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--soft); max-width: 40rem; margin: 0 auto 3.5rem; }

/* video */
.film { background: #000; color: var(--paper); padding: 8rem 0; }
.film .section-lead { color: var(--soft-dark); }
.film-frame { position: relative; width: min(1100px, 100%); margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000;
              box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 60px 120px -40px rgba(47, 109, 181, .45); }
.film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--gold);
             box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: transform .25s ease, opacity .25s ease; }
.film-play span { display: block; width: 0; height: 0; margin: 0 auto; transform: translateX(3px);
                  border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.film-play:hover { transform: scale(1.07); }
.film-frame.playing .film-play { opacity: 0; pointer-events: none; }

/* galeria en carrusel */
.gallery { background: var(--white); padding: 8rem 0; }
.shots-carousel { width: min(1000px, 100%); margin: 0 auto; }
#shots { position: relative; }
#shots .carousel-item img { display: block; width: 100%; border-radius: 22px; image-rendering: pixelated; background: #000;
                            box-shadow: 0 40px 80px -45px rgba(7, 12, 24, .6); }
.shot-caption { text-align: center; margin: 1.6rem auto 0; color: var(--soft); font-size: 1.08rem; max-width: 40rem; }
.shot-caption b { color: var(--text); }
.shots-btn { position: absolute; top: calc(50% - 2.6rem); width: 56px; height: 56px; border-radius: 50%; border: 0; z-index: 3;
             background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(7, 12, 24, .22); display: grid; place-items: center;
             transition: transform .2s ease, background-color .2s ease; }
.shots-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shots-btn:hover { transform: scale(1.06); background: var(--white); }
.shots-prev { left: -28px; }
.shots-next { right: -28px; }
@media (max-width: 1099.98px) { .shots-prev { left: 12px; } .shots-next { right: 12px; } }
@media (max-width: 575.98px) { .shots-btn { width: 44px; height: 44px; top: calc(50% - 3.4rem); } }
.shots-thumbs { display: flex; justify-content: center; gap: .9rem; margin-top: 2.2rem; flex-wrap: wrap; }
.shots-thumbs button { padding: 0; border: 0; background: none; border-radius: 12px; overflow: hidden; opacity: .45;
                       transition: opacity .25s ease, transform .25s ease; box-shadow: 0 8px 20px -10px rgba(7, 12, 24, .5); }
.shots-thumbs button img { display: block; width: 112px; height: auto; image-rendering: pixelated; }
.shots-thumbs button:hover { opacity: .8; }
.shots-thumbs button.active { opacity: 1; transform: translateY(-3px); }
@media (max-width: 575.98px) { .shots-thumbs button img { width: 58px; } .shots-thumbs { gap: .5rem; } }

/* cifras */
.numbers { background: var(--ink); color: var(--paper); padding: 8rem 0 7rem; }
.numbers-grid { margin: 4rem auto 0; max-width: 1080px; row-gap: 3rem; }
.numbers-grid p { color: var(--soft-dark); font-size: 1.05rem; margin: 0; padding-right: 1rem; }
.numbers-grid .num { color: var(--white); font-weight: 700; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.04em; margin-bottom: .7rem; }
.numbers-grid .col-6:nth-child(1) .num { color: var(--gold); }
.numbers-note { text-align: center; color: #7f8aa0; margin: 4.5rem auto 0; max-width: 40rem; font-size: .98rem; }

/* descarga */
.download { background: var(--paper); padding: 8rem 0; }
.dl-card { display: flex; align-items: center; gap: 2.4rem; width: min(980px, 100%); margin: 0 auto; padding: 2.8rem 3.2rem;
           background: var(--white); border-radius: 32px; box-shadow: 0 40px 90px -40px rgba(7, 12, 24, .5); }
.dl-card > img { width: 120px; height: 120px; flex-shrink: 0; filter: drop-shadow(0 14px 24px rgba(47, 109, 181, .35)); }
.dl-info { flex: 1; }
.dl-info h3 { font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 .5rem; color: var(--ink); }
.dl-info p { margin: 0; color: var(--soft); font-size: 1.15rem; line-height: 1.45; }
.dl-card .btn { font-size: 1.3rem; padding: 1.1rem 2.4rem; white-space: nowrap; }
.dl-card .btn .btn-ico { width: 1.5rem; height: 1.5rem; }
@media (max-width: 767.98px) { .dl-card { flex-direction: column; text-align: center; padding: 2.2rem 1.6rem; gap: 1.4rem; }
  .dl-card > img { width: 96px; height: 96px; } .dl-card .btn { width: 100%; } }
.run-ways { max-width: 1000px; margin: 5rem auto 0; row-gap: 2.4rem; }
.run-ways h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: .6rem; }
.run-ways p { color: var(--soft); margin: 0; padding-right: 1rem; }

/* pie */
.site-footer { background: var(--night); color: #8792a8; padding: 3rem 0 2.6rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.6rem 4rem; align-items: start; }
.footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; max-width: 26rem; }
.footer-url { color: var(--paper); text-decoration: none; }
.footer-url:hover { color: var(--gold); }
.lang-toggle { background: none; border: 0; color: var(--paper); cursor: pointer; padding: .3rem 0; text-decoration: none; }
.lang-toggle:hover { color: var(--gold); }
.lang-toggle { display: inline-flex; align-items: center; gap: .5rem; }
.lang-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none;
             box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.legal { margin: .8rem 0 0; line-height: 1.5; }
.fb-ico { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }
.nav-social { display: inline-flex; align-items: center; gap: .55rem; }
.nav-social:hover .fb-ico, .nav-social:focus-visible .fb-ico { color: var(--gold); }
.footer-social { display: flex; gap: .6rem; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
              background: rgba(255, 255, 255, .08); color: var(--paper); transition: background .2s, color .2s, transform .2s; }
.social-btn .fb-ico { width: 1.25rem; height: 1.25rem; }
.social-btn:hover, .social-btn:focus-visible { background: #1877f2; color: #fff; transform: scale(1.06); }

/* aparicion suave */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 575.98px) { .hero-title br { display: none; } }

/* computadores Atari de 8 bits */
.machines { background: var(--paper); padding: 8rem 0 7rem; }
.machines-head { text-align: center; }
.machines-logo { display: block; margin: 0 auto 1.6rem; filter: drop-shadow(0 18px 30px rgba(20, 33, 61, .3)); }
.machines-kick { color: #c0392b; font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.machines-rail { position: relative; max-width: 1180px; margin: 0 auto; }
.machines-grid { list-style: none; margin: 0; display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
                 scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 1rem 0 3.4rem; scroll-padding-inline: 0; --mcols: 4; }
.machines-grid::-webkit-scrollbar { display: none; }
.machines-grid:focus-visible { outline-offset: -3px; }
.machines-grid > li { flex: 0 0 calc((100% - (var(--mcols) - 1) * 1.1rem) / var(--mcols)); scroll-snap-align: start; }
.m-nav { top: calc(50% - 2.2rem); }
.m-prev { left: -28px; }
.m-next { right: -28px; }
.m-nav:disabled { opacity: 0; pointer-events: none; }
.machines-grid li { background: var(--white); border-radius: 24px; padding: 1.2rem 1rem 1.5rem; text-align: center;
                    box-shadow: 0 24px 60px -40px rgba(7, 12, 24, .55); display: flex; flex-direction: column; gap: .25rem;
                    transition: transform .3s ease, box-shadow .3s ease; }
.machines-grid li:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -40px rgba(7, 12, 24, .6); }
.machines-grid img { width: 100%; height: auto; margin-bottom: .9rem; }
.m-year { color: var(--blue); font-weight: 600; font-size: .9rem; }
.m-name { font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.m-name small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #c0392b; }
.m-info { color: var(--soft); font-size: .95rem; }
.m-same { display: block; font-size: .8rem; color: #8a93a3; margin-top: .2rem; }
.machines-note { text-align: center; color: var(--soft); font-size: 1rem; margin: 2.8rem auto 0; max-width: 40rem; }
.machines-credit { text-align: center; color: #9aa1ad; font-size: .8rem; margin: .8rem auto 0; max-width: 46rem; }
.machines-credit a { color: inherit; }
@media (max-width: 1199.98px) { .machines-grid { --mcols: 3; } .m-prev { left: 8px; } .m-next { right: 8px; } }
@media (max-width: 575.98px) { .machines-grid { --mcols: 1.6; gap: .8rem; } .m-name { font-size: 1.15rem; } .m-nav { width: 44px; height: 44px; } }

/* logo en la portada */
.hero-logo { display: block; width: 112px; height: 112px; margin: 0 auto 1.6rem;
             filter: drop-shadow(0 20px 40px rgba(47, 109, 181, .55)); animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }

/* botones con icono */
.btn-icon { display: inline-flex; align-items: center; gap: .55rem; }
.btn-ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-ico-play { fill: currentColor; stroke-width: 1.4; }
.btn-sm .btn-ico { width: 1.1em; height: 1.1em; }

/* video en ventana */
.video-modal .modal-content { background: #000; border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
               background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); display: grid; place-items: center; }
.video-close:hover { background: rgba(255, 255, 255, .26); }
.video-close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.modal-backdrop.show { opacity: .85; }

/* pie: logo y enlaces a las secciones */
.footer-brand { font-size: 1.25rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(8.5rem, auto)); gap: 2rem 3.5rem; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-head { margin: 0 0 .2rem; color: var(--paper); font-weight: 600; font-size: .95rem; }
.footer-links a { color: #c3cad8; text-decoration: none; font-size: .95rem; }
@media (max-width: 767.98px) { .footer-grid { grid-template-columns: 1fr; } .footer-links { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.footer-links a:hover { color: var(--gold); }

/* novedades */
.news { background: var(--white); padding: 8rem 0; }
.release { width: min(820px, 100%); margin: 0 auto; background: var(--paper); border-radius: 28px; padding: 2.4rem 2.6rem 2.2rem; }
.release-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.8rem; }
.release-head h3 { font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; margin: 0; }
.release-head p { margin: 0; color: var(--soft); }
.release-badge { margin-left: auto; background: var(--ink); color: var(--gold); font-weight: 600; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; }
.release-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.release-list li { color: var(--soft); padding-left: 1.6rem; position: relative; }
.release-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .62rem; height: .62rem; border-radius: 50%; background: var(--gold); }
.release-list b { color: var(--text); display: block; }
@media (max-width: 767.98px) { .release { padding: 1.8rem 1.4rem; } .release-list { grid-template-columns: 1fr; } .release-head { flex-wrap: wrap; } }

/* preguntas frecuentes */
.faq { background: var(--white); padding: 8rem 0 6rem; }
.faq-list { width: min(820px, 100%); margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: var(--paper); border-radius: 20px; transition: background-color .25s ease; }
.faq-item[open] { background: #efece5; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
                    padding: 1.3rem 1.6rem; font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); transition: transform .3s ease, background-color .3s ease; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign { transform: rotate(45deg); background: var(--gold); }
.faq-answer { padding: 0 1.6rem 1.4rem; }
.faq-answer p { margin: 0; color: var(--soft); max-width: 44rem; }
.faq-answer a { color: var(--blue); }

/* contacto */
.contact { background: var(--white); padding: 0 0 8rem; }
.contact-card { width: min(820px, 100%); margin: 0 auto; text-align: center; color: var(--paper); border-radius: 32px; padding: 4rem 2rem 3.4rem;
                background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(47, 109, 181, .5), transparent 70%), var(--night); }
.contact-card img { filter: drop-shadow(0 16px 30px rgba(47, 109, 181, .6)); margin-bottom: 1.4rem; }
.contact-card h2 { font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; margin-bottom: .6rem; }
.contact-card > p { color: var(--soft-dark); font-size: 1.12rem; max-width: 30rem; margin: 0 auto 2rem; }

/* manual */
.site-nav .nav-link.active { color: var(--gold); }
.man-hero { background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(47, 109, 181, .45), transparent 70%), var(--night);
            color: var(--paper); text-align: center; padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem; }
.man-logo { filter: drop-shadow(0 18px 34px rgba(47, 109, 181, .6)); margin-bottom: 1.4rem; }
.man-hero h1 { font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.04em; margin-bottom: .8rem; }
.man-hero p { color: var(--soft-dark); font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 36rem; margin: 0 auto; }
.man-wrap { background: var(--paper); padding: 4.5rem 0 7rem; }
.man-aside { margin-bottom: 2rem; }
.man-toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.man-toc-title { font-weight: 700; color: var(--ink); margin-bottom: .8rem; }
.man-toc ol { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.man-toc li a { display: block; padding: .38rem .9rem; margin-left: -.9rem; border-radius: 10px; color: var(--soft); text-decoration: none; font-size: .96rem; }
.man-toc li a:hover { color: var(--ink); background: rgba(20, 33, 61, .05); }
.man-toc li a.active { color: var(--ink); background: var(--white); font-weight: 600; box-shadow: 0 8px 20px -14px rgba(7, 12, 24, .5); }
@media (max-width: 991.98px) { .man-toc { position: static; } .man-toc ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; } .man-toc li a { margin-left: 0; background: var(--white); } }
.man-body { max-width: 52rem; }
.man-sec { background: var(--white); border-radius: 26px; padding: 2.2rem 2.4rem; margin-bottom: 1.4rem; scroll-margin-top: calc(var(--nav-h) + 1rem);
           box-shadow: 0 24px 60px -48px rgba(7, 12, 24, .5); }
.man-sec h2 { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 1rem; color: var(--ink); }
.man-sec h3 { font-weight: 700; font-size: 1.2rem; margin: 1.8rem 0 .7rem; color: var(--ink); }
.man-sec p, .man-sec li { color: #3c4556; }
.man-sec ul { padding-left: 1.2rem; }
.man-sec li { margin-bottom: .55rem; }
.man-sec li::marker { color: var(--gold); }
.man-table { overflow-x: auto; margin: 1.2rem 0 .4rem; }
.man-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.man-table th[scope="col"] { text-align: left; font-size: .82rem; font-weight: 600; color: var(--soft); padding: 0 1rem .6rem; }
.man-table tbody th, .man-table td { padding: .75rem 1rem; vertical-align: top; text-align: left; }
.man-table tbody tr:nth-child(odd) th, .man-table tbody tr:nth-child(odd) td { background: var(--paper); }
.man-table tbody tr th { border-radius: 12px 0 0 12px; font-weight: 500; white-space: nowrap; width: 1%; }
.man-table tbody tr td:last-child { border-radius: 0 12px 12px 0; }
.man-table tbody th code { background: var(--ink); color: var(--paper); border-radius: 7px; padding: .18em .5em; margin-right: .15em; box-shadow: 0 2px 0 #000; font-size: .86em; }
.man-back { margin: 2rem 0 0; }
.man-back a { color: var(--blue); font-weight: 600; text-decoration: none; }
@media (max-width: 575.98px) { .man-sec { padding: 1.6rem 1.2rem; } }

/* pagina 404 */
.page-404 { background: var(--night); }
.e404 { min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; color: var(--paper);
        background: radial-gradient(ellipse 60% 60% at 50% 70%, rgba(47, 109, 181, .4), transparent 70%); }
.e404-brand { font-size: 1.2rem; margin-bottom: 2.5rem; }
.e404-code { font-weight: 800; font-size: clamp(7rem, 22vw, 13rem); line-height: .9; letter-spacing: -.06em; margin: 0 0 1.4rem;
             background: linear-gradient(180deg, var(--gold) 0%, #b5832f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 h1 { font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.035em; margin-bottom: .9rem; }
.e404-lead { color: var(--soft-dark); font-size: 1.15rem; max-width: 34rem; margin: 0 auto 1rem; }
.e404-alt { color: #7f8aa0; max-width: 34rem; margin: 0 auto 2.4rem; }
.e404-alt strong { color: var(--soft-dark); }
.e404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* capturas del manual */
.man-shot { margin: 1.6rem 0 1.4rem; }
.man-shot img { display: block; width: 100%; height: auto; border-radius: 16px; image-rendering: pixelated; background: #000;
                box-shadow: 0 30px 60px -40px rgba(7, 12, 24, .7); }
.man-shot figcaption { margin-top: .8rem; color: var(--soft); font-size: .93rem; text-align: center; }

/* tarjetas de computadores: se pueden abrir */
.m-card { width: 100%; height: 100%; border: 0; background: var(--white); border-radius: 24px; padding: 1.2rem 1rem 1.2rem; text-align: center;
          box-shadow: 0 24px 60px -40px rgba(7, 12, 24, .55); display: flex; flex-direction: column; align-items: center; gap: .25rem;
          cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; font: inherit; color: inherit; }
.m-card:hover, .m-card:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 70px -38px rgba(7, 12, 24, .65); }
.m-card img { width: 100%; height: auto; margin-bottom: .9rem; transition: transform .4s ease; }
.m-card:hover img { transform: scale(1.05); }
.machines-grid li { background: none; box-shadow: none; padding: 0; transform: none !important; display: block; }
.m-more { margin-top: .8rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 600; font-size: .9rem; }
.m-plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(47, 109, 181, .12); transition: background-color .25s ease, transform .3s ease; }
.m-plus::before, .m-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--blue); border-radius: 2px; }
.m-plus::after { transform: rotate(90deg); }
.m-card:hover .m-plus { background: var(--gold); transform: rotate(90deg); }
.m-card:hover .m-plus::before, .m-card:hover .m-plus::after { background: var(--ink); }
.machines-hint { text-align: center; color: var(--blue); font-weight: 600; margin: 2rem 0 0; }

/* ventana con la ficha del computador */
.machine-modal .modal-content { border: 0; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 50px 140px rgba(0, 0, 0, .6); }
.mm-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.mm-photo { background: var(--white); display: grid; place-items: center; padding: 2rem; }
.mm-photo img { width: 100%; height: auto; }
.mm-text { padding: 3rem 2.6rem 2.6rem; background: var(--paper); }
.mm-kick { color: #c0392b; font-weight: 700; margin: 0 0 .2rem; }
.mm-title { font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 1rem; color: var(--ink); }
.mm-lead { color: var(--soft); font-size: 1.08rem; margin-bottom: 1.6rem; }
.mm-facts { margin: 0 0 1.6rem; display: grid; gap: .9rem; }
.mm-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; }
.mm-facts dt { font-weight: 600; color: var(--soft); font-size: .92rem; }
.mm-facts dd { margin: 0; color: var(--ink); font-size: .98rem; }
.mm-xlo { margin: 0; background: var(--white); border-radius: 16px; padding: 1rem 1.2rem; color: var(--soft); }
.mm-xlo b { color: var(--ink); }
.mm-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
            background: rgba(20, 33, 61, .08); display: grid; place-items: center; transition: background-color .2s ease; }
.mm-close:hover { background: rgba(20, 33, 61, .16); }
.mm-close svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 991.98px) { .mm-body { grid-template-columns: 1fr; } .mm-text { padding: 2rem 1.6rem; } .mm-facts div { grid-template-columns: 1fr; gap: .1rem; } }
.dl-samples { width: min(760px, 100%); margin: 1.4rem auto 0; text-align: center; color: var(--soft); }
.dl-samples b { color: var(--text); }
.dl-license { width: min(760px, 100%); margin: .6rem auto 0; text-align: center; color: var(--soft); font-size: .95rem; }
.dl-license b { color: var(--text); }
.dl-license a, .dl-sums a { color: var(--blue); font-weight: 600; text-decoration: none; }
.dl-license a:hover, .dl-sums a:hover { text-decoration: underline; }
.dl-files { width: min(860px, 100%); margin: 4.5rem auto 0; }
.dl-files summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; background: var(--white); border-radius: 22px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em;
  color: var(--ink); box-shadow: 0 30px 70px -48px rgba(7, 12, 24, .45); transition: background-color .2s ease; }
.dl-files summary::-webkit-details-marker { display: none; }
.dl-files summary:hover { background: #fbfaf7; }
.dl-chev { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s ease; flex: none; }
.dl-files[open] .dl-chev { transform: rotate(180deg); }
.dl-files[open] summary { border-radius: 22px 22px 0 0; box-shadow: none; border-bottom: 1px solid rgba(20, 33, 61, .07); }
.dl-files[open] ul { border-radius: 0 0 22px 22px; }
.dl-files ul { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: 22px; overflow: hidden;
               box-shadow: 0 30px 70px -48px rgba(7, 12, 24, .45); }
.dl-files li { display: grid; grid-template-columns: 1fr auto; column-gap: 1.2rem; row-gap: .25rem; align-items: baseline;
               padding: 1rem 1.4rem; border-top: 1px solid rgba(20, 33, 61, .07); }
.dl-files li:first-child { border-top: 0; }
.f-main a { color: var(--ink); font-weight: 600; text-decoration: none; margin-right: .7rem; }
.f-main a:hover { color: var(--blue); text-decoration: underline; }
.f-main span { color: var(--soft); font-size: .95rem; }
.f-size { color: var(--soft); font-size: .92rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.f-sha { grid-column: 1 / -1; font-family: var(--mono); font-size: .72rem; color: #8a93a3; word-break: break-all; background: none; padding: 0; }
.dl-sums { margin: 1rem 0 0; color: var(--soft); font-size: .92rem; }
.dl-sums code { font-family: var(--mono); font-size: .85em; background: rgba(47, 109, 181, .08); padding: .1em .4em; border-radius: 6px; color: var(--ink); white-space: nowrap; }
@media (max-width: 575.98px) { .f-main a { display: block; margin: 0 0 .1rem; } }

/* kit de prensa */
.press { background: var(--white); padding: 0 0 2rem; }
.press-card { width: min(1000px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 2.5rem;
              background: var(--paper); border-radius: 32px; padding: 3rem; }
.press-visual { position: relative; aspect-ratio: 4 / 3.4; }
.press-shot { position: absolute; width: 78%; height: auto; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 30px 60px -30px rgba(7, 12, 24, .55); }
.press-shot-1 { right: 0; top: 0; transform: rotate(4deg); }
.press-shot-2 { left: 0; bottom: 0; transform: rotate(-3deg); }
.press-logo { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; filter: drop-shadow(0 16px 30px rgba(7, 12, 24, .45)); }
.press-text h2 { font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.035em; margin-bottom: .8rem; color: var(--ink); }
.press-lead { color: var(--soft); font-size: 1.08rem; margin-bottom: 1.4rem; }
.press-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.press-list li { color: var(--soft); padding-left: 1.5rem; position: relative; }
.press-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); }
.press-list b { color: var(--text); }
.press-meta { color: var(--soft); font-size: .9rem; margin: .8rem 0 0; }
@media (max-width: 991.98px) { .press-card { grid-template-columns: 1fr; padding: 2rem 1.4rem; } .press-visual { max-width: 460px; width: 100%; margin: 0 auto; } }
.contact { padding-top: 6rem; }

/* manual: descarga en PDF */
.man-pdf { margin-top: 2.2rem; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.man-pdf-meta { color: var(--soft-dark); font-size: .92rem; }
.man-pdf-other { color: var(--gold); font-size: .95rem; text-decoration: none; }
.man-pdf-other:hover { color: var(--gold-hi); text-decoration: underline; }
.man-toc .man-dl, .man-toc .man-dl-app { display: flex; justify-content: center; width: 100%; font-size: 1.12rem; font-weight: 600;
  padding: .95rem 1.2rem; }
.man-toc .man-dl-app { margin-top: .8rem; background: var(--ink); color: var(--paper); border: 0; }
.man-toc .man-dl-app:hover, .man-toc .man-dl-app:focus-visible { background: var(--navy); color: var(--gold); transform: scale(1.02); }
@media (max-width: 991.98px) { .man-toc .man-dl, .man-toc .man-dl-app { width: auto; display: inline-flex; margin: .4rem .6rem 0 0; } }

/* pie: boton donar */
.footer-donate { margin-top: .4rem; font-weight: 600; padding: .6rem 1.3rem; }

/* donar */
.btn-ink { background: var(--ink); color: var(--paper); border: 0; }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--navy); color: var(--gold); }
.don-kick { color: var(--gold) !important; font-weight: 600; font-size: 1.1rem !important; margin: 1.2rem auto .5rem !important; }
.don-sec { padding: 6.5rem 0 0; }
.don-sec:last-of-type { padding-bottom: 7rem; }
.don-row { margin-top: 2.6rem; }
.don-pill { display: inline-block; background: rgba(229, 184, 92, .2); color: #8a6516; font-weight: 600; font-size: .9rem;
            padding: .3rem .95rem; border-radius: 99px; margin-bottom: 1rem; }
.don-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--ink); fill: none; stroke: var(--gold);
           stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.don-why, .don-other { height: 100%; background: var(--white); border-radius: 24px; padding: 1.9rem 1.8rem;
                       box-shadow: 0 30px 70px -50px rgba(7, 12, 24, .45); }
.don-why h3, .don-other h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: .45rem; color: var(--ink); }
.don-why p, .don-other p { color: var(--soft); margin: 0; }
.don-other { display: flex; flex-direction: column; align-items: flex-start; }
.don-other p { margin-bottom: 1.3rem; flex: 1; }
.don-tier { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: 28px;
            padding: 2.2rem 2rem 1.8rem; box-shadow: 0 30px 70px -50px rgba(7, 12, 24, .45); }
.don-rec { background: var(--ink); color: var(--paper); box-shadow: 0 40px 90px -40px rgba(7, 12, 24, .7); }
.don-badge { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink);
             font-weight: 700; font-size: .85rem; padding: .3rem 1rem; border-radius: 99px; white-space: nowrap; }
.don-tier h3 { font-weight: 700; font-size: 1.25rem; margin: 0 0 .6rem; color: inherit; }
.don-price { font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 .6rem; color: var(--ink); }
.don-rec .don-price { color: var(--gold); }
.don-sub { color: var(--soft); margin: 0 0 1.3rem; font-weight: 600; }
.don-rec .don-sub, .don-rec li { color: var(--soft-dark); }
.don-tier ul { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.don-tier li { color: var(--soft); padding-left: 1.6rem; position: relative; margin-bottom: .6rem; }
.don-tier li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); }
.don-notify { width: 100%; font-weight: 600; padding: .85rem 1rem; }
.don-note { text-align: center; color: var(--soft); font-size: .85rem; margin: .7rem 0 0; }
.don-rec .don-note { color: var(--soft-dark); }
@media (max-width: 991.98px) { .don-tiers-sec .don-row { row-gap: 2.6rem !important; } }
.don-other .btn { font-weight: 600; padding: .7rem 1.5rem; }
.footer-links a.footer-link-donate { color: var(--gold); font-weight: 600; }
.footer-links a.footer-link-donate:hover { color: var(--gold-hi); }

/* donar: conversion de monedas */
.don-local { margin: -.2rem 0 .7rem; color: var(--blue); font-weight: 600; font-size: .98rem; }
.don-rec .don-local { color: var(--sky); }
.don-fx { margin-top: 3rem; text-align: center; }
.don-fx-btn { font-weight: 600; padding: .85rem 1.8rem; font-size: 1.05rem; }
.don-fx-panel { width: min(980px, 100%); margin: 1.8rem auto 0; background: var(--white); border-radius: 24px; padding: 1.8rem 1.8rem 1.4rem;
                text-align: left; box-shadow: 0 30px 70px -48px rgba(7, 12, 24, .45); }
.don-fx-panel h3 { font-weight: 700; font-size: 1.2rem; margin: 0 0 1rem; color: var(--ink); }
.don-fx-note { margin: 1rem 0 0; color: var(--soft); font-size: .88rem; }
.don-fx-note a { color: var(--blue); }
/* XL Base: pagina propia y aviso en la portada */
.xb-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.xb-apart { margin: 1.8rem auto 0 !important; max-width: 34rem; font-size: 1rem !important; color: var(--soft-dark); }
.xb-apart b { color: var(--gold); }
.xb-sql { width: min(1000px, 100%); margin: 2.4rem auto 0; background: rgba(0, 0, 0, .35); color: var(--paper); border-radius: 18px;
          padding: 1.3rem 1.5rem; font-family: var(--mono); font-size: .92rem; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.xb-specs { background: var(--paper); padding: 5rem 0 2rem; }
.xb-dl { width: min(860px, 100%); margin: 2.4rem auto 0; background: var(--white); border-radius: 22px; padding: .6rem 1.6rem;
         box-shadow: 0 30px 70px -48px rgba(7, 12, 24, .45); }
.xb-dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(20, 33, 61, .07); }
.xb-dl div:first-child { border-top: 0; }
.xb-dl dt { font-weight: 700; color: var(--ink); }
.xb-dl dd { margin: 0; color: var(--soft); }
@media (max-width: 575.98px) { .xb-dl div { grid-template-columns: 1fr; gap: .2rem; } }
.xb-teaser { background: var(--paper); padding: 6rem 0; }
.xb-teaser-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.6rem; align-items: center; width: min(1080px, 100%); margin: 0 auto;
                  background: var(--ink); color: var(--paper); border-radius: 32px; padding: 2.4rem; box-shadow: 0 40px 90px -40px rgba(7, 12, 24, .6); }
.xb-teaser-card img { width: 100%; height: auto; border-radius: 16px; image-rendering: pixelated; display: block; }
.xb-badge { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .25rem .9rem;
            border-radius: 99px; margin-bottom: 1rem; }
.xb-teaser-text h2 { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .8rem; }
.xb-teaser-text p { color: var(--soft-dark); font-size: 1.08rem; margin-bottom: 1.6rem; }
@media (max-width: 767.98px) { .xb-teaser-card { grid-template-columns: 1fr; padding: 1.6rem; gap: 1.6rem; } }
.xb-teaser-text .xb-badge { color: var(--ink); margin-bottom: 1rem; }
.dl-card + .dl-card { margin-top: 1.4rem; }
.dl-more { margin-top: .35rem !important; font-size: .95rem !important; }
.dl-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.dl-more a:hover { text-decoration: underline; }

/* menu: desplegable de programas */
.prog-toggle { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.prog-chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
             transition: transform .25s ease; }
.prog-toggle[aria-expanded="true"] { color: var(--white); }
.prog-toggle[aria-expanded="true"] .prog-chev { transform: rotate(180deg); }
.prog-menu { min-width: 324px; padding: .55rem; border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px;
             background: rgba(14, 22, 40, .97); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .75);
             -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.prog-menu.show { animation: prog-in .18s ease-out; }
@keyframes prog-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.prog-item { display: flex; align-items: center; gap: .85rem; padding: .62rem .75rem; border-radius: 14px; text-decoration: none;
             transition: background-color .18s ease; }
.prog-item:hover, .prog-item:focus-visible { background: rgba(255, 255, 255, .07); }
.prog-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800;
            font-size: 1.05rem; color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.pi-write { background: linear-gradient(160deg, #4f8fd6, #2f6db5); }
.pi-calc { background: linear-gradient(160deg, #f1cc7f, #d9a440); color: var(--ink); }
.pi-show { background: linear-gradient(160deg, #6fb4f0, #3a7fc4); }
.pi-base { background: linear-gradient(160deg, #26355c, #14213d); border: 1px solid rgba(229, 184, 92, .55); color: var(--gold); }
.pi-atari { background: rgba(255, 255, 255, .08); }
.pi-atari svg { width: 20px; height: 20px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prog-txt { display: flex; flex-direction: column; line-height: 1.25; }
.prog-txt b { color: var(--paper); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: .45rem; }
.prog-txt small { color: var(--soft-dark); font-size: .8rem; margin-top: .12rem; white-space: nowrap; }
.prog-new { font-style: normal; font-size: .66rem; font-weight: 700; color: var(--ink); background: var(--gold); padding: .08rem .45rem;
            border-radius: 99px; letter-spacing: .02em; }
.prog-sep { display: block; height: 1px; margin: .35rem .6rem; background: rgba(255, 255, 255, .08); }
@media (max-width: 991.98px) {
  .prog-menu { position: static !important; transform: none !important; min-width: 0; width: 100%; margin: .2rem 0 .6rem;
               background: rgba(255, 255, 255, .04); box-shadow: none; }
  .prog-toggle { font-size: 1.1rem; }
}
@media (max-width: 991.98px) { .site-nav:has(.navbar-collapse.show), .site-nav:has(.collapsing) { background: rgba(7, 12, 24, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); } }

/* Programas: siempre legible sobre el menu oscuro (Bootstrap pone el color "activo" oscuro y un halo azul) */
.site-nav .navbar-nav .prog-toggle,
.site-nav .navbar-nav .prog-toggle:hover,
.site-nav .navbar-nav .prog-toggle:focus,
.site-nav .navbar-nav .prog-toggle.show { color: var(--white); box-shadow: none; }
.site-nav .navbar-nav .prog-toggle:hover .prog-chev, .site-nav .navbar-nav .prog-toggle.show .prog-chev { color: var(--gold); }
.site-nav .navbar-nav .prog-toggle.show { background: rgba(255, 255, 255, .08); border-radius: 99px; }
.site-nav .navbar-nav .prog-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 99px; }
.prog-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* puente para el mouse */

/* conversion de monedas: tarjetas */
.fx-top { text-align: center; margin-bottom: 1.4rem; }
.fx-top h3 { margin-bottom: .3rem !important; }
.fx-sub { color: var(--soft); margin: 0; font-size: .95rem; }
.fx-flag { flex: none; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(20, 33, 61, .12), 0 2px 6px -2px rgba(7, 12, 24, .3); }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.fx-card { background: var(--paper); border-radius: 16px; padding: .9rem 1rem .85rem; border: 1px solid rgba(20, 33, 61, .05);
           transition: transform .2s ease, box-shadow .2s ease; }
.fx-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(7, 12, 24, .45); }
.fx-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .7rem; min-width: 0; }
.fx-head b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.fx-head span { color: var(--soft); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.fx-amts div { background: var(--white); border-radius: 10px; padding: .45rem .3rem; text-align: center; min-width: 0; }
.fx-amts small { display: block; color: var(--soft); font-size: .72rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.fx-amts strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-featured:empty { display: none; }
.fx-featured { margin-bottom: 1.2rem; }
.fx-card-mine { background: linear-gradient(160deg, #0f1a33, var(--ink)); border: 1px solid rgba(229, 184, 92, .5); padding: 1.2rem 1.4rem 1.2rem; }
.fx-card-mine:hover { transform: none; }
.fx-mine-label { margin: 0 0 .6rem; color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.fx-card-mine .fx-head b { color: var(--paper); font-size: 1.2rem; }
.fx-card-mine .fx-head span { color: var(--soft-dark); font-size: .95rem; }
.fx-card-mine .fx-amts div { background: rgba(255, 255, 255, .06); padding: .7rem .5rem; }
.fx-card-mine .fx-amts small { color: var(--soft-dark); font-size: .78rem; }
.fx-card-mine .fx-amts strong { color: var(--gold); font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.don-fx-note { text-align: center; }
.release + .release { margin-top: 1.6rem; }
.release-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.release-list a:hover { text-decoration: underline; }
