/* ============================================================
   home.css — portada de TCGVaultCR (index.php)
   Se apoya en Bootstrap 5.3 (assets/vendor/bootstrap) y solo agrega lo propio de la marca.
   Todo vive bajo .hm, así nada de esto toca otras páginas. Prefijo hm-.

   Idea de diseño: un binder. Las cartas viven en «bolsillos» (la ventana de cada tarjeta),
   el fondo del hero es una hoja de binder y el abanico de cartas es lo único que se mueve.
   Tipografía: Bricolage Grotesque (títulos y precios, ancho 75–100) + Figtree (texto), ambas alojadas aquí.
   ============================================================ */

@font-face {
    font-family: 'Bricolage Hm';
    src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
    font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bricolage Hm';
    src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
    font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Figtree Hm';
    src: url('../fonts/figtree-latin.woff2') format('woff2');
    font-weight: 300 900; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Figtree Hm';
    src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
    font-weight: 300 900; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables (y ajuste de Bootstrap a la marca, solo dentro de .hm) ---------- */
.hm {
    --hm-ink: #0F0F12;
    --hm-ink-2: #181A22;
    --hm-ink-3: #232634;
    --hm-paper: #F1F2F6;
    --hm-surface: #FFFFFF;
    --hm-window: #E9EBF2;
    --hm-line: #DEE1EA;
    --hm-text: #14161D;
    --hm-muted: #596072;
    --hm-red: #C90101;
    --hm-red-hot: #F0322F;
    --hm-red-deep: #8A0000;
    --hm-gold: #F2B33D;
    --hm-gold-soft: #FFF3D6;
    --hm-gold-deep: #7A4E00;
    --hm-on-dark: #F5F6FA;
    --hm-on-dark-muted: rgba(245, 246, 250, .68);
    --hm-font-display: 'Bricolage Hm', 'Arial Narrow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hm-font-body: 'Figtree Hm', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --bs-body-font-family: var(--hm-font-body);
    --bs-body-color: var(--hm-text);
    --bs-body-bg: var(--hm-paper);
    --bs-border-color: var(--hm-line);
    --bs-primary: var(--hm-red);
    --bs-primary-rgb: 201, 1, 1;
    --bs-link-color: var(--hm-red);
    --bs-link-hover-color: var(--hm-red-deep);
    --bs-link-color-rgb: 201, 1, 1;
    --bs-border-radius: .75rem;
    --bs-border-radius-lg: 1rem;
    --bs-gutter-x: 1.5rem;

    font-family: var(--hm-font-body);
    color: var(--hm-text);
    background: var(--hm-paper);
    line-height: 1.6;
    margin-bottom: -60px;            /* el pie del sitio trae 60px de margen superior; así no queda una franja gris */
    -webkit-font-smoothing: antialiased;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm a { text-decoration: none; }
.hm img { max-width: 100%; }

.hm h1, .hm h2, .hm h3, .hm h4 { font-family: var(--hm-font-display); color: inherit; margin: 0; }
.hm-h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem); font-weight: 780; font-stretch: 85%; line-height: 1.08; letter-spacing: -.015em; }
.hm-sub { color: var(--hm-muted); margin: .45rem 0 0; max-width: 52ch; }
.hm-section { padding: clamp(2.75rem, 5vw, 4.75rem) 0; }
.hm-section--white { background: var(--hm-surface); }
.hm-head { margin-bottom: clamp(1.25rem, 2.4vw, 2rem); }
.hm-more { font-weight: 700; font-size: .95rem; color: var(--hm-text); border-bottom: 2px solid var(--hm-red); padding-bottom: 1px; white-space: nowrap; }
.hm-more:hover { color: var(--hm-red); }

/* Bootstrap (reboot) toca dos detalles de la barra y el pie que no deben cambiar: se devuelven a como están en el resto del sitio */
.tcg-navbar img, .tcg-footer img { vertical-align: baseline; }
.tcg-mobile-toggle { font-family: revert; line-height: revert; }

