/* 基础样式重置与防盗基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* 基础防盗取样式 - 禁止选择文本 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    color: #fff;
    background-color: #1a1a1a;
    line-height: 1.6;
}

/* 颜色变量定义 - 比头发粉色再浅30%的主题 */
:root {
    --primary: #ffb6c7; /* 主色 - 比头发粉浅30% */
    --primary-dark: #ff99b3; /* 深一点的粉色 - 调浅后 */
    --primary-light: #ffd1dc; /* 浅一点的粉色 - 调浅后 */
    --secondary: #ffe0e8; /* 浅粉色 - 调浅后 */
    --secondary-light: #fff0f5; /* 最浅粉色 - 调浅后 */
    --shadow: rgba(255, 182, 199, 0.3); /* 浅粉色阴影 */
    --border: rgba(255, 182, 199, 0.2); /* 浅粉色边框 */
    --admin-color: #ff6b8b; /* 管理员边框颜色 */
    --mod-color: #7ee8fa; /*  Moderator边框颜色 */
    --tech-color: #a7f3d0; /* 技术人员边框颜色 */
}

/* 防盗水印样式 */
.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.05;
    font-size: 50px;
    font-weight: bold;
    color: var(--primary); /* 浅粉色水印 */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-30deg);
    user-select: none;
}

/* 背景图片样式 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    /* 防止图片被拖拽或右键保存 */
    pointer-events: none;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航菜单样式 */
#menu-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#menu-box.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px var(--shadow); /* 浅粉色阴影 */
}

.menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary); /* 浅粉色logo背景 */
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 防止logo图片被拖拽 */
    pointer-events: none;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-item-list {
    display: flex;
    gap: 25px;
}

.menu-item-list a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item-list a.active,
.menu-item-list a:hover {
    background-color: rgba(255, 182, 199, 0.2); /* 浅粉色透明背景 */
}

/* 横幅区域样式 */
#banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.join-buttom {
    max-width: 800px;
}

.join-item h2 {
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px var(--shadow); /* 浅粉色阴影 */
}

.join-item p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--secondary-light); /* 最浅粉色文字 */
}

.join-buttom-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary); /* 浅粉色主按钮 */
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark); /* 深一点的浅粉色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow); /* 浅粉色阴影 */
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 加入Q群按钮优化样式 */
.join-qq-group {
    margin: 30px 0;
}

.qq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px var(--shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.qq-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.qq-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shadow);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.qq-button:hover::before {
    left: 100%;
}

.qq-button i {
    font-size: 1.4rem;
}

.qq-button .qq-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* 悬浮提示样式 */
.qq-tooltip {
    position: relative;
    display: inline-block;
}

.qq-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    pointer-events: none;
    border: 1px solid var(--border);
}

.qq-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.qq-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 特色区域样式 */
.features-section {
    padding: 100px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff;
}

.section-desc {
    font-size: 18px;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-light); /* 最浅粉色文字 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(255, 182, 199, 0.05); /* 浅粉色透明背景 */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary); /* 浅粉色图标 */
}

.feature-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--secondary); /* 浅粉色标题 */
}

.feature-desc {
    color: var(--secondary-light); /* 最浅粉色文字 */
}

/* 玩家评价样式 */
.testimonials {
    padding: 100px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255, 182, 199, 0.05); /* 浅粉色透明背景 */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-text {
    color: var(--secondary-light); /* 最浅粉色文字 */
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary); /* 浅粉色头像背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 2px 8px var(--shadow);
}

.author-name {
    font-weight: bold;
    color: var(--secondary); /* 浅粉色名字 */
}

.author-role {
    color: var(--secondary-light); /* 最浅粉色角色 */
    font-size: 0.9rem;
}

/* 内容区域样式 */
#item-box {
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.item-page-box {
    max-width: 1200px;
    margin: 0 auto 60px;
    background-color: rgba(255, 182, 199, 0.05); /* 浅粉色透明背景 */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.item-page h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
}

.online-indicator {
    color: var(--primary); /* 浅粉色在线指示 */
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 182, 199, 0.1);
    border-radius: 20px;
}

.item-font {
    line-height: 1.8;
    font-size: 16px;
    color: var(--secondary-light); /* 最浅粉色文字 */
}

.item-font img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 3px solid rgba(255, 182, 199, 0.3); /* 浅粉色边框 */
    box-shadow: 0 4px 12px var(--shadow);
    /* 防止图片被拖拽或右键保存 */
    pointer-events: none;
}

.item-font h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--primary); /* 浅粉色标题 */
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 182, 199, 0.3); /* 浅粉色下划线 */
}

.item-font a {
    color: var(--primary); /* 浅粉色链接 */
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 2px;
}

.item-font a:hover {
    color: #fff;
    background-color: rgba(255, 182, 199, 0.4); /* 浅粉色背景 */
}

/* 服务器配置样式 */
.server-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.spec-item {
    background-color: rgba(255, 182, 199, 0.05); /* 浅粉色透明背景 */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--shadow);
}

.spec-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary); /* 浅粉色图标 */
}

.spec-item h4 {
    color: var(--secondary); /* 浅粉色标题 */
    margin-bottom: 10px;
}

.spec-item p {
    color: var(--secondary-light); /* 最浅粉色文字 */
    margin: 0;
}

