/*------------------------------------------------------------------
Project:ZhiHuiLingQian Luxury Edition
Author:AI Assistant
Last change:2025/02/01
Primary use:Luxury Style Override
-------------------------------------------------------------------*/

/* 奢侈风格主题变量 */
:root {
    --luxury-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 25%, #D4AF37 50%, #FFD700 75%, #D4AF37 100%);
    --luxury-gold-light: linear-gradient(135deg, #FFE55C 0%, #FFD700 50%, #FFE55C 100%);
    --luxury-silver: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #C0C0C0 100%);
    --luxury-bronze: linear-gradient(135deg, #CD7F32 0%, #E8B886 50%, #CD7F32 100%);
    --luxury-dark: #1a1a1a;
    --luxury-light: #f8f8f8;
    --luxury-accent: #8B4513;
    --luxury-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --luxury-glow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* 全局奢侈风格重置 */
body {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
    color: #f8f8f8 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

/* 奢侈按钮样式 */
.btn, .btn-default, .btn-zhihui {
    background: var(--luxury-gold) !important;
    border: 2px solid #D4AF37 !important;
    border-radius: 25px !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
    box-shadow: var(--luxury-shadow), var(--luxury-glow) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn:hover, .btn-default:hover, .btn-zhihui:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.6) !important;
}

.btn:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.5s !important;
}

.btn:hover:before {
    left: 100% !important;
}

/* 奢侈卡片和容器样式 */
.container, .site-content, .zhihui-main {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%) !important;
    border-radius: 20px !important;
    box-shadow: var(--luxury-shadow) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* 奢侈头部样式 */
.login-page-top, .qmht-blue-header, .task-audit-header {
    background: var(--luxury-gold) !important;
    border-bottom: 3px solid #D4AF37 !important;
}

/* 奢侈输入框样式 */
.login-input-box, .task-search-item input, .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(212, 175, 55, 0.5) !important;
    border-radius: 15px !important;
    color: #f8f8f8 !important;
    backdrop-filter: blur(10px) !important;
}

.login-input-box .login-input-item {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* 奢侈卡片样式 */
.task-item, .mytask-item, .poster-box, .icon-group-item {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: var(--luxury-shadow) !important;
    transition: all 0.3s ease !important;
}

.task-item:hover, .mytask-item:hover, .poster-box:hover, .icon-group-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3) !important;
    border-color: #D4AF37 !important;
}

/* 奢侈图标和图片样式 */
img, .icon-group-svg img, .zhihui-main-left img {
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3)) !important;
    transition: all 0.3s ease !important;
}

img:hover {
    filter: drop-shadow(0 8px 25px rgba(212, 175, 55, 0.6)) !important;
    transform: scale(1.05) !important;
}

/* 奢侈文字样式 */
h1, h2, h3, h4, h5, h6 {
    color: #D4AF37 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-weight: 700 !important;
}

p, span, .login-checkbox-cb span {
    color: #e8e8e8 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* 奢侈链接样式 */
a, .home-rank-link, .icon-group-item {
    color: #D4AF37 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

a:hover, .home-rank-link:hover, .icon-group-item:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
}

a:after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--luxury-gold) !important;
    transition: width 0.3s ease !important;
}

a:hover:after {
    width: 100% !important;
}

/* 奢侈模态框样式 */
.modal-content {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%) !important;
    border: 3px solid #D4AF37 !important;
    border-radius: 25px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

.modal-header {
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    background: var(--luxury-gold) !important;
    color: #1a1a1a !important;
    border-radius: 22px 22px 0 0 !important;
}

/* 奢侈进度条和加载动画 */
.loader-mask {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

.line-scale > div {
    background: var(--luxury-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5) !important;
}

/* 奢侈表格和列表样式 */
.rank-tab a.active {
    background: var(--luxury-gold) !important;
    color: #1a1a1a !important;
    border: 2px solid #D4AF37 !important;
}

.rank-user-top3 .avatar {
    border: 3px solid #D4AF37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

/* 奢侈响应式调整 */
@media (max-width: 768px) {
    .container {
        margin: 10px !important;
        padding: 15px !important;
    }
    
    .btn, .btn-default, .btn-zhihui {
        padding: 12px 24px !important;
        font-size: 16px !important;
    }
}

/* 奢侈滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--luxury-gold);
    border-radius: 10px;
    border: 2px solid #2a2a2a;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--luxury-gold-light);
}

/* 奢侈动画效果 */
@keyframes luxuryGlow {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
    100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
}

.luxury-glow {
    animation: luxuryGlow 2s ease-in-out infinite;
}

/* 奢侈特殊效果 */
.luxury-border {
    position: relative;
}

.luxury-border:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--luxury-gold);
    border-radius: 25px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
}