@charset "utf-8";
/* 徽章大厅主容器 */
        .badge-hall-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 页面标题区域 */
        .page-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
        }
        
        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="20" cy="20" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
            background-size: 200px 200px;
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 15px;
            position: relative;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .page-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            opacity: 0.95;
            position: relative;
        }
        
        .header-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            position: relative;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        /* 用户信息卡片 */
        .user-profile-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }
        
        .user-profile-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #667eea, #764ba2, #2ecc71);
            border-radius: 20px 20px 0 0;
        }
        
        .user-profile-content {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .user-avatar-large {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            flex-shrink: 0;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        }
        
        .user-avatar-large img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .user-info-main {
            flex: 1;
        }
        
        .user-name-large {
            font-size: 2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 10px;
        }
        
        .user-status-tag {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 600;
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
        }
        
        .user-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 25px;
            border-radius: 15px;
            margin-top: 20px;
        }
        
        .stat-card {
            text-align: center;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .stat-value-lg {
            font-size: 2.2rem;
            font-weight: 800;
            color: #667eea;
            margin-bottom: 5px;
        }
        
        .stat-label-lg {
            font-size: 0.95rem;
            color: #666;
            font-weight: 500;
        }
        
        /* 徽章展示区 */
        .badge-showcase-section {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            margin-bottom: 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0,0,0,0.05);
        }
        
        .section-title-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 3px solid #f0f0f0;
        }
        
        .section-title-main h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin: 0;
            display: flex;
            align-items: center;

            gap: 12px;
        }
        
        .section-title-main h2 i {
            color: #667eea;
            font-size: 1.5rem;
        }
        
        .section-subtitle {
            color: #666;
            font-size: 1.1rem;
            margin-top: 10px;
            max-width: 800px;
            line-height: 1.6;
        }
        
        /* 徽章网格 */
        .badge-grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .badge-card {
            text-align: center;
            padding: 25px 20px;
            border-radius: 16px;
            background: white;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }
        
        .badge-card:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }
        
        .badge-card.owned {
            /*background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-color: #2ecc71;*/
			border: 2px solid #4CAF50 !important;
            background: linear-gradient(135deg, #f0fff0, #e8f5e8) !important;
        }
		
		.badge-card.available {
    border: 2px solid #2196F3 !important;
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd) !important;
}