/* 下载区域样式 */
#download {
    margin-top: 40px;
}

.download-section {
    text-align: center;
}

.download-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.download-section p {
    color: var(--secondary-light); /* 最浅粉色文字 */
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.download-buttons .btn {
    width: 80%;
    max-width: 300px;
}

/* 详情页专用样式 */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px var(--shadow);
    color: #fff;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--secondary-light); /* 最浅粉色文字 */
    max-width: 700px;
    margin: 0 auto;
}

#main-content {
    padding: 20px 0 80px;
}

.detail-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

.detail-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
}

.detail-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.detail-content {
    padding: 30px;
}

.detail-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 3px solid rgba(255, 182, 199, 0.3); /* 浅粉色边框 */
    box-shadow: 0 4px 12px var(--shadow);
    /* 防止图片被拖拽或右键保存 */
    pointer-events: none;
}

.detail-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary); /* 浅粉色标题 */
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 182, 199, 0.3); /* 浅粉色下划线 */
}

.detail-section h3 i {
    color: var(--primary); /* 浅粉色图标 */
}

.detail-section p {
    margin-bottom: 15px;
    color: var(--secondary-light); /* 最浅粉色文字 */
    line-height: 1.8;
}

.detail-section p strong {
    color: var(--secondary); /* 浅粉色强调文字 */
}

.detail-section a {
    color: var(--primary); /* 浅粉色链接 */
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 2px;
}

.detail-section a:hover {
    color: #fff;
    background-color: rgba(255, 182, 199, 0.4); /* 浅粉色背景 */
    text-decoration: none;
}

/* 服务器类型卡片样式 */
.server-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.server-type-card {
    background-color: rgba(255, 182, 199, 0.05); /* 浅粉色透明背景 */
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.server-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
    border-color: rgba(255, 182, 199, 0.3);
}

.server-type-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary); /* 浅粉色标题 */
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-type-card h4 i {
    color: var(--primary); /* 浅粉色图标 */
}

.server-type-card p {
    color: var(--secondary-light); /* 最浅粉色文字 */
}

/* 加入步骤样式 */
.join-steps {
    list-style: none;
    margin-top: 20px;
}

.join-steps li {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.join-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background-color: rgba(255, 182, 199, 0.3); /* 浅粉色步骤线 */
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary); /* 浅粉色步骤数字 */
    color: white;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--shadow);
}

.step-content {
    padding-top: 5px;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary); /* 浅粉色标题 */
}

.step-content p {
    color: var(--secondary-light); /* 最浅粉色文字 */
}

/* 活动样式 */
.events {
    margin-top: 20px;
}

.event-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
    min-width: 120px;
    background-color: rgba(255, 182, 199, 0.2); /* 浅粉色事件日期背景 */
    color: #ffffff; /* 白色文字 */
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin-right: 20px;
    border: 1px solid rgba(255, 182, 199, 0.3);
}

.event-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary); /* 浅粉色标题 */
}

.event-content p {
    color: var(--secondary-light); /* 最浅粉色文字 */
    margin: 0;
}

.join-now-btn {
    margin-top: 10px;
}

/* 页脚样式 */
#footer {
    text-align: center;
    padding: 40px 20px 20px;
    color: #aaa;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.8);
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

#footer a {
    color: var(--primary); /* 浅粉色页脚链接 */
    text-decoration: none;
    transition: all 0.3s ease;
}

#footer a:hover {
    text-decoration: underline;
    color: var(--secondary);
}

#counter {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--secondary-light); /* 最浅粉色文字 */
}

/* 团队成员页面样式 */
.staff-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 新增2x2排列样式 */
.staff-team.two-grid {
    grid-template-columns: repeat(2, 1fr); /* 固定2列 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .staff-team.two-grid {
        grid-template-columns: 1fr; /* 小屏幕单列 */
    }
}

.staff-member {
    display: flex;
    gap: 20px;
    background-color: rgba(255, 182, 199, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* 头像框样式 */
.avatar-frame {
    position: relative;
}

.staff-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
    position: relative;
}

.custom-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 头像边框已通过HTML注释移除，此处保留原样式但不影响 */
.avatar-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    z-index: -1;
    background-size: 200% 200%;
    animation: border-rotate 3s linear infinite;
}

/* 隐藏红圈边框（冗余保险） */
.avatar-border.admin {
    display: none;
}

/* 贡献者网格样式 */
.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 15px; /* 增加内边距，避免贴边 */
}

.contributor-item {
    background-color: rgba(255, 182, 199, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 0 auto; /* 水平居中 */
    max-width: 100%; /* 确保不会超出容器 */
}

.contributor-item h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contributor-item p {
    color: var(--secondary-light);
    margin: 0;
}

/* 加入要求列表样式 */
.join-requirements {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}

.join-requirements li {
    padding: 10px 15px 10px 40px;
    margin-bottom: 10px;
    background-color: rgba(255, 182, 199, 0.05);
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--border);
}

.join-requirements li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    color: var(--primary);
    font-weight: bold;
}

/* 移动端菜单样式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-item-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    
    .menu-item-list.active {
        transform: translateY(0);
    }
    
    .menu-item-list a {
        padding: 12px;
        border-radius: 4px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .staff-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}