/* PokerClubGames 2026: base, header, footer, shared components, ads. Uses tokens.css. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --wrap: 1240px;
  --badge-red: #f06aa9;
  --on-pink: #14091f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.pkc {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
}
body.pkc img { max-width: 100%; height: auto; }
/* Zero-extra-specificity resets: they beat the parent theme's element rules (later in the cascade) but lose to any component class. */
:where(body.pkc) a { color: inherit; }
:where(body.pkc) h1, :where(body.pkc) h2, :where(body.pkc) h3, :where(body.pkc) h4, :where(body.pkc) h5, :where(body.pkc) h6 { color: var(--text); }
:where(body.pkc) h1 a, :where(body.pkc) h2 a, :where(body.pkc) h3 a, :where(body.pkc) h4 a, :where(body.pkc) h5 a, :where(body.pkc) h6 a { font: inherit; color: inherit; }
:where(body.pkc) p, :where(body.pkc) li, :where(body.pkc) dd, :where(body.pkc) dt { color: inherit; }
.pkc-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pkc-skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--card); color: var(--text); padding: 10px 16px; border-radius: 8px; transition: transform .2s var(--ease); }
.pkc-skip:focus { top: 12px; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Icons ---------- */
.pkc-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ---------- Buttons ---------- */
.pkc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1.1 var(--font-body); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pkc-btn:active { transform: scale(.97); }
.pkc-btn--cta { background: var(--brand-gradient); color: var(--on-cta); box-shadow: var(--glow-pink); }
.pkc-btn--cta:hover { transform: translateY(-1px); }
.pkc-btn--cta:active { transform: scale(.97); }
.pkc-btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.pkc-btn--ghost:hover { border-color: var(--secondary-text); color: var(--secondary-text); }
.pkc-btn--sm { padding: .5rem .95rem; font-size: .85rem; }
.pkc-btn--block { width: 100%; }
.pkc-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s var(--ease), transform .16s var(--ease); }
.pkc-iconbtn:hover { background: var(--surface); }
.pkc-iconbtn:active { transform: scale(.97); }
.pkc-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--secondary-text); text-decoration: none; }
.pkc-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Badges, meta ---------- */
.pkc-badge { display: inline-block; padding: .18rem .5rem; border-radius: 4px; font: 700 .75rem/1.2 var(--font-label); letter-spacing: .08em; text-transform: uppercase; background: var(--surface); color: var(--text); text-decoration: none; border: 1px solid var(--border); }
.pkc-badge--red { background: var(--badge-red); color: var(--on-pink); border-color: transparent; }
.pkc-badge--gold { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.pkc-18 { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1.5px solid currentColor; font: 700 .72rem/1 var(--font-label); letter-spacing: .04em; }
.pkc-18--lg { min-width: 54px; height: 54px; border-radius: 50%; font-size: 1.15rem; border-width: 2px; flex: none; }
.pkc-meta { margin: 0; color: var(--muted); font-size: .85rem; }
.pkc-eyebrow { margin: 0 0 .5rem; font: 700 .9rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--secondary-text); }
.pkc-h2 { margin: 0; font: 600 clamp(1.7rem, 3.2vw, 2.4rem)/1.15 var(--font-head); letter-spacing: -.01em; }
.pkc-h2 em { font-style: normal; color: var(--accent-text); }
.pkc-h3 { margin: 0 0 .9rem; font: 600 1.35rem/1.25 var(--font-head); }

/* ---------- Disclosure / notes ---------- */
.pkc-disclosure { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .85rem; line-height: 1.5; }
.pkc-disclosure .pkc-i { margin-top: .15em; color: var(--accent-text); }
.pkc-disclosure a { color: var(--secondary-text); font-weight: 600; }
.pkc-disclosure--sm { margin-top: 1rem; font-size: .8rem; padding: .65rem .85rem; }
.pkc-note { display: flex; gap: .55rem; align-items: center; margin: 1.1rem 0 0; color: var(--muted); font-size: .88rem; }