/* ---------- Botones (sobre .btn de Bootstrap) ---------- */
.hm .btn { --bs-btn-border-radius: .8rem; --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.35rem; font-family: var(--hm-font-body); transition: transform .15s ease, background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.hm .btn:hover { transform: translateY(-1px); }
.hm .btn:focus-visible { box-shadow: 0 0 0 .22rem rgba(240, 50, 47, .45); }
.hm .btn-vault { --bs-btn-color: #fff; --bs-btn-bg: var(--hm-red); --bs-btn-border-color: var(--hm-red);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--hm-red-hot); --bs-btn-hover-border-color: var(--hm-red-hot);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--hm-red-deep); --bs-btn-active-border-color: var(--hm-red-deep);
    box-shadow: 0 10px 24px -10px rgba(201, 1, 1, .7); }
.hm .btn-ghost { --bs-btn-color: var(--hm-on-dark); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .28);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-border-color: rgba(255, 255, 255, .55);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .16); --bs-btn-active-border-color: rgba(255, 255, 255, .55); }
.hm .btn-ink { --bs-btn-color: #fff; --bs-btn-bg: var(--hm-ink); --bs-btn-border-color: var(--hm-ink);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--hm-ink-3); --bs-btn-hover-border-color: var(--hm-ink-3);
    --bs-btn-active-bg: var(--hm-ink-3); --bs-btn-active-border-color: var(--hm-ink-3); }
.hm .btn-gold { --bs-btn-color: #2B1B00; --bs-btn-bg: var(--hm-gold); --bs-btn-border-color: var(--hm-gold);
    --bs-btn-hover-color: #2B1B00; --bs-btn-hover-bg: #FFC95E; --bs-btn-hover-border-color: #FFC95E;
    --bs-btn-active-color: #2B1B00; --bs-btn-active-bg: #E5A22C; --bs-btn-active-border-color: #E5A22C; }
.hm .btn-line { --bs-btn-color: var(--hm-text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--hm-line);
    --bs-btn-hover-color: var(--hm-text); --bs-btn-hover-bg: var(--hm-surface); --bs-btn-hover-border-color: var(--hm-text);
    --bs-btn-active-bg: var(--hm-surface); --bs-btn-active-border-color: var(--hm-text); }

/* ============================================================
   HERO
   ============================================================ */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hm-ink); color: var(--hm-on-dark);
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(6.5rem, 11vw, 9.5rem); }
/* Hoja de binder: bolsillos apenas dibujados, que se desvanecen hacia abajo */
.hm-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; opacity: .9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='188' height='256'%3E%3Crect x='10' y='10' width='168' height='236' rx='14' fill='none' stroke='white' stroke-opacity='.07' stroke-width='1.5'/%3E%3C/svg%3E");
    background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%); }
.hm-hero::after { content: ''; position: absolute; z-index: -1; right: -8%; top: -10%; width: 70%; height: 130%;
    background: radial-gradient(closest-side, rgba(201, 1, 1, .5), rgba(201, 1, 1, .12) 55%, transparent 75%); filter: blur(10px); pointer-events: none; }

.hm-hero--solo { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hm .min-w-0 { min-width: 0; }
.hm-hero__title { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.6rem); font-weight: 800; font-stretch: 78%; line-height: 1; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hm-hero__lead { margin: 1.15rem 0 0; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--hm-on-dark-muted); max-width: 31rem; }
.hm-hero__lead strong { color: #fff; font-weight: 700; }

.hm-search { margin-top: 1.7rem; max-width: 33rem; }
.hm-search .form-control { background: #fff; border: 0; color: var(--hm-text); font-size: 1.02rem; padding-left: 1.1rem; border-radius: .85rem 0 0 .85rem; }
.hm-search .form-control::placeholder { color: #7A8093; }
.hm-search .form-control:focus { box-shadow: 0 0 0 .22rem rgba(240, 50, 47, .5); position: relative; z-index: 3; }
.hm-search .btn { border-radius: 0 .85rem .85rem 0; padding-inline: 1.3rem; }
.hm-search .btn:hover { transform: none; }

.hm-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.hm-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .85rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
    color: var(--hm-on-dark); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background .15s, border-color .15s, transform .15s; }
.hm-chip:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); transform: translateY(-1px); }
.hm-chip i.hm-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--g, #888); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }

