:root {
    --bg-color: #0f0c29;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --accent: #ff007a;
    --secondary-accent: #7a00ff;
}
body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}
.container { max-width: 600px; margin: 0 auto; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.profile-header { display: flex; align-items: center; gap: 15px; }
.avatar { width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--accent); object-fit: cover; }
h1 { font-size: 24px; margin: 0; }
p.subtitle { margin: 5px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.stat-row { margin-bottom: 15px; }
.stat-label { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 14px; font-weight: 500; }
.progress-bar { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--secondary-accent)); width: 0%; transition: width 0.5s ease; }
.btn { width: 100%; padding: 12px; border: none; border-radius: 12px; background: linear-gradient(90deg, var(--accent), var(--secondary-accent)); color: white; font-weight: bold; cursor: pointer; font-size: 16px; margin-top: 10px; }
.btn:active { opacity: 0.9; transform: scale(0.98); }
.btn-danger { background: linear-gradient(90deg, #ff416c, #ff4b2b); }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content { width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.char-item { background: rgba(255,255,255,0.05); padding: 10px; border-radius: 8px; text-align: center; cursor: pointer; border: 1px solid transparent; }
.char-item:hover { background: rgba(255,255,255,0.1); }
.char-item.active { border-color: var(--accent); background: rgba(255,0,122, 0.2); }
.char-item img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 5px; }
.input-field { width: 100%; padding: 10px; margin-bottom: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: white; font-size: 14px; box-sizing: border-box; }
.glass-card .btn { margin-bottom: 5px; }