.badge-card.unowned {
    border: 1px solid #e0e0e0 !important;
    background: linear-gradient(135deg, #f5f5f5, #eeeeee) !important;
}
        
        .badge-card.owned::before {
            content: '✓';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 25px;
            height: 25px;
            background: #2ecc71;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 2;
        }
        
        .badge-card.unowned {
            background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
            filter: grayscale(100%);
            opacity: 0.8;
        }
        
        .badge-card.unowned:hover {
            filter: grayscale(50%);
            opacity: 1;
        }
        
        .badge-icon-wrapper {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            position: relative;
            transition: transform 0.3s ease;
        }
        
        .badge-card:hover .badge-icon-wrapper {
            transform: scale(1.1) rotate(5deg);
        }
        
        .badge-icon-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .badge-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }
        
        .badge-card.owned .badge-name {
            color: #2c3e50;
        }
        
        .badge-status-indicator {
            display: inline-block;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 5px;
        }
        
        .status-owned {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
        }
        
        .status-unowned {
            background: linear-gradient(135deg, #95a5a6, #7f8c8d);
            color: white;
        }
        
        /* 系统动态区域 */
        .system-activity-section {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0,0,0,0.05);
            margin-bottom: 40px;
        }
        
        .activity-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 3px solid #f0f0f0;
        }
        
        .activity-header h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .activity-header h2 i {
            color: #e74c3c;
            font-size: 1.5rem;
        }
        
        .activity-controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }
        
        .refresh-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
        }
        
        .refresh-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        }
        
        .activity-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .activity-card {
            padding: 25px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
            border-left: 5px solid #3498db;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border-left-color: #2ecc71;
        }
        
        .activity-time {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .activity-time i {
            color: #3498db;
        }
        
        .activity-content {
            font-size: 1.05rem;
            color: #333;
            line-height: 1.6;
        }
        
        .activity-user {
            color: #667eea;
            font-weight: 700;
        }
        
        .activity-badge {
            color: #e74c3c;
            font-weight: 700;
            background: #ffeaa7;
            padding: 3px 10px;
            border-radius: 6px;
            margin: 0 5px;
        }
        
        /* 新增系统消息区域 */
        .system-messages-section {
            background: linear-gradient(135deg, #fff5e6, #ffe8cc);
            border-radius: 20px;
            padding: 40px 30px;
            margin-bottom: 40px;
            border: 2px solid #ffcc80;
            box-shadow: 0 10px 30px rgba(255, 165, 0, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .system-messages-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #ff9800, #ff5722, #ff4081);
            border-radius: 20px 20px 0 0;
        }
        
        .system-messages-header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            gap: 15px;
        }
        
        .system-messages-header i {
            color: #ff9800;
            font-size: 2rem;
            background: #fff3e0;
            padding: 15px;
            border-radius: 50%;
        }
        
        .system-messages-header h2 {
            font-size: 1.8rem;
            color: #e65100;
            margin: 0;
            font-weight: 700;
        }
        
        .system-messages-subtitle {
            color: #ff7043;
            font-size: 1.1rem;
            margin-bottom: 25px;
            padding-left: 70px;
        }
        
        .system-messages-list {
            display: grid;
            gap: 15px;
        }
        
        .system-message-item {
            background: white;
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid #4CAF50;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: all 0.3s ease;
        }
        
        .system-message-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-left-color: #FF9800;
        }
        
        .message-time {
            background: #e3f2fd;
            color: #1976D2;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .message-content {
            flex: 1;
            color: #333;
            line-height: 1.6;
        }
        
        .message-content strong {
            color: #e74c3c;
        }
        
        /* 徽章获取动态区域 */
        .badge-acquisition-section {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 20px;
            padding: 40px 30px;
            margin-bottom: 40px;
            border: 2px solid #81c784;
            box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
        }
        
        .badge-acquisition-header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            gap: 15px;
        }
        
        .badge-acquisition-header i {
            color: #4CAF50;
            font-size: 2rem;
            background: #e8f5e9;
            padding: 15px;
            border-radius: 50%;
        }
        
        .badge-acquisition-header h2 {
            font-size: 1.8rem;
            color: #2e7d32;
            margin: 0;
            font-weight: 700;
        }
        
        /* 游客提示 */
        .guest-message {
            text-align: center;
            padding: 80px 40px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 25px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            margin: 40px 0;
            border: 3px dashed #bdc3c7;
            position: relative;
            overflow: hidden;
        }
        
        .guest-icon {
            font-size: 6rem;
            color: #95a5a6;
            margin-bottom: 30px;
            animation: float 3s ease-in-out infinite;
        }
        
        .guest-title {
            font-size: 2.2rem;
            color: #2c3e50;
            margin-bottom: 20px;
            font-weight: 800;
        }
        
        .guest-description {
            color: #666;
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .action-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-large {
            padding: 16px 45px;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }
        
        .btn-primary-large {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border: none;
        }
        
        .btn-primary-large:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(52, 152, 219, 0.3);
            color: white;
        }
        
        .btn-secondary-large {
            background: linear-gradient(135deg, #95a5a6, #7f8c8d);
            color: white;
            border: none;
        }
        
        .btn-secondary-large:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(149, 165, 166, 0.3);
            color: white;
        }
        
        /* 徽章详情弹窗 - 垂直居中 */
        .badge-detail-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            padding: 20px;
            backdrop-filter: blur(10px);
            overflow: auto;
            /* 垂直居中关键样式 */
            align-items: center;
            justify-content: center;
            /* 使用flexbox实现垂直居中 */
            display: flex; /* 注意：这里会被JavaScript控制显示/隐藏 */
        }
        
        /* 保证内容在模态框内垂直居中 */
        .modal-content {
            background: white;
            border-radius: 25px;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
            animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            /* 添加自动外边距实现垂直居中 */
            margin: auto;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .modal-header {
            padding: 30px 35px 20px;
            border-bottom: 2px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        .modal-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 25px 25px 0 0;
        }
        
        .modal-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: #333;
            margin: 0;
        }
        
        .modal-close {
            background: #f8f9fa;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            color: #666;
        }
        
        .modal-close:hover {
            background: #e74c3c;
            color: white;
            transform: rotate(90deg);
        }
        
        .modal-body {
            padding: 35px;
        }
        
        .badge-detail-header {
            display: flex;
            align-items: center;
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .badge-detail-icon {
            width: 100px;
            height: 100px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 20px;
            padding: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .badge-detail-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .badge-detail-info h3 {
            margin: 0 0 15px 0;
            color: #333;
            font-size: 1.8rem;
        }
        
        .badge-status-tag {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 700;
        }
        
        .badge-detail-content {
            margin-top: 25px;
        }
        
        .detail-item {
            margin-bottom: 25px;
        }
        
        .detail-label {
            font-weight: 700;
            color: #667eea;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
        }
        
        .detail-value {
            color: #333;
            line-height: 1.7;
            padding-left: 30px;
            font-size: 1.05rem;
        }
        
        /* 空状态提示 */
        .empty-state {
            text-align: center;
            padding: 60px 30px;
            color: #999;
        }
        
        .empty-state i {
            font-size: 4rem;
            margin-bottom: 25px;
            opacity: 0.5;
        }
        
        .empty-state h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: #666;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .badge-grid-container {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 20px;
            }
        }
        
        @media (max-width: 992px) {
            .user-profile-content {
                flex-direction: column;
                text-align: center;
                gap: 25px;
            }
            
            .user-stats-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .activity-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .page-header {
                padding: 25px 15px;
                margin-bottom: 30px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .page-header p {
                font-size: 1.1rem;
            }
            
            .badge-grid-container {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 15px;
            }
            
            .user-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .activity-header {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            
            .activity-controls {
                width: 100%;

                justify-content: center;
            }
            
            .guest-message {
                padding: 60px 20px;
            }
            
            .guest-title {
                font-size: 1.8rem;
            }
            
            .guest-description {
                font-size: 1.1rem;
            }
            
            .action-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn-large {
                width: 100%;
                max-width: 300px;
                padding: 14px 30px;
            }
            
            /* 移动端弹窗适配 */
            .badge-detail-modal {
                padding: 10px;
            }
            
            .modal-content {
                max-width: 95%;
                max-height: 85vh;
            }
            
            .system-message-item {
                flex-direction: column;
                gap: 10px;
            }
            
            .message-time {
                align-self: flex-start;
            }
        }
        
        @media (max-width: 576px) {
            .badge-grid-container {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 12px;
            }
            
            .badge-card {
                padding: 20px 15px;
            }
            
            .badge-icon-wrapper {
                width: 60px;
                height: 60px;
            }
            
            .user-stats-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .stat-card {
                padding: 15px;
            }
            
            .stat-value-lg {
                font-size: 1.8rem;
            }
            
            .activity-grid {
                grid-template-columns: 1fr;
            }
            
            .guest-icon {
                font-size: 4rem;
            }
            
            .guest-title {
                font-size: 1.6rem;
            }
            
            .badge-detail-header {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            
            .detail-value {
                padding-left: 20px;
            }
        }
        
        @media (max-width: 400px) {
            .badge-grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section-title-main {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
        }
        
        /* 自定义滚动条 */
        .modal-content::-webkit-scrollbar {
            width: 10px;
        }
        
        .modal-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 5px;
        }
        
        .modal-content::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 5px;
        }
        
        .modal-content::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #5a6fd8, #6a4190);
        }