.hm-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1.9rem 0 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: var(--hm-on-dark-muted); }
.hm-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hm-trust i { color: var(--hm-gold); font-size: 1.05rem; }
.hm-trust strong { color: #fff; font-weight: 700; }

/* ---------- Abanico de cartas ---------- */
.hm-fan { --w: min(280px, 64vw); --step: 40%; position: relative; max-width: 34rem; margin-inline: auto; }
.hm-fan__stage { position: relative; height: calc(var(--w) * 1.4 + 3.2rem); }
.hm-fan__card { position: absolute; left: 50%; top: 1.4rem; width: var(--w); aspect-ratio: 5 / 7; margin-left: calc(var(--w) / -2);
    transform: translateX(calc(var(--d) * var(--step))) translateY(calc(var(--ad) * 16px)) rotate(calc(var(--d) * 6.5deg)) scale(calc(1 - var(--ad) * .075));
    transform-origin: 50% 115%; z-index: calc(20 - var(--ad) * 3);
    opacity: clamp(0, calc(3 - var(--ad)), 1); filter: brightness(calc(1 - var(--ad) * .14)) drop-shadow(0 20px 22px rgba(0, 0, 0, .5));
    transition: transform .65s cubic-bezier(.2, .85, .25, 1), opacity .45s ease, filter .45s ease; cursor: pointer; border-radius: 4.6% / 3.3%; }
.hm-fan__card.is-active { cursor: pointer; }
.hm-fan__card img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4.6% / 3.3%; background: rgba(255, 255, 255, .04); }
.hm-fan__card::after { content: ''; position: absolute; inset: 0; border-radius: 4.6% / 3.3%; pointer-events: none; opacity: 0; transition: opacity .25s;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 28%), rgba(255, 255, 255, .6), transparent 46%),
                linear-gradient(115deg, transparent 28%, rgba(255, 0, 128, .22) 40%, rgba(0, 200, 255, .26) 50%, rgba(255, 230, 0, .22) 60%, transparent 72%);
    mix-blend-mode: soft-light; }
@media (hover: hover) { .hm-fan__card.is-active:hover::after { opacity: 1; } }
.hm-fan__card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.hm-fan__panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: .4rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); min-height: 5.2rem; }
.hm-fan__name { display: block; font-family: var(--hm-font-display); font-weight: 750; font-stretch: 85%; font-size: 1.25rem; line-height: 1.15; color: #fff; }
.hm-fan__set { display: block; margin-top: .2rem; font-size: .88rem; color: var(--hm-on-dark-muted); }
.hm-fan__price { text-align: right; font-family: var(--hm-font-display); font-weight: 800; font-stretch: 88%; font-size: 1.55rem; line-height: 1; color: #fff; white-space: nowrap; }
.hm-fan__price s { display: block; font-size: .85rem; font-weight: 600; color: var(--hm-on-dark-muted); margin-bottom: .2rem; }
.hm-fan__nav { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1rem; }
.hm-fan__arrow { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .06); color: #fff; transition: background .15s, border-color .15s; }
.hm-fan__arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
.hm-fan__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hm-fan__dots { display: flex; gap: .45rem; }
.hm-fan__dot { width: .55rem; height: .55rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .3s, background .3s; }
.hm-fan__dot.is-active { width: 1.6rem; background: var(--hm-red-hot); }
.hm-fan__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* En pantallas angostas (o con la columna del hero estrecha) solo se ven la carta del frente y las dos de al lado */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hm-fan { --w: min(250px, 62vw); --step: 46%; }
    .hm-fan__card { opacity: clamp(0, calc(2 - var(--ad)), 1); }
}
/* Las filas con separación grande (g-lg-5) necesitan un margen de contenedor igual de grande, si no se salen de la pantalla */
@media (min-width: 992px) { .hm .container { --bs-gutter-x: 3rem; } }
@media (min-width: 1200px) { .hm .container { max-width: 1320px; } }
@media (max-width: 575.98px) {
    .hm-fan { --w: min(230px, 58vw); --step: 44%; }
    .hm-fan__card { opacity: clamp(0, calc(2 - var(--ad)), 1); }
    .hm-fan__name { font-size: 1.1rem; }
    .hm-fan__price { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .hm-fan__card { transition: none; } }

/* ============================================================
   SORTEO (tarjeta que se monta sobre el hero)
   ============================================================ */
.hm-raffle-wrap { position: relative; z-index: 2; margin-top: clamp(-5.2rem, -8vw, -3.4rem); }
.hm-raffle { --bs-card-border-width: 0; --bs-card-border-radius: 1.25rem; overflow: hidden; background: var(--hm-surface); box-shadow: 0 26px 60px -24px rgba(8, 8, 14, .55), 0 2px 0 var(--hm-gold) inset; border-left: 6px solid var(--hm-gold); }
.hm-raffle__media { position: relative; height: 100%; min-height: 13rem; background: linear-gradient(135deg, #2A2112, #4A3510); }
.hm-raffle__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-raffle__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--hm-gold); font-size: 4.5rem; }
.hm-raffle__body { padding: clamp(1.25rem, 2.6vw, 2rem); }
.hm-badge-gold { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--hm-gold-soft); color: var(--hm-gold-deep); font-weight: 700; font-size: .85rem; }
.hm-badge-gold .hm-pulse { width: .5rem; height: .5rem; border-radius: 50%; background: var(--hm-gold); box-shadow: 0 0 0 0 rgba(242, 179, 61, .7); animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 .5rem rgba(242, 179, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 179, 61, 0); } }
.hm-raffle__title { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 780; font-stretch: 85%; line-height: 1.1; margin-top: .8rem; letter-spacing: -.01em; }
.hm-raffle__prize { margin: .55rem 0 0; font-weight: 600; display: flex; gap: .55rem; align-items: baseline; }
.hm-raffle__prize i { color: var(--hm-gold-deep); }
.hm-raffle__rule { margin: .35rem 0 0; color: var(--hm-muted); }
.hm-raffle__rule strong { color: var(--hm-text); }
.hm-raffle__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.25rem; }

