/* MGC Bridge: Guest & Member area (pt-*). Self-contained. Navy & gold, Poppins headings, Inter body. */

/* Stops the browser re-adjusting the scroll position when the sticky header changes height (prevents header flicker on short pages). */
html { overflow-anchor: none; }


.pt, .pt-home {
  --navy: #07123a; --navy2: #0f2466; --royal: #1f3f9e;
  --gold: #d9ac3e; --gold2: #f2d27a; --gold-deep: #a97f1c; --gold-soft: #f9f0d5;
  --ink: #0b1536; --mute: #46557a; --line: #dde4f3; --sky: #eef2fb; --paper: #f6f8fd; --red: #c8283c;
  --ease: cubic-bezier(.2,.7,.2,1);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
}
.pt { background: linear-gradient(180deg, #e6edfb 0, #f1f5fd 22rem, #e9eefa 100%); overflow-x: clip; margin-bottom: -4rem; }
.pt *, .pt-home * { box-sizing: border-box; }
.pt h1, .pt h2, .pt h3, .pt-home h2, .pt-home h3 { color: inherit; font-family: Poppins, Inter, system-ui, sans-serif; letter-spacing: -.015em; margin: 0; }
.pt-wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 99px; border: 1.5px solid transparent;
  font: 600 .95rem/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn:focus-visible, .pt-act:focus-visible, .pt-chips button:focus-visible, .pt-switch a:focus-visible, .pt-card a:focus-visible { outline: 3px solid var(--gold2); outline-offset: 2px; }
.pt-btn--gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #231800; box-shadow: 0 10px 24px -12px rgba(217,172,62,.9); }
.pt-btn--gold:hover { box-shadow: 0 16px 30px -12px rgba(217,172,62,1); }
.pt-btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.pt-btn--line:hover { background: rgba(255,255,255,.12); }
.pt-btn--navy { background: var(--navy2); color: #fff; }
.pt-btn--navy:hover { background: var(--navy); }
.pt-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.pt-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(1.5rem, 3vw, 2.2rem) 0 clamp(1.8rem, 3.5vw, 2.6rem);
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(70,110,230,.45), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy2) 70%, var(--royal)); }
.pt-hero--member { background: radial-gradient(60rem 30rem at 85% -10%, rgba(217,172,62,.28), transparent 60%), linear-gradient(135deg, #07123a, #14295f 65%, #1f3f9e); }
.pt-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px; -webkit-mask-image: radial-gradient(75% 110% at 85% 0, #000, transparent 75%); mask-image: radial-gradient(75% 110% at 85% 0, #000, transparent 75%); }
.pt-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.pt-hero .pt-wrap > * { animation: pt-up .7s var(--ease) both; }
.pt-hero .pt-wrap > *:nth-child(2) { animation-delay: .08s; } .pt-hero .pt-wrap > *:nth-child(3) { animation-delay: .16s; }
.pt-hero .pt-wrap > *:nth-child(4) { animation-delay: .24s; } .pt-hero .pt-wrap > *:nth-child(5) { animation-delay: .32s; } .pt-hero .pt-wrap > *:nth-child(6) { animation-delay: .4s; }
.pt-eyebrow { margin: 1rem 0 .45rem; font: 700 .74rem/1 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold2); }
.pt-eyebrow--dark { color: var(--gold-deep); margin-top: 1rem; }
.pt .pt-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.15; font-weight: 700; max-width: 30ch; color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.pt .pt-hero .pt-lede { margin: .7rem 0 0; max-width: 40rem; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.88) !important; }
.pt .pt-hero .pt-eyebrow { color: var(--gold2); }
.pt-grad { color: var(--gold2); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pt-grad { background: linear-gradient(90deg, #ffe9a6, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
}
.pt-hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 0; }

.pt-float { position: absolute; font-size: 7rem; line-height: 1; color: rgba(255,255,255,.045); pointer-events: none; animation: pt-drift 14s ease-in-out infinite; user-select: none; }
.pt-float--a { top: -1rem; right: 6%; } .pt-float--b { top: 40%; right: 22%; font-size: 6rem; animation-delay: -4s; }
.pt-float--c { bottom: -2rem; right: 2%; font-size: 7rem; animation-delay: -8s; } .pt-float--d { top: 12%; left: 52%; font-size: 5rem; animation-delay: -2s; }

/* ---------- Guest | Member switch ---------- */
.pt-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.pt-switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .5rem 1.3rem; border-radius: 99px;
  font: 600 .9rem/1 Inter, sans-serif; color: rgba(255,255,255,.85); text-decoration: none; transition: color .3s; min-width: 7.5rem; }
.pt-switch a.is-on { color: #231800; }
.pt-switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: linear-gradient(135deg, var(--gold2), var(--gold)); transition: transform .45s var(--ease); box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
.pt-switch[data-active="member"] .pt-switch-thumb { transform: translateX(100%); }

/* ---------- Stats ---------- */
.pt-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.1rem 0 0; }
.pt-stats li { min-width: 6.5rem; padding: .55rem .95rem; border-radius: .9rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.pt-stats b { display: block; font: 700 1.35rem/1.1 Poppins, sans-serif; color: var(--gold2); }
.pt-stats span { font-size: .78rem; letter-spacing: .06em; color: rgba(255,255,255,.75); }

/* ---------- Main ---------- */
.pt-main { padding: 1.6rem 0 .5rem; }
.pt-flash { margin: 0 0 1.4rem; padding: .85rem 1.1rem; border-radius: .7rem; background: var(--gold-soft); color: #5a4208; border: 1px solid #ecd9a0; font-weight: 500; }
.pt-tools { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.pt-search { display: flex; align-items: center; gap: .6rem; flex: 1 1 18rem; max-width: 26rem; padding: 0 1rem; background: #fff; border: 1.5px solid var(--line); border-radius: 99px; color: var(--mute); transition: border-color .2s, box-shadow .2s; }
.pt-search:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(31,63,158,.12); }
.pt-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: .8rem 0; font: 500 .95rem Inter, sans-serif; color: var(--ink); min-width: 0; }
.pt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pt-chips button { padding: .5rem 1rem; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--mute); font: 600 .84rem Inter, sans-serif; cursor: pointer; transition: all .2s; }
.pt-chips button:hover { border-color: var(--royal); color: var(--royal); }
.pt-chips button.is-on { background: var(--navy2); border-color: var(--navy2); color: #fff; }
.pt-none, .pt-quiet { color: var(--mute); padding: 1rem 0; }

.pt-sec { margin-bottom: 2rem; }
.pt-sec-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.pt-sec-head h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy2); }
.pt-suit { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy2); color: var(--gold2); font-size: 1.1rem; }
.pt-count { margin-left: auto; padding: .3rem .8rem; border-radius: 99px; background: var(--sky); color: var(--royal); font: 700 .8rem Inter, sans-serif; }

