/* 英雄個人中心專用樣式 */
:root { --rank-c: #a0a0a0; --rank-b: #007bff; --rank-a: #ffc107; --rank-s: #dc3545; --rank-ss: #e83e8c; --card-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
body { background-color: #050505; color: #e0e0e0; }
.profile-section { padding: 100px 0 60px; min-height: 100vh; background: url('../img/hero_banner.jpg') no-repeat center top fixed; background-size: cover; position: relative; }
.profile-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); z-index: 1; }
.profile-container { position: relative; z-index: 2; }
/* 英雄執照卡 */
.hero-license-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 15px; padding: 30px; box-shadow: 0 0 20px rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; backdrop-filter: blur(10px); transition: transform 0.3s; }
.hero-license-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent); transform: rotate(45deg); animation: shine 6s infinite; pointer-events: none; }
@keyframes shine { 0% { left: -150%; } 100% { left: 150%; } }
.license-header { width: 100%; border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.license-title { font-family: 'Impact', sans-serif; letter-spacing: 2px; font-size: 1.5rem; color: rgba(255,255,255,0.8); text-transform: uppercase; }
.license-id { font-family: 'Courier New', monospace; color: var(--accent-cyan); font-weight: bold; }
.avatar-container { position: relative; width: 120px; height: 120px; margin-bottom: 15px; }
.hero-avatar { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; object-fit: cover; box-shadow: 0 0 15px rgba(0,247,255,0.5); background: #333; }
.rank-badge { position: absolute; bottom: 0; right: 0; background: var(--rank-c); color: #fff; font-weight: bold; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; font-size: 1.2rem; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.hero-name { font-size: 2rem; font-weight: bold; color: #fff; margin-bottom: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.hero-title-text { font-size: 1rem; color: var(--accent-cyan); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; width: 100%; margin-bottom: 20px; }
.stat-item { background: rgba(0,0,0,0.3); padding: 10px; border-radius: 8px; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: bold; color: #fff; font-family: 'Courier New', monospace; }
.stat-label { font-size: 0.8rem; color: #aaa; text-transform: uppercase; }
.exp-container { width: 100%; margin-top: 10px; }
.exp-bar-bg { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 5px; }
.exp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-cyan), #0062ff); width: 0%; transition: width 1s ease; }
.exp-text { font-size: 0.8rem; color: #aaa; display: flex; justify-content: space-between; }
/* 裝備與成就區 */
.panel-box { background: rgba(20, 20, 25, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px; height: 100%; margin-bottom: 20px; }
.panel-title { font-size: 1.3rem; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; border-left: 4px solid var(--accent-cyan); padding-left: 10px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 15px; }
.achievement-badge { width: 100%; aspect-ratio: 1; background: rgba(255,255,255,0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.2s; position: relative; }
.achievement-badge:hover { background: rgba(255,255,255,0.1); transform: scale(1.05); border-color: var(--accent-cyan); }
.achievement-badge i { font-size: 2rem; color: #555; transition: color 0.3s; }
.achievement-badge.unlocked { border-color: var(--accent-gold); box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); background: rgba(255, 215, 0, 0.05); }
.achievement-badge.unlocked i { color: var(--accent-gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.badge-tooltip { position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.9); border: 1px solid #444; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 10; width: max-content; text-align: center; }
.achievement-badge:hover .badge-tooltip { opacity: 1; }
/* 任務列表 */
.task-list { list-style: none; padding: 0; margin: 0; }
.task-item { display: flex; align-items: center; padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.2s; }
.task-item:last-child { border-bottom: none; }
.task-item:hover { background: rgba(255,255,255,0.05); }
.task-icon { width: 40px; height: 40px; background: rgba(0, 247, 255, 0.1); color: var(--accent-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; }
.task-content { flex-grow: 1; }
.task-name { color: #fff; font-weight: bold; font-size: 1rem; margin-bottom: 2px; }
.task-desc { color: #888; font-size: 0.85rem; }
.task-reward { color: var(--accent-gold); font-size: 0.9rem; font-weight: bold; white-space: nowrap; }
.btn-claim { background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; transition: all 0.3s; }
.btn-claim:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 10px var(--accent-cyan); }
.btn-claim.disabled { border-color: #444; color: #666; cursor: not-allowed; pointer-events: none; }
/* 裝備欄 (簡易版) */
.equip-slot { width: 60px; height: 60px; background: rgba(0,0,0,0.5); border: 1px dashed #555; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #444; font-size: 1.5rem; transition: all 0.3s; cursor: pointer; }
.equip-slot:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.equip-slot.equipped { border-style: solid; border-color: var(--accent-gold); color: #fff; background: rgba(255, 215, 0, 0.1); }
.equip-grid { display: flex; gap: 10px; justify-content: center; }
/* 響應式調整 */
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; } .badge-grid { grid-template-columns: repeat(4, 1fr); } }