.hm-count { display: flex; gap: .5rem; }
.hm-count__box { min-width: 4.1rem; padding: .5rem .4rem .4rem; text-align: center; border-radius: .8rem; background: var(--hm-ink); color: #fff; }
.hm-count__num { display: block; font-family: var(--hm-font-display); font-weight: 800; font-stretch: 85%; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-count__lbl { display: block; margin-top: .2rem; font-size: .7rem; letter-spacing: .02em; color: var(--hm-on-dark-muted); }
.hm-count.is-over .hm-count__box { background: var(--hm-ink-3); color: var(--hm-on-dark-muted); }

/* ============================================================
   JUEGOS
   ============================================================ */
.hm-game { position: relative; display: block; overflow: hidden; border-radius: 1rem; aspect-ratio: 4 / 5; color: #fff; background: var(--hm-ink-2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 14px 30px -18px rgba(15, 16, 28, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.hm-game:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 24px 40px -20px rgba(15, 16, 28, .75); }
.hm-game > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hm-game:hover > img { transform: scale(1.06); }
.hm-game__bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--g, #444), #111 85%); }
.hm-game__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 12, .88) 100%); }
.hm-game::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--g, var(--hm-red)); }
.hm-game__body { position: absolute; left: 0; right: 0; bottom: 5px; padding: 1rem; display: block; }
.hm-game__name { display: block; font-family: var(--hm-font-display); font-weight: 780; font-stretch: 82%; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.1; }
.hm-game__meta { display: block; margin-top: .3rem; font-size: .84rem; color: rgba(255, 255, 255, .78); }

