* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
}

.center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    background: #12121a;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 50px 40px;
    width: 420px;
    text-align: center;
    box-shadow: 0 0 40px rgba(100, 200, 100, 0.05);
}

.logo h1 {
    font-size: 32px;
    color: #7fff00;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.logo p {
    color: #555;
    font-size: 13px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: #7fff00;
    color: #0a0a0f;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover { background: #6ad900; }

.error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid #ff3232;
    color: #ff6464;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.hint {
    margin-top: 30px;
    color: #444;
    font-size: 12px;
}

.navbar {
    background: #12121a;
    border-bottom: 1px solid #2a2a3a;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    color: #7fff00;
    font-size: 20px;
    letter-spacing: 2px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    margin-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover { color: #7fff00; }
.nav-links a.logout { color: #ff6464; }
.nav-links a.logout:hover { color: #ff9999; }

.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: #12121a;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
}

.card h2 {
    color: #7fff00;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2a3a;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a25;
}

.info-row:last-child { border-bottom: none; }
.info-label { color: #666; font-size: 13px; }
.info-value { color: #e0e0e0; font-size: 13px; }

.char-list { list-style: none; }

.char-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #1a1a25;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.char-item:hover { background: #22222f; }
.char-name { color: #e0e0e0; font-size: 15px; font-weight: 500; }

.char-link {
    color: #7fff00;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.char-link:hover { color: #99ff33; }
.empty { color: #555; text-align: center; padding: 20px; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    background: #1a1a25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #7fff00;
    border: 2px solid #7fff00;
}

.profile-name { font-size: 24px; color: #e0e0e0; }
.profile-alliance { color: #666; font-size: 13px; margin-top: 4px; }
.profile-clan { color: #7fff00; font-size: 13px; margin-top: 2px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.stat-item {
    background: #1a1a25;
    padding: 14px;
    border-radius: 8px;
}

.stat-label {
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.stat-value {
    color: #7fff00;
    font-size: 18px;
    font-weight: bold;
}
