/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 70px; /* 为固定底部按钮留出空间 */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 主要内容区 */
.main-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}

/* 通用部分样式 */
.section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

.section-content {
    font-size: 16px;
    color: #555;
}

/* 辅助类 */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-3 {
    margin-top: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* 群信息样式 */
.group-info {
    padding-bottom: 30px;
}

.group-avatar {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

.no-avatar {
    font-size: 60px;
    color: #ddd;
}

.group-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.group-description {
    margin-bottom: 20px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 固定在底部的付费入群按钮 */
.fixed-join-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.fixed-join-button .price-tag {
    font-size: 18px;
    font-weight: 600;
    color: #e65100;
}

.fixed-join-button .btn {
    padding: 8px 30px;
    font-size: 16px;
    font-weight: 500;
}

.spacer-for-fixed-button {
    height: 50px;
}

/* 轮播图样式 */
.carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.carousel-inner {
    border-radius: 8px;
}

.carousel-item img {
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 10px;
}

.no-screenshots {
    min-height: 200px;
    background-color: #f5f5f5;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 12px 15px;
    background-color: #f9f9f9;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-question i {
    margin-right: 10px;
    color: #4CAF50;
}

.faq-answer {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* 模态框样式 */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-weight: 600;
}

.payment-tip {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.payment-tip i {
    color: #4CAF50;
    margin-right: 5px;
}

.payment-amount {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

.payment-amount .amount {
    font-size: 20px;
    font-weight: 600;
    color: #e65100;
}

.admin-contact {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    position: relative;
}

.admin-contact .contact {
    font-weight: 500;
    color: #333;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 2px 10px;
    font-size: 12px;
}

/* 响应式样式 */
@media (max-width: 767px) {
    .group-avatar {
        width: 120px;
        height: 120px;
    }
    
    .group-name {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
} 