/* ================= HEADER ================= */
.pkc-header { display: contents; }
.pkc-topbar { background: var(--primary); color: #fff; font-size: .8rem; }
.pkc-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.pkc-topbar__msg { margin: 0; display: flex; align-items: center; gap: .6rem; }
.pkc-topbar__links { display: flex; align-items: center; gap: 1.1rem; }
.pkc-topbar a { color: #fff; text-decoration: none; opacity: .92; }
.pkc-topbar a:hover { text-decoration: underline; opacity: 1; }
.pkc-topbar .pkc-iconbtn { color: #fff; width: 32px; height: 32px; }
.pkc-topbar .pkc-iconbtn:hover { background: rgba(255,255,255,.14); }
.pkc-i--sun { display: none; }
html[data-theme="light"] .pkc-i--sun { display: inline; }
html[data-theme="light"] .pkc-i--moon { display: none; }

.pkc-bar { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.pkc-bar::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px; background: var(--brand-gradient); opacity: 0; transition: opacity .25s var(--ease); }
.pkc-header.is-scrolled .pkc-bar::after, .pkc-bar.is-scrolled::after { opacity: .8; }
.pkc-bar__in { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.pkc-logo { display: inline-flex; flex: none; transform-origin: left center; transition: transform .25s var(--ease); }
.pkc-logo img, .pkc-drawer__head img { display: block; width: 142px; height: auto; }
.pkc-drawer__head img { width: 111px; }
.pkc-logo__light { display: none !important; }
html[data-theme="light"] .pkc-logo__dark { display: none !important; }
html[data-theme="light"] .pkc-logo__light { display: block !important; }
.pkc-bar.is-scrolled .pkc-logo { transform: scale(.86); }
.pkc-nav { flex: 1; min-width: 0; height: 100%; }
.pkc-nav__list { display: flex; align-items: stretch; justify-content: center; gap: .15rem; height: 100%; margin: 0; padding: 0; list-style: none; }
.pkc-nav__item { display: flex; align-items: center; }
.pkc-nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 .35rem 0 .75rem; border-radius: 10px 0 0 10px; text-decoration: none; font: 600 .92rem/1 var(--font-body); color: var(--text); transition: color .2s var(--ease), background-color .2s var(--ease); }
.pkc-nav__toggle { display: inline-grid; place-items: center; width: 24px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--muted); border-radius: 0 10px 10px 0; cursor: pointer; }
.pkc-nav__toggle .pkc-i { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.pkc-nav__item:hover .pkc-nav__link, .pkc-nav__item:hover .pkc-nav__toggle, .pkc-nav__item:focus-within .pkc-nav__link, .pkc-nav__item:focus-within .pkc-nav__toggle, .pkc-nav__item.is-open .pkc-nav__link, .pkc-nav__item.is-open .pkc-nav__toggle { background: var(--surface); color: var(--secondary-text); }
.pkc-nav__item.is-current .pkc-nav__link { color: var(--secondary-text); }
.pkc-nav__item:hover .pkc-nav__toggle .pkc-i, .pkc-nav__item.is-open .pkc-nav__toggle .pkc-i { transform: rotate(180deg); }

.pkc-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.pkc-nav__item:hover > .pkc-mega, .pkc-nav__item:focus-within > .pkc-mega, .pkc-nav__item.is-open > .pkc-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pkc-mega__in { display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem; padding-block: 1.6rem 1.8rem; }
.pkc-mega__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; margin-bottom: .7rem; }
.pkc-mega__blurb { margin: 0 0 .8rem; font: 600 1.15rem/1.3 var(--font-head); }
.pkc-mega__links, .pkc-mega__feature ul { list-style: none; margin: 0; padding: 0; }
.pkc-mega__links li a { display: block; padding: .3rem 0; text-decoration: none; color: var(--secondary-text); font-weight: 600; }
.pkc-mega__links li a:hover { text-decoration: underline; }
.pkc-mega__h { margin: 0 0 .5rem; font: 700 .8rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pkc-mega__feature ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1.5rem; }
.pkc-mega__feature a { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: 8px; text-decoration: none; transition: background-color .15s var(--ease); }
.pkc-mega__feature a:hover { background: var(--card); }
.pkc-mega__feature span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .93rem; }
.pkc-mega__feature em { font-style: normal; font: 700 .85rem var(--font-label); color: var(--accent-text); white-space: nowrap; }

.pkc-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.pkc-burger { display: none; }
.pkc-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding-block: 1rem; box-shadow: 0 24px 40px rgba(0,0,0,.28); }
.pkc-search[hidden] { display: none; }
.pkc-search__form { display: grid; grid-template-columns: 1fr 230px auto; gap: .6rem; }
.pkc-search input, .pkc-search select { height: 46px; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); font: inherit; width: 100%; }

