﻿/* 保留原有的标签按钮样式 */
        .tab-buttons {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 40px;
        }

        .tab-button {
            width: 200px;
            height: 77px;
            background-image: url('../images/show-nav-top-nav.png');
            background-size: cover;
            background-position: center;
            color: white;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: none;
            outline: none;
            background-color: transparent;
            padding: 0;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .tab-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.1) 20%,
                rgba(255, 255, 255, 0.4) 50%,
                rgba(255, 255, 255, 0.1) 80%,
                transparent 100%
            );
            transition: left 0.6s ease;
            z-index: 1;
        }

        .tab-button:hover::before {
            left: 100%;
        }

        .tab-button:hover {
            transform: translateY(-3px) scale(1.05);
            text-shadow: none;
        }

        .tab-button.active {
            transform: scale(1.08);
            text-shadow: none;
        }

        .tab-button.active:hover {
            transform: translateY(-2px) scale(1.1);
        }

        .tab-button.active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 2s infinite;
            z-index: 0;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(0.8);
                opacity: 1;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.5;
            }
            100% {
                transform: translate(-50%, -50%) scale(0.8);
                opacity: 1;
            }
        }

        /* 保留原有的3D容器效果 */
        .container { 
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            transform-style: preserve-3d;
            cursor: grab;
            transition: transform 0.2s ease;
            margin-bottom: 30px;
            width: fit-content;      /* 新增：容器宽度只包裹内容 */
            margin-left: auto;       /* 新增：保持居中 */
            margin-right: auto;      /* 新增：保持居中 */
        }

        .container:active {
            cursor: grabbing;
        }

        .container .box {
            width: 440px;
            height: 580px;
            margin: 0 10px;
            position: relative;
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                       filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                       margin 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            flex-shrink: 0;
        }

        .container .box img {
            width: 100%;
            height: 100%;
            border-radius: 5px;
            object-fit: cover;
            transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                       transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                       filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* 保留原有的鼠标悬停3D效果 */
        .container:hover > :not(:hover) {
            margin: 0 -20px;
            transform: 
                perspective(500px)
                rotateY(45deg)
                scale(0.95);
        }

        .container .box:hover ~ .box {
            transform: 
                perspective(500px)
                rotateY(-45deg)
                scale(0.95);
        }
        
        .container .box:hover{
            transform: 
                perspective(500px)
                rotateY(0)
                scale(1.2);
            z-index: 1000;
        }

        /* 保留原有的导航按钮样式 */
        .nav-button {
            position: relative;
            top: -20px;
            width: 60px;
            height: 60px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            border: none;
            outline: none;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 20px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            opacity: 0.8;
        }

        .nav-button:hover {
            opacity: 1;
            transform: scale(1.1);
            background-color: rgba(255, 255, 255, 0.2);
        }

        .nav-button:active {
            transform: scale(0.95);
        }

        .nav-button.prev {
            background-image: url('../images/arrow-left.png');
        }

        .nav-button.next {
            background-image: url('../images/arrow-right.png');
        }

        .controls {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
            margin-top: 50px;
            margin-bottom: -30px;
        }

        /* 页面组样式 */
        .image-group {
            opacity: 0;
            visibility: hidden;
            position: absolute;
        }

        .image-group.active {
            opacity: 1;
            visibility: visible;
            position: relative;
        }

        /* 内容区域 */
        .content-section {
            display: none;
        }
        
        .content-section.active {
            display: block;
        }

        /* 切换动画 */
        .switching .box {
            opacity: 0;
            transform: scale(0.95) translateY(20px);
            filter: blur(2px);
        }