.hm-sets { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.hm-sets__label { flex: none; font-weight: 700; font-size: .9rem; color: var(--hm-muted); }
.hm-sets__list { display: flex; gap: .5rem; overflow-x: auto; margin: 0; padding: .25rem .1rem .6rem; list-style: none; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.hm-sets__list::-webkit-scrollbar { display: none; }
.hm-set { display: inline-flex; align-items: center; gap: .45rem; flex: none; scroll-snap-align: start; padding: .4rem .8rem; border-radius: 999px; background: var(--hm-surface); border: 1px solid var(--hm-line); font-size: .88rem; font-weight: 600; color: var(--hm-text); white-space: nowrap; transition: border-color .15s, transform .15s; }
.hm-set:hover { color: var(--hm-text); border-color: var(--hm-text); transform: translateY(-1px); }
.hm-set i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--g, #999); }
@media (max-width: 575.98px) { .hm-sets { flex-direction: column; align-items: stretch; gap: .1rem; } }

/* ============================================================
   PESTAÑAS + TARJETAS DE CARTAS
   ============================================================ */
.hm-tabs { gap: .35rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: none; }
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tabs .nav-link { --bs-nav-link-padding-x: 1rem; --bs-nav-link-padding-y: .5rem; flex: none; border-radius: .8rem; color: var(--hm-muted); font-weight: 700; background: transparent; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.hm-tabs .nav-link:hover { color: var(--hm-text); background: rgba(15, 15, 18, .06); }
.hm-tabs .nav-link.active { background: var(--hm-ink); color: #fff; }
.hm-tabs .nav-link:focus-visible { box-shadow: 0 0 0 .2rem rgba(240, 50, 47, .45); }
.hm-tabs .nav-link small { font-weight: 700; opacity: .6; font-variant-numeric: tabular-nums; }
.hm-promo { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: 1.1rem; padding: .7rem 1rem; border-radius: .9rem; background: #FFF0EF; border: 1px solid #F8CFCB; color: #6B0F0B; font-size: .94rem; }
.hm-promo i { color: var(--hm-red); font-size: 1.15rem; }
.hm-promo a { margin-left: auto; font-weight: 700; color: var(--hm-red); }

.hm-card { --bs-card-border-color: var(--hm-line); --bs-card-border-radius: 1rem; --bs-card-bg: var(--hm-surface); color: var(--hm-text); text-decoration: none; overflow: hidden;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.hm-card:hover { color: var(--hm-text); transform: translateY(-4px); border-color: #C9CEDB; box-shadow: 0 18px 30px -18px rgba(18, 22, 40, .45); }
.hm-card:focus-visible { outline: 3px solid var(--hm-red-hot); outline-offset: 2px; }
.hm-card__window { position: relative; padding: .8rem; background: var(--hm-window); aspect-ratio: 5 / 7.25; display: grid; place-items: center; }
.hm-card__window img { width: 100%; height: 100%; object-fit: contain; border-radius: 4.6% / 3.3%; filter: drop-shadow(0 7px 8px rgba(20, 24, 44, .28)); }
.hm-card .card-body { padding: .75rem .85rem .9rem; display: flex; flex-direction: column; gap: .15rem; }
.hm-card__name { font-family: var(--hm-font-display); font-weight: 720; font-stretch: 90%; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.hm-card__set { margin: 0; font-size: .8rem; color: var(--hm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-card__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin-top: .45rem; }
.hm-price { font-family: var(--hm-font-display); font-weight: 800; font-stretch: 90%; font-size: 1.22rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm-price small { font-family: var(--hm-font-body); font-weight: 600; font-size: .72rem; color: var(--hm-muted); margin-right: .25rem; }
.hm-old { font-size: .82rem; color: var(--hm-muted); }
.hm-last { width: 100%; margin-top: .1rem; font-size: .76rem; font-weight: 700; color: var(--hm-red); display: inline-flex; align-items: center; gap: .3rem; }
.hm-tag { position: absolute; z-index: 2; padding: .18rem .5rem; border-radius: .45rem; font-size: .72rem; font-weight: 800; line-height: 1.25; letter-spacing: .01em; }
.hm-tag--tl { top: .55rem; left: .55rem; }
.hm-tag--tr { top: .55rem; right: .55rem; }
.hm-tag--bl { bottom: .55rem; left: .55rem; }
.hm-tag--br { bottom: .55rem; right: .55rem; }
.hm-tag--off { background: var(--hm-red); color: #fff; }
.hm-tag--foil { background: linear-gradient(100deg, #FDE68A, #F9A8D4 55%, #93C5FD); color: #2A1B3D; }
.hm-tag--graded { background: var(--hm-ink); color: var(--hm-gold); }
.hm-tag--lang { background: #fff; color: var(--hm-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.hm-tag--cond { background: rgba(255, 255, 255, .92); color: var(--hm-muted); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.hm-tag--prev { background: var(--hm-gold); color: #2B1B00; }
.hm-tag--combo { background: var(--hm-ink); color: #fff; }

.hm-grid-more { margin-top: 1.6rem; display: flex; justify-content: center; }

/* ---------- Productos y combos (bolsillo cuadrado) ---------- */
.hm-prod .hm-card__window { aspect-ratio: 1 / 1; background: #fff; padding: 1rem; border-bottom: 1px solid var(--hm-line); }
.hm-prod .hm-card__window img { border-radius: .5rem; filter: none; }
.hm-prod__cat { margin: 0; font-size: .76rem; font-weight: 700; color: var(--hm-muted); }
.hm-save { display: inline-flex; padding: .12rem .5rem; border-radius: .4rem; background: #E8F7EE; color: #0B6B34; font-size: .76rem; font-weight: 700; }
.hm-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.hm-cat { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: .7rem; border: 1px solid var(--hm-line); background: var(--hm-surface); font-size: .88rem; font-weight: 600; color: var(--hm-text); transition: border-color .15s, background .15s; }
.hm-cat:hover { color: var(--hm-text); border-color: var(--hm-text); }
.hm-cat--prev { background: var(--hm-gold-soft); border-color: #F0D79A; color: var(--hm-gold-deep); }

/* ============================================================
   WISHLIST (franja oscura con la burbuja de ejemplo)
   ============================================================ */
.hm-wish { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.6rem; background: var(--hm-ink); color: var(--hm-on-dark); padding: clamp(1.6rem, 4vw, 3.25rem); }
.hm-wish::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; height: 190%; background: radial-gradient(closest-side, rgba(201, 1, 1, .5), transparent 72%); }
.hm-wish__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); font-weight: 800; font-stretch: 80%; line-height: 1.05; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.hm-wish__lead { margin: .9rem 0 0; color: var(--hm-on-dark-muted); max-width: 34rem; }
.hm-wish__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.hm-wish__acts a.hm-wish__login { color: var(--hm-on-dark); font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.hm-wish__acts a.hm-wish__login:hover { color: #fff; border-color: #fff; }
.hm-notif { position: relative; max-width: 22.5rem; margin-inline: auto; background: #fff; color: var(--hm-text); border-radius: 1.1rem; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .7); overflow: hidden; transform: rotate(2deg); }
.hm-notif::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hm-red); }
.hm-notif__head { display: flex; align-items: center; gap: .7rem; padding: 1.05rem 1rem .6rem; }
.hm-notif__bell { flex: none; width: 2.35rem; height: 2.35rem; border-radius: 50%; display: grid; place-items: center; background: var(--hm-red); color: #fff; }
.hm-notif__title { margin: 0; font-family: var(--hm-font-display); font-weight: 750; font-stretch: 88%; font-size: 1rem; line-height: 1.2; }
.hm-notif__sub { margin: .1rem 0 0; font-size: .78rem; color: var(--hm-muted); }
.hm-notif__item { display: flex; align-items: center; gap: .8rem; margin: 0 .6rem .7rem; padding: .5rem; border-radius: .8rem; background: var(--hm-paper); }
.hm-notif__thumb { flex: none; width: 2.9rem; aspect-ratio: 5 / 7; display: grid; place-items: center; }
.hm-notif__thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 4.6% / 3.3%; }
.hm-notif__item strong { display: block; font-family: var(--hm-font-display); font-weight: 720; font-stretch: 90%; font-size: .95rem; line-height: 1.2; }
.hm-notif__item span { display: block; font-size: .78rem; color: var(--hm-muted); }
.hm-notif__item b { display: block; margin-top: .15rem; font-family: var(--hm-font-display); font-weight: 800; font-size: .98rem; }
.hm-notif__mail { display: flex; align-items: center; gap: .5rem; margin: 0 1rem .95rem; font-size: .78rem; color: var(--hm-muted); }
.hm-notif__mail i { color: var(--hm-red); }

/* ============================================================
   VENTAJAS · PASOS · FAQ
   ============================================================ */
.hm-hold { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.4rem; background: var(--hm-ink); color: var(--hm-on-dark); height: 100%; }
.hm-hold h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; font-stretch: 82%; line-height: 1.08; color: #fff; }
.hm-hold p { margin: .8rem 0 0; color: var(--hm-on-dark-muted); }
.hm-hold p strong { color: #fff; }
.hm-hold .progress-stacked { height: 2.4rem; margin-top: 1.4rem; border-radius: .7rem; overflow: hidden; background: rgba(255, 255, 255, .08); }
.hm-hold .progress-stacked .progress { --bs-progress-bg: transparent; --bs-progress-border-radius: 0; --bs-progress-height: 100%; height: 100%; }
.hm-hold .progress-bar { font-size: .82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: .4rem; }
.hm-hold .progress-bar.is-seña { background: var(--hm-red); color: #fff; }
.hm-hold .progress-bar.is-abonos { background: rgba(255, 255, 255, .16); color: #fff; }
.hm-hold__scale { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .78rem; color: var(--hm-on-dark-muted); }
.hm-hold a.hm-hold__link { display: inline-block; margin-top: 1.2rem; color: #fff; font-weight: 700; border-bottom: 2px solid var(--hm-red-hot); }
.hm-hold a.hm-hold__link:hover { color: var(--hm-red-hot); }

.hm-perks { list-style: none; margin: 0; padding: 0; }
.hm-perk { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--hm-line); }
.hm-perk:first-child { padding-top: 0; }
.hm-perk:last-child { border-bottom: 0; padding-bottom: 0; }
.hm-perk__icon { flex: none; width: 2.9rem; height: 2.9rem; border-radius: .85rem; display: grid; place-items: center; background: #FBE9E8; color: var(--hm-red); font-size: 1.3rem; }
.hm-perk h3 { font-size: 1.12rem; font-weight: 750; font-stretch: 90%; }
.hm-perk p { margin: .2rem 0 0; color: var(--hm-muted); }

.hm-steps { counter-reset: paso; list-style: none; margin: 0; padding: 0; position: relative; }
.hm-step { position: relative; padding-left: 4rem; padding-bottom: 1.6rem; }
.hm-step:last-child { padding-bottom: 0; }
.hm-step::before { counter-increment: paso; content: counter(paso); position: absolute; left: 0; top: 0; width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--hm-surface); border: 2px solid var(--hm-ink); font-family: var(--hm-font-display); font-weight: 800; font-size: 1.15rem; z-index: 1; }
.hm-step::after { content: ''; position: absolute; left: calc(1.35rem - 1px); top: 2.7rem; bottom: 0; width: 2px; background: var(--hm-line); }
.hm-step:last-child::after { display: none; }
.hm-step h3 { font-size: 1.15rem; font-weight: 760; font-stretch: 90%; padding-top: .2rem; }
.hm-step p { margin: .25rem 0 0; color: var(--hm-muted); }
@media (min-width: 768px) {
    .hm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .hm-step { padding: 3.6rem 0 0; }
    .hm-step::after { left: 3.1rem; right: -1.5rem; top: calc(1.35rem - 1px); bottom: auto; width: auto; height: 2px; }
}

.hm-faq { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--hm-line); --bs-accordion-btn-color: var(--hm-text); --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-color: var(--hm-text); --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(240, 50, 47, .35);
    --bs-accordion-btn-padding-y: 1.1rem; --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.hm-faq .accordion-item { border-width: 0 0 1px; background: transparent; }
.hm-faq .accordion-item:first-child { border-top-width: 1px; }
.hm-faq .accordion-button { font-family: var(--hm-font-display); font-weight: 720; font-stretch: 90%; font-size: 1.12rem; box-shadow: none; }
.hm-faq .accordion-button:not(.collapsed) { color: var(--hm-red); }
.hm-faq .accordion-body { color: var(--hm-muted); padding-top: 0; padding-bottom: 1.2rem; max-width: 60ch; }
.hm-faq .accordion-body strong { color: var(--hm-text); }
.hm-faq .accordion-body ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ============================================================
   OTRAS TIENDAS / CONTACTO
   ============================================================ */
.hm-tile { height: 100%; display: flex; gap: 1.2rem; align-items: center; padding: clamp(1.2rem, 2.5vw, 1.75rem); border-radius: 1.2rem; background: var(--hm-surface); border: 1px solid var(--hm-line); color: var(--hm-text); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.hm-tile:hover { color: var(--hm-text); border-color: var(--hm-text); transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(18, 22, 40, .5); }
.hm-tile__img { flex: none; width: 6.4rem; height: 5.2rem; display: grid; place-items: center; border-radius: 1rem; background: var(--hm-paper); }
.hm-tile__img img { max-width: 88%; max-height: 82%; object-fit: contain; }
.hm-tile__img i { font-size: 2.1rem; color: var(--hm-red); }
.hm-tile h3 { font-size: 1.3rem; font-weight: 780; font-stretch: 85%; }
.hm-tile p { margin: .25rem 0 .6rem; color: var(--hm-muted); }
.hm-tile__go { font-weight: 700; border-bottom: 2px solid var(--hm-red); }
@media (max-width: 575.98px) { .hm-tile { flex-direction: column; align-items: flex-start; } }

/* Móvil: solo se muestran 8 tarjetas por pestaña */
@media (max-width: 767.98px) { .hm-extra { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .hm * { scroll-behavior: auto !important; }
    .hm-card, .hm-game, .hm-game > img, .hm-chip, .hm .btn, a.hm-tile { transition: none !important; }
    .hm-badge-gold .hm-pulse { animation: none; }
}