/* ---------- Drawer + tab bar (mobile) ---------- */
.pkc-drawer[hidden] { display: none; }
.pkc-drawer { position: fixed; inset: 0; z-index: 300; }
.pkc-drawer__scrim { position: absolute; inset: 0; background: rgba(5,3,10,.6); }
.pkc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg); border-left: 1px solid var(--border); padding: 1rem 1.1rem 5rem; overflow: auto; animation: pkc-drawer-in .22s var(--ease) both; }
@keyframes pkc-drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pkc-drawer__head > .pkc-logo, .pkc-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.pkc-drawer__aud { width: 100%; margin-bottom: 1rem; }
.pkc-acc { border-top: 1px solid var(--border); }
.pkc-acc summary { display: flex; align-items: center; gap: .7rem; padding: .95rem .2rem; cursor: pointer; font-weight: 600; list-style: none; }
.pkc-acc summary::-webkit-details-marker { display: none; }
.pkc-acc__chev { margin-left: auto; transition: transform .2s var(--ease); }
.pkc-acc[open] .pkc-acc__chev { transform: rotate(180deg); }
.pkc-acc ul { list-style: none; margin: 0 0 .8rem; padding: 0 0 0 2rem; }
.pkc-acc li a { display: block; padding: .4rem 0; text-decoration: none; color: var(--muted); }
.pkc-acc li:first-child a { color: var(--secondary-text); font-weight: 600; }

.pkc-tabbar { display: none; }

/* ================= FOOTER ================= */
.pkc-rg { margin-top: 4rem; background: var(--surface); border-block: 1px solid var(--border); }
.pkc-rg__in { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.6rem; }
.pkc-rg__text { flex: 1; min-width: 0; color: var(--muted); font-size: .9rem; }
.pkc-rg__text p { margin: 0; }
.pkc-rg__h { color: var(--text); font: 600 1.15rem/1.3 var(--font-head); margin-bottom: .25rem !important; }
.pkc-rg__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; max-width: 440px; }
.pkc-rg__links a { display: inline-flex; flex-direction: column; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .85rem; background: var(--card); line-height: 1.2; }
.pkc-rg__links a:hover { border-color: var(--secondary-text); }
.pkc-rg__links small { color: var(--muted); font-weight: 500; font-size: .7rem; }

