/* 重置样式 */
* {
    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: #000000;
    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: #FC9310;
    font-size: 28px;
    text-align: center;
    margin: 20px 0 10px 0;
    text-shadow: 0 2px 4px rgba(252, 147, 16, 0.3);
}

/* 域名状态显示 */
.domain-status {
    text-align: center;
    margin-bottom: 20px;
}

.status-text {
    color: #FC9310;
    font-size: 14px;
    font-weight: 500;
}

#domain-time {
    color: #FC9310;
    font-weight: bold;
}

/* 主容器 */
.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: #FC9310;
    color: #000000;
    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(252, 147, 16, 0.1);
}

.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: #FC9310;
    margin-bottom: 0; /* 移除底部边距 */
    word-break: break-all;
    font-weight: normal; /* 移除粗体 */
}

.access-btn {
    display: inline-block;
    background-color: #FC9310;
    color: #000000;
    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: #e0840f;
}

/* 二维码区域 */
.qrcode-section {
    text-align: center;
    margin-bottom: 20px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #FC9310;
}

.qrcode-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FC9310;
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode {
    max-width: 150px;

    background: white;
}

/* 访问提示 */
.access-tips {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.access-tips p {
    color: #495057;
    font-weight: bold;
    margin-bottom: 10px;
}

.access-tips ul {
    list-style-type: none;
    padding-left: 0;
}

.access-tips li {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.access-tips li:before {
    content: "✓";
    color: #FC9310;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 页脚 */
footer {
    color: #FC9310;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    margin-top: 20px;
}

footer p {
    color: #FC9310;
    margin: 0;
}

/* 链接状态指示 */
.address-card.available {
    border-left: 4px solid #28a745;
}

.address-card.unavailable {
    border-left: 4px solid #dc3545;
    opacity: 0.7;
}

.address-card.unavailable .access-btn {
    background-color: #6c757d;
    cursor: not-allowed;
}

.address-card.unavailable .access-btn:hover {
    background-color: #6c757d;
}
