.portfolio-container-0a00d670 {
    position: relative;
    width: 100%;
}

.portfolio-grid-0a00d670 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

.pg-item-0a00d670 {
    position: relative;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pg-item-0a00d670.pg-visible-0a00d670 {
    opacity: 1;
    transform: translateY(0);
}

.pg-item-inner-0a00d670 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    height: 100%;
    min-height: 250px;
}

.pg-img-wrap-0a00d670 {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.pg-img-wrap-0a00d670 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pg-item-0a00d670:hover .pg-img-wrap-0a00d670 img {
    transform: scale(1.05);
}

.pg-item-overlay-0a00d670 {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pg-item-0a00d670:hover .pg-item-overlay-0a00d670 {
    opacity: 1;
}

.pg-item-content-0a00d670 {
    transform: translateY(20px) translateZ(30px);
    transition: transform 0.3s ease;
}

.pg-item-0a00d670:hover .pg-item-content-0a00d670 {
    transform: translateY(0) translateZ(50px);
}

.pg-cat-0a00d670 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0.7;
    margin-bottom: 5px;
    display: block;
}

.pg-title-0a00d670 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.pg-ripple-0a00d670 {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: pg-ripple-anim-0a00d670 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes pg-ripple-anim-0a00d670 {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.pg-cursor-0a00d670 {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    pointer-events: none;
    mix-blend-mode: normal;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-radius 0.3s;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-container-0a00d670:hover .pg-cursor-0a00d670 {
    opacity: 1;
}

.pg-cursor-text-0a00d670 {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
}

.pg-cursor-0a00d670.hover-active-0a00d670 .pg-cursor-text-0a00d670 {
    opacity: 1;
}

@media (max-width: 1024px) {
    .portfolio-grid-0a00d670 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .portfolio-grid-0a00d670 { grid-template-columns: 1fr; }
    .pg-item-overlay-0a00d670 { opacity: 1; }
    .pg-item-content-0a00d670 { transform: translateY(0); }
    .pg-cursor-0a00d670 { display: none; }
}