.pkc-footer { background: var(--bg); padding-top: 3rem; }
.pkc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 2rem; }
.pkc-footer__brand p { color: var(--muted); max-width: 32ch; margin: 1rem 0; }
.pkc-footer__h { margin: 0 0 .8rem; font: 700 .85rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pkc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.pkc-footer__col a { display: block; padding: .28rem 0; text-decoration: none; color: var(--text); }
.pkc-footer__col a:hover { color: var(--secondary-text); }
.pkc-footer__cta { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem; }
.pkc-footer__cta p:not(.pkc-footer__h) { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.pkc-social { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.pkc-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; transition: transform .16s var(--ease), border-color .2s var(--ease); }
.pkc-social a:hover { border-color: var(--secondary-text); transform: translateY(-2px); }
.pkc-footer__bar { margin-top: 2rem; border-top: 1px solid var(--border); }
.pkc-footer__bar-in { display: flex; justify-content: space-between; align-items: center; padding-block: 1.1rem; color: var(--muted); font-size: .85rem; }
.pkc-footer__bar p { margin: 0; }
.pkc-footer__suits { display: flex; gap: .5rem; opacity: .55; }

/* ---------- Page loader (suit spinner, shown only for slow navigations) ---------- */
.pkc-loader { position: fixed; right: 16px; bottom: 80px; z-index: 400; display: flex; gap: 6px; padding: 10px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.pkc-loader.is-on { opacity: 1; transform: none; }
.pkc-loader .pkc-i { width: 16px; height: 16px; animation: pkc-suit 1s var(--ease) infinite; }
.pkc-loader__s2 { animation-delay: .12s !important; color: var(--danger); }
.pkc-loader__s3 { animation-delay: .24s !important; }
.pkc-loader__s4 { animation-delay: .36s !important; color: var(--danger); }
@keyframes pkc-suit { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

/* ---------- Page transition (progressive enhancement) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pkc-vt-out .14s var(--ease) both; }
::view-transition-new(root) { animation: pkc-vt-in .22s var(--ease) both; }
@keyframes pkc-vt-out { to { opacity: 0; } }
@keyframes pkc-vt-in { from { opacity: 0; } }


/* ---------- Responsive: header ---------- */
@media (max-width: 1180px) {
  .pkc-nav, .pkc-actions__audience { display: none; }
  .pkc-burger { display: inline-grid; }
  .pkc-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .pkc-footer__brand { grid-column: 1 / -1; }
  .pkc-footer__cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .pkc-logo img { width: 120px; }
  .pkc-topbar__links a { display: none; }
  .pkc-search__form { grid-template-columns: 1fr; }
  .pkc-rg__in { flex-direction: column; align-items: flex-start; }
  .pkc-rg__links { max-width: none; }
  .pkc-footer__grid { grid-template-columns: 1fr 1fr; }
  body.pkc { padding-bottom: 64px; }
  .pkc-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: 64px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  .pkc-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--muted); }
  .pkc-tabbar a .pkc-i { width: 22px; height: 22px; }
  .pkc-tabbar a.is-on { color: var(--secondary-text); }
  .pkc-loader { bottom: 76px; }
}
@media (max-width: 560px) {
  .pkc-wrap { padding-inline: 16px; }
  .pkc-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Parent-theme bridge: keep un-redesigned templates readable on the new background ---------- */
body.pkc .space-box, body.pkc .space-page-section { background: transparent; }
body.pkc .space-title-box { background: var(--surface); border-bottom: 1px solid var(--border); }
body.pkc .space-title-box h1, body.pkc .space-title-box-h1 h1 { color: var(--text); font-family: var(--font-head); }
body.pkc .space-page-content, body.pkc .space-page-content p, body.pkc .space-page-content li { color: var(--text); }
body.pkc .space-page-content a { color: var(--secondary-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* ================= Header redesign: richer top bar, immersive mega menu with posters ================= */
.pkc-topbar { background: linear-gradient(90deg, #3a1766 0%, #5a2394 55%, #7a2b9e 100%); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pkc-topbar .pkc-18 { background: rgba(255, 255, 255, .12); }

.pkc-mega {
  --m-ink: #f5f1fa; --m-muted: #cfc4e6;
  color: var(--m-ink);
  background:
    radial-gradient(520px 260px at 8% 0%, rgba(232, 67, 147, .28), transparent 70%),
    radial-gradient(640px 320px at 95% 100%, rgba(124, 108, 240, .28), transparent 70%),
    linear-gradient(135deg, #160a2c 0%, #24104a 55%, #351662 100%);
  border-bottom: 0; box-shadow: 0 28px 50px rgba(5, 2, 14, .55);
  overflow: hidden;
}
.pkc-mega::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #e84393, #f0c75a, #7c6cf0); }
.pkc-mega::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.pkc-mega__in { position: relative; z-index: 1; grid-template-columns: 340px 1fr; gap: 2rem; padding-block: 1.7rem 1.9rem; }
.pkc-mega__intro { padding: 1.2rem 1.2rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pkc-mega__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-gradient); color: #fff; box-shadow: 0 10px 24px rgba(232, 67, 147, .4); }
.pkc-mega__icon .pkc-i { width: 24px; height: 24px; }
.pkc-mega__blurb { color: var(--m-ink); font-size: 1.25rem; }
.pkc-mega__links { display: flex; flex-wrap: wrap; gap: .45rem; }
.pkc-mega__links li a { display: inline-flex; padding: .38rem .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: var(--m-ink); font-weight: 600; font-size: .86rem; text-decoration: none; transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .16s var(--ease); }
.pkc-mega__links li a:hover { background: var(--brand-gradient); border-color: transparent; color: #fff; text-decoration: none; }
.pkc-mega__links li a:active { transform: scale(.97); }
.pkc-mega__h { display: flex; align-items: center; gap: .7rem; margin: 0 0 .8rem; color: #f48bbf; }
.pkc-mega__h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(244, 139, 191, .5), transparent); }
.pkc-mega__feature ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.pkc-mega__feature a { align-items: center; gap: .8rem; margin: 0; padding: .55rem .7rem .55rem .55rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--m-ink); transition: background-color .18s var(--ease), border-color .18s var(--ease), translate .18s var(--ease); }
.pkc-mega__feature a:hover { background: rgba(255, 255, 255, .11); border-color: rgba(244, 139, 191, .55); translate: 0 -2px; }
.pkc-mega__t { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.pkc-mega__feature em { margin-left: auto; padding: .15rem .55rem; border-radius: 99px; background: rgba(240, 199, 90, .14); color: #f0c75a; font: 700 .85rem var(--font-label); }

/* Small poster beside each item */
.pkc-poster { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #4a1d8c, #2a1250); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.pkc-poster img { width: 100%; height: 100%; object-fit: cover; display: block; font-size: 0; color: transparent; }
.pkc-poster--contain { background: #fff; }
.pkc-poster--contain img { object-fit: contain; padding: 4px; }
.pkc-poster--icon { color: #f48bbf; background: linear-gradient(135deg, #3b1a70, #5b2290); }
.pkc-poster--icon .pkc-i { width: 22px; height: 22px; }

/* Items rise in when a panel opens (transform + opacity only) */
.pkc-mega__intro, .pkc-mega__feature li { opacity: 0; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.pkc-nav__item:hover > .pkc-mega .pkc-mega__intro, .pkc-nav__item:focus-within > .pkc-mega .pkc-mega__intro, .pkc-nav__item.is-open > .pkc-mega .pkc-mega__intro,
.pkc-nav__item:hover > .pkc-mega li, .pkc-nav__item:focus-within > .pkc-mega li, .pkc-nav__item.is-open > .pkc-mega li { opacity: 1; transform: none; }
.pkc-mega__feature li:nth-child(1) { transition-delay: .04s; } .pkc-mega__feature li:nth-child(2) { transition-delay: .08s; }
.pkc-mega__feature li:nth-child(3) { transition-delay: .12s; } .pkc-mega__feature li:nth-child(4) { transition-delay: .16s; }
.pkc-mega__feature li:nth-child(5) { transition-delay: .2s; } .pkc-mega__feature li:nth-child(6) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .pkc-mega__intro, .pkc-mega__feature li { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .pkc-mega { display: none; } }
.pkc-mega__feature a span.pkc-poster { display: grid; -webkit-line-clamp: unset; overflow: hidden; }
.pkc-mega__feature a span.pkc-poster--icon .pkc-i { margin: auto; }
