* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}


/* 主内容区 */
.main-content {
    background: white;
    min-height: 100vh;
    position: relative;
}

/* 轮播图区域 */
.banner-section {
    position: relative;
    width: 100vw;
    height: 133.33vw; /* 3:4 比例，高度是宽度的4/3 */
    max-height: none; /* 移除最大高度限制 */
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.banner-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
}

.banner-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.person-silhouette {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    width: 120px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(
        40% 0%,
        60% 0%,
        65% 15%,
        70% 30%,
        65% 45%,
        60% 60%,
        55% 75%,
        50% 90%,
        45% 75%,
        40% 60%,
        35% 45%,
        30% 30%,
        35% 15%
    );
    z-index: 1;
}

/* 轮播图控制按钮 */
.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.banner-control.prev {
    left: 20px;
}

.banner-control.next {
    right: 20px;
}

/* 轮播图指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    line-height: 1;
    transform: scale(1, 1.1);
}

.banner-subtitle {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.date {
    font-size: 14px;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
}

.location {
    font-size: 16px;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 支付按钮 */
.payment-btn {
    background: #E60012;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3);
    min-width: 280px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    overflow: hidden;
}

.payment-btn: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: left 0.6s;
}

.payment-btn:hover:before {
    left: 100%;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 18, 0.4);
}

.payment-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}



/* 群成员展示区 */
.members-section {
    padding: 0 20px 10px;
}

/* 查询支付状态区域 */
.query-section {
    padding: 20px;
    text-align: center;
}

.query-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.query-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.query-btn:active {
    transform: translateY(0);
}

.query-btn i {
    font-size: 16px;
}

.members-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .members-section {
        padding: 0 15px 10px;
    }

    .members-container {
        border-radius: 12px;
    }

    /* 强制保持4列显示（两行） */
    .members-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
        padding: 15px;
    }

    .member-avatar {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }

    .member-name {
        font-size: 9px;
        max-width: 40px;
    }
}

/* 分页控制 */
.members-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.pagination-btn {
    background: #fff;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

/* 移动端分页调整 */
@media (max-width: 480px) {
    .members-pagination {
        gap: 20px;
        padding: 15px;
    }

    .pagination-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .pagination-info {
        font-size: 16px;
    }
}

.pagination-btn:hover:not(:disabled) {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.pagination-info span {
    font-weight: 600;
    color: #333;
}

.members-header {
    margin-bottom: 20px;
    text-align: center;
}

.members-count {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-region {
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.region-separator {
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 8px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 更多成员的样式 */
.member-item.more-members .member-avatar {
    background: #ffffff;
    border-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 更多成员内容样式 */
.more-members-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

.more-plus {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 2px;
}

.more-count {
    font-size: 10px;
    line-height: 1;
}

/* 移动端更多成员样式 */
@media (max-width: 480px) {
    .member-item.more-members .member-avatar {
        border-radius: 6px;
    }

    .more-plus {
        font-size: 20px;
    }

    .more-count {
        font-size: 8px;
    }
}

.more-text {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-align: center;
    line-height: 1;
}

.member-name {
    font-size: 11px;
    color: #666;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 支付二维码弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 500;
}

/* 头部关闭按钮 */
.modal-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 群二维码动作按钮 */
.group-qrcode-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.action-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.save-btn {
    background: #52c41a;
    color: white;
}

.save-btn:hover {
    background: #389e0d;
    transform: translateY(-2px);
}

.close-btn {
    background: #ff4d4f;
    color: white;
}

.close-btn:hover {
    background: #d9363e;
    transform: translateY(-2px);
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.qr-placeholder {
    text-align: center;
}

.qr-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #E60012;
}

.payment-tips {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/* 响应式设计 */
@media (max-width: 480px) {
    .main-title {
        font-size: 3.5rem;
        letter-spacing: 6px;
    }

    .hero-section {
        height: 60vh;
    }

    .payment-btn {
        font-size: 16px;
        padding: 16px 32px;
        min-width: 250px;
    }

    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        max-width: 100%;
    }

    .modal-content {
        width: 85%;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .date {
        font-size: 12px;
    }

    .location {
        font-size: 14px;
        padding: 6px 12px;
    }

    .payment-btn {
        font-size: 14px;
        padding: 14px 24px;
        min-width: 220px;
    }

    /* 强制保持4列显示（两行） */
    .members-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
        max-width: 100%;
    }

    .member-avatar {
        width: 35px;
        height: 35px;
        border-radius: 5px;
    }

    .member-name {
        font-size: 8px;
        max-width: 35px;
    }
}

/* 内容展示区域样式 */
.content-section {
    background: white;
    margin: 10px auto;
    padding: 30px 20px;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-container {
    width: 100%;
}

.content-text {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.content-text h3 {
    color: #333333;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-text h4 {
    color: #333;
    font-size: 18px;
    margin-top: 20px;
}

/* 动态内容列表样式 */
.content-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.content-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-title {
    color: #333333;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-body {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.content-body h1,
.content-body h2,
.content-body h3 {
    color: #333333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-body h1 { font-size: 28px; }
.content-body h2 { font-size: 24px; }
.content-body h3 { font-size: 20px; }

.content-body h4,
.content-body h5,
.content-body h6 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 8px;
}

.content-body p {
    margin-bottom: 12px;
}

.content-body ul,
.content-body ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body a {
    color: #FF6B35;
    text-decoration: none;
}

.content-body a:hover {
    text-decoration: underline;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.content-body blockquote {
    border-left: 4px solid #FF6B35;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

.content-text p {
    margin-bottom: 12px;
    text-align: justify;
}

.content-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.content-text ul li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.content-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: bold;
}

.content-text .course-list {
    margin-top: 20px;
}

/* 响应式 - 内容区域 */
@media (max-width: 768px) {
    .content-section {
        margin: 5px 10px;
        padding: 20px 15px;
        border-radius: 8px;
    }

    .content-text h3 {
        font-size: 20px;
    }

    .content-text h4 {
        font-size: 16px;
    }

    .content-text {
        font-size: 14px;
    }
}