:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --light-color: #f9f9f9;
    --border-color: #eaeaea;
    --text-color: #333;
    --text-light: #7f8c8d;
}

/* 头部样式 */
.header {
    background: #0a0a0a url('/mb/reps/sea-4839056.jpg') no-repeat center center fixed;
    background-size: cover;
    /* background-color: rgba(255, 255, 255, 0.151); */
   
    color: #fff;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 使用伪元素做波浪下边框 */
.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 120 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20 Q30 0 60 20 T120 20 V40 H0 Z" fill="%23fff"/%3E%3C/svg%3E') repeat-x;
    background-size: 120px 40px;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

/* 信息栏样式 */
.info-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #ecf0f1;
}

.info-item {
    padding: 4px 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

/* 标签样式 */
.tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
    font-size: 0.75rem;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .header {
        padding: 30px 40px;

    }

    .header h1 {
        font-size: 2.2rem;
    }

    .info-bar {
        gap: 15px;
        margin-top: 10px;
        font-size: 0.9rem;

    }

    .info-item {
        padding: 5px 12px;
    }

    .tag {
        padding: 3px 8px;
        margin-right: 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 10px 50px 10px;
        margin-bottom: 40px;

    }

    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .info-bar {
        gap: 8px;
        font-size: 0.8rem;
    }

    .info-item {
        padding: 3px 8px;
    }

    .tag {
        padding: 1px 4px;
        margin-right: 3px;
        font-size: 0.7rem;
    }
}