@font-face {
    font-family: 'Purista TRIAL';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/PuristaTRIAL-SemiBold-BF676e1286adaff.otf') format('opentype');
}

html, body {
    height: auto;
    min-height: 100%;
}

body {
    background: #121214;
    overflow-x: hidden;
    overflow-y: auto;
}

.pf-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #121214;
    overflow: hidden;
}

.pf-glows {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.pf-glow {
    position: absolute;
    width: 691px;
    height: 474px;
    background: rgba(8, 45, 81, 0.54);
    filter: blur(223.1px);
    transform: rotate(-29.38deg);
}

.pf-glow--left {
    left: -280px;
    top: 354px;
}

.pf-glow--right {
    right: -280px;
    top: 0;
}

.pf-header {
    position: relative;
    z-index: 5;
}

.pf-main {
    position: relative;
    z-index: 2;
    max-width: 1645px;
    margin: 0 auto;
    padding: 128px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 65px;
}

.pf-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.pf-heading-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    font-family: 'Purista TRIAL';
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    letter-spacing: -0.085em;
    color: #FFFFFF;
    border-bottom: 1px solid #146CFF;
}

.pf-heading-sub {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.085em;
    color: rgba(255, 255, 255, 0.75);
}

.pf-card {
    box-sizing: border-box;
    background:
        radial-gradient(51.32% 51.32% at 3.75% 98.84%, rgba(20, 108, 255, 0.118) 0%, rgba(24, 24, 26, 0) 100%),
        radial-gradient(45.79% 44.66% at 100% 0%, rgba(20, 108, 255, 0.118) 0%, rgba(24, 24, 26, 0) 100%),
        #18181A;
    box-shadow: 0px 42px 25px rgba(0, 0, 0, 0.05), 0px 5px 10px rgba(0, 0, 0, 0.1), inset 0px 0px 12px 4px rgba(255, 255, 255, 0.015);
    border-radius: 40px;
}

.pf-card-inner {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    overflow: hidden;
}

.pf-shot {
    display: block;
    object-fit: contain;
    user-select: none;
}

.pf-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.pf-carousel .pf-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 593px;
    height: 361px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity, filter;
}

.pf-carousel .pf-card-inner {
    align-items: flex-start;
    padding: 16px 28px;
}

.pf-carousel .pf-shot {
    width: 100%;
    height: 317px;
    border-radius: 16px;
}

.pf-carousel .pf-card.is-center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: none;
    z-index: 3;
}

.pf-carousel .pf-card.is-left {
    transform: translate(calc(-50% - 360px), -50%) scale(0.92);
    opacity: 0.6;
    filter: blur(6.2px);
    z-index: 2;
}

.pf-carousel .pf-card.is-right {
    transform: translate(calc(-50% + 360px), -50%) scale(0.92);
    opacity: 0.6;
    filter: blur(6.2px);
    z-index: 2;
}

.pf-carousel .pf-card.is-hidden {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    filter: blur(6.2px);
    z-index: 1;
    pointer-events: none;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 515px);
    justify-content: center;
    gap: 25px 50px;
    width: 100%;
}

.pf-grid .pf-card {
    position: relative;
    width: 515px;
    height: 314px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.pf-grid .pf-card-inner {
    align-items: center;
    padding: 36px 46px;
}

.pf-grid .pf-shot {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.pf-grid .pf-card:hover {
    transform: translateY(-4px);
    filter: brightness(1.05);
    box-shadow: 0px 42px 30px rgba(0, 0, 0, 0.25), 0px 5px 10px rgba(0, 0, 0, 0.1), inset 0px 0px 12px 4px rgba(255, 255, 255, 0.03);
}

.pf-reveal {
    opacity: 0;
    transform: translateY(26px);
}

.pf-reveal.pf-reveal-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.pf-sentinel {
    width: 100%;
    height: 1px;
}

.pf-empty {
    grid-column: 1 / -1;
    font-family: 'Inter';
    font-size: 16px;
    letter-spacing: -0.085em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 40px 0;
}

.pf-page .footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 1684px;
    margin: 200px auto 70px;
    z-index: 2;
}

.pf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 6, 8, 0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.pf-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.pf-lb-stage {
    position: relative;
    width: 90vw;
    height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.pf-lb-img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 10px;
    cursor: zoom-in;
    transform-origin: center center;
    transition: transform 0.12s ease-out;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    transform: scale(0.94);
}

.pf-lightbox.is-open .pf-lb-img {
    transform: scale(1);
}

.pf-lb-img.is-zoomed {
    cursor: grab;
}

.pf-lb-img.is-grabbing {
    cursor: grabbing;
    transition: none;
}

.pf-lb-btn {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    font-family: 'Inter';
    line-height: 1;
}

.pf-lb-btn:hover {
    background: rgba(37, 98, 201, 0.35);
    border-color: rgba(84, 147, 255, 0.6);
}

.pf-lb-nav {
    top: 50%;
    width: 58px;
    height: 58px;
    margin-top: -29px;
    font-size: 30px;
    padding-bottom: 4px;
}

.pf-lb-prev { left: 32px; }
.pf-lb-next { right: 32px; }

.pf-lb-nav:hover { transform: scale(1.06); }

.pf-lb-close {
    top: 26px;
    right: 32px;
    width: 46px;
    height: 46px;
    font-size: 26px;
    padding-bottom: 3px;
}

.pf-lb-counter {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    user-select: none;
}

@media (max-width: 640px) {
    .pf-lb-prev { left: 12px; }
    .pf-lb-next { right: 12px; }
    .pf-lb-nav { width: 46px; height: 46px; margin-top: -23px; font-size: 24px; }
}
