/* Partners page: same dark editorial look as the home page - hairlines, Archivo expanded headings, mono labels, red
   only where you can click. Every picture is filled edge to edge (object-fit: cover), never letterboxed. */
.pt { --p-bg: #0b0b0c; --p-line: #1f1f22; --p-line-2: #2c2c31; --p-mute: #8a8a92; --p-soft: #b8b8be; --lucky: #f6b81c; background: var(--p-bg); }
.pt .bg-glow { display: none; }
.pt .nav:not(.scrolled) { background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }
.pt h1, .pt h2 { font-family: Archivo, var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.pt-wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.pt-label { display: inline-block; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--p-mute); }
.pt-lead { margin: 22px 0 0; max-width: 560px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: var(--p-soft); }
.pt-lead b { color: #fff; }
.pt-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pt-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--p-line-2); border-radius: 3px; color: #f2f1ee; font-weight: 600; font-size: 15px; text-decoration: none; background: rgba(11, 11, 12, .5); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.pt-btn:hover { border-color: #5a5a62; color: #fff; }
.pt-btn:active { transform: scale(.98); }
.pt-btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.pt-btn-red:hover { background: #f0353d; border-color: #f0353d; }
.pt-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---- Hero ---- */
.pt-hero { position: relative; min-height: min(86svh, 820px); margin-top: -72px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.pt-hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--p-bg); }
.pt-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: pt-settle 1.8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pt-settle { from { transform: scale(1.08); filter: brightness(.5); } to { transform: scale(1); filter: none; } }
.pt-hero-shade { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(90deg, rgba(8, 8, 9, .9) 0%, rgba(8, 8, 9, .6) 38%, rgba(8, 8, 9, .05) 70%),
	linear-gradient(0deg, var(--p-bg) 0%, rgba(11, 11, 12, 0) 34%); }
.pt-hero-copy { padding: 150px 0 70px; }
.pt-hero h1 { margin: 18px 0 0; font-size: clamp(44px, 7vw, 104px); line-height: .92; font-weight: 800; }

/* ---- Sections ---- */
.pt-sec { padding: clamp(70px, 9vw, 120px) 0 0; }
.pt-hero + .pt-sec { padding-top: clamp(20px, 3vw, 40px); }
.pt-last { padding-bottom: 0; }
.pt-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.pt-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; white-space: nowrap; }
.pt-rule { flex: 1; height: 1px; background: var(--p-line); }
.pt-note { font: 500 12px var(--mono); color: var(--p-mute); white-space: nowrap; }

/* ---- Featured: LuckySMP ---- */
.lucky { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--p-line); border-radius: 6px; overflow: hidden; background: #101012; }
.lucky-art { position: relative; min-height: 460px; overflow: hidden; background: #e8a20f; }
/* The logo picture whole in the middle, the same picture blurred and zoomed behind it fills the rest - no bars. */
.lucky-fill { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.85); }
.lucky-bg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%) scale(1.02); transition: transform 1.2s var(--ease);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.lucky:hover .lucky-bg { transform: translateY(-50%) scale(1.06); }
.lucky-block { position: absolute; right: 6%; bottom: 7%; width: clamp(90px, 13vw, 150px); height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); animation: pt-bob 3.6s ease-in-out infinite; }
@keyframes pt-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.lucky-copy { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.lucky-name { display: flex; align-items: center; gap: 14px; }
.lucky-name img { width: 56px; height: 56px; border-radius: 12px; }
.lucky-name h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1; }
.lucky-sub { display: block; margin-top: 6px; font: 500 12.5px var(--mono); color: var(--lucky); }
.lucky-copy > p { margin: 0; color: var(--p-soft); line-height: 1.65; }
.lucky-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.lucky-facts div { padding: 12px 0; }
.lucky-facts div + div { padding-left: 14px; border-left: 1px solid var(--p-line); }
.lucky-facts dt { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-mute); }
.lucky-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.lucky-facts dd.on::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--good); vertical-align: 2px; box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); }
.lucky .pt-cta { margin-top: auto; }

