/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #00a884;
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    position: relative;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.page-wrapper {
    width: 100%;
    margin: 0 15px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* 修改定位方式 */
}

/* 网站标题 */
.site-title {
    color: white;
    font-size: 28px;
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 主容器 */
.main-container {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* 收藏提示 */
.bookmark-tip {
    background-color: #00a884;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* 地址卡片区域 */
.address-section {
    display: flex;
    flex-direction: column;
    gap: 0; /* 移除间隙 */
    margin-bottom: 30px;
}

.address-card {
    background-color: transparent; /* 移除背景色 */
    border: none; /* 移除边框 */
    border-bottom: 1px solid #e9ecef; /* 只保留底部边框 */
    border-radius: 0; /* 移除圆角 */
    padding: 15px 0; /* 调整内边距 */
    text-align: left; /* 左对齐 */
    transition: background-color 0.3s;
    cursor: pointer;
    display: flex; /* 使用弹性布局 */
    justify-content: space-between; /* 两端对齐 */
    align-items: center; /* 垂直居中 */
    grid-column: span 2;
}

.address-card:hover {
    transform: none; /* 移除悬停时的上移效果 */
    box-shadow: none; /* 移除悬停时的阴影 */
    background-color: rgba(0, 0, 0, 0.03); /* 悬停时添加轻微背景色 */
}

.address-section img {
    max-width: 100%;
}

.address-card .card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.address-card h2 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333; /* 更改标题颜色为深灰色 */
}

.url {
    font-size: 14px;
    color: #00a884; /* 保持网址的绿色 */
    margin-bottom: 0; /* 移除底部边距 */
    word-break: break-all;
    font-weight: normal; /* 移除粗体 */
}

.access-btn {
    display: inline-block;
    background-color: #00a884;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-left: 10px; /* 添加左侧边距 */
    text-decoration: none;
}

.access-btn:hover {
    background-color: #008f72;
}

/* 二维码区域 */
.qrcode-section {
    text-align: center;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.qrcode-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0066cc;
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode {
    max-width: 150px;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}

/* 页脚 */
footer {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    margin-top: 20px;
}