#patchnotes {
    position: relative;
    width: 100%;
    padding: 64px;
    z-index: 3;
}

.patchnotes_wrapper {
    max-width: 1488px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.patchnotes_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.patchnotes_card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
    border: 2px solid #FFEFCD;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, #FFEFCD, #E8DECB) border-box;
    overflow: hidden;
    height: 312px;
}

.patchnotes_card_poster {
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    overflow: hidden;
}

.patchnotes_card_poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.patchnotes_card_poster::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 100%;
    height: 110px;
    background: url(../assets/card_clouds.png) bottom / 100% 100% no-repeat;
    pointer-events: none;
}

.patchnotes_card_date {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 1;
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    color: #EDEDED;
    font-size: 14px;
    line-height: 120%;
}

.patchnotes_card_text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 18px 16px;
    background: #ffffff;
}

.patchnotes_card_title {
    color: #191919;
    font-family: "HelveticaNeue-Medium";
    font-size: 28px;
    line-height: 130%;
}

.patchnotes_card_after {
    color: #676767;
    font-family: "HelveticaNeue-Roman";
    font-size: 16px;
    line-height: 120%;
}

.patchnotes_button {
    width: 260px;
    height: 55px;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 100px;
    background: linear-gradient(0deg, #CFCFCF 0%, #EFEFEF 100%);
    overflow: hidden;
}

.patchnotes_inbutton {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'HelveticaNeue-Medium';
    font-size: 16px;
    line-height: 130%;
    border-radius: 100px;
    background: linear-gradient(180deg, #CFCFCF 0%, #EFEFEF 100%);
    z-index: 2;
    cursor: pointer;
}

.patchnotes_inbutton::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 52px;
    background: linear-gradient(0deg, #CFCFCF 0%, #EFEFEF 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.patchnotes_inbutton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../assets/left.webp) left center / 69px 100% no-repeat, url(../assets/right.webp) right center / 69px 100% no-repeat;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.patchnotes_inbutton:hover::before {
    opacity: 1;
}

@media (max-width: 1400px) {
    .patchnotes_card_title {
        font-size: 22px;
    }

    .patchnotes_card_after {
        font-size: 14px;
    }

    .patchnotes_card {
        height: 224px;
    }

    .patchnotes_card_date {
        padding: 4px 8px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.12);
        font-size: 10px;
    }

    .patchnotes_card_poster::after {
        bottom: 68px;
        height: 74px;
    }

    .patchnotes_list {
        gap: 16px;
    }

    .patchnotes_wrapper {
        gap: 16px;
    }
}

@media (max-width: 1090px) {
    .patchnotes_list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .patchnotes_card {
        width: 100%;
        max-width: 440px;
    }

    #patchnotes {
        padding: 80px 24px;
    }
}