/* ---------- Cards ---------- */
.pt-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); align-items: start; }
.pt-grid > .pt-card:only-child { max-width: 46rem; }
.pt-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #ffffff, #f7f9ff); border: 1px solid #d3ddf2; border-radius: 1.1rem; overflow: hidden;
  box-shadow: 0 14px 30px -24px rgba(7,18,58,.55); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pt-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--royal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 1; }
.pt-card:hover { transform: translateY(-5px); box-shadow: 0 26px 40px -26px rgba(7,18,58,.6); border-color: #c6d3ee; }
.pt-card:hover::before { transform: scaleX(1); }
.pt-card--member { border-color: #ecd9a0; background: linear-gradient(180deg, #fffdf6, #fff 40%); }
.pt-card[hidden] { display: none; }
.pt-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--sky); }
.pt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pt-card:hover .pt-thumb img { transform: scale(1.05); }
.pt-card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.5rem 1.2rem; flex: 1; }
.pt-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pt-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 99px; background: var(--sky); color: var(--royal); font: 700 .7rem/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.pt-lock { padding: .28rem .65rem; border-radius: 99px; background: var(--gold-soft); color: #7a5806; font: 700 .66rem/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.pt-card h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 600; color: var(--navy); }
.pt-card p { margin: 0; font-size: .96rem; line-height: 1.75; color: #2d3b63; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; white-space: pre-line; }
.pt-card-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.pt-card-foot time { font-size: .78rem; color: #7381a3; }
.pt-acts { display: flex; flex-wrap: wrap; gap: .45rem; }
.pt-act { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 99px; border: 1.5px solid var(--line); font: 600 .8rem/1 Inter, sans-serif; color: var(--royal); text-decoration: none; transition: all .2s; }
.pt-act:hover { border-color: var(--royal); background: var(--sky); }
.pt-act small { font-weight: 500; opacity: .75; }
.pt-act--solid { background: var(--navy2); border-color: var(--navy2); color: #fff; }
.pt-act--solid:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Locked teaser + empty ---------- */
.pt-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.8rem; padding: 1.2rem 1.5rem; border-radius: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy2)); border: 1px solid rgba(217,172,62,.5); position: relative; overflow: hidden; }
.pt-locked::after { content: "\2665"; position: absolute; right: -1rem; bottom: -2.2rem; font-size: 9rem; color: rgba(255,255,255,.05); }
.pt-locked-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: rgba(217,172,62,.16); color: var(--gold2); animation: pt-pulse 2.6s ease-in-out infinite; }
.pt-locked > div { flex: 1 1 16rem; }
.pt .pt-locked h2 { font-size: 1.15rem; color: #fff; } .pt-locked p { margin: .35rem 0 0; color: rgba(255,255,255,.78); line-height: 1.55; }
.pt-empty { max-width: 34rem; margin: .5rem auto 0; text-align: center; padding: 2rem 1.5rem; color: var(--mute); border-radius: 1.2rem; border: 1.5px dashed #d6bd7a; background: linear-gradient(180deg, #fffdf6, #fff); box-shadow: 0 16px 30px -26px rgba(7,18,58,.5); }
.pt-empty span { display: block; font-size: 2.4rem; color: var(--gold); margin-bottom: .5rem; }
.pt-empty h2 { font-size: 1.4rem; color: var(--navy2); margin-bottom: .4rem; }

/* ---------- Login ---------- */
.pt--login { position: relative; display: grid; place-items: center; padding: 3.5rem 1rem 6rem;
  background: radial-gradient(50rem 26rem at 80% 0, rgba(70,110,230,.35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy2) 70%, var(--royal)); }
.pt-login { width: min(26rem, 100%); position: relative; z-index: 1; animation: pt-up .7s var(--ease) both; }
.pt-login-card { background: #fff; border-radius: 1.4rem; padding: 2.2rem 2rem 1.8rem; text-align: center; box-shadow: 0 40px 70px -30px rgba(0,0,0,.65); border-top: 4px solid var(--gold); }
.pt-login-badge { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: linear-gradient(135deg, var(--navy2), var(--royal)); color: var(--gold2); border: 2px solid var(--gold); }
.pt-login-card h1 { font-size: 1.8rem; color: var(--navy); }
.pt-login-sub { margin: .5rem 0 1.4rem; color: var(--mute); font-size: .93rem; line-height: 1.55; }
.pt-field { text-align: left; margin-bottom: 1rem; }
.pt-field label { display: block; margin-bottom: .4rem; font: 700 .72rem/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.pt-field input { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: .75rem; font: 500 1rem Inter, sans-serif; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.pt-field input:focus { outline: 0; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(31,63,158,.12); }
.pt-pw { position: relative; }
.pt-pw input { padding-right: 4.6rem; }
.pt-pw button { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--royal); font: 700 .78rem Inter, sans-serif; padding: .45rem .6rem; border-radius: .5rem; cursor: pointer; }
.pt-pw button:hover { background: var(--sky); }
.pt-err { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: .6rem; background: #fdecee; color: #a01c2e; font-size: .88rem; text-align: left; }
.pt-login-foot { margin: 1.3rem 0 0; font-size: .85rem; color: var(--mute); }
.pt-login-foot a { color: var(--royal); font-weight: 600; }

/* ---------- Home page band (Guest / Member) ---------- */
.pt-home { padding: 1.2rem 0 .4rem; }
.pt-home-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.pt-door { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem; border-radius: 1.2rem; text-decoration: none; overflow: hidden; isolation: isolate;
  animation: pt-up .7s var(--ease) both; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pt-door:nth-child(2) { animation-delay: .1s; }
.pt-door:hover { transform: translateY(-4px); }
.pt-door--guest { background: #fff; border: 1.5px solid var(--line); color: var(--ink); box-shadow: 0 18px 34px -26px rgba(7,18,58,.6); }
.pt-door--guest:hover { box-shadow: 0 26px 40px -24px rgba(7,18,58,.65); border-color: #b9c8ea; }
.pt-door--member { background: linear-gradient(135deg, var(--navy), var(--navy2) 70%, var(--royal)); color: #fff; border: 1.5px solid rgba(217,172,62,.55); box-shadow: 0 22px 40px -24px rgba(7,18,58,.8); }
.pt-door--member::after { content: "\2665"; position: absolute; right: -.6rem; bottom: -1.8rem; font-size: 7rem; color: rgba(255,255,255,.06); z-index: -1; transition: transform .6s var(--ease); }
.pt-door--member:hover::after { transform: rotate(-12deg) scale(1.1); }
.pt-door-ico { flex: none; display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; }
.pt-door--guest .pt-door-ico { background: var(--sky); color: var(--royal); }
.pt-door--member .pt-door-ico { background: rgba(217,172,62,.18); color: var(--gold2); border: 1.5px solid rgba(217,172,62,.6); }
.pt-door-txt { flex: 1; min-width: 0; }
.pt-door-txt b { display: block; font: 700 1.2rem/1.2 Poppins, sans-serif; letter-spacing: -.01em; }
.pt-door-txt small { display: block; margin-top: .3rem; font-size: .88rem; line-height: 1.45; opacity: .78; }
.pt-door-go { flex: none; font-size: 1.4rem; transition: transform .3s var(--ease); }
.pt-door:hover .pt-door-go { transform: translateX(5px); }
.pt-door:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Reveal + keyframes ---------- */
.pt-pre { opacity: 0; transform: translateY(16px); }
.pt-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@keyframes pt-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pt-drift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes pt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,172,62,.4); } 50% { box-shadow: 0 0 0 12px rgba(217,172,62,0); } }

@media (max-width: 640px) {
  .pt-float { opacity: .6; } .pt-switch a { padding: .6rem 1.1rem; min-width: 6.5rem; }
  .pt-login-card { padding: 1.8rem 1.3rem 1.5rem; } .pt-tools { flex-direction: column; align-items: stretch; } .pt-search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pt *, .pt-home *, .pt::before { animation: none !important; transition: none !important; }
  .pt-pre { opacity: 1; transform: none; }
}

/* ---------- Running sponsor banner: floating card suits behind the logos ---------- */
.hx-mq { background: linear-gradient(180deg, #f1f5fd 0%, #e7eefb 100%); isolation: isolate; }
.hx-mq .hx-mq-track { position: relative; z-index: 1; }
.hx-mq::before, .hx-mq::after {
  position: absolute; left: 0; z-index: 0; white-space: nowrap; pointer-events: none; line-height: 1;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", serif; will-change: transform;
}
.hx-mq::before {
  content: "\2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665 \2660 \2666 \2663 \2665";
  top: -.5rem; font-size: 4.6rem; word-spacing: 3.2rem; color: rgba(15, 36, 102, .085);
  animation: pt-suits 80s linear infinite;
}
.hx-mq::after {
  content: "\2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660 \2665 \2663 \2666 \2660";
  bottom: -.9rem; font-size: 3rem; word-spacing: 4.4rem; color: rgba(200, 40, 60, .09);
  animation: pt-suits 110s linear infinite reverse;
}
@keyframes pt-suits {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-12.5%, -7px, 0); }
  50%  { transform: translate3d(-25%, 0, 0); }
  75%  { transform: translate3d(-37.5%, 7px, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .hx-mq::before, .hx-mq::after { animation: none !important; } }
