@font-face {
    font-family: 'regularFont';
    src: url("/assets/fonts/HarmonySans/HarmonyOS_Sans_Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'boldFont';
    src: url("/assets/fonts/HarmonySans/HarmonyOS_Sans_Bold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'blackFont';
    src: url("/assets/fonts/HarmonySans/HarmonyOS_Sans_Black.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'regularFont',-apple-system; 
    /* max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    line-height: 1.6;
    color: #333; */
    background-color: #f9f9f9;
}

/* 设计卡片样式 */
.card {
    background-color: white;
    font-family: 'boldFont';
    width: 300px;
    padding: 30px;
    border-radius: 15px;      /* 圆角 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 阴影 */
    text-align: center;
}

.card:hover {
    background-color: #08e8f4;
}

/* 标题颜色 */
h1 {
    color: #333;
}

/* 按钮样式 */
button {
    background-color: #09e0e7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s; /* 动画过渡 */
}

/* 鼠标悬停在按钮上的效果 */
button:hover {
    background-color: #016e92;
}

.footer-beian {
    position: fixed;
    bottom: 0;
    left: 10%;
    transform: translateX(-50%);
    z-index: 9999;
    font-family: sans-serif;
    font-size: 12px;
    color: #6c757d;
}

/* 抽屉容器 */
.beian-drawer {
    position: relative;
    width: 40px; /* 只显示箭头的宽度 */
    height: 40px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

/* 默认只显示箭头按钮 */
.beian-drawer:not(.open) {
    height: 40px;
}

/* 展开时显示完整内容 */
.beian-drawer.open {
    height: 200px; /* 根据内容调整高度 */
    width: 300px; /* 展开后的宽度 */
    background-color: #fff;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

/* 箭头按钮样式 */
.beian-trigger {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
}

.beian-trigger:hover {
    background-color: #08e8f4;
}

/* 箭头图标 */
.beian-trigger::after {
    content: "▲";
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* 展开时箭头旋转 */
.beian-drawer.open .beian-trigger::after {
    transform: rotate(180deg);
}

/* 备案内容区域 */
.beian-content {
    position: absolute;
    bottom: 40px; /* 箭头按钮的高度 */
    left: 0;
    right: 0;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 展开时显示内容 */
.beian-drawer.open .beian-content {
    opacity: 1;
    visibility: visible;
}

/* 备案信息样式 */
.beian-info {
    line-height: 1.6;
}

.beian-info p {
    margin: 5px 0;
    color: #495057;
}

.beian-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.beian-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 备案号样式 */
.beian-number {
    font-weight: bold;
    color: #212529;
    margin-bottom: 8px;
    display: block;
}