/* ============================================================
   PF2026 — Mini-site JCC Pokémon Pocket (/guides/jcc-pokemon-pocket/)
   Gabarit : template-parts/guides/hub-pocket.php · données : inc/pocket-hub.php
   Identité : nuit étoilée violette, reflets holographiques des cartes,
   boosters qui flottent.
   ============================================================ */

.pk { --pk-ink: #17142E; --pk-muted: #5E5A7E; --pk-bg: #F5F3FC; --pk-line: #E3DEF4; --pk-violet: #6B3FD9; --pk-pink: #E24FA8; --pk-cyan: #2EC5E6; --pk-holo: linear-gradient(115deg, #ff9fd6, #ffd56e, #94f2cc, #84bdff, #c8a0ff); background: var(--pk-bg); color: var(--pk-ink); overflow-x: clip; }

.pk-crumbs { background: #120E2E; }
.pk-crumbs .breadcrumb { margin: 0; padding: 10px 0; color: rgba(255, 255, 255, .7); font-size: 13px; background: none; }
.pk-crumbs .breadcrumb a { color: rgba(255, 255, 255, .9); }
.pk-crumbs .breadcrumb-current { color: #fff; }

/* ---------- Héros ---------- */
.pk-hero {
  position: relative; color: #fff; padding: 56px 0 64px; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 14, 46, .96) 0%, rgba(18, 14, 46, .82) 45%, rgba(18, 14, 46, .35) 100%),
    var(--pk-art, none) center 30% / cover no-repeat,
    #120E2E;
}
.pk-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--pk-holo); }
.pk-hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.pk-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.pk-hero__title { margin: 0 0 16px; line-height: .95; font-size: clamp(54px, 8vw, 96px); letter-spacing: -.04em; background: var(--pk-holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pk-hero__title small { display: block; font-size: .3em; letter-spacing: .02em; color: #fff; -webkit-text-fill-color: #fff; margin-bottom: 6px; }
.pk-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 580px; margin: 0 0 20px; }
.pk-chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pk-chips li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.pk-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pk-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .15s ease; }
.pk-btn:hover { transform: translateY(-2px); }
.pk-btn--light { background: #fff; color: var(--pk-violet); }
.pk-btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .5); }

.pk-packs { position: relative; height: 360px; }
.pk-pack { position: absolute; top: 50%; left: 50%; width: 180px; height: auto; border-radius: 10px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); animation: pk-float 4s ease-in-out infinite; }
.pk-pack--1 { transform: translate(-90%, -50%) rotate(-10deg); }
.pk-pack--2 { transform: translate(-10%, -46%) rotate(9deg); animation-delay: -2s; }
.pk-sparkle { position: absolute; color: #FFE58A; font-size: 22px; animation: pk-twinkle 2.4s ease-in-out infinite; }
.pk-sparkle--1 { top: 10%; left: 20%; }
.pk-sparkle--2 { top: 70%; right: 12%; animation-delay: -.8s; font-size: 16px; }
.pk-sparkle--3 { top: 24%; right: 22%; animation-delay: -1.6s; font-size: 28px; }
@keyframes pk-float { 50% { margin-top: -12px; } }
@keyframes pk-twinkle { 50% { opacity: .2; transform: scale(.6); } }

/* ---------- Sous-navigation ---------- */
.pk-nav { position: sticky; top: 66px; z-index: 50; background: rgba(245, 243, 252, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pk-line); }
.pk-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.pk-nav__inner::-webkit-scrollbar { display: none; }
.pk-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--pk-muted); text-decoration: none; }
.pk-nav a:hover { background: #fff; color: var(--pk-violet); }

/* ---------- Sections ---------- */
.pk-sec { padding: 60px 0; scroll-margin-top: 110px; }
.pk-head { max-width: 760px; margin-bottom: 24px; }
.pk-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pk-head__kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pk-pink); margin-bottom: 6px; }
.pk-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.pk-head p { margin: 0; color: var(--pk-muted); font-size: 16px; line-height: 1.6; }
.pk-more { font-weight: 800; color: var(--pk-violet); text-decoration: none; }
.pk-empty { padding: 24px; background: #fff; border-radius: 16px; color: var(--pk-muted); }

/* En ce moment */
.pk-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; margin-bottom: 18px; border-radius: 24px; overflow: hidden; background: #120E2E; color: #fff; text-decoration: none; box-shadow: 0 18px 40px rgba(18, 14, 46, .25); position: relative; }
.pk-feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 3px; background: var(--pk-holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pk-feature img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
.pk-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px 28px; }
.pk-feature__when { align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--pk-pink); }
.pk-feature b { font-size: 26px; line-height: 1.2; }
.pk-feature__body > span:not(.pk-feature__when):not(.pk-feature__more) { color: rgba(255, 255, 255, .85); line-height: 1.6; }
.pk-feature__more { font-weight: 800; color: #FFE58A; }
.pk-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pk-now__item { background: #fff; border-radius: 18px; padding: 18px; border: 1px solid var(--pk-line); }
.pk-now__icon { font-size: 26px; }
.pk-now__when { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--pk-violet); text-transform: uppercase; letter-spacing: .05em; }
.pk-now__item h3 { margin: 4px 0 6px; font-size: 17px; }
.pk-now__item p { margin: 0; font-size: 14px; color: var(--pk-muted); line-height: 1.55; }

/* Règles */
.pk-sec--rules { background: #fff; }
.pk-compare-wrap { overflow-x: auto; margin-bottom: 26px; }
.pk-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--pk-line); border-radius: 18px; overflow: hidden; }
.pk-compare th, .pk-compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--pk-line); vertical-align: top; }
.pk-compare thead th { background: var(--pk-bg); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--pk-muted); }
.pk-compare thead th:last-child { background: linear-gradient(90deg, #F2E9FF, #FFE9F5); color: var(--pk-violet); }
.pk-compare tbody th { font-weight: 800; width: 24%; }
.pk-compare td:last-child { font-weight: 700; color: var(--pk-violet); }
.pk-compare tr:last-child th, .pk-compare tr:last-child td { border-bottom: 0; }
.pk-turn { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk-turn li { display: flex; gap: 12px; padding: 18px; border-radius: 18px; background: var(--pk-bg); }
.pk-turn b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--pk-violet), var(--pk-pink)); }
.pk-turn span { font-size: 14px; line-height: 1.55; color: var(--pk-muted); }
.pk-turn strong { display: block; color: var(--pk-ink); font-size: 16px; margin-bottom: 4px; }
.pk-academy { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; text-decoration: none; color: #fff; background: linear-gradient(120deg, #0E2A6B, #1F57C3); }
.pk-academy__icon { font-size: 34px; }
.pk-academy b { display: block; font-size: 18px; color: #FFCB05; }
.pk-academy span { line-height: 1.5; }
.pk-academy__go { margin-left: auto; font-size: 26px; color: #FFCB05; }

/* Collection */
.pk-collect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk-collect__item { position: relative; overflow: hidden; background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--pk-line); }
.pk-collect__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--pk-holo); }
.pk-collect__item > span { font-size: 28px; }
.pk-collect__item h3 { margin: 8px 0 6px; font-size: 18px; }
.pk-collect__item p { margin: 0; color: var(--pk-muted); line-height: 1.55; font-size: 15px; }

