.grid-contaner
{
    --grid-item-gap: 20px;
    --grid-item-aspect-ratio: 16/9;
    margin-left: 30px;
    margin-right: 30px;
    width: calc(100% - 2 * 30px);
    height: 100%;
    /*width: calc(80% - 2 * 30px);*/
    max-height: calc(100% - 2 * 30px);
    overflow-y: auto; /* 启用垂直方向的滚动 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--grid-item-gap);
}
.grid-container::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

.grid-item
{
    --grid-item-padding: 0px;
    --grid-item-width: 360px;
    width: calc(var(--grid-item-width) - 2 * var(--grid-item-padding));
    aspect-ratio: var(--grid-item-aspect-ratio) !important;
    margin: 20px;
    border-radius: 10px;
    border: 1px solid var(--theme-color);
    display: flex;
    background-color: rgba(255, 255, 255, 0.8);
    border: rgba(255, 255, 255, 1) 4px solid;
    box-shadow:
        /* 外部阴影，提供层次感 */
        4px 0px 10px 10px rgba(0, 0, 0, 0.3);
    transition: all var(--animation-duration) ease-in-out;
    padding: var(--grid-item-padding);
    background-image: var(--grid-image);
    background-repeat: no-repeat;
    background-size: cover;
}

.grid-item:hover
{
    translate: -10px -10px;
    box-shadow:
        /* 最内层，弱扩散 /
        inset 1px 1px 3px 1px rgba(255, 255, 255, 0.5),
        /* 中间层，中等扩散 /
        inset 3px 3px 8px 3px rgba(255, 255, 255, 0.6),
        /* 最外层，强扩散 /
        inset 7px 7px 15px 5px rgba(255, 255, 255, 0.7),
        /* 外部阴影，提供层次感 */
        9px 5px 15px 15px rgba(0, 0, 0, 0.3);
}

.grid-info
{
    width: calc(100% + 2px);
    height: calc(100% + 0px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--theme-color);
    opacity: 0;
    border-radius: 5px;
    transition: all var(--animation-duration) ease-in-out;
}

.grid-item:hover .grid-info
{
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.grid-title
{
    --strock-width: 2px;
    font-size: 2em;
    font-weight: bolder;
	/*text-shadow: var(--strock-width) 0 white,
                 calc(-1 * var(--strock-width)) 0 white,
                 0 var(--strock-width) white,
                 0 calc(-1 * var(--strock-width)) white,
                 var(--strock-width) var(--strock-width) white,
                 calc(-1 * var(--strock-width)) calc(-1 * var(--strock-width)) white,
                 var(--strock-width) calc(-1 * var(--strock-width)) white,
                 calc(-1 * var(--strock-width)) var(--strock-width) white;*/
}

.grid-description
{
    --strock-width: 1.5px;
    font-size: 1.5em;
    font-weight: bolder;
	/*text-shadow: var(--strock-width) 0 white,
                 calc(-1 * var(--strock-width)) 0 white,
                 0 var(--strock-width) white,
                 0 calc(-1 * var(--strock-width)) white,
                 var(--strock-width) var(--strock-width) white,
                 calc(-1 * var(--strock-width)) calc(-1 * var(--strock-width)) white,
                 var(--strock-width) calc(-1 * var(--strock-width)) white,
                 calc(-1 * var(--strock-width)) var(--strock-width) white;*/
}