/* 公告区域样式 */
.section-1 {
    max-width: 1300px;
    margin: 30px auto;
    padding: 20px 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 161, 255, 0.1)) border-box;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

/* 添加装饰性背景元素 */
.section-1::before,
.section-1::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.05), rgba(0, 161, 255, 0.05));
    border-radius: 50%;
    z-index: -1;
}

.section-1::before {
    top: -100px;
    left: -100px;
    animation: floatBubble 8s ease-in-out infinite;
}

.section-1::after {
    bottom: -100px;
    right: -100px;
    animation: floatBubble 8s ease-in-out infinite reverse;
}

/* 添加浮动气泡动画 */
@keyframes floatBubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes borderGlow {
    from {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.05);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 123, 255, 0.15);
    }
}

/* 添加四角装饰 */
.section-1 .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 123, 255, 0.2);
}

.section-1 .corner-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 4px;
}

.section-1 .corner-top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 4px;
}

.section-1 .corner-bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 4px;
}

.section-1 .corner-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.section-header h2 {
    font-size: 30px;
    color: #333;
    margin: 0;
    padding: 0;
    border: none;
}

.tab-menu {
    display: flex;
    gap: 30px;
    margin-left: 0;
}

.tab-item {
    font-size: 15px;
    color: #666;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.tab-item::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/index/ggico.png') no-repeat center;
    background-size: contain;
    margin-right: 6px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #007bff;
    font-weight: 500;
}

.tab-item.active::before {
    opacity: 1;
}

.view-more {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    position: relative;
    transition: transform 0.3s ease;
}

.arrow-icon::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    transform: translateY(-50%) rotate(45deg);
}

.view-more:hover {
    color: #007bff;
}

.view-more:hover .arrow-icon::after {
    border-color: #007bff;
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.notice-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.notice-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.notice-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.notice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-title h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.notice-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 修改tab样式，添加不同的图标 */
.tab-item[data-type="system"]::before {
    background-image: url('../images/index/ggico.png');
}

.tab-item[data-type="withdraw"]::before {
    background-image: url('../images/index/ggico.png'); /* 可以替换成提现公告的图标 */
}

/* 添加过渡效果 */
.notice-list,
.withdraw-list {
    transition: opacity 0.3s ease;
    opacity: 0;
    display: none;
}

/* 默认显示系统公告列表 */
.notice-list:not(.withdraw-list) {
    opacity: 1;
    display: grid;
}

/* 当提现公告标签激活时显示提现列表 */
.tab-item[data-type="withdraw"].active ~ .withdraw-list {
    opacity: 1;
    display: grid;
}

/* 当提现公告标签激活时隐藏系统公告列表 */
.tab-item[data-type="withdraw"].active ~ .notice-list:not(.withdraw-list) {
    opacity: 0;
    display: none;
}

.live-image {
    position: relative;
    border-radius: 24px;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.live-image::before,
.live-image::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.live-image::before {
    background: linear-gradient(45deg, #4facfe, #00f2fe, #0088ff, #4facfe);
    background-size: 300% 300%;
}

.live-image::after {
    background: inherit;
    filter: blur(12px);
}

.live-image:hover::before {
    opacity: 1;
    animation: borderGradient 8s ease infinite;
}

.live-image:hover::after {
    opacity: 0.4;
    animation: borderGradient 8s ease infinite;
}

.live-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.live-image:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15);
}

.live-image:hover img {
    transform: scale(1.02);
}

@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.process-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
    padding: 5px 0;
    position: relative;
}

.process-item {
    position: relative;
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(230, 230, 230, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 不同大小的卡片定位 */
.process-item:nth-child(1) {
    grid-column: 1 / span 4;
    grid-row: 1;
    transform: translateY(30px);
}

.process-item:nth-child(2) {
    grid-column: 5 / span 4;
    grid-row: 1;
    transform: translateY(-20px);
}

.process-item:nth-child(3) {
    grid-column: 9 / span 4;
    grid-row: 1;
    transform: translateY(40px);
}

.process-item:nth-child(4) {
    grid-column: 2 / span 4;
    grid-row: 2;
    transform: translateY(-10px);
}

.process-item:nth-child(5) {
    grid-column: 6 / span 4;
    grid-row: 2;
    transform: translateY(20px);
}

.process-item:nth-child(6) {
    grid-column: 10 / span 3;
    grid-row: 2;
    transform: translateY(-30px);
}

.process-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.process-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.process-item:hover .process-icon {
    transform: rotate(0deg);
}

.process-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.process-item:hover .process-icon img {
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 56px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.item-content {
    position: relative;
    z-index: 1;
}

.item-image {
    position: relative;
    width: 100%;
    height: 160px;
    margin-bottom: 25px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-item:hover .item-image img {
    transform: scale(1.05);
}

.item-text {
    padding: 0 30px 30px;
}

.item-text h3 {
    color: #333;
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 600;
}

.text-main {
    color: #4facfe;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.text-sub {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.text-sub p {
    margin: 0;
    padding: 4px 0;
    transition: transform 0.3s ease;
    color: #555;
}

.process-item:hover .text-sub p {
    transform: translateX(5px);
    color: #4facfe;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05), rgba(0, 242, 254, 0.08));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-item:hover::before {
    transform: translateX(0);
}

.process-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, transparent 50%, rgba(0, 242, 254, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-item:hover::after {
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .process-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 0;
    }
    
    .process-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .process-list {
        grid-template-columns: 1fr;
    }
    
    .item-image {
        height: 140px;
    }
    
    .item-text {
        padding: 0 20px 20px;
    }
}