/* Chronologie */
.pk-sec--history { background: #120E2E; color: #fff; }
.pk-sec--history .pk-head h2 { color: #fff; }
.pk-history { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk-history li { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.pk-history b { display: block; font-size: 15px; margin-bottom: 6px; background: var(--pk-holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pk-history span { color: rgba(255, 255, 255, .85); line-height: 1.55; font-size: 15px; }

/* Actus */
.pk-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pk-news__item { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--pk-line); transition: transform .2s ease; }
.pk-news__item:hover { transform: translateY(-3px); }
.pk-news__img { aspect-ratio: 16 / 9; background: #E9E4FA; overflow: hidden; }
.pk-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-news__date { font-size: 12px; color: var(--pk-muted); padding: 12px 14px 0; }
.pk-news__item b { padding: 4px 14px 16px; font-size: 15px; line-height: 1.35; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pk-collect, .pk-news, .pk-history { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pk-hero__inner, .pk-feature { grid-template-columns: minmax(0, 1fr); }
  .pk-packs { height: 260px; }
  .pk-pack { width: 130px; }
  .pk-turn { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pk-sec { padding: 44px 0; }
  .pk-hero { padding: 36px 0 44px; }
  .pk-hero__lead { font-size: 16px; }
  .pk-collect, .pk-news, .pk-history { grid-template-columns: minmax(0, 1fr); }
  .pk-academy { flex-wrap: wrap; }
  .pk-academy__go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pk * { animation: none !important; transition: none !important; }
}
