/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
/* 购物车模态框 - 与主页样式保持一致 */
.cart-modal {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    width: 380px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.neon-text-up {
    display: none; 
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(122, 63, 255, 0.2));
    backdrop-filter: blur(15px);
    border-radius: 25px 25px 0 0;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-header button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6e6ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cart-header button:hover {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
    transform: scale(1.1);
}

.cart-items {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    max-height: 450px;
    overflow-y: auto;
}

.cart-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    margin-left: 20px;
}

.cart-item-name {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-price {
    color: #00d2ff;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(0, 210, 255, 0.3);
    transition: all 0.3s ease;
}

.cart-item:hover img {
    border-color: rgba(0, 210, 255, 0.6);
    transform: scale(1.05);
}

.remove-item {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    margin-left: 15px;
}

.remove-item:hover {
    background: linear-gradient(45deg, #cc3333, #ff4444);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.cart-footer {
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 0 0 25px 25px;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total span:last-child {
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.checkout-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.5s;
}

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

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.checkout-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-btn:disabled::before {
    display: none;
}

.empty-cart {
    text-align: center;
    padding: 60px 30px;
    color: #b0b0ff;
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(0, 210, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

.empty-cart p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #e6e6ff;
    overflow-x: hidden;
    position: relative;
    /* 确保背景完全加载，避免闪白 */
    background-color: #0f0c29;
}

/* 背景粒子效果 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background: transparent;
}

/* 科技感背景装饰 */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

/* 磨砂玻璃效果 */
.glass-panel {
      margin-left: auto;
  margin-right: auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;
}

.glass-panel::before {
    display: none; 
}

.glass-panel:hover::before {
    opacity: 1;
}

/* 霓虹文字效果 */
.neon-text {
    background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

.neon-text-up {
    background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    animation: neonGlow 2s ease-in-out infinite alternate;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.subtitle-up {
    color: #c0c0ff;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 1px;
}

/* 霓虹按钮效果 */
.neon-btn {
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.neon-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.5s;
}

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

.neon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* 玻璃按钮效果 */
.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #e6e6ff;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* 动画效果 */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes neonGlow {
    from { filter: brightness(1) drop-shadow(0 0 5px rgba(0, 210, 255, 0.5)); }
    to { filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 210, 255, 0.8)); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 顶部导航栏样式 */
header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.menu-btn {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    color: #e6e6ff;
}

/* Logo容器样式 */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-container {
    position: relative;
    display: inline-block;
}



@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}



/* 购物车容器 */
.cart-container {
    position: relative;
    z-index: 1000;
    margin-left: auto;
}

.cart {
    position: relative;
    cursor: pointer;
    margin-right: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cart i {
    font-size: 24px;
    color: #e6e6ff;
    transition: all 0.3s ease;
}

.cart:hover {
    transform: scale(1.1);
    background: rgba(0, 210, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.cart:hover i {
    color: #00d2ff;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.5);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}



.cart-modal {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    width: 380px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(122, 63, 255, 0.2));
    backdrop-filter: blur(15px);
    border-radius: 25px 25px 0 0;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-header button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6e6ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cart-header button:hover {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
    transform: scale(1.1);
}

.cart-items {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    max-height: 450px;
    overflow-y: auto;
}

.cart-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    margin-left: 20px;
}

.cart-item-name {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-price {
    color: #00d2ff;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(0, 210, 255, 0.3);
    transition: all 0.3s ease;
}

.cart-item:hover img {
    border-color: rgba(0, 210, 255, 0.6);
    transform: scale(1.05);
}

.remove-item {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    margin-left: 15px;
}

.remove-item:hover {
    background: linear-gradient(45deg, #cc3333, #ff4444);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.cart-footer {
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 0 0 25px 25px;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total span:last-child {
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.checkout-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.5s;
}

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

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.checkout-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-btn:disabled::before {
    display: none;
}

.empty-cart {
    text-align: center;
    padding: 60px 30px;
    color: #b0b0ff;
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(0, 210, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

.empty-cart p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.sidebar.active {
    left: 0;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.1), rgba(122, 63, 255, 0.1));
    z-index: -1;
}

/* 侧边栏标题区域 */
.sidebar-title {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Logo容器样式 */
.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.logo-container .logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3), transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.sidebar-title h2 {
    margin: 15px 0 5px;
    font-size: 1.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 0.8rem;
    color: rgba(230, 230, 255, 0.7);
    letter-spacing: 2px;
    font-weight: 300;
}

.sidebar-links {
    padding: 30px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    color: #e6e6ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin: 5px 15px;
    border-radius: 12px;
}

.nav-link i {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #00d2ff;
}

.nav-link span {
    font-weight: 500;
    font-size: 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00d2ff, #7a3fff);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    color: #ffffff;
}

.nav-link:hover::before {
    transform: scaleY(1);
}

.nav-link:hover i {
    color: #7a3fff;
    transform: scale(1.2);
}

/* 主内容区域 */
main {
    margin-top: 80px;
    padding: 20px;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* 切换按钮容器 */
.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
}

/* 切换按钮样式 */
.switch {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e6e6ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.switch::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.5s;
}

.switch:hover::before {
    left: 100%;
}

.switch:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.switch.active {
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

/* 内容区域样式 */
.content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.03), rgba(122, 63, 255, 0.03));
    z-index: -1;
}

.content.active {
    display: block;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.2);
}

/* 切换按钮样式 */
.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #e6e6ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.toggle-btn:hover,
.toggle-btn.active {
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* 内容框样式 */
.content-box {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-in-out;
}

.content-box.active {
    display: block;
}

/* 通用盒子样式 */
.box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.05), rgba(122, 63, 255, 0.05));
    z-index: -1;
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 210, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

/* 标题样式 */
.box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
}

.box .title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.box .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d2ff;
    text-align: center;
    margin: 25px 0;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

.box .description {
    color: #e6e6ff;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

.box .deleted {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    opacity: 0.6;
}

.box .line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d2ff, transparent);
    margin: 15px 0;
    border-radius: 1px;
    opacity: 0.7;
}

/* 按钮容器样式 */
.button-container {
    text-align: center;
    margin: 30px 0;
}

.jump-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jump-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.jump-button:hover::before {
    left: 100%;
}

.jump-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 210, 255, 0.6);
    background: linear-gradient(45deg, #7a3fff, #00d2ff);
}

/* 提示信息样式 */
.tip {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    color: #00d2ff;
    text-align: center;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.5s ease-out;
}

.box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #00d2ff;
    font-weight: 600;
}

/* 价格样式 */
.price {
    font-size: 2rem;
    font-weight: bold;
    color: #00d2ff;
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* 描述样式 */
.description {
    color: #e6e6ff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* 删除线样式 */
.strikethrough {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* 分割线样式 */
.divider {
    height: 2px;
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    border: none;
    margin: 30px 0;
    border-radius: 1px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    background: linear-gradient(45deg, #7a3fff, #00d2ff);
}

.btn-return {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6e6ff;
    box-shadow: none;
}

.btn-return:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* 表单容器样式 */
.form-container {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.03), rgba(122, 63, 255, 0.03));
    z-index: -1;
}

.form-container.show {
    display: block;
}

.registration-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    background: linear-gradient(90deg, #00d2ff, #7a3fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e6e6ff;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #e6e6ff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(230, 230, 255, 0.6);
}

.form-group small {
    color: rgba(230, 230, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.send-code-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 15px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.send-code-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.6);
    background: linear-gradient(45deg, #7a3fff, #00d2ff);
}

.back-button {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #e6e6ff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.notice-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
}

.notice-box p {
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 10px;
}

.notice-box ul {
    color: #e6e6ff;
    padding-left: 20px;
}

.notice-box li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* iframe样式 */
iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

/* 提示信息样式 */
.info {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

/* 进度条样式 */
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 25px 0;
    position: relative;
    backdrop-filter: blur(5px);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(45deg, #666666, #999999);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
    position: relative;
    overflow: hidden;
    width: 0%;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    main {
        padding: 10px;
    }

    .neon-text-up {
        display: block; 
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        animation: neonGlow 2s ease-in-out infinite alternate;
        font-size: 1.8rem;
    }

    .box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .box h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .box h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .price {
        font-size: 1.3rem;
    }

    .toggle-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }

    .toggle-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    iframe {
        height: 350px;
    }

    .form-container {
        padding: 15px;
    }

    .subtitle-up {
        display: block;
        font-size: 0.85rem;
        color: #b0b0ff;
        letter-spacing: 1px;
        font-weight: 300;
    }

    /* 购物车响应式优化 */
    .cart-modal {
        top: 70px;
        right: 15px;
        width: 350px;
        max-height: calc(100vh - 90px);
    }

    .cart-header {
        padding: 20px 15px;
    }

    .cart-header h3 {
        font-size: 1.4rem;
    }

    .cart-items {
        padding: 20px 15px;
        max-height: 350px;
    }

    .cart-item {
        padding: 15px 0;
    }

    .cart-item:hover {
        padding: 15px 10px;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
    }

    .cart-item-info {
        margin-left: 15px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-price {
        font-size: 1.1rem;
    }

    .remove-item {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin-left: 10px;
    }

    .cart-footer {
        padding: 20px 15px;
    }

    .cart-total {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .checkout-btn {
        padding: 15px;
        font-size: 1.1rem;
    }
        .neon-text-up {
        display: block; 
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        animation: neonGlow 2s ease-in-out infinite alternate;
    }
        .subtitle-up {
        display: block;
        font-size: 0.9rem;
        color: #b0b0ff;
        letter-spacing: 2px;
        font-weight: 300;
    }
}



@media (max-width: 480px) {
        .subtitle-up {
        display: block;
        font-size: 0.9rem;
        color: #b0b0ff;
        letter-spacing: 2px;
        font-weight: 300;
    }
        .neon-text-up {
        display: block; 
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        animation: neonGlow 2s ease-in-out infinite alternate;
    }
    header {
        padding: 0.8rem;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .neon-text-up {
        display: block; 
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
        animation: neonGlow 2s ease-in-out infinite alternate;
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .subtitle-up {
        display: block;
        font-size: 0.8rem;
        color: #b0b0ff;
        letter-spacing: 1px;
        font-weight: 300;
        margin-bottom: 15px;
    }

    .sidebar {
        width: 260px;
        left: -290px;
    }

    main {
        padding: 8px;
    }

    .box {
        padding: 12px;
        margin-bottom: 12px;
    }

    .box h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .box h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .price {
        font-size: 1.2rem;
    }

    .toggle-buttons {
        gap: 6px;
        flex-wrap: wrap;
    }

    .toggle-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-width: auto;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    iframe {
        height: 250px;
    }

    .form-container {
        padding: 12px;
    }

    /* 购物车小屏幕优化 */
    .cart {
        width: 45px;
        height: 45px;
    }

    .cart i {
        font-size: 20px;
    }

    .cart-count {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
        top: -3px;
        right: -3px;
    }

    .cart-modal {
        top: 60px;
        right: 10px;
        width: calc(100vw - 20px);
        max-width: 320px;
        max-height: calc(100vh - 80px);
    }

    .cart-header {
        padding: 15px 12px;
    }

    .cart-header h3 {
        font-size: 1.3rem;
    }

    .cart-header button {
        font-size: 1.3rem;
        padding: 6px;
    }

    .cart-items {
        padding: 15px 12px;
        max-height: 280px;
    }

    .cart-item {
        padding: 12px 0;
    }

    .cart-item:hover {
        padding: 12px 8px;
    }

    .cart-item img {
        width: 50px;
        height: 50px;
    }

    .cart-item-info {
        margin-left: 12px;
    }

    .cart-item-name {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .cart-item-price {
        font-size: 1rem;
    }

    .remove-item {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin-left: 8px;
    }

    .cart-footer {
        padding: 15px 12px;
    }

    .cart-total {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .checkout-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .empty-cart {
        padding: 40px 20px;
    }

    .empty-cart i {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .empty-cart p {
        font-size: 1rem;
    }
}

/* 添加用户状态样式 */
.user-status {
    padding: 15px;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

/* 修改登出链接样式 */
.logout-link {
    position: absolute !important;
    bottom: 20px !important;
    left: 0 !important;
    width: 100% !important;
    color: #ff4444 !important;
    background-color: rgba(255, 0, 0, 0.1) !important;
    text-align: center !important;
}

.logout-link:hover {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

/* 注册表单样式 */
.register-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e6e6ff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #e6e6ff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(230, 230, 255, 0.6);
}

/* 提交按钮样式 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    background: linear-gradient(45deg, #7a3fff, #00d2ff);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 错误提示样式 */
.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* 验证码按钮样式 */
.verify-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #e6e6ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-left: 10px;
}

.verify-btn:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: #00d2ff;
    color: #00d2ff;
}

/* 消息提示样式 */
.message {
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

.message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.message.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

/* 加载状态样式 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d2ff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 欢迎信息样式 */
.welcome-info {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(8px);
}

.welcome-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.welcome-info p {
    font-size: 1.2rem;
    color: #e6e6ff;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* 欢迎消息样式 */
.welcome-message {
    position: relative;
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    margin: 30px auto;
    max-width: 600px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: welcomeFadeIn 0.8s ease-out;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #00d2ff, #7a3fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 
        0 10px 30px rgba(0, 210, 255, 0.4),
        0 0 20px rgba(0, 210, 255, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.agent-welcome .welcome-icon {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3);
}

.welcome-message h2,
.welcome-message h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #b3b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.agent-welcome h2 {
    background: linear-gradient(90deg, #ffd700, #ffeb3b, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-message p {
    font-size: 1.1rem;
    color: #c0c0ff;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.agent-welcome p {
    color: #ffe0b3;
}

.welcome-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
    border-radius: 0 0 25px 25px;
    animation: decorationGlow 2s ease-in-out infinite alternate;
}

.agent-welcome .welcome-decoration {
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ffeb3b);
}

/* 动画效果 */
@keyframes welcomeFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 10px 30px rgba(0, 210, 255, 0.4),
            0 0 20px rgba(0, 210, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 15px 40px rgba(0, 210, 255, 0.6),
            0 0 30px rgba(0, 210, 255, 0.5);
    }
}

@keyframes decorationGlow {
    from {
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    }
    to {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
    }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .welcome-message {
        margin: 20px 15px;
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .welcome-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .welcome-message h2,
    .welcome-message h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .welcome-message p {
        font-size: 1rem;
        margin-bottom: 12px;
    }
}

/* 支付说明样式 */
.payment-info {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(8px);
}

.payment-info h3 {
    color: #00d2ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.payment-info ul {
    list-style: none;
    padding: 0;
}

.payment-info li {
    padding: 8px 0;
    color: #e6e6ff;
    position: relative;
    padding-left: 20px;
}

.payment-info li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00d2ff;
    font-size: 0.8rem;
}

/* 支付方法样式 */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.payment-method {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.payment-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

.payment-method h4 {
    color: #00d2ff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.payment-method p {
    color: #e6e6ff;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 通知框样式 */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 350px;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #00ff88;
}

.notification.error {
    border-left: 4px solid #ff4444;
}

.notification.warning {
    border-left: 4px solid #ffc107;
}

.notification h4 {
    margin: 0 0 10px 0;
    color: #e6e6ff;
    font-size: 1.1rem;
}

.notification p {
    margin: 0;
    color: rgba(230, 230, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 顶部导航栏的 logo 样式 */
header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header .logo h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d2ff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
}

header .logo .subtitle {
    font-size: 0.7rem;
    color: #b0b0ff;
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: 2px;
}

/* 添加商标样式 */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* 平板端适配 (769px - 1023px) */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .sidebar {
        left: -280px;  /* 平板端默认隐藏侧边栏 */
        width: 280px;
    }
        .subtitle-up {
        display: block;
        font-size: 0.9rem;
        color: #b0b0ff;
        letter-spacing: 2px;
        font-weight: 300;
    }
    .neon-text-up {
        display: block; 
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        animation: neonGlow 2s ease-in-out infinite alternate;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .logo-image {
        max-width: 180px;  /* 平板端适中的logo尺寸 */
    }
    
    main {
        margin-left: 0;
        margin-top: 80px;
        padding: 15px;
    }
    
    .menu-btn {
        display: flex;  /* 显示菜单按钮 */
    }
    
    /* 平板端显示顶部栏logo */
    header {
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(20px);
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        pointer-events: auto;
    }
    
    header .logo {
        display: flex;
        visibility: visible;
        opacity: 1;
    }
    
    header .logo h2 {
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    header .logo .subtitle {
        font-size: 0.7rem;
        color: #b0b0ff;
        letter-spacing: 1px;
        font-weight: 300;
        margin-top: 2px;
    }
    
    header .logo-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
        object-fit: contain;
        filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
        transition: all 0.3s ease;
    }
    
    /* 平板端优化：减少空间占用 */
    .container {
        gap: 15px;
        margin-bottom: 25px;
        padding: 15px;
    }
    
    .box {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .box h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .box .title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .box .price {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .box .description {
        font-size: 1rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .line {
        margin: 8px 0;
    }
    
    .button-container {
        margin: 15px 0;
    }
    
    .jump-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .tip {
        padding: 10px;
        margin: 10px 0;
        font-size: 0.9rem;
    }
    
    /* 表单优化 */
    .form-container {
        padding: 20px;
    }
    
    .registration-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn,
    .back-button {
        padding: 12px 20px;
        font-size: 1rem;
        margin: 8px 0;
    }
    
    .notice-box {
        padding: 15px;
        margin: 15px 0;
        font-size: 0.9rem;
    }
    
    .neon-text-up {
        display: block;
        font-size: 2rem;
        background: linear-gradient(90deg, #00d2ff, #7a3fff, #ff00cc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        animation: neonGlow 2s ease-in-out infinite alternate;
    }
    
    .subtitle-up {
        display: block;
        font-size: 0.7rem;
        color: #b0b0ff;
        letter-spacing: 1px;
        font-weight: 300;
    }
    
    /* 购物车平板端优化 */
    .cart-modal {
        top: 70px;
        right: 20px;
        width: 380px;
        max-height: calc(100vh - 90px);
    }
}

/* 修改侧边栏样式，添加媒体查询 */
@media screen and (min-width: 1024px) {
    .sidebar {
        left: 0;  /* 电脑端默认显示 */
        width: 250px;  /* 统一宽度为250px */
    }
    
    .logo-image {
        max-width: 200px;  /* 大屏幕下的最大宽度 */
    }
    
    main {
        margin-left: 250px;  /* 为侧边栏留出空间 */
        width: calc(100% - 250px);
        max-width: none;
    }
    
    .menu-btn {
        display: none;  /* 隐藏菜单按钮 */
    }
    
    /* 电脑端隐藏顶部栏logo */
    header .logo {
        display: none;
    }
}

/* 移动端样式 */
@media screen and (max-width: 1023px) {
    .sidebar {
        left: -290px;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .logo-image {
        max-width: 150px;  /* 移动端稍微缩小logo */
    }
    
    main {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .logo h2 {
        font-size: 1rem;
    }
    
    .cart {
        width: 40px;
        height: 40px;
    }
    
    .cart i {
        font-size: 1.1rem;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }
    
    /* 手机端空间优化 */
    main {
        padding: 10px;
    }
    
    .container {
        gap: 10px;
        margin-bottom: 20px;
        padding: 10px;
    }
    
    .switch {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .box {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .box h2 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .box .title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .box .price {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .box .description {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .line {
        margin: 6px 0;
    }
    
    .button-container {
        margin: 12px 0;
    }
    
    .jump-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tip {
        padding: 8px;
        margin: 8px 0;
        font-size: 0.8rem;
    }
    
    /* 手机端表单优化 */
    .form-container {
        padding: 15px;
    }
    
    .registration-form {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .submit-btn,
    .back-button {
        padding: 10px 18px;
        font-size: 0.9rem;
        margin: 6px 0;
    }
    
    .notice-box {
        padding: 12px;
        margin: 12px 0;
        font-size: 0.8rem;
    }
    
    .notice-box ul {
        margin: 8px 0;
        padding-left: 16px;
    }
    
    .notice-box li {
        margin-bottom: 4px;
        font-size: 0.8rem;
    }
}

.cart-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6e6ff;
}

.cart-total {
    margin-top: 20px;
    text-align: right;
    font-weight: bold;
    color: #00d2ff;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #00d2ff, #7a3fff);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    background: linear-gradient(45deg, #7a3fff, #00d2ff);
}
