/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

hr {
    border: 0;              /* 清除默认边框 */
    height: 1px;            /* 控制线条粗细 */
    background-color: #ccc; /* 设置线条颜色 */
    margin: 10px 0;         /* 调整上下间距 */;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #f5f5f5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background-image: url('../images/header_bg.jpg'); /* 替换为你的背景图片路径 */
    background-size: cover;                /* 背景图片覆盖整个区域 */
    background-position: center center;     /* 背景图片居中显示 */
    color: #FFFFFF;
    text-align: center;
    padding: 3rem 0;
    position: relative;                    /* 为叠加层定位做准备 */
}

.header h1 {
    font-size: 2.0rem;
    margin-bottom: 0.5rem;
}

/* 添加半透明叠加层增强文字可读性 */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* 黑色半透明叠加层 */
    z-index: 0;
}

/* 确保内容在叠加层上方 */
.header > * {
    position: relative;
    z-index: 1;
}

/* 卡片容器布局 */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0rem 1rem;
    margin: 2.5rem auto; /* 卡片头部页脚距离 */
    z-index: 1;
    
}

/* 卡片样式 */
.content-section {
    background: white;
    border-radius: 10px;  /* 卡片圆角 */
    padding: 2rem;
    margin: 1.5rem 0;     /* 卡片上下间距 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-3px);
}

.content-section h2 {
    color: #1cc088;
    text-align: center;
    margin-bottom: 1rem;
}

.content-section p {
    color: #666666;
    line-height: 1.6;
}

/* 头像样式 */
.logo-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: -80px auto 1rem;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 页脚样式 */
.footer {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 1rem 1rem;
    font-size: 0.9em;
    margin-top: auto;
}

.footer p {
    line-height: 1.6;
}

.footer a {
    text-decoration: none; /* 去除下划线 */
    color: #FFFFFF;        /* 文字颜色 */
}

.footer a:hover {
    color: #1cc088;        /* 鼠标悬停颜色 */
    text-decoration: none; /* 悬停时也无下划线 */
}

/* 会员账号显示样式 */
.status-detail {
    font-size: 14px;
    color: #555;
}

.status-detail span {
    display: flex;
    align-items: center;
}

/*首页立即使用按钮*/
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1cc088 0%, #169C6E 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(28,192,136, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28,192,136, 0.4);
    background: linear-gradient(135deg, #169C6E 0%, #12825C 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(3px);
}

    /* 添加点击水波纹效果 */
.cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta-button:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 页脚状态容器样式 */
.status-container {
    text-align: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    border-radius: 4px;
    text-shadow: none;
    font-size: 12px;
    color: #fff;
    line-height: 15px;
    white-space: nowrap;
}

.status-badge a {
    color:#ffffff;
}

/* 状态前卡片样式 */
.status-subject {
    display: inline-block;
    background-color: #555555;
    padding: 4px 6px 4px 6px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* 状态后卡片样式 */
.status-value {
    display: inline-block;
    padding: 4px 6px 4px 6px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* 状态正常卡片颜色 */
.bg-online {
    background-color: #3C9E3F;
}

/* 状态异常卡片颜色 */
.bg-offline {
    background-color: #E33C30;
}

/* 状态刷新卡片颜色 */
.bg-refresh {
    background-color: #0099CC;
}