/* 豪华主题自定义样式 */

/* 全局渐变背景 */
body {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
}

/* 玻璃拟态卡片效果 */
.ant-card, .ant-list-item, .ant-modal-content {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* 按钮渐变效果 */
.ant-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
}

.ant-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6) !important;
}

/* 价格卡片悬浮效果 */
.ant-card-hoverable:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
}

/* 顶部导航栏 */
.ant-layout-header {
    background: rgba(15, 12, 41, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 侧边栏 */
.ant-layout-sider {
    background: rgba(15, 12, 41, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 文字颜色 */
.ant-card-head-title, .ant-statistic-title, .ant-list-item-meta-title, h1, h2, h3, h4 {
    color: #fff !important;
}

.ant-statistic-content, .ant-card-body, .ant-list-item-meta-description {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* 价格高亮 */
.price-highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.8); }
}

/* 右下角客服按钮 */
#customer-service-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    animation: pulse-glow 2s infinite;
    transition: all 0.3s ease;
    font-size: 28px;
}

#customer-service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.8);
}

/* 客服弹窗 */
#customer-service-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

#customer-service-panel.show {
    display: block;
}

.cs-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 20px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-close {
    cursor: pointer;
    font-size: 20px;
    opacity: 0.8;
}

.cs-close:hover {
    opacity: 1;
}

.cs-body {
    padding: 16px 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cs-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.cs-item:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.cs-item-icon {
    font-size: 24px;
    margin-right: 12px;
}

.cs-item-text {
    flex: 1;
}

.cs-item-title {
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.cs-item-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* 公告弹窗 */
#announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#announcement-modal.show {
    opacity: 1;
    visibility: visible;
}

.announcement-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#announcement-modal.show .announcement-content {
    transform: scale(1);
}

.announcement-title {
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcement-section {
    margin-bottom: 16px;
}

.announcement-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.announcement-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    margin-right: 8px;
}

.announcement-section-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.8;
    padding-left: 12px;
}

.announcement-section-content a {
    color: #667eea;
    text-decoration: none;
}

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

.announcement-close-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

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

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}
