@keyframes gradientBGSea {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* 模态窗口遮罩 */
.modal-overlaySea {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 100, 100, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlaySea.activeSea {
    opacity: 1;
    visibility: visible;
}

/* 模态窗口 */
.modal-windowSea {
    background-color: white;
    width: 70%;
    height: 70%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modal-overlaySea.activeSea .modal-windowSea {
    transform: scale(1);
    opacity: 1;
}

/* 模态头部 */
.modal-headerSea {
    padding: 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-titleSea {
    padding-left: 5px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.close-buttonSea {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-buttonSea:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

/* 模态内容 */
.modal-contentSea {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-windowSea {
        width: 85%;
        height: 85%;
    }

    .control-buttonSea {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* .search-bar {
    height: 80px;
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-bar-type {
    height: 90%;
    width: 100%;
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #3a7bd5;
}

.search-bar-type:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #00d2ff;
} */

.search-bar {
    padding: 10px 20px 0px 20px;
}

.search-bar-type {
    display: flex;
    gap: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #3a7bd5;
}

.search-bar-type:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-left-color: #00d2ff;
}

.search-bar-type select {
    flex: 1;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #3a7bd5;
    padding: 0 15px;
    font-size: 1rem;
    background: white;
    color: #333;
    outline: none;
}

.search-bar-type input {
    flex: 3;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #3a7bd5;
    padding: 0 20px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar-type input:focus {
    border-color: #00d2ff;
}

.search-bar-type button {
    height: 50px;
    padding: 0 30px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(58, 123, 213, 0.3);
}

.search-bar-type button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(58, 123, 213, 0.4);
}

.search-bar-type button:active {
    transform: translateY(1px);
}

/* 宫格布局 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
    height: 220px;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.grid-item-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 3px solid #3a7bd5;
}

.grid-item-name {
    padding: 12px;

    width: auto;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 18px;
}

.grid-item-name.marquee {
    animation: marquee 8s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-130%);
    }
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2rem;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ccc;
}

/* 响应式设计 - 搜索栏和宫格部分 */
@media (max-width: 768px) {
    .search-bar-type {
        flex-direction: column;
        gap: 10px;
    }

    .search-bar-type select,
    .search-bar-type input,
    .search-bar-type button {
        height: 30px;
        width: 100%;
        flex: none;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .grid-item {
        height: 200px;
    }

    .grid-item-img {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .grid-item {
        height: 180px;
    }

    .grid-item-img {
        height: 110px;
    }
}