.pt-ip, .pt-code { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--p-line-2); border-radius: 4px; background: #0c0c0e; }
.pt-ip-label { display: block; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-mute); }
.pt-ip code { flex: 1; padding: 0; background: none; font: 700 17px var(--mono); color: #fff; }
.pt-copy { min-height: 34px; padding: 0 14px; border: 1px solid var(--p-line-2); border-radius: 3px; background: transparent; color: var(--p-soft); font: 600 13px Inter, sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.pt-copy:hover { color: #fff; border-color: #5a5a62; }
.pt-copy.done { color: #8fe3b6; border-color: rgba(47, 191, 113, .5); }
.pt-code { border-style: dashed; border-color: rgba(246, 184, 28, .5); background: rgba(246, 184, 28, .05); }
.pt-code[hidden] { display: none; }
.pt-code > div { flex: 1; display: grid; gap: 2px; }
.pt-code b { font: 800 18px var(--mono); letter-spacing: .06em; color: var(--lucky); }
.pt-code > div > span:last-child { font-size: 13px; color: var(--p-soft); }

/* Gallery: every tile crops to the same shape, so no picture ever shows a border. */
.pt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pt-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: #101012; aspect-ratio: 800 / 428; }
.pt-gallery .g-wide { grid-column: span 2; aspect-ratio: auto; }
.pt-gallery button { all: unset; display: block; position: absolute; inset: 0; cursor: zoom-in; }
.pt-gallery button:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.pt-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.pt-gallery figure:hover img { transform: scale(1.05); }
.pt-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; pointer-events: none; background: linear-gradient(0deg, rgba(5, 5, 6, .88), rgba(5, 5, 6, 0)); font-size: 13.5px; color: var(--p-soft); }
.pt-gallery figcaption b { display: block; font: 700 17px Archivo, sans-serif; font-stretch: 112%; color: #fff; }

/* ---- All partners ---- */
.pt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.pt-card { --a: var(--red); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--p-line); border-radius: 6px; overflow: hidden;
	background: linear-gradient(135deg, color-mix(in srgb, var(--a) 16%, transparent), transparent 55%), #101012; transition: border-color .25s, transform .25s var(--ease); }
.pt-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--a); }
.pt-card:hover { border-color: color-mix(in srgb, var(--a) 45%, var(--p-line)); transform: translateY(-3px); }
.pt-card-top { display: flex; align-items: center; gap: 14px; }
.pt-card-icon { flex: none; width: 60px; height: 60px; border-radius: 14px; object-fit: cover; background: color-mix(in srgb, var(--a) 20%, #16161a); border: 1px solid color-mix(in srgb, var(--a) 35%, transparent); display: grid; place-items: center; font: 800 24px Archivo, sans-serif; color: var(--a); }
.pt-card h3 { margin: 0; font: 800 20px Archivo, sans-serif; font-stretch: 112%; }
.pt-card-live { display: flex; align-items: center; gap: 7px; margin-top: 4px; font: 600 12.5px var(--mono); color: var(--p-mute); }
.pt-card-live i { width: 7px; height: 7px; border-radius: 50%; background: #55555d; }
.pt-card-live.on { color: #8fe3b6; }
.pt-card-live.on i { background: var(--good); box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); }
.pt-card p { margin: 0; color: var(--p-soft); font-size: 14.5px; line-height: 1.55; }
.pt-card .pt-ip { margin-top: auto; padding: 6px 6px 6px 12px; }
.pt-card .pt-ip code { font-size: 14.5px; }
.pt-card-code { align-self: flex-start; padding: 4px 10px; border: 1px dashed color-mix(in srgb, var(--a) 60%, transparent); border-radius: 4px; font: 700 12.5px var(--mono); color: color-mix(in srgb, var(--a) 70%, #fff); text-decoration: none; }
.pt-card-code:hover { color: #fff; }

/* ---- Codes ---- */
.pt-codes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.pt-codes h2 { margin-top: 16px; font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; line-height: .98; }
.pt-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--p-line); }
.pt-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; padding: 22px 0; border-bottom: 1px solid var(--p-line); }
.pt-steps li::before { content: "0" counter(s); grid-row: span 2; font: 600 13px var(--mono); color: var(--red-soft); padding-top: 3px; }
.pt-steps b { font: 700 19px Archivo, sans-serif; font-stretch: 112%; }
.pt-steps span { color: var(--p-soft); }

/* ---- Join ---- */
.pt-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--p-line); border-radius: 6px; background: #101012; }
.pt-join h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; }
.pt-join p { margin: 10px 0 0; max-width: 640px; color: var(--p-soft); }

/* ---- Screenshot zoom ---- */
.pt-zoom { padding: 0; border: 0; background: transparent; max-width: min(1400px, 96vw); max-height: 94vh; overflow: visible; color: var(--p-soft); }
.pt-zoom::backdrop { background: rgba(5, 5, 6, .9); backdrop-filter: blur(6px); }
.pt-zoom img { display: block; max-width: 100%; max-height: 84vh; width: auto; height: auto; border-radius: 4px; }
.pt-zoom p { margin: 12px 0 0; text-align: center; }
.pt-zoom-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 1px solid var(--p-line-2); border-radius: 3px; background: #101012; color: #fff; cursor: pointer; }
.pt-zoom[open] { animation: pt-pop .3s var(--ease); }
@keyframes pt-pop { from { opacity: 0; transform: scale(.96); } }

@media (max-width: 960px) {
	.lucky { grid-template-columns: 1fr; }
	.lucky-art { min-height: 0; aspect-ratio: 16 / 9; }
	.lucky-block { display: none; }
	.pt-hero-shade { background: linear-gradient(0deg, var(--p-bg) 0%, rgba(8, 8, 9, .82) 45%, rgba(8, 8, 9, .45) 100%); }
	.pt-codes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.pt-gallery { grid-template-columns: 1fr 1fr; }
	.pt-gallery .g-wide, .pt-gallery figure:last-child { grid-column: span 2; aspect-ratio: 800 / 428; }
	.lucky-facts { grid-template-columns: 1fr 1fr; }
	.lucky-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
	.lucky-facts div:nth-child(n + 3) { border-top: 1px solid var(--p-line); }
	.pt-head h2 { white-space: normal; }
	.pt-note { display: none; }
}
@media (max-width: 460px) { .pt-gallery { grid-template-columns: 1fr; } .pt-gallery .g-wide, .pt-gallery figure:last-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .lucky-block, .pt-hero-bg img { animation: none; } }
